Repository: mattboldt/typed.js Branch: main Commit: b2d6a7d9af6d Files: 82 Total size: 6.6 MB Directory structure: gitextract_myu2bsph/ ├── .codeclimate.yml ├── .esdoc.json ├── .github/ │ ├── CONTRIBUTING.md │ ├── ISSUE_TEMPLATE.md │ ├── PULL_REQUEST_TEMPLATE.md │ └── stale.yml ├── .gitignore ├── .prettierrc ├── .travis.yml ├── .vscode/ │ ├── launch.json │ └── settings.json ├── CODE_OF_CONDUCT.md ├── LICENSE.txt ├── LIMITED_COMMERCIAL_LICENSE.md ├── README.md ├── UNLIMITED_COMMERCIAL_LICENSE.md ├── assets/ │ ├── demos.css │ └── demos.js ├── dist/ │ ├── typed.cjs │ ├── typed.module.js │ └── typed.umd.js ├── docs/ │ ├── API.md │ ├── assets/ │ │ ├── anchor.js │ │ ├── bass-addons.css │ │ ├── bass.css │ │ ├── fonts/ │ │ │ ├── LICENSE.txt │ │ │ ├── OTF/ │ │ │ │ ├── SourceCodePro-Bold.otf │ │ │ │ └── SourceCodePro-Regular.otf │ │ │ └── source-code-pro.css │ │ ├── github.css │ │ ├── site.js │ │ ├── split.css │ │ ├── split.js │ │ └── style.css │ ├── ast/ │ │ └── source/ │ │ ├── .external-ecmascript.js.json │ │ ├── defaults.js.json │ │ ├── html-parser.js.json │ │ ├── initializer.js.json │ │ ├── typed-using-raf.js.json │ │ └── typed.js.json │ ├── class/ │ │ └── src/ │ │ ├── html-parser.js~HTMLParser.html │ │ ├── initializer.js~Initializer.html │ │ ├── typed-using-raf.js~Typed.html │ │ └── typed.js~Typed.html │ ├── coverage.json │ ├── css/ │ │ ├── github.css │ │ ├── identifiers.css │ │ ├── manual.css │ │ ├── prettify-tomorrow.css │ │ ├── search.css │ │ ├── source.css │ │ ├── style.css │ │ └── test.css │ ├── file/ │ │ └── src/ │ │ ├── defaults.js.html │ │ ├── html-parser.js.html │ │ ├── initializer.js.html │ │ ├── typed-using-raf.js.html │ │ └── typed.js.html │ ├── identifiers.html │ ├── index.html │ ├── index.json │ ├── lint.json │ ├── script/ │ │ ├── inherited-summary.js │ │ ├── inner-link.js │ │ ├── manual.js │ │ ├── patch-for-local.js │ │ ├── prettify/ │ │ │ ├── Apache-License-2.0.txt │ │ │ └── prettify.js │ │ ├── pretty-print.js │ │ ├── search.js │ │ ├── search_index.js │ │ └── test-summary.js │ ├── source.html │ └── variable/ │ └── index.html ├── index.d.ts ├── index.html ├── package.json ├── src/ │ ├── defaults.js │ ├── html-parser.js │ ├── initializer.js │ └── typed.js └── typed.d.ts ================================================ FILE CONTENTS ================================================ ================================================ FILE: .codeclimate.yml ================================================ --- engines: csslint: enabled: false duplication: enabled: true config: languages: - ruby - javascript - python - php eslint: enabled: true fixme: enabled: false ratings: paths: - "**.css" - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb" exclude_paths: - dist/ - lib/ - docs/ - assets/ ================================================ FILE: .esdoc.json ================================================ { "source": "./src", "destination": "./docs", "plugins": [ { "name": "esdoc-standard-plugin" }, { "name": "esdoc-ecmascript-proposal-plugin", "option": { "all": true } } ] } ================================================ FILE: .github/CONTRIBUTING.md ================================================ # Contributing 🎉🎉🎉 Thank you for contributing! 🎉🎉🎉 I greatly appreciate anyone taking the time to help make Typed.js better. ## Development First, clone the repo onto your local machine. ``` git clone git@github.com:mattboldt/typed.js.git cd typed.js ``` Then, make sure you have all the development dependencies installed. ``` npm install ``` (note: you will need Node.js, `yarn`, and `gulp` installed globally on your system) To get things going: ``` npm run dev open index.html ``` There you will see a list of pre-made demos showing each feature of Typed.js in action. **Comb through these demos carefully and insure all features are working as expected with your additions** ## Pull Request Etiquette If this is purely a README update, you can skip everything below. You need to include a demo of your changes (new features, a bug fix, etc) in a fork of this JSFiddle: https://jsfiddle.net/mattboldt/1xs3LLmL/ To include your branch's version of Typed.js, simply add this JavaScript url as a dependency in JSFiddle, and remove the default: ``` https://cdn.jsdelivr.net/gh//typed.js@/dist/typed.umd.js ``` Include a link to the fiddle in the details of your pull request. Thank you, and happy typing! ================================================ FILE: .github/ISSUE_TEMPLATE.md ================================================ ### Description [Description of the issue] ### Demo [If possible, include a demo of your issue in a fork of this JSFiddle: https://jsfiddle.net/mattboldt/1xs3LLmL/] ### Steps to Reproduce 1. [First Step] 2. [Second Step] 3. [and so on...] **Expected behavior:** [What you expect to happen] **Actual behavior:** [What actually happens] **Reproduces how often:** [What percentage of the time does it reproduce?] ### Additional Information Any additional information, configuration or data that might be necessary to reproduce the issue. ================================================ FILE: .github/PULL_REQUEST_TEMPLATE.md ================================================ ### Requirements - [ ] Have you viewed your changes locally on the demos page, located on https://github.com/mattboldt/typed.js/blob/main/index.html? - [ ] If necessary, have you added a new demo to the index.html list of demos? If it's an improvement or small addition, have you added it to an existing demo on the demos page? - [ ] If applicable, have you created a fork of the following JSFiddle with your branch's code and your new feature showcased? ### Description of the Change ### Benefits ### Issues ================================================ FILE: .github/stale.yml ================================================ # Number of days of inactivity before an issue becomes stale daysUntilStale: 60 # Number of days of inactivity before a stale issue is closed daysUntilClose: 7 # Issues with these labels will never be considered stale exemptLabels: - pinned - security # Label to use when marking an issue as stale staleLabel: wontfix # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. # Comment to post when closing a stale issue. Set to `false` to disable closeComment: false ================================================ FILE: .gitignore ================================================ .sass-cache *.DS_Store *~ node_modules .cache ================================================ FILE: .prettierrc ================================================ { singleQuote: true, arrowParens: "always" } ================================================ FILE: .travis.yml ================================================ language: node_js notifications: email: on_success: never on_failure: never node_js: - '6' addons: sauce_connect: true env: global: before_install: - npm install before_script: - npm run build ================================================ FILE: .vscode/launch.json ================================================ { // Use IntelliSense to learn about possible Node.js debug attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Launch Program", "program": "${file}" } ] } ================================================ FILE: .vscode/settings.json ================================================ { "eslint.enable": true, "eslint.options": { "configFile": "./.eslintrc.yml" }, "search.exclude": { "**/.git": true, "**/node_modules": true, "**/bower_components": true, "**/tmp": true, "**/lib": true } } ================================================ FILE: CODE_OF_CONDUCT.md ================================================ # Contributor Covenant Code of Conduct ## Our Pledge We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. ## Our Standards Examples of behavior that contributes to a positive environment for our community include: - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience - Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment - Publishing others' private information, such as a physical or email address, without their explicit permission - Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. ## Scope This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT METHOD]. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident. ## Enforcement Guidelines Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. ### 2. Warning **Community Impact**: A violation through a single incident or series of actions. **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. ### 3. Temporary Ban **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][mozilla coc]. For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][faq]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. [homepage]: https://www.contributor-covenant.org [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html [mozilla coc]: https://github.com/mozilla/diversity [faq]: https://www.contributor-covenant.org/faq [translations]: https://www.contributor-covenant.org/translations ================================================ FILE: LICENSE.txt ================================================ Typed.js, a javascript typing animation library Copyright (C) 2026 Matt Boldt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ================================================ FILE: LIMITED_COMMERCIAL_LICENSE.md ================================================ # **Typed.js Limited Commercial Software License Agreement** [Purchase the Limited Commercial License here](https://buy.stripe.com/9B6aEW9hvg4Zg2Hh0FgA800) ## **1. License Grant** This agreement grants you, the **Licensee**, a **non-exclusive, perpetual, and non-transferable** license to use Typed.js. - Commercial use is allowed - The license can be used in one project only - The license does not expire - Attribution to the software creator is not required ## **2. Permitted Use** This license permits the use of Typed.js for the following purposes: - Development and deployment of a **single commercial product**. - This includes, but is not limited to, a single website, a single domain, or a single application instance. ## **3. Usage Restrictions** You are **expressly prohibited** from: - Distributing, sublicensing, reselling, or leasing Typed.js to any third party. - Using Typed.js in more than one commercial product without acquiring an additional license. - Reverse-engineering, decompiling, or disassembling the software. - Removing or obscuring any copyright or proprietary notices. ## **4. Disclaimer of Warranty** Typed.js is provided "as is" without any warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. ## **5. Limitation of Liability** In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. ================================================ FILE: README.md ================================================ [![npm](https://img.shields.io/npm/dt/typed.js.svg)](https://img.shields.io/npm/dt/typed.js.svg) [![GitHub license](https://img.shields.io/badge/license-GPL3-blue.svg)](https://raw.githubusercontent.com/mattboldt/typed.js/main/LICENSE.txt) ### [Live Demo](http://www.mattboldt.com/demos/typed-js/) | [View All Demos](http://mattboldt.github.io/typed.js/) | [View Full Docs](http://mattboldt.github.io/typed.js/docs) | [mattboldt.com](http://www.mattboldt.com) Typed.js is a library that types. Enter in any string, and watch it type at the speed you've set, backspace what it's typed, and begin a new sentence for however many strings you've set. --- ## Licensing
GPL-3.0 License Limited Commercial License Unlimited Commercial License

Free for use on personal and open source projects

View License

For use on a single commercial project

Purchase License

View License

For use on unlimited commercial projects

Purchase License

View License

## Installation For use with a build tool like [Vite](https://vitejs.dev/), and/or in a React application, install with NPM or Yarn. #### NPM ``` npm install typed.js ``` #### Yarn ``` yarn add typed.js ``` #### General ESM Usage ```js import Typed from 'typed.js'; const typed = new Typed('#element', { strings: ['First sentence.', '& a second sentence.'], typeSpeed: 50, }); ``` ### ReactJS Usage ```js import React, { useEffect, useRef } from 'react'; import Typed from 'typed.js'; function MyComponent() { // Create reference to store the DOM element containing the animation const el = useRef(null); useEffect(() => { const typed = new Typed(el.current, { strings: ['First sentence.', '& a second sentence.'], typeSpeed: 50, }); return () => { // Destroy Typed instance during cleanup to stop animation typed.destroy(); }; }, []); return (
); } ``` ### CDN ```html ``` For use directly in the browser via ` ``` More complex hook-based function component: https://jsfiddle.net/mattboldt/60h9an7y/ Class component: https://jsfiddle.net/mattboldt/ovat9jmp/ ### Use with Vue.js Check out the Vue.js component: https://github.com/Orlandster/vue-typed-js ### Use it as WebComponent Check out the WebComponent: https://github.com/Orlandster/wc-typed-js ## Wonderful sites that have used (or are using) Typed.js https://forwardemail.net https://codesignal.com https://github.com/features/package-registry https://slack.com https://envato.com https://gorails.com https://productmap.co https://www.typed.com https://apeiron.io https://git.market https://commando.io http://testdouble.com/agency.html https://www.capitalfactory.com http://www.maxcdn.com https://www.powerauth.com --- ### Strings from static HTML (SEO Friendly) Rather than using the `strings` array to insert strings, you can place an HTML `div` on the page and read from it. This allows bots and search engines, as well as users with JavaScript disabled, to see your text on the page. ```javascript ``` ```html

Typed.js is a JavaScript library.

It types out sentences.

``` ### Type Pausing You can pause in the middle of a string for a given amount of time by including an escape character. ```javascript var typed = new Typed('#element', { // Waits 1000ms after typing "First" strings: ['First ^1000 sentence.', 'Second sentence.'], }); ``` ### Smart Backspacing In the following example, this would only backspace the words after "This is a" ```javascript var typed = new Typed('#element', { strings: ['This is a JavaScript library', 'This is an ES6 module'], smartBackspace: true, // Default value }); ``` ### Bulk Typing The following example would emulate how a terminal acts when typing a command and seeing its result. ```javascript var typed = new Typed('#element', { strings: ['git push --force ^1000\n `pushed to origin with option force`'], }); ``` ### CSS CSS animations are built upon initialization in JavaScript. But, you can customize them at your will! These classes are: ```css /* Cursor */ .typed-cursor { } /* If fade out option is set */ .typed-fade-out { } ``` ## Customization ```javascript var typed = new Typed('#element', { /** * @property {array} strings strings to be typed * @property {string} stringsElement ID of element containing string children */ strings: [ 'These are the default values...', 'You know what you should do?', 'Use your own!', 'Have a great day!', ], stringsElement: null, /** * @property {number} typeSpeed type speed in milliseconds */ typeSpeed: 0, /** * @property {number} startDelay time before typing starts in milliseconds */ startDelay: 0, /** * @property {number} backSpeed backspacing speed in milliseconds */ backSpeed: 0, /** * @property {boolean} smartBackspace only backspace what doesn't match the previous string */ smartBackspace: true, /** * @property {boolean} shuffle shuffle the strings */ shuffle: false, /** * @property {number} backDelay time before backspacing in milliseconds */ backDelay: 700, /** * @property {boolean} fadeOut Fade out instead of backspace * @property {string} fadeOutClass css class for fade animation * @property {boolean} fadeOutDelay Fade out delay in milliseconds */ fadeOut: false, fadeOutClass: 'typed-fade-out', fadeOutDelay: 500, /** * @property {boolean} loop loop strings * @property {number} loopCount amount of loops */ loop: false, loopCount: Infinity, /** * @property {boolean} showCursor show cursor * @property {string} cursorChar character for cursor * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML */ showCursor: true, cursorChar: '|', autoInsertCss: true, /** * @property {string} attr attribute for typing * Ex: input placeholder, value, or just HTML text */ attr: null, /** * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input */ bindInputFocusEvents: false, /** * @property {string} contentType 'html' or 'null' for plaintext */ contentType: 'html', /** * Before it begins typing * @param {Typed} self */ onBegin: (self) => {}, /** * All typing is complete * @param {Typed} self */ onComplete: (self) => {}, /** * Before each string is typed * @param {number} arrayPos * @param {Typed} self */ preStringTyped: (arrayPos, self) => {}, /** * After each string is typed * @param {number} arrayPos * @param {Typed} self */ onStringTyped: (arrayPos, self) => {}, /** * During looping, after last string is typed * @param {Typed} self */ onLastStringBackspaced: (self) => {}, /** * Typing has been stopped * @param {number} arrayPos * @param {Typed} self */ onTypingPaused: (arrayPos, self) => {}, /** * Typing has been started after being stopped * @param {number} arrayPos * @param {Typed} self */ onTypingResumed: (arrayPos, self) => {}, /** * After reset * @param {Typed} self */ onReset: (self) => {}, /** * After stop * @param {number} arrayPos * @param {Typed} self */ onStop: (arrayPos, self) => {}, /** * After start * @param {number} arrayPos * @param {Typed} self */ onStart: (arrayPos, self) => {}, /** * After destroy * @param {Typed} self */ onDestroy: (self) => {}, }); ``` ## Contributing ### [View Contribution Guidelines](./.github/CONTRIBUTING.md) ## end Thanks for checking this out. If you have any questions, I'll be on [Twitter](https://twitter.com/atmattb). If you're using this, let me know! I'd love to see it. It would also be great if you mentioned me or my website somewhere. [www.mattboldt.com](http://www.mattboldt.com) ================================================ FILE: UNLIMITED_COMMERCIAL_LICENSE.md ================================================ # **Typed.js Unlimited Commercial Software License Agreement** [Purchase the Unlimited Commercial License here](https://buy.stripe.com/cNi4gy51fg4ZbMr25LgA801) ## **1. License Grant** This agreement grants you, the **Licensee**, a **non-exclusive, perpetual, and non-transferable** license to use Typed.js. - Commercial use is allowed - The license can be used on unlimited commercial projects - The license does not expire - Attribution to the software creator is not required ## **2. Permitted Use** This license permits the use of Typed.js for the following purposes: - Development and deployment of **unlimited commercial products**. - This includes, but is not limited to, multiple websites, multiple domains, or multiple application instances. ## **3. Usage Restrictions** You are **expressly prohibited** from: - Distributing, sublicensing, reselling, or leasing Typed.js to any third party. - Using Typed.js in more than one commercial product without acquiring an additional license. - Reverse-engineering, decompiling, or disassembling the software. - Removing or obscuring any copyright or proprietary notices. ## **4. Disclaimer of Warranty** Typed.js is provided "as is" without any warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. ## **5. Limitation of Liability** In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. ================================================ FILE: assets/demos.css ================================================ @import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500); *{ padding:0; margin:0; } body{ font-family: "Ubuntu", sans-serif; font-size: 100%; background:#f8f8f8; } a{ text-decoration: none; color:#666; } a:hover{ color:#999; } button { padding: 10px; border-radius: 3px; background: #E0E0E0; border: #CCC 1px solid; } p{ line-height: 2em; margin:0 0 20px; text-align: center; } hr{ border: 0; border-bottom: #CCC 2px solid; margin: 30px auto; } .title{ font-size: 4em; } .wrap{ max-width: 600px; margin:50px auto; } .type-wrap{ margin:10px auto; padding:20px; background:#f0f0f0; border-radius:5px; border:#CCC 1px solid; } .links{ margin:20px 0; font-size: 0.75em; } ================================================ FILE: assets/demos.js ================================================ document.addEventListener('DOMContentLoaded', function () { var typed = new Typed('#typed', { stringsElement: '#typed-strings', typeSpeed: 20, backSpeed: 20, startDelay: 100, loop: true, loopCount: Infinity, onBegin: function (self) { prettyLog('onBegin ' + self); }, onComplete: function (self) { prettyLog('onComplete ' + self); }, preStringTyped: function (pos, self) { prettyLog('preStringTyped ' + pos + ' ' + self); }, onStringTyped: function (pos, self) { prettyLog('onStringTyped ' + pos + ' ' + self); }, onLastStringBackspaced: function (self) { prettyLog('onLastStringBackspaced ' + self); }, onTypingPaused: function (pos, self) { prettyLog('onTypingPaused ' + pos + ' ' + self); }, onTypingResumed: function (pos, self) { prettyLog('onTypingResumed ' + pos + ' ' + self); }, onReset: function (self) { prettyLog('onReset ' + self); }, onStop: function (pos, self) { prettyLog('onStop ' + pos + ' ' + self); }, onStart: function (pos, self) { prettyLog('onStart ' + pos + ' ' + self); }, onDestroy: function (self) { prettyLog('onDestroy ' + self); }, }); document.querySelector('.toggle').addEventListener('click', function () { typed.toggle(); }); document.querySelector('.stop').addEventListener('click', function () { typed.stop(); }); document.querySelector('.start').addEventListener('click', function () { typed.start(); }); document.querySelector('.reset').addEventListener('click', function () { typed.reset(); }); document.querySelector('.destroy').addEventListener('click', function () { typed.destroy(); }); document.querySelector('.loop').addEventListener('click', function () { toggleLoop(typed); }); var typed2 = new Typed('#typed2', { strings: [ 'Some strings with', 'Some HTML', 'Chars × ©', ], typeSpeed: 0, backSpeed: 0, fadeOut: true, loop: true, }); document.querySelector('.loop2').addEventListener('click', function () { toggleLoop(typed2); }); new Typed('#typed3', { strings: [ 'My strings are: strings with', 'My strings are: HTML', 'My strings are: Chars × ©', ], typeSpeed: 0, backSpeed: 0, smartBackspace: true, loop: true, }); new Typed('#typed4', { strings: ['Some strings without', 'Some HTML', 'Chars'], typeSpeed: 0, backSpeed: 0, attr: 'placeholder', bindInputFocusEvents: true, loop: true, }); new Typed('#typed5', { strings: [ '1 Some strings with', '2 Some HTML', '3 Chars × ©', ], typeSpeed: 0, backSpeed: 0, shuffle: true, cursorChar: '_', smartBackspace: false, loop: true, }); new Typed('#typed6', { strings: [ 'npm install^1000\n`installing components...` ^1000\n`Fetching from source...`', ], typeSpeed: 40, backSpeed: 0, loop: true, }); const typed7 = new Typed('#typed7', { strings: ['First string...'], typeSpeed: 40, backSpeed: 0, loop: true, }); document.querySelector('.add-string').addEventListener('click', function () { const val = document.getElementById('add-dynamically-value').value; console.log('Adding string' + val); typed7.append(val); }); }); function prettyLog(str) { console.log('%c ' + str, 'color: green; font-weight: bold;'); } function toggleLoop(typed) { if (typed.loop) { typed.loop = false; } else { typed.loop = true; } } ================================================ FILE: dist/typed.cjs ================================================ function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}());module.exports=/*#__PURE__*/function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.append=function(t){var s=this,e=this.strings[this.strings.length-1];this.strings.push(t),this.sequence=this.strings.map(function(t,s){return s}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){s.backspace(e,e.length-1)},this.backDelay):setTimeout(function(){s.arrayPos++,s.typewrite(s.strings[s.sequence[s.arrayPos]],0)},this.backDelay))},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),c=t.substring(u.length+1,s+r),p=t.substring(s+r+1);t=u+c+p,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){if(0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var n=t.substring(0,s+=e);this.replaceText(n)}else{var i=t.substring(s,s+e);s+=e,this.replaceText(i)}this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){e.backspace(t,s)},this.backDelay):setTimeout(function(){e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],0)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.sequence[e.arrayPos+1]];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.isFinalString()?e.lastStringBackspaced():(e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],s)))},i)}else this.setPauseStatus(t,s,!1)},s.isFinalString=function(){return this.arrayPos===this.strings.length-1},s.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=t:this.el.innerHTML+=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}(); //# sourceMappingURL=typed.cjs.map ================================================ FILE: dist/typed.module.js ================================================ function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}()),i=/*#__PURE__*/function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.append=function(t){var s=this,e=this.strings[this.strings.length-1];this.strings.push(t),this.sequence=this.strings.map(function(t,s){return s}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){s.backspace(e,e.length-1)},this.backDelay):setTimeout(function(){s.arrayPos++,s.typewrite(s.strings[s.sequence[s.arrayPos]],0)},this.backDelay))},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),c=t.substring(u.length+1,s+r),p=t.substring(s+r+1);t=u+c+p,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){if(0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var n=t.substring(0,s+=e);this.replaceText(n)}else{var i=t.substring(s,s+e);s+=e,this.replaceText(i)}this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){e.backspace(t,s)},this.backDelay):setTimeout(function(){e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],0)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.sequence[e.arrayPos+1]];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.isFinalString()?e.lastStringBackspaced():(e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],s)))},i)}else this.setPauseStatus(t,s,!1)},s.isFinalString=function(){return this.arrayPos===this.strings.length-1},s.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=t:this.el.innerHTML+=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}();export{i as default}; //# sourceMappingURL=typed.module.js.map ================================================ FILE: dist/typed.umd.js ================================================ !function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t||self).Typed=s()}(this,function(){function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}());/*#__PURE__*/ return function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.append=function(t){var s=this,e=this.strings[this.strings.length-1];this.strings.push(t),this.sequence=this.strings.map(function(t,s){return s}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){s.backspace(e,e.length-1)},this.backDelay):setTimeout(function(){s.arrayPos++,s.typewrite(s.strings[s.sequence[s.arrayPos]],0)},this.backDelay))},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),c=t.substring(u.length+1,s+r),p=t.substring(s+r+1);t=u+c+p,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){if(0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var n=t.substring(0,s+=e);this.replaceText(n)}else{var i=t.substring(s,s+e);s+=e,this.replaceText(i)}this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){e.backspace(t,s)},this.backDelay):setTimeout(function(){e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],0)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.sequence[e.arrayPos+1]];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.isFinalString()?e.lastStringBackspaced():(e.arrayPos++,e.typewrite(e.strings[e.sequence[e.arrayPos]],s)))},i)}else this.setPauseStatus(t,s,!1)},s.isFinalString=function(){return this.arrayPos===this.strings.length-1},s.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=t:this.el.innerHTML+=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}()}); //# sourceMappingURL=typed.umd.js.map ================================================ FILE: docs/API.md ================================================ ## defaults Defaults & options Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Typed defaults & options ### strings **Properties** - `strings` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** strings to be typed - `stringsElement` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ID of element containing string children ### typeSpeed **Properties** - `typeSpeed` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** type speed in milliseconds ### startDelay **Properties** - `startDelay` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** time before typing starts in milliseconds ### backSpeed **Properties** - `backSpeed` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** backspacing speed in milliseconds ### smartBackspace **Properties** - `smartBackspace` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** only backspace what doesn't match the previous string ### shuffle **Properties** - `shuffle` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** shuffle the strings ### backDelay **Properties** - `backDelay` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** time before backspacing in milliseconds ### fadeOut **Properties** - `fadeOut` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Fade out instead of backspace - `fadeOutClass` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** css class for fade animation - `fadeOutDelay` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Fade out delay in milliseconds ### loop **Properties** - `loop` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** loop strings - `loopCount` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** amount of loops ### showCursor **Properties** - `showCursor` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** show cursor - `cursorChar` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** character for cursor - `autoInsertCss` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** insert CSS for cursor and fadeOut into HTML ### attr **Properties** - `attr` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** attribute for typing Ex: input placeholder, value, or just HTML text ### bindInputFocusEvents **Properties** - `bindInputFocusEvents` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** bind to focus and blur if el is text input ### contentType **Properties** - `contentType` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** 'html' or 'null' for plaintext ### onBegin Before it begins typing **Parameters** - `self` **[Typed](#typed)** ### onComplete All typing is complete **Parameters** - `self` **[Typed](#typed)** ### preStringTyped Before each string is typed **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onStringTyped After each string is typed **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onLastStringBackspaced During looping, after last string is typed **Parameters** - `self` **[Typed](#typed)** ### onTypingPaused Typing has been stopped **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onTypingResumed Typing has been started after being stopped **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onReset After reset **Parameters** - `self` **[Typed](#typed)** ### onStop After stop **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onStart After start **Parameters** - `arrayPos` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** - `self` **[Typed](#typed)** ### onDestroy After destroy **Parameters** - `self` **[Typed](#typed)** ## HTMLParser TODO: These methods can probably be combined somehow Parse HTML tags & HTML Characters ## Initializer Initialize the Typed object ## Typed Welcome to Typed.js! **Parameters** - `elementId` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** HTML element ID _OR_ HTML element - `options` **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** options object Returns **[object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** a new Typed object ### toggle Toggle start() and stop() of the Typed instance ### stop Stop typing / backspacing and enable cursor blinking ### start Start typing / backspacing after being stopped ### destroy Destroy this instance of Typed ### reset Reset Typed and optionally restarts **Parameters** - `restart` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?= nser** ================================================ FILE: docs/assets/anchor.js ================================================ /*! * AnchorJS - v4.0.0 - 2017-06-02 * https://github.com/bryanbraun/anchorjs * Copyright (c) 2017 Bryan Braun; Licensed MIT */ /* eslint-env amd, node */ // https://github.com/umdjs/umd/blob/master/templates/returnExports.js (function (root, factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define([], factory); } else if (typeof module === 'object' && module.exports) { // Node. Does not work with strict CommonJS, but // only CommonJS-like environments that support module.exports, // like Node. module.exports = factory(); } else { // Browser globals (root is window) root.AnchorJS = factory(); root.anchors = new root.AnchorJS(); } })(this, function () { 'use strict'; function AnchorJS(options) { this.options = options || {}; this.elements = []; /** * Assigns options to the internal options object, and provides defaults. * @param {Object} opts - Options object */ function _applyRemainingDefaultOptions(opts) { opts.icon = opts.hasOwnProperty('icon') ? opts.icon : '\ue9cb'; // Accepts characters (and also URLs?), like '#', '¶', '❡', or '§'. opts.visible = opts.hasOwnProperty('visible') ? opts.visible : 'hover'; // Also accepts 'always' & 'touch' opts.placement = opts.hasOwnProperty('placement') ? opts.placement : 'right'; // Also accepts 'left' opts.class = opts.hasOwnProperty('class') ? opts.class : ''; // Accepts any class name. // Using Math.floor here will ensure the value is Number-cast and an integer. opts.truncate = opts.hasOwnProperty('truncate') ? Math.floor(opts.truncate) : 64; // Accepts any value that can be typecast to a number. } _applyRemainingDefaultOptions(this.options); /** * Checks to see if this device supports touch. Uses criteria pulled from Modernizr: * https://github.com/Modernizr/Modernizr/blob/da22eb27631fc4957f67607fe6042e85c0a84656/feature-detects/touchevents.js#L40 * @returns {Boolean} - true if the current device supports touch. */ this.isTouchDevice = function () { return !!( 'ontouchstart' in window || (window.DocumentTouch && document instanceof DocumentTouch) ); }; /** * Add anchor links to page elements. * @param {String|Array|Nodelist} selector - A CSS selector for targeting the elements you wish to add anchor links * to. Also accepts an array or nodeList containing the relavant elements. * @returns {this} - The AnchorJS object */ this.add = function (selector) { var elements, elsWithIds, idList, elementID, i, index, count, tidyText, newTidyText, readableID, anchor, visibleOptionToUse, indexesToDrop = []; // We reapply options here because somebody may have overwritten the default options object when setting options. // For example, this overwrites all options but visible: // // anchors.options = { visible: 'always'; } _applyRemainingDefaultOptions(this.options); visibleOptionToUse = this.options.visible; if (visibleOptionToUse === 'touch') { visibleOptionToUse = this.isTouchDevice() ? 'always' : 'hover'; } // Provide a sensible default selector, if none is given. if (!selector) { selector = 'h2, h3, h4, h5, h6'; } elements = _getElements(selector); if (elements.length === 0) { return this; } _addBaselineStyles(); // We produce a list of existing IDs so we don't generate a duplicate. elsWithIds = document.querySelectorAll('[id]'); idList = [].map.call(elsWithIds, function assign(el) { return el.id; }); for (i = 0; i < elements.length; i++) { if (this.hasAnchorJSLink(elements[i])) { indexesToDrop.push(i); continue; } if (elements[i].hasAttribute('id')) { elementID = elements[i].getAttribute('id'); } else if (elements[i].hasAttribute('data-anchor-id')) { elementID = elements[i].getAttribute('data-anchor-id'); } else { tidyText = this.urlify(elements[i].textContent); // Compare our generated ID to existing IDs (and increment it if needed) // before we add it to the page. newTidyText = tidyText; count = 0; do { if (index !== undefined) { newTidyText = tidyText + '-' + count; } index = idList.indexOf(newTidyText); count += 1; } while (index !== -1); index = undefined; idList.push(newTidyText); elements[i].setAttribute('id', newTidyText); elementID = newTidyText; } readableID = elementID.replace(/-/g, ' '); // The following code builds the following DOM structure in a more effiecient (albeit opaque) way. // ''; anchor = document.createElement('a'); anchor.className = 'anchorjs-link ' + this.options.class; anchor.href = '#' + elementID; anchor.setAttribute('aria-label', 'Anchor link for: ' + readableID); anchor.setAttribute('data-anchorjs-icon', this.options.icon); if (visibleOptionToUse === 'always') { anchor.style.opacity = '1'; } if (this.options.icon === '\ue9cb') { anchor.style.font = '1em/1 anchorjs-icons'; // We set lineHeight = 1 here because the `anchorjs-icons` font family could otherwise affect the // height of the heading. This isn't the case for icons with `placement: left`, so we restore // line-height: inherit in that case, ensuring they remain positioned correctly. For more info, // see https://github.com/bryanbraun/anchorjs/issues/39. if (this.options.placement === 'left') { anchor.style.lineHeight = 'inherit'; } } if (this.options.placement === 'left') { anchor.style.position = 'absolute'; anchor.style.marginLeft = '-1em'; anchor.style.paddingRight = '0.5em'; elements[i].insertBefore(anchor, elements[i].firstChild); } else { // if the option provided is `right` (or anything else). anchor.style.paddingLeft = '0.375em'; elements[i].appendChild(anchor); } } for (i = 0; i < indexesToDrop.length; i++) { elements.splice(indexesToDrop[i] - i, 1); } this.elements = this.elements.concat(elements); return this; }; /** * Removes all anchorjs-links from elements targed by the selector. * @param {String|Array|Nodelist} selector - A CSS selector string targeting elements with anchor links, * OR a nodeList / array containing the DOM elements. * @returns {this} - The AnchorJS object */ this.remove = function (selector) { var index, domAnchor, elements = _getElements(selector); for (var i = 0; i < elements.length; i++) { domAnchor = elements[i].querySelector('.anchorjs-link'); if (domAnchor) { // Drop the element from our main list, if it's in there. index = this.elements.indexOf(elements[i]); if (index !== -1) { this.elements.splice(index, 1); } // Remove the anchor from the DOM. elements[i].removeChild(domAnchor); } } return this; }; /** * Removes all anchorjs links. Mostly used for tests. */ this.removeAll = function () { this.remove(this.elements); }; /** * Urlify - Refine text so it makes a good ID. * * To do this, we remove apostrophes, replace nonsafe characters with hyphens, * remove extra hyphens, truncate, trim hyphens, and make lowercase. * * @param {String} text - Any text. Usually pulled from the webpage element we are linking to. * @returns {String} - hyphen-delimited text for use in IDs and URLs. */ this.urlify = function (text) { // Regex for finding the nonsafe URL characters (many need escaping): & +$,:;=?@"#{}|^~[`%!'<>]./()*\ var nonsafeChars = /[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g, urlText; // The reason we include this _applyRemainingDefaultOptions is so urlify can be called independently, // even after setting options. This can be useful for tests or other applications. if (!this.options.truncate) { _applyRemainingDefaultOptions(this.options); } // Note: we trim hyphens after truncating because truncating can cause dangling hyphens. // Example string: // " ⚡⚡ Don't forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." urlText = text .trim() // "⚡⚡ Don't forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." .replace(/\'/gi, '') // "⚡⚡ Dont forget: URL fragments should be i18n-friendly, hyphenated, short, and clean." .replace(nonsafeChars, '-') // "⚡⚡-Dont-forget--URL-fragments-should-be-i18n-friendly--hyphenated--short--and-clean-" .replace(/-{2,}/g, '-') // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated-short-and-clean-" .substring(0, this.options.truncate) // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated-" .replace(/^-+|-+$/gm, '') // "⚡⚡-Dont-forget-URL-fragments-should-be-i18n-friendly-hyphenated" .toLowerCase(); // "⚡⚡-dont-forget-url-fragments-should-be-i18n-friendly-hyphenated" return urlText; }; /** * Determines if this element already has an AnchorJS link on it. * Uses this technique: http://stackoverflow.com/a/5898748/1154642 * @param {HTMLElemnt} el - a DOM node * @returns {Boolean} true/false */ this.hasAnchorJSLink = function (el) { var hasLeftAnchor = el.firstChild && (' ' + el.firstChild.className + ' ').indexOf(' anchorjs-link ') > -1, hasRightAnchor = el.lastChild && (' ' + el.lastChild.className + ' ').indexOf(' anchorjs-link ') > -1; return hasLeftAnchor || hasRightAnchor || false; }; /** * Turns a selector, nodeList, or array of elements into an array of elements (so we can use array methods). * It also throws errors on any other inputs. Used to handle inputs to .add and .remove. * @param {String|Array|Nodelist} input - A CSS selector string targeting elements with anchor links, * OR a nodeList / array containing the DOM elements. * @returns {Array} - An array containing the elements we want. */ function _getElements(input) { var elements; if (typeof input === 'string' || input instanceof String) { // See https://davidwalsh.name/nodelist-array for the technique transforming nodeList -> Array. elements = [].slice.call(document.querySelectorAll(input)); // I checked the 'input instanceof NodeList' test in IE9 and modern browsers and it worked for me. } else if (Array.isArray(input) || input instanceof NodeList) { elements = [].slice.call(input); } else { throw new Error('The selector provided to AnchorJS was invalid.'); } return elements; } /** * _addBaselineStyles * Adds baseline styles to the page, used by all AnchorJS links irregardless of configuration. */ function _addBaselineStyles() { // We don't want to add global baseline styles if they've been added before. if (document.head.querySelector('style.anchorjs') !== null) { return; } var style = document.createElement('style'), linkRule = ' .anchorjs-link {' + ' opacity: 0;' + ' text-decoration: none;' + ' -webkit-font-smoothing: antialiased;' + ' -moz-osx-font-smoothing: grayscale;' + ' }', hoverRule = ' *:hover > .anchorjs-link,' + ' .anchorjs-link:focus {' + ' opacity: 1;' + ' }', anchorjsLinkFontFace = ' @font-face {' + ' font-family: "anchorjs-icons";' + // Icon from icomoon; 10px wide & 10px tall; 2 empty below & 4 above ' src: url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype");' + ' }', pseudoElContent = ' [data-anchorjs-icon]::after {' + ' content: attr(data-anchorjs-icon);' + ' }', firstStyleEl; style.className = 'anchorjs'; style.appendChild(document.createTextNode('')); // Necessary for Webkit. // We place it in the head with the other style tags, if possible, so as to // not look out of place. We insert before the others so these styles can be // overridden if necessary. firstStyleEl = document.head.querySelector('[rel="stylesheet"], style'); if (firstStyleEl === undefined) { document.head.appendChild(style); } else { document.head.insertBefore(style, firstStyleEl); } style.sheet.insertRule(linkRule, style.sheet.cssRules.length); style.sheet.insertRule(hoverRule, style.sheet.cssRules.length); style.sheet.insertRule(pseudoElContent, style.sheet.cssRules.length); style.sheet.insertRule(anchorjsLinkFontFace, style.sheet.cssRules.length); } } return AnchorJS; }); ================================================ FILE: docs/assets/bass-addons.css ================================================ .input { font-family: inherit; display: block; width: 100%; height: 2rem; padding: .5rem; margin-bottom: 1rem; border: 1px solid #ccc; font-size: .875rem; border-radius: 3px; box-sizing: border-box; } ================================================ FILE: docs/assets/bass.css ================================================ /*! Basscss | http://basscss.com | MIT License */ .h1{ font-size: 2rem } .h2{ font-size: 1.5rem } .h3{ font-size: 1.25rem } .h4{ font-size: 1rem } .h5{ font-size: .875rem } .h6{ font-size: .75rem } .font-family-inherit{ font-family:inherit } .font-size-inherit{ font-size:inherit } .text-decoration-none{ text-decoration:none } .bold{ font-weight: bold; font-weight: bold } .regular{ font-weight:normal } .italic{ font-style:italic } .caps{ text-transform:uppercase; letter-spacing: .2em; } .left-align{ text-align:left } .center{ text-align:center } .right-align{ text-align:right } .justify{ text-align:justify } .nowrap{ white-space:nowrap } .break-word{ word-wrap:break-word } .line-height-1{ line-height: 1 } .line-height-2{ line-height: 1.125 } .line-height-3{ line-height: 1.25 } .line-height-4{ line-height: 1.5 } .list-style-none{ list-style:none } .underline{ text-decoration:underline } .truncate{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .list-reset{ list-style:none; padding-left:0; } .inline{ display:inline } .block{ display:block } .inline-block{ display:inline-block } .table{ display:table } .table-cell{ display:table-cell } .overflow-hidden{ overflow:hidden } .overflow-scroll{ overflow:scroll } .overflow-auto{ overflow:auto } .clearfix:before, .clearfix:after{ content:" "; display:table } .clearfix:after{ clear:both } .left{ float:left } .right{ float:right } .fit{ max-width:100% } .max-width-1{ max-width: 24rem } .max-width-2{ max-width: 32rem } .max-width-3{ max-width: 48rem } .max-width-4{ max-width: 64rem } .border-box{ box-sizing:border-box } .align-baseline{ vertical-align:baseline } .align-top{ vertical-align:top } .align-middle{ vertical-align:middle } .align-bottom{ vertical-align:bottom } .m0{ margin:0 } .mt0{ margin-top:0 } .mr0{ margin-right:0 } .mb0{ margin-bottom:0 } .ml0{ margin-left:0 } .mx0{ margin-left:0; margin-right:0 } .my0{ margin-top:0; margin-bottom:0 } .m1{ margin: .5rem } .mt1{ margin-top: .5rem } .mr1{ margin-right: .5rem } .mb1{ margin-bottom: .5rem } .ml1{ margin-left: .5rem } .mx1{ margin-left: .5rem; margin-right: .5rem } .my1{ margin-top: .5rem; margin-bottom: .5rem } .m2{ margin: 1rem } .mt2{ margin-top: 1rem } .mr2{ margin-right: 1rem } .mb2{ margin-bottom: 1rem } .ml2{ margin-left: 1rem } .mx2{ margin-left: 1rem; margin-right: 1rem } .my2{ margin-top: 1rem; margin-bottom: 1rem } .m3{ margin: 2rem } .mt3{ margin-top: 2rem } .mr3{ margin-right: 2rem } .mb3{ margin-bottom: 2rem } .ml3{ margin-left: 2rem } .mx3{ margin-left: 2rem; margin-right: 2rem } .my3{ margin-top: 2rem; margin-bottom: 2rem } .m4{ margin: 4rem } .mt4{ margin-top: 4rem } .mr4{ margin-right: 4rem } .mb4{ margin-bottom: 4rem } .ml4{ margin-left: 4rem } .mx4{ margin-left: 4rem; margin-right: 4rem } .my4{ margin-top: 4rem; margin-bottom: 4rem } .mxn1{ margin-left: -.5rem; margin-right: -.5rem; } .mxn2{ margin-left: -1rem; margin-right: -1rem; } .mxn3{ margin-left: -2rem; margin-right: -2rem; } .mxn4{ margin-left: -4rem; margin-right: -4rem; } .ml-auto{ margin-left:auto } .mr-auto{ margin-right:auto } .mx-auto{ margin-left:auto; margin-right:auto; } .p0{ padding:0 } .pt0{ padding-top:0 } .pr0{ padding-right:0 } .pb0{ padding-bottom:0 } .pl0{ padding-left:0 } .px0{ padding-left:0; padding-right:0 } .py0{ padding-top:0; padding-bottom:0 } .p1{ padding: .5rem } .pt1{ padding-top: .5rem } .pr1{ padding-right: .5rem } .pb1{ padding-bottom: .5rem } .pl1{ padding-left: .5rem } .py1{ padding-top: .5rem; padding-bottom: .5rem } .px1{ padding-left: .5rem; padding-right: .5rem } .p2{ padding: 1rem } .pt2{ padding-top: 1rem } .pr2{ padding-right: 1rem } .pb2{ padding-bottom: 1rem } .pl2{ padding-left: 1rem } .py2{ padding-top: 1rem; padding-bottom: 1rem } .px2{ padding-left: 1rem; padding-right: 1rem } .p3{ padding: 2rem } .pt3{ padding-top: 2rem } .pr3{ padding-right: 2rem } .pb3{ padding-bottom: 2rem } .pl3{ padding-left: 2rem } .py3{ padding-top: 2rem; padding-bottom: 2rem } .px3{ padding-left: 2rem; padding-right: 2rem } .p4{ padding: 4rem } .pt4{ padding-top: 4rem } .pr4{ padding-right: 4rem } .pb4{ padding-bottom: 4rem } .pl4{ padding-left: 4rem } .py4{ padding-top: 4rem; padding-bottom: 4rem } .px4{ padding-left: 4rem; padding-right: 4rem } .col{ float:left; box-sizing:border-box; } .col-right{ float:right; box-sizing:border-box; } .col-1{ width:8.33333%; } .col-2{ width:16.66667%; } .col-3{ width:25%; } .col-4{ width:33.33333%; } .col-5{ width:41.66667%; } .col-6{ width:50%; } .col-7{ width:58.33333%; } .col-8{ width:66.66667%; } .col-9{ width:75%; } .col-10{ width:83.33333%; } .col-11{ width:91.66667%; } .col-12{ width:100%; } @media (min-width: 40em){ .sm-col{ float:left; box-sizing:border-box; } .sm-col-right{ float:right; box-sizing:border-box; } .sm-col-1{ width:8.33333%; } .sm-col-2{ width:16.66667%; } .sm-col-3{ width:25%; } .sm-col-4{ width:33.33333%; } .sm-col-5{ width:41.66667%; } .sm-col-6{ width:50%; } .sm-col-7{ width:58.33333%; } .sm-col-8{ width:66.66667%; } .sm-col-9{ width:75%; } .sm-col-10{ width:83.33333%; } .sm-col-11{ width:91.66667%; } .sm-col-12{ width:100%; } } @media (min-width: 52em){ .md-col{ float:left; box-sizing:border-box; } .md-col-right{ float:right; box-sizing:border-box; } .md-col-1{ width:8.33333%; } .md-col-2{ width:16.66667%; } .md-col-3{ width:25%; } .md-col-4{ width:33.33333%; } .md-col-5{ width:41.66667%; } .md-col-6{ width:50%; } .md-col-7{ width:58.33333%; } .md-col-8{ width:66.66667%; } .md-col-9{ width:75%; } .md-col-10{ width:83.33333%; } .md-col-11{ width:91.66667%; } .md-col-12{ width:100%; } } @media (min-width: 64em){ .lg-col{ float:left; box-sizing:border-box; } .lg-col-right{ float:right; box-sizing:border-box; } .lg-col-1{ width:8.33333%; } .lg-col-2{ width:16.66667%; } .lg-col-3{ width:25%; } .lg-col-4{ width:33.33333%; } .lg-col-5{ width:41.66667%; } .lg-col-6{ width:50%; } .lg-col-7{ width:58.33333%; } .lg-col-8{ width:66.66667%; } .lg-col-9{ width:75%; } .lg-col-10{ width:83.33333%; } .lg-col-11{ width:91.66667%; } .lg-col-12{ width:100%; } } .flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } @media (min-width: 40em){ .sm-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } } @media (min-width: 52em){ .md-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } } @media (min-width: 64em){ .lg-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } } .flex-column{ -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column } .flex-wrap{ -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap } .items-start{ -webkit-box-align:start; -webkit-align-items:flex-start; -ms-flex-align:start; -ms-grid-row-align:flex-start; align-items:flex-start } .items-end{ -webkit-box-align:end; -webkit-align-items:flex-end; -ms-flex-align:end; -ms-grid-row-align:flex-end; align-items:flex-end } .items-center{ -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; -ms-grid-row-align:center; align-items:center } .items-baseline{ -webkit-box-align:baseline; -webkit-align-items:baseline; -ms-flex-align:baseline; -ms-grid-row-align:baseline; align-items:baseline } .items-stretch{ -webkit-box-align:stretch; -webkit-align-items:stretch; -ms-flex-align:stretch; -ms-grid-row-align:stretch; align-items:stretch } .self-start{ -webkit-align-self:flex-start; -ms-flex-item-align:start; align-self:flex-start } .self-end{ -webkit-align-self:flex-end; -ms-flex-item-align:end; align-self:flex-end } .self-center{ -webkit-align-self:center; -ms-flex-item-align:center; align-self:center } .self-baseline{ -webkit-align-self:baseline; -ms-flex-item-align:baseline; align-self:baseline } .self-stretch{ -webkit-align-self:stretch; -ms-flex-item-align:stretch; align-self:stretch } .justify-start{ -webkit-box-pack:start; -webkit-justify-content:flex-start; -ms-flex-pack:start; justify-content:flex-start } .justify-end{ -webkit-box-pack:end; -webkit-justify-content:flex-end; -ms-flex-pack:end; justify-content:flex-end } .justify-center{ -webkit-box-pack:center; -webkit-justify-content:center; -ms-flex-pack:center; justify-content:center } .justify-between{ -webkit-box-pack:justify; -webkit-justify-content:space-between; -ms-flex-pack:justify; justify-content:space-between } .justify-around{ -webkit-justify-content:space-around; -ms-flex-pack:distribute; justify-content:space-around } .content-start{ -webkit-align-content:flex-start; -ms-flex-line-pack:start; align-content:flex-start } .content-end{ -webkit-align-content:flex-end; -ms-flex-line-pack:end; align-content:flex-end } .content-center{ -webkit-align-content:center; -ms-flex-line-pack:center; align-content:center } .content-between{ -webkit-align-content:space-between; -ms-flex-line-pack:justify; align-content:space-between } .content-around{ -webkit-align-content:space-around; -ms-flex-line-pack:distribute; align-content:space-around } .content-stretch{ -webkit-align-content:stretch; -ms-flex-line-pack:stretch; align-content:stretch } .flex-auto{ -webkit-box-flex:1; -webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto; min-width:0; min-height:0; } .flex-none{ -webkit-box-flex:0; -webkit-flex:none; -ms-flex:none; flex:none } .fs0{ flex-shrink: 0 } .order-0{ -webkit-box-ordinal-group:1; -webkit-order:0; -ms-flex-order:0; order:0 } .order-1{ -webkit-box-ordinal-group:2; -webkit-order:1; -ms-flex-order:1; order:1 } .order-2{ -webkit-box-ordinal-group:3; -webkit-order:2; -ms-flex-order:2; order:2 } .order-3{ -webkit-box-ordinal-group:4; -webkit-order:3; -ms-flex-order:3; order:3 } .order-last{ -webkit-box-ordinal-group:100000; -webkit-order:99999; -ms-flex-order:99999; order:99999 } .relative{ position:relative } .absolute{ position:absolute } .fixed{ position:fixed } .top-0{ top:0 } .right-0{ right:0 } .bottom-0{ bottom:0 } .left-0{ left:0 } .z1{ z-index: 1 } .z2{ z-index: 2 } .z3{ z-index: 3 } .z4{ z-index: 4 } .border{ border-style:solid; border-width: 1px; } .border-top{ border-top-style:solid; border-top-width: 1px; } .border-right{ border-right-style:solid; border-right-width: 1px; } .border-bottom{ border-bottom-style:solid; border-bottom-width: 1px; } .border-left{ border-left-style:solid; border-left-width: 1px; } .border-none{ border:0 } .rounded{ border-radius: 3px } .circle{ border-radius:50% } .rounded-top{ border-radius: 3px 3px 0 0 } .rounded-right{ border-radius: 0 3px 3px 0 } .rounded-bottom{ border-radius: 0 0 3px 3px } .rounded-left{ border-radius: 3px 0 0 3px } .not-rounded{ border-radius:0 } .hide{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px); } @media (max-width: 40em){ .xs-hide{ display:none !important } } @media (min-width: 40em) and (max-width: 52em){ .sm-hide{ display:none !important } } @media (min-width: 52em) and (max-width: 64em){ .md-hide{ display:none !important } } @media (min-width: 64em){ .lg-hide{ display:none !important } } .display-none{ display:none !important } ================================================ FILE: docs/assets/fonts/LICENSE.txt ================================================ Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. ================================================ FILE: docs/assets/fonts/source-code-pro.css ================================================ @font-face{ font-family: 'Source Code Pro'; font-weight: 400; font-style: normal; font-stretch: normal; src: url('EOT/SourceCodePro-Regular.eot') format('embedded-opentype'), url('WOFF2/TTF/SourceCodePro-Regular.ttf.woff2') format('woff2'), url('WOFF/OTF/SourceCodePro-Regular.otf.woff') format('woff'), url('OTF/SourceCodePro-Regular.otf') format('opentype'), url('TTF/SourceCodePro-Regular.ttf') format('truetype'); } @font-face{ font-family: 'Source Code Pro'; font-weight: 700; font-style: normal; font-stretch: normal; src: url('EOT/SourceCodePro-Bold.eot') format('embedded-opentype'), url('WOFF2/TTF/SourceCodePro-Bold.ttf.woff2') format('woff2'), url('WOFF/OTF/SourceCodePro-Bold.otf.woff') format('woff'), url('OTF/SourceCodePro-Bold.otf') format('opentype'), url('TTF/SourceCodePro-Bold.ttf') format('truetype'); } ================================================ FILE: docs/assets/github.css ================================================ /* github.com style (c) Vasily Polovnyov */ .hljs { display: block; overflow-x: auto; padding: 0.5em; color: #333; background: #f8f8f8; -webkit-text-size-adjust: none; } .hljs-comment, .diff .hljs-header, .hljs-javadoc { color: #998; font-style: italic; } .hljs-keyword, .css .rule .hljs-keyword, .hljs-winutils, .nginx .hljs-title, .hljs-subst, .hljs-request, .hljs-status { color: #1184CE; } .hljs-number, .hljs-hexcolor, .ruby .hljs-constant { color: #ed225d; } .hljs-string, .hljs-tag .hljs-value, .hljs-phpdoc, .hljs-dartdoc, .tex .hljs-formula { color: #ed225d; } .hljs-title, .hljs-id, .scss .hljs-preprocessor { color: #900; font-weight: bold; } .hljs-list .hljs-keyword, .hljs-subst { font-weight: normal; } .hljs-class .hljs-title, .hljs-type, .vhdl .hljs-literal, .tex .hljs-command { color: #458; font-weight: bold; } .hljs-tag, .hljs-tag .hljs-title, .hljs-rules .hljs-property, .django .hljs-tag .hljs-keyword { color: #000080; font-weight: normal; } .hljs-attribute, .hljs-variable, .lisp .hljs-body { color: #008080; } .hljs-regexp { color: #009926; } .hljs-symbol, .ruby .hljs-symbol .hljs-string, .lisp .hljs-keyword, .clojure .hljs-keyword, .scheme .hljs-keyword, .tex .hljs-special, .hljs-prompt { color: #990073; } .hljs-built_in { color: #0086b3; } .hljs-preprocessor, .hljs-pragma, .hljs-pi, .hljs-doctype, .hljs-shebang, .hljs-cdata { color: #999; font-weight: bold; } .hljs-deletion { background: #fdd; } .hljs-addition { background: #dfd; } .diff .hljs-change { background: #0086b3; } .hljs-chunk { color: #aaa; } ================================================ FILE: docs/assets/site.js ================================================ /* global anchors */ // add anchor links to headers anchors.options.placement = 'left'; anchors.add('h3'); // Filter UI var tocElements = document.getElementById('toc').getElementsByTagName('li'); document.getElementById('filter-input').addEventListener('keyup', function (e) { var i, element, children; // enter key if (e.keyCode === 13) { // go to the first displayed item in the toc for (i = 0; i < tocElements.length; i++) { element = tocElements[i]; if (!element.classList.contains('display-none')) { location.replace(element.firstChild.href); return e.preventDefault(); } } } var match = function () { return true; }; var value = this.value.toLowerCase(); if (!value.match(/^\s*$/)) { match = function (element) { var html = element.firstChild.innerHTML; return html && html.toLowerCase().indexOf(value) !== -1; }; } for (i = 0; i < tocElements.length; i++) { element = tocElements[i]; children = Array.from(element.getElementsByTagName('li')); if (match(element) || children.some(match)) { element.classList.remove('display-none'); } else { element.classList.add('display-none'); } } }); var items = document.getElementsByClassName('toggle-sibling'); for (var j = 0; j < items.length; j++) { items[j].addEventListener('click', toggleSibling); } function toggleSibling() { var stepSibling = this.parentNode.getElementsByClassName('toggle-target')[0]; var icon = this.getElementsByClassName('icon')[0]; var klass = 'display-none'; if (stepSibling.classList.contains(klass)) { stepSibling.classList.remove(klass); icon.innerHTML = '▾'; } else { stepSibling.classList.add(klass); icon.innerHTML = '▸'; } } function showHashTarget(targetId) { if (targetId) { var hashTarget = document.getElementById(targetId); // new target is hidden if ( hashTarget && hashTarget.offsetHeight === 0 && hashTarget.parentNode.parentNode.classList.contains('display-none') ) { hashTarget.parentNode.parentNode.classList.remove('display-none'); } } } function scrollIntoView(targetId) { // Only scroll to element if we don't have a stored scroll position. if (targetId && !history.state) { var hashTarget = document.getElementById(targetId); if (hashTarget) { hashTarget.scrollIntoView(); } } } function gotoCurrentTarget() { showHashTarget(location.hash.substring(1)); scrollIntoView(location.hash.substring(1)); } window.addEventListener('hashchange', gotoCurrentTarget); gotoCurrentTarget(); var toclinks = document.getElementsByClassName('pre-open'); for (var k = 0; k < toclinks.length; k++) { toclinks[k].addEventListener('mousedown', preOpen, false); } function preOpen() { showHashTarget(this.hash.substring(1)); } var split_left = document.querySelector('#split-left'); var split_right = document.querySelector('#split-right'); var split_parent = split_left.parentNode; var cw_with_sb = split_left.clientWidth; split_left.style.overflow = 'hidden'; var cw_without_sb = split_left.clientWidth; split_left.style.overflow = ''; Split(['#split-left', '#split-right'], { elementStyle: function (dimension, size, gutterSize) { return { 'flex-basis': 'calc(' + size + '% - ' + gutterSize + 'px)' }; }, gutterStyle: function (dimension, gutterSize) { return { 'flex-basis': gutterSize + 'px' }; }, gutterSize: 20, sizes: [33, 67] }); // Chrome doesn't remember scroll position properly so do it ourselves. // Also works on Firefox and Edge. function updateState() { history.replaceState( { left_top: split_left.scrollTop, right_top: split_right.scrollTop }, document.title ); } function loadState(ev) { if (ev) { // Edge doesn't replace change history.state on popstate. history.replaceState(ev.state, document.title); } if (history.state) { split_left.scrollTop = history.state.left_top; split_right.scrollTop = history.state.right_top; } } window.addEventListener('load', function () { // Restore after Firefox scrolls to hash. setTimeout(function () { loadState(); // Update with initial scroll position. updateState(); // Update scroll positions only after we've loaded because Firefox // emits an initial scroll event with 0. split_left.addEventListener('scroll', updateState); split_right.addEventListener('scroll', updateState); }, 1); }); window.addEventListener('popstate', loadState); ================================================ FILE: docs/assets/split.css ================================================ .gutter { background-color: #f5f5f5; background-repeat: no-repeat; background-position: 50%; } .gutter.gutter-vertical { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII='); cursor: ns-resize; } .gutter.gutter-horizontal { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg=='); cursor: ew-resize; } ================================================ FILE: docs/assets/split.js ================================================ /*! Split.js - v1.5.11 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Split = factory()); }(this, (function () { 'use strict'; // The programming goals of Split.js are to deliver readable, understandable and // maintainable code, while at the same time manually optimizing for tiny minified file size, // browser compatibility without additional requirements, graceful fallback (IE8 is supported) // and very few assumptions about the user's page layout. var global = window; var document = global.document; // Save a couple long function names that are used frequently. // This optimization saves around 400 bytes. var addEventListener = 'addEventListener'; var removeEventListener = 'removeEventListener'; var getBoundingClientRect = 'getBoundingClientRect'; var gutterStartDragging = '_a'; var aGutterSize = '_b'; var bGutterSize = '_c'; var HORIZONTAL = 'horizontal'; var NOOP = function () { return false; }; // Figure out if we're in IE8 or not. IE8 will still render correctly, // but will be static instead of draggable. var isIE8 = global.attachEvent && !global[addEventListener]; // Helper function determines which prefixes of CSS calc we need. // We only need to do this once on startup, when this anonymous function is called. // // Tests -webkit, -moz and -o prefixes. Modified from StackOverflow: // http://stackoverflow.com/questions/16625140/js-feature-detection-to-detect-the-usage-of-webkit-calc-over-calc/16625167#16625167 var calc = (['', '-webkit-', '-moz-', '-o-'] .filter(function (prefix) { var el = document.createElement('div'); el.style.cssText = "width:" + prefix + "calc(9px)"; return !!el.style.length }) .shift()) + "calc"; // Helper function checks if its argument is a string-like type var isString = function (v) { return typeof v === 'string' || v instanceof String; }; // Helper function allows elements and string selectors to be used // interchangeably. In either case an element is returned. This allows us to // do `Split([elem1, elem2])` as well as `Split(['#id1', '#id2'])`. var elementOrSelector = function (el) { if (isString(el)) { var ele = document.querySelector(el); if (!ele) { throw new Error(("Selector " + el + " did not match a DOM element")) } return ele } return el }; // Helper function gets a property from the properties object, with a default fallback var getOption = function (options, propName, def) { var value = options[propName]; if (value !== undefined) { return value } return def }; var getGutterSize = function (gutterSize, isFirst, isLast, gutterAlign) { if (isFirst) { if (gutterAlign === 'end') { return 0 } if (gutterAlign === 'center') { return gutterSize / 2 } } else if (isLast) { if (gutterAlign === 'start') { return 0 } if (gutterAlign === 'center') { return gutterSize / 2 } } return gutterSize }; // Default options var defaultGutterFn = function (i, gutterDirection) { var gut = document.createElement('div'); gut.className = "gutter gutter-" + gutterDirection; return gut }; var defaultElementStyleFn = function (dim, size, gutSize) { var style = {}; if (!isString(size)) { if (!isIE8) { style[dim] = calc + "(" + size + "% - " + gutSize + "px)"; } else { style[dim] = size + "%"; } } else { style[dim] = size; } return style }; var defaultGutterStyleFn = function (dim, gutSize) { var obj; return (( obj = {}, obj[dim] = (gutSize + "px"), obj )); }; // The main function to initialize a split. Split.js thinks about each pair // of elements as an independant pair. Dragging the gutter between two elements // only changes the dimensions of elements in that pair. This is key to understanding // how the following functions operate, since each function is bound to a pair. // // A pair object is shaped like this: // // { // a: DOM element, // b: DOM element, // aMin: Number, // bMin: Number, // dragging: Boolean, // parent: DOM element, // direction: 'horizontal' | 'vertical' // } // // The basic sequence: // // 1. Set defaults to something sane. `options` doesn't have to be passed at all. // 2. Initialize a bunch of strings based on the direction we're splitting. // A lot of the behavior in the rest of the library is paramatized down to // rely on CSS strings and classes. // 3. Define the dragging helper functions, and a few helpers to go with them. // 4. Loop through the elements while pairing them off. Every pair gets an // `pair` object and a gutter. // 5. Actually size the pair elements, insert gutters and attach event listeners. var Split = function (idsOption, options) { if ( options === void 0 ) options = {}; var ids = idsOption; var dimension; var clientAxis; var position; var positionEnd; var clientSize; var elements; // Allow HTMLCollection to be used as an argument when supported if (Array.from) { ids = Array.from(ids); } // All DOM elements in the split should have a common parent. We can grab // the first elements parent and hope users read the docs because the // behavior will be whacky otherwise. var firstElement = elementOrSelector(ids[0]); var parent = firstElement.parentNode; var parentStyle = getComputedStyle ? getComputedStyle(parent) : null; var parentFlexDirection = parentStyle ? parentStyle.flexDirection : null; // Set default options.sizes to equal percentages of the parent element. var sizes = getOption(options, 'sizes') || ids.map(function () { return 100 / ids.length; }); // Standardize minSize to an array if it isn't already. This allows minSize // to be passed as a number. var minSize = getOption(options, 'minSize', 100); var minSizes = Array.isArray(minSize) ? minSize : ids.map(function () { return minSize; }); // Get other options var expandToMin = getOption(options, 'expandToMin', false); var gutterSize = getOption(options, 'gutterSize', 10); var gutterAlign = getOption(options, 'gutterAlign', 'center'); var snapOffset = getOption(options, 'snapOffset', 30); var dragInterval = getOption(options, 'dragInterval', 1); var direction = getOption(options, 'direction', HORIZONTAL); var cursor = getOption( options, 'cursor', direction === HORIZONTAL ? 'col-resize' : 'row-resize' ); var gutter = getOption(options, 'gutter', defaultGutterFn); var elementStyle = getOption( options, 'elementStyle', defaultElementStyleFn ); var gutterStyle = getOption(options, 'gutterStyle', defaultGutterStyleFn); // 2. Initialize a bunch of strings based on the direction we're splitting. // A lot of the behavior in the rest of the library is paramatized down to // rely on CSS strings and classes. if (direction === HORIZONTAL) { dimension = 'width'; clientAxis = 'clientX'; position = 'left'; positionEnd = 'right'; clientSize = 'clientWidth'; } else if (direction === 'vertical') { dimension = 'height'; clientAxis = 'clientY'; position = 'top'; positionEnd = 'bottom'; clientSize = 'clientHeight'; } // 3. Define the dragging helper functions, and a few helpers to go with them. // Each helper is bound to a pair object that contains its metadata. This // also makes it easy to store references to listeners that that will be // added and removed. // // Even though there are no other functions contained in them, aliasing // this to self saves 50 bytes or so since it's used so frequently. // // The pair object saves metadata like dragging state, position and // event listener references. function setElementSize(el, size, gutSize, i) { // Split.js allows setting sizes via numbers (ideally), or if you must, // by string, like '300px'. This is less than ideal, because it breaks // the fluid layout that `calc(% - px)` provides. You're on your own if you do that, // make sure you calculate the gutter size by hand. var style = elementStyle(dimension, size, gutSize, i); Object.keys(style).forEach(function (prop) { // eslint-disable-next-line no-param-reassign el.style[prop] = style[prop]; }); } function setGutterSize(gutterElement, gutSize, i) { var style = gutterStyle(dimension, gutSize, i); Object.keys(style).forEach(function (prop) { // eslint-disable-next-line no-param-reassign gutterElement.style[prop] = style[prop]; }); } function getSizes() { return elements.map(function (element) { return element.size; }) } // Supports touch events, but not multitouch, so only the first // finger `touches[0]` is counted. function getMousePosition(e) { if ('touches' in e) { return e.touches[0][clientAxis] } return e[clientAxis] } // Actually adjust the size of elements `a` and `b` to `offset` while dragging. // calc is used to allow calc(percentage + gutterpx) on the whole split instance, // which allows the viewport to be resized without additional logic. // Element a's size is the same as offset. b's size is total size - a size. // Both sizes are calculated from the initial parent percentage, // then the gutter size is subtracted. function adjust(offset) { var a = elements[this.a]; var b = elements[this.b]; var percentage = a.size + b.size; a.size = (offset / this.size) * percentage; b.size = percentage - (offset / this.size) * percentage; setElementSize(a.element, a.size, this[aGutterSize], a.i); setElementSize(b.element, b.size, this[bGutterSize], b.i); } // drag, where all the magic happens. The logic is really quite simple: // // 1. Ignore if the pair is not dragging. // 2. Get the offset of the event. // 3. Snap offset to min if within snappable range (within min + snapOffset). // 4. Actually adjust each element in the pair to offset. // // --------------------------------------------------------------------- // | | <- a.minSize || b.minSize -> | | // | | | <- this.snapOffset || this.snapOffset -> | | | // | | | || | | | // | | | || | | | // --------------------------------------------------------------------- // | <- this.start this.size -> | function drag(e) { var offset; var a = elements[this.a]; var b = elements[this.b]; if (!this.dragging) { return } // Get the offset of the event from the first side of the // pair `this.start`. Then offset by the initial position of the // mouse compared to the gutter size. offset = getMousePosition(e) - this.start + (this[aGutterSize] - this.dragOffset); if (dragInterval > 1) { offset = Math.round(offset / dragInterval) * dragInterval; } // If within snapOffset of min or max, set offset to min or max. // snapOffset buffers a.minSize and b.minSize, so logic is opposite for both. // Include the appropriate gutter sizes to prevent overflows. if (offset <= a.minSize + snapOffset + this[aGutterSize]) { offset = a.minSize + this[aGutterSize]; } else if ( offset >= this.size - (b.minSize + snapOffset + this[bGutterSize]) ) { offset = this.size - (b.minSize + this[bGutterSize]); } // Actually adjust the size. adjust.call(this, offset); // Call the drag callback continously. Don't do anything too intensive // in this callback. getOption(options, 'onDrag', NOOP)(); } // Cache some important sizes when drag starts, so we don't have to do that // continously: // // `size`: The total size of the pair. First + second + first gutter + second gutter. // `start`: The leading side of the first element. // // ------------------------------------------------ // | aGutterSize -> ||| | // | ||| | // | ||| | // | ||| <- bGutterSize | // ------------------------------------------------ // | <- start size -> | function calculateSizes() { // Figure out the parent size minus padding. var a = elements[this.a].element; var b = elements[this.b].element; var aBounds = a[getBoundingClientRect](); var bBounds = b[getBoundingClientRect](); this.size = aBounds[dimension] + bBounds[dimension] + this[aGutterSize] + this[bGutterSize]; this.start = aBounds[position]; this.end = aBounds[positionEnd]; } function innerSize(element) { // Return nothing if getComputedStyle is not supported (< IE9) // Or if parent element has no layout yet if (!getComputedStyle) { return null } var computedStyle = getComputedStyle(element); if (!computedStyle) { return null } var size = element[clientSize]; if (size === 0) { return null } if (direction === HORIZONTAL) { size -= parseFloat(computedStyle.paddingLeft) + parseFloat(computedStyle.paddingRight); } else { size -= parseFloat(computedStyle.paddingTop) + parseFloat(computedStyle.paddingBottom); } return size } // When specifying percentage sizes that are less than the computed // size of the element minus the gutter, the lesser percentages must be increased // (and decreased from the other elements) to make space for the pixels // subtracted by the gutters. function trimToMin(sizesToTrim) { // Try to get inner size of parent element. // If it's no supported, return original sizes. var parentSize = innerSize(parent); if (parentSize === null) { return sizesToTrim } if (minSizes.reduce(function (a, b) { return a + b; }, 0) > parentSize) { return sizesToTrim } // Keep track of the excess pixels, the amount of pixels over the desired percentage // Also keep track of the elements with pixels to spare, to decrease after if needed var excessPixels = 0; var toSpare = []; var pixelSizes = sizesToTrim.map(function (size, i) { // Convert requested percentages to pixel sizes var pixelSize = (parentSize * size) / 100; var elementGutterSize = getGutterSize( gutterSize, i === 0, i === sizesToTrim.length - 1, gutterAlign ); var elementMinSize = minSizes[i] + elementGutterSize; // If element is too smal, increase excess pixels by the difference // and mark that it has no pixels to spare if (pixelSize < elementMinSize) { excessPixels += elementMinSize - pixelSize; toSpare.push(0); return elementMinSize } // Otherwise, mark the pixels it has to spare and return it's original size toSpare.push(pixelSize - elementMinSize); return pixelSize }); // If nothing was adjusted, return the original sizes if (excessPixels === 0) { return sizesToTrim } return pixelSizes.map(function (pixelSize, i) { var newPixelSize = pixelSize; // While there's still pixels to take, and there's enough pixels to spare, // take as many as possible up to the total excess pixels if (excessPixels > 0 && toSpare[i] - excessPixels > 0) { var takenPixels = Math.min( excessPixels, toSpare[i] - excessPixels ); // Subtract the amount taken for the next iteration excessPixels -= takenPixels; newPixelSize = pixelSize - takenPixels; } // Return the pixel size adjusted as a percentage return (newPixelSize / parentSize) * 100 }) } // stopDragging is very similar to startDragging in reverse. function stopDragging() { var self = this; var a = elements[self.a].element; var b = elements[self.b].element; if (self.dragging) { getOption(options, 'onDragEnd', NOOP)(getSizes()); } self.dragging = false; // Remove the stored event listeners. This is why we store them. global[removeEventListener]('mouseup', self.stop); global[removeEventListener]('touchend', self.stop); global[removeEventListener]('touchcancel', self.stop); global[removeEventListener]('mousemove', self.move); global[removeEventListener]('touchmove', self.move); // Clear bound function references self.stop = null; self.move = null; a[removeEventListener]('selectstart', NOOP); a[removeEventListener]('dragstart', NOOP); b[removeEventListener]('selectstart', NOOP); b[removeEventListener]('dragstart', NOOP); a.style.userSelect = ''; a.style.webkitUserSelect = ''; a.style.MozUserSelect = ''; a.style.pointerEvents = ''; b.style.userSelect = ''; b.style.webkitUserSelect = ''; b.style.MozUserSelect = ''; b.style.pointerEvents = ''; self.gutter.style.cursor = ''; self.parent.style.cursor = ''; document.body.style.cursor = ''; } // startDragging calls `calculateSizes` to store the inital size in the pair object. // It also adds event listeners for mouse/touch events, // and prevents selection while dragging so avoid the selecting text. function startDragging(e) { // Right-clicking can't start dragging. if ('button' in e && e.button !== 0) { return } // Alias frequently used variables to save space. 200 bytes. var self = this; var a = elements[self.a].element; var b = elements[self.b].element; // Call the onDragStart callback. if (!self.dragging) { getOption(options, 'onDragStart', NOOP)(getSizes()); } // Don't actually drag the element. We emulate that in the drag function. e.preventDefault(); // Set the dragging property of the pair object. self.dragging = true; // Create two event listeners bound to the same pair object and store // them in the pair object. self.move = drag.bind(self); self.stop = stopDragging.bind(self); // All the binding. `window` gets the stop events in case we drag out of the elements. global[addEventListener]('mouseup', self.stop); global[addEventListener]('touchend', self.stop); global[addEventListener]('touchcancel', self.stop); global[addEventListener]('mousemove', self.move); global[addEventListener]('touchmove', self.move); // Disable selection. Disable! a[addEventListener]('selectstart', NOOP); a[addEventListener]('dragstart', NOOP); b[addEventListener]('selectstart', NOOP); b[addEventListener]('dragstart', NOOP); a.style.userSelect = 'none'; a.style.webkitUserSelect = 'none'; a.style.MozUserSelect = 'none'; a.style.pointerEvents = 'none'; b.style.userSelect = 'none'; b.style.webkitUserSelect = 'none'; b.style.MozUserSelect = 'none'; b.style.pointerEvents = 'none'; // Set the cursor at multiple levels self.gutter.style.cursor = cursor; self.parent.style.cursor = cursor; document.body.style.cursor = cursor; // Cache the initial sizes of the pair. calculateSizes.call(self); // Determine the position of the mouse compared to the gutter self.dragOffset = getMousePosition(e) - self.end; } // adjust sizes to ensure percentage is within min size and gutter. sizes = trimToMin(sizes); // 5. Create pair and element objects. Each pair has an index reference to // elements `a` and `b` of the pair (first and second elements). // Loop through the elements while pairing them off. Every pair gets a // `pair` object and a gutter. // // Basic logic: // // - Starting with the second element `i > 0`, create `pair` objects with // `a = i - 1` and `b = i` // - Set gutter sizes based on the _pair_ being first/last. The first and last // pair have gutterSize / 2, since they only have one half gutter, and not two. // - Create gutter elements and add event listeners. // - Set the size of the elements, minus the gutter sizes. // // ----------------------------------------------------------------------- // | i=0 | i=1 | i=2 | i=3 | // | | | | | // | pair 0 pair 1 pair 2 | // | | | | | // ----------------------------------------------------------------------- var pairs = []; elements = ids.map(function (id, i) { // Create the element object. var element = { element: elementOrSelector(id), size: sizes[i], minSize: minSizes[i], i: i, }; var pair; if (i > 0) { // Create the pair object with its metadata. pair = { a: i - 1, b: i, dragging: false, direction: direction, parent: parent, }; pair[aGutterSize] = getGutterSize( gutterSize, i - 1 === 0, false, gutterAlign ); pair[bGutterSize] = getGutterSize( gutterSize, false, i === ids.length - 1, gutterAlign ); // if the parent has a reverse flex-direction, switch the pair elements. if ( parentFlexDirection === 'row-reverse' || parentFlexDirection === 'column-reverse' ) { var temp = pair.a; pair.a = pair.b; pair.b = temp; } } // Determine the size of the current element. IE8 is supported by // staticly assigning sizes without draggable gutters. Assigns a string // to `size`. // // IE9 and above if (!isIE8) { // Create gutter elements for each pair. if (i > 0) { var gutterElement = gutter(i, direction, element.element); setGutterSize(gutterElement, gutterSize, i); // Save bound event listener for removal later pair[gutterStartDragging] = startDragging.bind(pair); // Attach bound event listener gutterElement[addEventListener]( 'mousedown', pair[gutterStartDragging] ); gutterElement[addEventListener]( 'touchstart', pair[gutterStartDragging] ); parent.insertBefore(gutterElement, element.element); pair.gutter = gutterElement; } } setElementSize( element.element, element.size, getGutterSize( gutterSize, i === 0, i === ids.length - 1, gutterAlign ), i ); // After the first iteration, and we have a pair object, append it to the // list of pairs. if (i > 0) { pairs.push(pair); } return element }); function adjustToMin(element) { var isLast = element.i === pairs.length; var pair = isLast ? pairs[element.i - 1] : pairs[element.i]; calculateSizes.call(pair); var size = isLast ? pair.size - element.minSize - pair[bGutterSize] : element.minSize + pair[aGutterSize]; adjust.call(pair, size); } elements.forEach(function (element) { var computedSize = element.element[getBoundingClientRect]()[dimension]; if (computedSize < element.minSize) { if (expandToMin) { adjustToMin(element); } else { // eslint-disable-next-line no-param-reassign element.minSize = computedSize; } } }); function setSizes(newSizes) { var trimmed = trimToMin(newSizes); trimmed.forEach(function (newSize, i) { if (i > 0) { var pair = pairs[i - 1]; var a = elements[pair.a]; var b = elements[pair.b]; a.size = trimmed[i - 1]; b.size = newSize; setElementSize(a.element, a.size, pair[aGutterSize], a.i); setElementSize(b.element, b.size, pair[bGutterSize], b.i); } }); } function destroy(preserveStyles, preserveGutter) { pairs.forEach(function (pair) { if (preserveGutter !== true) { pair.parent.removeChild(pair.gutter); } else { pair.gutter[removeEventListener]( 'mousedown', pair[gutterStartDragging] ); pair.gutter[removeEventListener]( 'touchstart', pair[gutterStartDragging] ); } if (preserveStyles !== true) { var style = elementStyle( dimension, pair.a.size, pair[aGutterSize] ); Object.keys(style).forEach(function (prop) { elements[pair.a].element.style[prop] = ''; elements[pair.b].element.style[prop] = ''; }); } }); } if (isIE8) { return { setSizes: setSizes, destroy: destroy, } } return { setSizes: setSizes, getSizes: getSizes, collapse: function collapse(i) { adjustToMin(elements[i]); }, destroy: destroy, parent: parent, pairs: pairs, } }; return Split; }))); ================================================ FILE: docs/assets/style.css ================================================ .documentation { font-family: Helvetica, sans-serif; color: #666; line-height: 1.5; background: #f5f5f5; } .black { color: #666; } .bg-white { background-color: #fff; } h4 { margin: 20px 0 10px 0; } .documentation h3 { color: #000; } .border-bottom { border-color: #ddd; } a { color: #1184ce; text-decoration: none; } .documentation a[href]:hover { text-decoration: underline; } a:hover { cursor: pointer; } .py1-ul li { padding: 5px 0; } .max-height-100 { max-height: 100%; } .height-viewport-100 { height: 100vh; } section:target h3 { font-weight: 700; } .documentation td, .documentation th { padding: 0.25rem 0.25rem; } h1:hover .anchorjs-link, h2:hover .anchorjs-link, h3:hover .anchorjs-link, h4:hover .anchorjs-link { opacity: 1; } .fix-3 { width: 25%; max-width: 244px; } .fix-3 { width: 25%; max-width: 244px; } @media (min-width: 52em) { .fix-margin-3 { margin-left: 25%; } } .pre, pre, code, .code { font-family: Source Code Pro, Menlo, Consolas, Liberation Mono, monospace; font-size: 14px; } .fill-light { background: #f9f9f9; } .width2 { width: 1rem; } .input { font-family: inherit; display: block; width: 100%; height: 2rem; padding: 0.5rem; margin-bottom: 1rem; border: 1px solid #ccc; font-size: 0.875rem; border-radius: 3px; box-sizing: border-box; } table { border-collapse: collapse; } .prose table th, .prose table td { text-align: left; padding: 8px; border: 1px solid #ddd; } .prose table th:nth-child(1) { border-right: none; } .prose table th:nth-child(2) { border-left: none; } .prose table { border: 1px solid #ddd; } .prose-big { font-size: 18px; line-height: 30px; } .quiet { opacity: 0.7; } .minishadow { box-shadow: 2px 2px 10px #f3f3f3; } ================================================ FILE: docs/ast/source/.external-ecmascript.js.json ================================================ { "type": "File", "start": 0, "end": 6058, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 193, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 6058, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 193, "column": 0 } }, "sourceType": "module", "body": [], "directives": [], "leadingComments": null, "innerComments": [ { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", "start": 0, "end": 83, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 83 } } }, { "type": "CommentLine", "value": " Value properties", "start": 85, "end": 104, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentBlock", "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", "start": 105, "end": 226, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", "start": 228, "end": 339, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", "start": 341, "end": 464, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", "start": 466, "end": 579, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 18, "column": 3 } } }, { "type": "CommentLine", "value": " Fundamental objects", "start": 581, "end": 603, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 604, "end": 721, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 722, "end": 839, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 841, "end": 962, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 30, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 963, "end": 1084, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 33, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1086, "end": 1205, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 37, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1206, "end": 1325, "loc": { "start": { "line": 38, "column": 0 }, "end": { "line": 40, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", "start": 1327, "end": 1444, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 44, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", "start": 1446, "end": 1561, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 48, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", "start": 1563, "end": 1686, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 52, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", "start": 1688, "end": 1819, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 56, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", "start": 1821, "end": 1946, "loc": { "start": { "line": 58, "column": 0 }, "end": { "line": 60, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", "start": 1948, "end": 2081, "loc": { "start": { "line": 62, "column": 0 }, "end": { "line": 64, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", "start": 2083, "end": 2210, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 68, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", "start": 2212, "end": 2335, "loc": { "start": { "line": 70, "column": 0 }, "end": { "line": 72, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", "start": 2337, "end": 2458, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": "CommentLine", "value": " Numbers and dates", "start": 2460, "end": 2480, "loc": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2481, "end": 2598, "loc": { "start": { "line": 79, "column": 0 }, "end": { "line": 81, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2599, "end": 2716, "loc": { "start": { "line": 82, "column": 0 }, "end": { "line": 84, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", "start": 2718, "end": 2831, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 88, "column": 3 } } }, { "type": "CommentLine", "value": " Text processing", "start": 2833, "end": 2851, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 90, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2852, "end": 2969, "loc": { "start": { "line": 91, "column": 0 }, "end": { "line": 93, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2970, "end": 3087, "loc": { "start": { "line": 94, "column": 0 }, "end": { "line": 96, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", "start": 3089, "end": 3206, "loc": { "start": { "line": 98, "column": 0 }, "end": { "line": 100, "column": 3 } } }, { "type": "CommentLine", "value": " Indexed collections", "start": 3208, "end": 3230, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", "start": 3231, "end": 3346, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 105, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", "start": 3348, "end": 3471, "loc": { "start": { "line": 107, "column": 0 }, "end": { "line": 109, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", "start": 3472, "end": 3597, "loc": { "start": { "line": 110, "column": 0 }, "end": { "line": 112, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", "start": 3599, "end": 3738, "loc": { "start": { "line": 114, "column": 0 }, "end": { "line": 116, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", "start": 3740, "end": 3865, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 120, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", "start": 3867, "end": 3994, "loc": { "start": { "line": 122, "column": 0 }, "end": { "line": 124, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", "start": 3996, "end": 4121, "loc": { "start": { "line": 126, "column": 0 }, "end": { "line": 128, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", "start": 4123, "end": 4250, "loc": { "start": { "line": 130, "column": 0 }, "end": { "line": 132, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", "start": 4252, "end": 4381, "loc": { "start": { "line": 134, "column": 0 }, "end": { "line": 136, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", "start": 4383, "end": 4512, "loc": { "start": { "line": 138, "column": 0 }, "end": { "line": 140, "column": 3 } } }, { "type": "CommentLine", "value": " Keyed collections", "start": 4514, "end": 4534, "loc": { "start": { "line": 142, "column": 0 }, "end": { "line": 142, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", "start": 4535, "end": 4646, "loc": { "start": { "line": 143, "column": 0 }, "end": { "line": 145, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", "start": 4648, "end": 4759, "loc": { "start": { "line": 147, "column": 0 }, "end": { "line": 149, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", "start": 4761, "end": 4880, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 153, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", "start": 4882, "end": 5001, "loc": { "start": { "line": 155, "column": 0 }, "end": { "line": 157, "column": 3 } } }, { "type": "CommentLine", "value": " Structured data", "start": 5003, "end": 5021, "loc": { "start": { "line": 159, "column": 0 }, "end": { "line": 159, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", "start": 5022, "end": 5149, "loc": { "start": { "line": 160, "column": 0 }, "end": { "line": 162, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", "start": 5151, "end": 5272, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 166, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", "start": 5274, "end": 5387, "loc": { "start": { "line": 168, "column": 0 }, "end": { "line": 170, "column": 3 } } }, { "type": "CommentLine", "value": " Control abstraction objects", "start": 5389, "end": 5419, "loc": { "start": { "line": 172, "column": 0 }, "end": { "line": 172, "column": 30 } } }, { "type": "CommentBlock", "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", "start": 5420, "end": 5539, "loc": { "start": { "line": 173, "column": 0 }, "end": { "line": 175, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", "start": 5541, "end": 5664, "loc": { "start": { "line": 177, "column": 0 }, "end": { "line": 179, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", "start": 5666, "end": 5805, "loc": { "start": { "line": 181, "column": 0 }, "end": { "line": 183, "column": 3 } } }, { "type": "CommentLine", "value": " Reflection", "start": 5807, "end": 5820, "loc": { "start": { "line": 185, "column": 0 }, "end": { "line": 185, "column": 13 } } }, { "type": "CommentBlock", "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", "start": 5821, "end": 5940, "loc": { "start": { "line": 186, "column": 0 }, "end": { "line": 188, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", "start": 5942, "end": 6057, "loc": { "start": { "line": 190, "column": 0 }, "end": { "line": 192, "column": 3 } } } ] }, "comments": [ { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", "start": 0, "end": 83, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 83 } } }, { "type": "CommentLine", "value": " Value properties", "start": 85, "end": 104, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentBlock", "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", "start": 105, "end": 226, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", "start": 228, "end": 339, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", "start": 341, "end": 464, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", "start": 466, "end": 579, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 18, "column": 3 } } }, { "type": "CommentLine", "value": " Fundamental objects", "start": 581, "end": 603, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 604, "end": 721, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 722, "end": 839, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 841, "end": 962, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 30, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 963, "end": 1084, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 33, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1086, "end": 1205, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 37, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1206, "end": 1325, "loc": { "start": { "line": 38, "column": 0 }, "end": { "line": 40, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", "start": 1327, "end": 1444, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 44, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", "start": 1446, "end": 1561, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 48, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", "start": 1563, "end": 1686, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 52, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", "start": 1688, "end": 1819, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 56, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", "start": 1821, "end": 1946, "loc": { "start": { "line": 58, "column": 0 }, "end": { "line": 60, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", "start": 1948, "end": 2081, "loc": { "start": { "line": 62, "column": 0 }, "end": { "line": 64, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", "start": 2083, "end": 2210, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 68, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", "start": 2212, "end": 2335, "loc": { "start": { "line": 70, "column": 0 }, "end": { "line": 72, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", "start": 2337, "end": 2458, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": "CommentLine", "value": " Numbers and dates", "start": 2460, "end": 2480, "loc": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2481, "end": 2598, "loc": { "start": { "line": 79, "column": 0 }, "end": { "line": 81, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2599, "end": 2716, "loc": { "start": { "line": 82, "column": 0 }, "end": { "line": 84, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", "start": 2718, "end": 2831, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 88, "column": 3 } } }, { "type": "CommentLine", "value": " Text processing", "start": 2833, "end": 2851, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 90, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2852, "end": 2969, "loc": { "start": { "line": 91, "column": 0 }, "end": { "line": 93, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2970, "end": 3087, "loc": { "start": { "line": 94, "column": 0 }, "end": { "line": 96, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", "start": 3089, "end": 3206, "loc": { "start": { "line": 98, "column": 0 }, "end": { "line": 100, "column": 3 } } }, { "type": "CommentLine", "value": " Indexed collections", "start": 3208, "end": 3230, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", "start": 3231, "end": 3346, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 105, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", "start": 3348, "end": 3471, "loc": { "start": { "line": 107, "column": 0 }, "end": { "line": 109, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", "start": 3472, "end": 3597, "loc": { "start": { "line": 110, "column": 0 }, "end": { "line": 112, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", "start": 3599, "end": 3738, "loc": { "start": { "line": 114, "column": 0 }, "end": { "line": 116, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", "start": 3740, "end": 3865, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 120, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", "start": 3867, "end": 3994, "loc": { "start": { "line": 122, "column": 0 }, "end": { "line": 124, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", "start": 3996, "end": 4121, "loc": { "start": { "line": 126, "column": 0 }, "end": { "line": 128, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", "start": 4123, "end": 4250, "loc": { "start": { "line": 130, "column": 0 }, "end": { "line": 132, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", "start": 4252, "end": 4381, "loc": { "start": { "line": 134, "column": 0 }, "end": { "line": 136, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", "start": 4383, "end": 4512, "loc": { "start": { "line": 138, "column": 0 }, "end": { "line": 140, "column": 3 } } }, { "type": "CommentLine", "value": " Keyed collections", "start": 4514, "end": 4534, "loc": { "start": { "line": 142, "column": 0 }, "end": { "line": 142, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", "start": 4535, "end": 4646, "loc": { "start": { "line": 143, "column": 0 }, "end": { "line": 145, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", "start": 4648, "end": 4759, "loc": { "start": { "line": 147, "column": 0 }, "end": { "line": 149, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", "start": 4761, "end": 4880, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 153, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", "start": 4882, "end": 5001, "loc": { "start": { "line": 155, "column": 0 }, "end": { "line": 157, "column": 3 } } }, { "type": "CommentLine", "value": " Structured data", "start": 5003, "end": 5021, "loc": { "start": { "line": 159, "column": 0 }, "end": { "line": 159, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", "start": 5022, "end": 5149, "loc": { "start": { "line": 160, "column": 0 }, "end": { "line": 162, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", "start": 5151, "end": 5272, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 166, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", "start": 5274, "end": 5387, "loc": { "start": { "line": 168, "column": 0 }, "end": { "line": 170, "column": 3 } } }, { "type": "CommentLine", "value": " Control abstraction objects", "start": 5389, "end": 5419, "loc": { "start": { "line": 172, "column": 0 }, "end": { "line": 172, "column": 30 } } }, { "type": "CommentBlock", "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", "start": 5420, "end": 5539, "loc": { "start": { "line": 173, "column": 0 }, "end": { "line": 175, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", "start": 5541, "end": 5664, "loc": { "start": { "line": 177, "column": 0 }, "end": { "line": 179, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", "start": 5666, "end": 5805, "loc": { "start": { "line": 181, "column": 0 }, "end": { "line": 183, "column": 3 } } }, { "type": "CommentLine", "value": " Reflection", "start": 5807, "end": 5820, "loc": { "start": { "line": 185, "column": 0 }, "end": { "line": 185, "column": 13 } } }, { "type": "CommentBlock", "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", "start": 5821, "end": 5940, "loc": { "start": { "line": 186, "column": 0 }, "end": { "line": 188, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", "start": 5942, "end": 6057, "loc": { "start": { "line": 190, "column": 0 }, "end": { "line": 192, "column": 3 } } } ], "tokens": [ { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", "start": 0, "end": 83, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 83 } } }, { "type": "CommentLine", "value": " Value properties", "start": 85, "end": 104, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentBlock", "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", "start": 105, "end": 226, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", "start": 228, "end": 339, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", "start": 341, "end": 464, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", "start": 466, "end": 579, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 18, "column": 3 } } }, { "type": "CommentLine", "value": " Fundamental objects", "start": 581, "end": 603, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 604, "end": 721, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", "start": 722, "end": 839, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 841, "end": 962, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 30, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", "start": 963, "end": 1084, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 33, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1086, "end": 1205, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 37, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", "start": 1206, "end": 1325, "loc": { "start": { "line": 38, "column": 0 }, "end": { "line": 40, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", "start": 1327, "end": 1444, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 44, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", "start": 1446, "end": 1561, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 48, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", "start": 1563, "end": 1686, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 52, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", "start": 1688, "end": 1819, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 56, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", "start": 1821, "end": 1946, "loc": { "start": { "line": 58, "column": 0 }, "end": { "line": 60, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", "start": 1948, "end": 2081, "loc": { "start": { "line": 62, "column": 0 }, "end": { "line": 64, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", "start": 2083, "end": 2210, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 68, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", "start": 2212, "end": 2335, "loc": { "start": { "line": 70, "column": 0 }, "end": { "line": 72, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", "start": 2337, "end": 2458, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": "CommentLine", "value": " Numbers and dates", "start": 2460, "end": 2480, "loc": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2481, "end": 2598, "loc": { "start": { "line": 79, "column": 0 }, "end": { "line": 81, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", "start": 2599, "end": 2716, "loc": { "start": { "line": 82, "column": 0 }, "end": { "line": 84, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", "start": 2718, "end": 2831, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 88, "column": 3 } } }, { "type": "CommentLine", "value": " Text processing", "start": 2833, "end": 2851, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 90, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2852, "end": 2969, "loc": { "start": { "line": 91, "column": 0 }, "end": { "line": 93, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", "start": 2970, "end": 3087, "loc": { "start": { "line": 94, "column": 0 }, "end": { "line": 96, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", "start": 3089, "end": 3206, "loc": { "start": { "line": 98, "column": 0 }, "end": { "line": 100, "column": 3 } } }, { "type": "CommentLine", "value": " Indexed collections", "start": 3208, "end": 3230, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", "start": 3231, "end": 3346, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 105, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", "start": 3348, "end": 3471, "loc": { "start": { "line": 107, "column": 0 }, "end": { "line": 109, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", "start": 3472, "end": 3597, "loc": { "start": { "line": 110, "column": 0 }, "end": { "line": 112, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", "start": 3599, "end": 3738, "loc": { "start": { "line": 114, "column": 0 }, "end": { "line": 116, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", "start": 3740, "end": 3865, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 120, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", "start": 3867, "end": 3994, "loc": { "start": { "line": 122, "column": 0 }, "end": { "line": 124, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", "start": 3996, "end": 4121, "loc": { "start": { "line": 126, "column": 0 }, "end": { "line": 128, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", "start": 4123, "end": 4250, "loc": { "start": { "line": 130, "column": 0 }, "end": { "line": 132, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", "start": 4252, "end": 4381, "loc": { "start": { "line": 134, "column": 0 }, "end": { "line": 136, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", "start": 4383, "end": 4512, "loc": { "start": { "line": 138, "column": 0 }, "end": { "line": 140, "column": 3 } } }, { "type": "CommentLine", "value": " Keyed collections", "start": 4514, "end": 4534, "loc": { "start": { "line": 142, "column": 0 }, "end": { "line": 142, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", "start": 4535, "end": 4646, "loc": { "start": { "line": 143, "column": 0 }, "end": { "line": 145, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", "start": 4648, "end": 4759, "loc": { "start": { "line": 147, "column": 0 }, "end": { "line": 149, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", "start": 4761, "end": 4880, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 153, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", "start": 4882, "end": 5001, "loc": { "start": { "line": 155, "column": 0 }, "end": { "line": 157, "column": 3 } } }, { "type": "CommentLine", "value": " Structured data", "start": 5003, "end": 5021, "loc": { "start": { "line": 159, "column": 0 }, "end": { "line": 159, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", "start": 5022, "end": 5149, "loc": { "start": { "line": 160, "column": 0 }, "end": { "line": 162, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", "start": 5151, "end": 5272, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 166, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", "start": 5274, "end": 5387, "loc": { "start": { "line": 168, "column": 0 }, "end": { "line": 170, "column": 3 } } }, { "type": "CommentLine", "value": " Control abstraction objects", "start": 5389, "end": 5419, "loc": { "start": { "line": 172, "column": 0 }, "end": { "line": 172, "column": 30 } } }, { "type": "CommentBlock", "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", "start": 5420, "end": 5539, "loc": { "start": { "line": 173, "column": 0 }, "end": { "line": 175, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", "start": 5541, "end": 5664, "loc": { "start": { "line": 177, "column": 0 }, "end": { "line": 179, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", "start": 5666, "end": 5805, "loc": { "start": { "line": 181, "column": 0 }, "end": { "line": 183, "column": 3 } } }, { "type": "CommentLine", "value": " Reflection", "start": 5807, "end": 5820, "loc": { "start": { "line": 185, "column": 0 }, "end": { "line": 185, "column": 13 } } }, { "type": "CommentBlock", "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", "start": 5821, "end": 5940, "loc": { "start": { "line": 186, "column": 0 }, "end": { "line": 188, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", "start": 5942, "end": 6057, "loc": { "start": { "line": 190, "column": 0 }, "end": { "line": 192, "column": 3 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6058, "end": 6058, "loc": { "start": { "line": 193, "column": 0 }, "end": { "line": 193, "column": 0 } } } ] } ================================================ FILE: docs/ast/source/defaults.js.json ================================================ { "type": "File", "start": 0, "end": 3416, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 165, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3416, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 165, "column": 0 } }, "sourceType": "module", "body": [ { "type": "Identifier", "start": 88, "end": 3389, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 162, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 94, "end": 3388, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 162, "column": 1 } }, "id": { "type": "Identifier", "start": 94, "end": 102, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 14 }, "identifierName": "defaults" }, "name": "defaults", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 105, "end": 3388, "loc": { "start": { "line": 7, "column": 17 }, "end": { "line": 162, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 252, "end": 387, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 17, "column": 3 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 252, "end": 259, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 9 }, "identifierName": "strings" }, "name": "strings", "leadingComments": null }, "value": { "type": "ArrayExpression", "start": 261, "end": 387, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 17, "column": 3 } }, "elements": [ { "type": "StringLiteral", "start": 267, "end": 300, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 37 } }, "extra": { "rawValue": "These are the default values...", "raw": "'These are the default values...'" }, "value": "These are the default values..." }, { "type": "StringLiteral", "start": 306, "end": 336, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 34 } }, "extra": { "rawValue": "You know what you should do?", "raw": "'You know what you should do?'" }, "value": "You know what you should do?" }, { "type": "StringLiteral", "start": 342, "end": 357, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 19 } }, "extra": { "rawValue": "Use your own!", "raw": "'Use your own!'" }, "value": "Use your own!" }, { "type": "StringLiteral", "start": 363, "end": 382, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 23 } }, "extra": { "rawValue": "Have a great day!", "raw": "'Have a great day!'" }, "value": "Have a great day!" } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n ", "start": 109, "end": 249, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 11, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 391, "end": 411, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 391, "end": 405, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 16 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "value": { "type": "NullLiteral", "start": 407, "end": 411, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 22 } } } }, { "type": "ObjectProperty", "start": 489, "end": 501, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 14 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 489, "end": 498, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 11 }, "identifierName": "typeSpeed" }, "name": "typeSpeed", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 500, "end": 501, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} typeSpeed type speed in milliseconds\n ", "start": 416, "end": 486, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 22, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 595, "end": 608, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 15 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 595, "end": 605, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 12 }, "identifierName": "startDelay" }, "name": "startDelay", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 607, "end": 608, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} startDelay time before typing starts in milliseconds\n ", "start": 506, "end": 592, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 27, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 693, "end": 705, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 14 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 693, "end": 702, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 11 }, "identifierName": "backSpeed" }, "name": "backSpeed", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 704, "end": 705, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 14 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} backSpeed backspacing speed in milliseconds\n ", "start": 613, "end": 690, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 32, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 816, "end": 836, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 816, "end": 830, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 16 }, "identifierName": "smartBackspace" }, "name": "smartBackspace", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 832, "end": 836, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 22 } }, "value": true }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n ", "start": 710, "end": 813, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 37, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 906, "end": 920, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 906, "end": 913, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 9 }, "identifierName": "shuffle" }, "name": "shuffle", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 915, "end": 920, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 16 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} shuffle shuffle the strings\n ", "start": 841, "end": 903, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 42, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1011, "end": 1025, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1011, "end": 1020, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 11 }, "identifierName": "backDelay" }, "name": "backDelay", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 1022, "end": 1025, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 16 } }, "extra": { "rawValue": 700, "raw": "700" }, "value": 700 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} backDelay time before backspacing in milliseconds\n ", "start": 925, "end": 1008, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 47, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1240, "end": 1254, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1240, "end": 1247, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 9 }, "identifierName": "fadeOut" }, "name": "fadeOut", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1249, "end": 1254, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 16 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n ", "start": 1030, "end": 1237, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 54, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1258, "end": 1288, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1258, "end": 1270, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 14 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "value": { "type": "StringLiteral", "start": 1272, "end": 1288, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 56, "column": 32 } }, "extra": { "rawValue": "typed-fade-out", "raw": "'typed-fade-out'" }, "value": "typed-fade-out" } }, { "type": "ObjectProperty", "start": 1292, "end": 1309, "loc": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 19 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1292, "end": 1304, "loc": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 14 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "value": { "type": "NumericLiteral", "start": 1306, "end": 1309, "loc": { "start": { "line": 57, "column": 16 }, "end": { "line": 57, "column": 19 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } }, { "type": "ObjectProperty", "start": 1419, "end": 1430, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 13 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1419, "end": 1423, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 6 }, "identifierName": "loop" }, "name": "loop", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1425, "end": 1430, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 13 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n ", "start": 1314, "end": 1416, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 62, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1434, "end": 1453, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1434, "end": 1443, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 11 }, "identifierName": "loopCount" }, "name": "loopCount" }, "value": { "type": "Identifier", "start": 1445, "end": 1453, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 21 }, "identifierName": "Infinity" }, "name": "Infinity" } }, { "type": "ObjectProperty", "start": 1664, "end": 1680, "loc": { "start": { "line": 71, "column": 2 }, "end": { "line": 71, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1664, "end": 1674, "loc": { "start": { "line": 71, "column": 2 }, "end": { "line": 71, "column": 12 }, "identifierName": "showCursor" }, "name": "showCursor", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1676, "end": 1680, "loc": { "start": { "line": 71, "column": 14 }, "end": { "line": 71, "column": 18 } }, "value": true }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n ", "start": 1458, "end": 1661, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 70, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1684, "end": 1699, "loc": { "start": { "line": 72, "column": 2 }, "end": { "line": 72, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1684, "end": 1694, "loc": { "start": { "line": 72, "column": 2 }, "end": { "line": 72, "column": 12 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "value": { "type": "StringLiteral", "start": 1696, "end": 1699, "loc": { "start": { "line": 72, "column": 14 }, "end": { "line": 72, "column": 17 } }, "extra": { "rawValue": "|", "raw": "'|'" }, "value": "|" } }, { "type": "ObjectProperty", "start": 1703, "end": 1722, "loc": { "start": { "line": 73, "column": 2 }, "end": { "line": 73, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1703, "end": 1716, "loc": { "start": { "line": 73, "column": 2 }, "end": { "line": 73, "column": 15 }, "identifierName": "autoInsertCss" }, "name": "autoInsertCss" }, "value": { "type": "BooleanLiteral", "start": 1718, "end": 1722, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 21 } }, "value": true } }, { "type": "ObjectProperty", "start": 1842, "end": 1852, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 12 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1842, "end": 1846, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 6 }, "identifierName": "attr" }, "name": "attr", "leadingComments": null }, "value": { "type": "NullLiteral", "start": 1848, "end": 1852, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 12 } } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n ", "start": 1727, "end": 1839, "loc": { "start": { "line": 75, "column": 2 }, "end": { "line": 78, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1958, "end": 1985, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1958, "end": 1978, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 22 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1980, "end": 1985, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 29 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n ", "start": 1857, "end": 1955, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 83, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2069, "end": 2088, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2069, "end": 2080, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 13 }, "identifierName": "contentType" }, "name": "contentType", "leadingComments": null }, "value": { "type": "StringLiteral", "start": 2082, "end": 2088, "loc": { "start": { "line": 89, "column": 15 }, "end": { "line": 89, "column": 21 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {string} contentType 'html' or 'null' for plaintext\n ", "start": 1990, "end": 2066, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 88, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2159, "end": 2180, "loc": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2159, "end": 2166, "loc": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 9 }, "identifierName": "onBegin" }, "name": "onBegin", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2168, "end": 2180, "loc": { "start": { "line": 95, "column": 11 }, "end": { "line": 95, "column": 23 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2169, "end": 2173, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2178, "end": 2180, "loc": { "start": { "line": 95, "column": 21 }, "end": { "line": 95, "column": 23 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Before it begins typing\n * @param {Typed} self\n ", "start": 2093, "end": 2156, "loc": { "start": { "line": 91, "column": 2 }, "end": { "line": 94, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2250, "end": 2274, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2250, "end": 2260, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 12 }, "identifierName": "onComplete" }, "name": "onComplete", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2262, "end": 2274, "loc": { "start": { "line": 101, "column": 14 }, "end": { "line": 101, "column": 26 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2263, "end": 2267, "loc": { "start": { "line": 101, "column": 15 }, "end": { "line": 101, "column": 19 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2272, "end": 2274, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 26 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * All typing is complete\n * @param {Typed} self\n ", "start": 2185, "end": 2247, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 100, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2379, "end": 2417, "loc": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2379, "end": 2393, "loc": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 16 }, "identifierName": "preStringTyped" }, "name": "preStringTyped", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2395, "end": 2417, "loc": { "start": { "line": 108, "column": 18 }, "end": { "line": 108, "column": 40 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2396, "end": 2404, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "column": 27 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2406, "end": 2410, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 33 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2415, "end": 2417, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 40 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2279, "end": 2376, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 107, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2521, "end": 2558, "loc": { "start": { "line": 115, "column": 2 }, "end": { "line": 115, "column": 39 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2521, "end": 2534, "loc": { "start": { "line": 115, "column": 2 }, "end": { "line": 115, "column": 15 }, "identifierName": "onStringTyped" }, "name": "onStringTyped", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2536, "end": 2558, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 39 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2537, "end": 2545, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 26 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2547, "end": 2551, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 32 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2556, "end": 2558, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 39 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2422, "end": 2518, "loc": { "start": { "line": 110, "column": 2 }, "end": { "line": 114, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2648, "end": 2684, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2648, "end": 2670, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 24 }, "identifierName": "onLastStringBackspaced" }, "name": "onLastStringBackspaced", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2672, "end": 2684, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 38 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2673, "end": 2677, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 31 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2682, "end": 2684, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 38 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * During looping, after last string is typed\n * @param {Typed} self\n ", "start": 2563, "end": 2645, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2785, "end": 2823, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2785, "end": 2799, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 16 }, "identifierName": "onTypingPaused" }, "name": "onTypingPaused", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2801, "end": 2823, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 40 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2802, "end": 2810, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2812, "end": 2816, "loc": { "start": { "line": 128, "column": 29 }, "end": { "line": 128, "column": 33 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2821, "end": 2823, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 40 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2689, "end": 2782, "loc": { "start": { "line": 123, "column": 2 }, "end": { "line": 127, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2944, "end": 2983, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 41 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2944, "end": 2959, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 17 }, "identifierName": "onTypingResumed" }, "name": "onTypingResumed", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2961, "end": 2983, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 41 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2962, "end": 2970, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 28 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2972, "end": 2976, "loc": { "start": { "line": 135, "column": 30 }, "end": { "line": 135, "column": 34 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2981, "end": 2983, "loc": { "start": { "line": 135, "column": 39 }, "end": { "line": 135, "column": 41 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2828, "end": 2941, "loc": { "start": { "line": 130, "column": 2 }, "end": { "line": 134, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3042, "end": 3063, "loc": { "start": { "line": 141, "column": 2 }, "end": { "line": 141, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3042, "end": 3049, "loc": { "start": { "line": 141, "column": 2 }, "end": { "line": 141, "column": 9 }, "identifierName": "onReset" }, "name": "onReset", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3051, "end": 3063, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 23 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3052, "end": 3056, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 16 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3061, "end": 3063, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 23 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After reset\n * @param {Typed} self\n ", "start": 2988, "end": 3039, "loc": { "start": { "line": 137, "column": 2 }, "end": { "line": 140, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3151, "end": 3181, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 148, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3151, "end": 3157, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 148, "column": 8 }, "identifierName": "onStop" }, "name": "onStop", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3159, "end": 3181, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 32 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3160, "end": 3168, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 19 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 3170, "end": 3174, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 25 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3179, "end": 3181, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 32 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3068, "end": 3148, "loc": { "start": { "line": 143, "column": 2 }, "end": { "line": 147, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3270, "end": 3301, "loc": { "start": { "line": 155, "column": 2 }, "end": { "line": 155, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3270, "end": 3277, "loc": { "start": { "line": 155, "column": 2 }, "end": { "line": 155, "column": 9 }, "identifierName": "onStart" }, "name": "onStart", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3279, "end": 3301, "loc": { "start": { "line": 155, "column": 11 }, "end": { "line": 155, "column": 33 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3280, "end": 3288, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 20 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 3290, "end": 3294, "loc": { "start": { "line": 155, "column": 22 }, "end": { "line": 155, "column": 26 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3299, "end": 3301, "loc": { "start": { "line": 155, "column": 31 }, "end": { "line": 155, "column": 33 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3186, "end": 3267, "loc": { "start": { "line": 150, "column": 2 }, "end": { "line": 154, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3362, "end": 3385, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3362, "end": 3371, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 11 }, "identifierName": "onDestroy" }, "name": "onDestroy", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3373, "end": 3385, "loc": { "start": { "line": 161, "column": 13 }, "end": { "line": 161, "column": 25 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3374, "end": 3378, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 18 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3383, "end": 3385, "loc": { "start": { "line": 161, "column": 23 }, "end": { "line": 161, "column": 25 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After destroy\n * @param {Typed} self\n ", "start": 3306, "end": 3359, "loc": { "start": { "line": 157, "column": 2 }, "end": { "line": 160, "column": 5 } } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 3391, "end": 3415, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 164, "column": 24 } }, "declaration": { "type": "Identifier", "start": 3406, "end": 3414, "loc": { "start": { "line": 164, "column": 15 }, "end": { "line": 164, "column": 23 }, "identifierName": "defaults" }, "name": "defaults" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 3391, "end": 3415, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 164, "column": 24 } }, "declaration": { "type": "VariableDeclaration", "start": 88, "end": 3389, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 162, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 94, "end": 3388, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 162, "column": 1 } }, "id": { "type": "Identifier", "start": 94, "end": 102, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 14 }, "identifierName": "defaults" }, "name": "defaults", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 105, "end": 3388, "loc": { "start": { "line": 7, "column": 17 }, "end": { "line": 162, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 252, "end": 387, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 17, "column": 3 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 252, "end": 259, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 9 }, "identifierName": "strings" }, "name": "strings", "leadingComments": null }, "value": { "type": "ArrayExpression", "start": 261, "end": 387, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 17, "column": 3 } }, "elements": [ { "type": "StringLiteral", "start": 267, "end": 300, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 37 } }, "extra": { "rawValue": "These are the default values...", "raw": "'These are the default values...'" }, "value": "These are the default values..." }, { "type": "StringLiteral", "start": 306, "end": 336, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 34 } }, "extra": { "rawValue": "You know what you should do?", "raw": "'You know what you should do?'" }, "value": "You know what you should do?" }, { "type": "StringLiteral", "start": 342, "end": 357, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 19 } }, "extra": { "rawValue": "Use your own!", "raw": "'Use your own!'" }, "value": "Use your own!" }, { "type": "StringLiteral", "start": 363, "end": 382, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 23 } }, "extra": { "rawValue": "Have a great day!", "raw": "'Have a great day!'" }, "value": "Have a great day!" } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n ", "start": 109, "end": 249, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 11, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 391, "end": 411, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 391, "end": 405, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 16 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "value": { "type": "NullLiteral", "start": 407, "end": 411, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 22 } } } }, { "type": "ObjectProperty", "start": 489, "end": 501, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 14 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 489, "end": 498, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 11 }, "identifierName": "typeSpeed" }, "name": "typeSpeed", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 500, "end": 501, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} typeSpeed type speed in milliseconds\n ", "start": 416, "end": 486, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 22, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 595, "end": 608, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 15 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 595, "end": 605, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 12 }, "identifierName": "startDelay" }, "name": "startDelay", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 607, "end": 608, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} startDelay time before typing starts in milliseconds\n ", "start": 506, "end": 592, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 27, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 693, "end": 705, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 14 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 693, "end": 702, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 11 }, "identifierName": "backSpeed" }, "name": "backSpeed", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 704, "end": 705, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 14 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} backSpeed backspacing speed in milliseconds\n ", "start": 613, "end": 690, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 32, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 816, "end": 836, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 816, "end": 830, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 16 }, "identifierName": "smartBackspace" }, "name": "smartBackspace", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 832, "end": 836, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 22 } }, "value": true }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n ", "start": 710, "end": 813, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 37, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 906, "end": 920, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 906, "end": 913, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 9 }, "identifierName": "shuffle" }, "name": "shuffle", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 915, "end": 920, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 16 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} shuffle shuffle the strings\n ", "start": 841, "end": 903, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 42, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1011, "end": 1025, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1011, "end": 1020, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 11 }, "identifierName": "backDelay" }, "name": "backDelay", "leadingComments": null }, "value": { "type": "NumericLiteral", "start": 1022, "end": 1025, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 16 } }, "extra": { "rawValue": 700, "raw": "700" }, "value": 700 }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {number} backDelay time before backspacing in milliseconds\n ", "start": 925, "end": 1008, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 47, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1240, "end": 1254, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1240, "end": 1247, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 9 }, "identifierName": "fadeOut" }, "name": "fadeOut", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1249, "end": 1254, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 16 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n ", "start": 1030, "end": 1237, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 54, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1258, "end": 1288, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1258, "end": 1270, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 14 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "value": { "type": "StringLiteral", "start": 1272, "end": 1288, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 56, "column": 32 } }, "extra": { "rawValue": "typed-fade-out", "raw": "'typed-fade-out'" }, "value": "typed-fade-out" } }, { "type": "ObjectProperty", "start": 1292, "end": 1309, "loc": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 19 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1292, "end": 1304, "loc": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 14 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "value": { "type": "NumericLiteral", "start": 1306, "end": 1309, "loc": { "start": { "line": 57, "column": 16 }, "end": { "line": 57, "column": 19 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } }, { "type": "ObjectProperty", "start": 1419, "end": 1430, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 13 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1419, "end": 1423, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 6 }, "identifierName": "loop" }, "name": "loop", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1425, "end": 1430, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 13 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n ", "start": 1314, "end": 1416, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 62, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1434, "end": 1453, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1434, "end": 1443, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 11 }, "identifierName": "loopCount" }, "name": "loopCount" }, "value": { "type": "Identifier", "start": 1445, "end": 1453, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 21 }, "identifierName": "Infinity" }, "name": "Infinity" } }, { "type": "ObjectProperty", "start": 1664, "end": 1680, "loc": { "start": { "line": 71, "column": 2 }, "end": { "line": 71, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1664, "end": 1674, "loc": { "start": { "line": 71, "column": 2 }, "end": { "line": 71, "column": 12 }, "identifierName": "showCursor" }, "name": "showCursor", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1676, "end": 1680, "loc": { "start": { "line": 71, "column": 14 }, "end": { "line": 71, "column": 18 } }, "value": true }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n ", "start": 1458, "end": 1661, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 70, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1684, "end": 1699, "loc": { "start": { "line": 72, "column": 2 }, "end": { "line": 72, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1684, "end": 1694, "loc": { "start": { "line": 72, "column": 2 }, "end": { "line": 72, "column": 12 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "value": { "type": "StringLiteral", "start": 1696, "end": 1699, "loc": { "start": { "line": 72, "column": 14 }, "end": { "line": 72, "column": 17 } }, "extra": { "rawValue": "|", "raw": "'|'" }, "value": "|" } }, { "type": "ObjectProperty", "start": 1703, "end": 1722, "loc": { "start": { "line": 73, "column": 2 }, "end": { "line": 73, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1703, "end": 1716, "loc": { "start": { "line": 73, "column": 2 }, "end": { "line": 73, "column": 15 }, "identifierName": "autoInsertCss" }, "name": "autoInsertCss" }, "value": { "type": "BooleanLiteral", "start": 1718, "end": 1722, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 21 } }, "value": true } }, { "type": "ObjectProperty", "start": 1842, "end": 1852, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 12 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1842, "end": 1846, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 6 }, "identifierName": "attr" }, "name": "attr", "leadingComments": null }, "value": { "type": "NullLiteral", "start": 1848, "end": 1852, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 12 } } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n ", "start": 1727, "end": 1839, "loc": { "start": { "line": 75, "column": 2 }, "end": { "line": 78, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 1958, "end": 1985, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1958, "end": 1978, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 22 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents", "leadingComments": null }, "value": { "type": "BooleanLiteral", "start": 1980, "end": 1985, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 29 } }, "value": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n ", "start": 1857, "end": 1955, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 83, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2069, "end": 2088, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2069, "end": 2080, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 13 }, "identifierName": "contentType" }, "name": "contentType", "leadingComments": null }, "value": { "type": "StringLiteral", "start": 2082, "end": 2088, "loc": { "start": { "line": 89, "column": 15 }, "end": { "line": 89, "column": 21 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @property {string} contentType 'html' or 'null' for plaintext\n ", "start": 1990, "end": 2066, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 88, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2159, "end": 2180, "loc": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2159, "end": 2166, "loc": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 9 }, "identifierName": "onBegin" }, "name": "onBegin", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2168, "end": 2180, "loc": { "start": { "line": 95, "column": 11 }, "end": { "line": 95, "column": 23 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2169, "end": 2173, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2178, "end": 2180, "loc": { "start": { "line": 95, "column": 21 }, "end": { "line": 95, "column": 23 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Before it begins typing\n * @param {Typed} self\n ", "start": 2093, "end": 2156, "loc": { "start": { "line": 91, "column": 2 }, "end": { "line": 94, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2250, "end": 2274, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2250, "end": 2260, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 12 }, "identifierName": "onComplete" }, "name": "onComplete", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2262, "end": 2274, "loc": { "start": { "line": 101, "column": 14 }, "end": { "line": 101, "column": 26 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2263, "end": 2267, "loc": { "start": { "line": 101, "column": 15 }, "end": { "line": 101, "column": 19 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2272, "end": 2274, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 26 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * All typing is complete\n * @param {Typed} self\n ", "start": 2185, "end": 2247, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 100, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2379, "end": 2417, "loc": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2379, "end": 2393, "loc": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 16 }, "identifierName": "preStringTyped" }, "name": "preStringTyped", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2395, "end": 2417, "loc": { "start": { "line": 108, "column": 18 }, "end": { "line": 108, "column": 40 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2396, "end": 2404, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "column": 27 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2406, "end": 2410, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 33 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2415, "end": 2417, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 40 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2279, "end": 2376, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 107, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2521, "end": 2558, "loc": { "start": { "line": 115, "column": 2 }, "end": { "line": 115, "column": 39 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2521, "end": 2534, "loc": { "start": { "line": 115, "column": 2 }, "end": { "line": 115, "column": 15 }, "identifierName": "onStringTyped" }, "name": "onStringTyped", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2536, "end": 2558, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 39 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2537, "end": 2545, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 26 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2547, "end": 2551, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 32 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2556, "end": 2558, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 39 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2422, "end": 2518, "loc": { "start": { "line": 110, "column": 2 }, "end": { "line": 114, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2648, "end": 2684, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2648, "end": 2670, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 24 }, "identifierName": "onLastStringBackspaced" }, "name": "onLastStringBackspaced", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2672, "end": 2684, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 38 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2673, "end": 2677, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 31 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2682, "end": 2684, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 38 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * During looping, after last string is typed\n * @param {Typed} self\n ", "start": 2563, "end": 2645, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2785, "end": 2823, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2785, "end": 2799, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 16 }, "identifierName": "onTypingPaused" }, "name": "onTypingPaused", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2801, "end": 2823, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 40 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2802, "end": 2810, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2812, "end": 2816, "loc": { "start": { "line": 128, "column": 29 }, "end": { "line": 128, "column": 33 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2821, "end": 2823, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 40 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2689, "end": 2782, "loc": { "start": { "line": 123, "column": 2 }, "end": { "line": 127, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 2944, "end": 2983, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 41 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2944, "end": 2959, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 17 }, "identifierName": "onTypingResumed" }, "name": "onTypingResumed", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2961, "end": 2983, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 41 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2962, "end": 2970, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 28 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 2972, "end": 2976, "loc": { "start": { "line": 135, "column": 30 }, "end": { "line": 135, "column": 34 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 2981, "end": 2983, "loc": { "start": { "line": 135, "column": 39 }, "end": { "line": 135, "column": 41 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2828, "end": 2941, "loc": { "start": { "line": 130, "column": 2 }, "end": { "line": 134, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3042, "end": 3063, "loc": { "start": { "line": 141, "column": 2 }, "end": { "line": 141, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3042, "end": 3049, "loc": { "start": { "line": 141, "column": 2 }, "end": { "line": 141, "column": 9 }, "identifierName": "onReset" }, "name": "onReset", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3051, "end": 3063, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 23 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3052, "end": 3056, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 16 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3061, "end": 3063, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 23 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After reset\n * @param {Typed} self\n ", "start": 2988, "end": 3039, "loc": { "start": { "line": 137, "column": 2 }, "end": { "line": 140, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3151, "end": 3181, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 148, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3151, "end": 3157, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 148, "column": 8 }, "identifierName": "onStop" }, "name": "onStop", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3159, "end": 3181, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 32 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3160, "end": 3168, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 19 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 3170, "end": 3174, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 25 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3179, "end": 3181, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 32 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3068, "end": 3148, "loc": { "start": { "line": 143, "column": 2 }, "end": { "line": 147, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3270, "end": 3301, "loc": { "start": { "line": 155, "column": 2 }, "end": { "line": 155, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3270, "end": 3277, "loc": { "start": { "line": 155, "column": 2 }, "end": { "line": 155, "column": 9 }, "identifierName": "onStart" }, "name": "onStart", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3279, "end": 3301, "loc": { "start": { "line": 155, "column": 11 }, "end": { "line": 155, "column": 33 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3280, "end": 3288, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 20 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, { "type": "Identifier", "start": 3290, "end": 3294, "loc": { "start": { "line": 155, "column": 22 }, "end": { "line": 155, "column": 26 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3299, "end": 3301, "loc": { "start": { "line": 155, "column": 31 }, "end": { "line": 155, "column": 33 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3186, "end": 3267, "loc": { "start": { "line": 150, "column": 2 }, "end": { "line": 154, "column": 5 } } } ] }, { "type": "ObjectProperty", "start": 3362, "end": 3385, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3362, "end": 3371, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 11 }, "identifierName": "onDestroy" }, "name": "onDestroy", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3373, "end": 3385, "loc": { "start": { "line": 161, "column": 13 }, "end": { "line": 161, "column": 25 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3374, "end": 3378, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 18 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 3383, "end": 3385, "loc": { "start": { "line": 161, "column": 23 }, "end": { "line": 161, "column": 25 } }, "body": [], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * After destroy\n * @param {Typed} self\n ", "start": 3306, "end": 3359, "loc": { "start": { "line": 157, "column": 2 }, "end": { "line": 160, "column": 5 } } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Defaults & options\n * @returns {object} Typed defaults & options\n * @public\n ", "start": 0, "end": 86, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } } ], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Defaults & options\n * @returns {object} Typed defaults & options\n * @public\n ", "start": 0, "end": 86, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n ", "start": 109, "end": 249, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 11, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} typeSpeed type speed in milliseconds\n ", "start": 416, "end": 486, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 22, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} startDelay time before typing starts in milliseconds\n ", "start": 506, "end": 592, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 27, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} backSpeed backspacing speed in milliseconds\n ", "start": 613, "end": 690, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 32, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n ", "start": 710, "end": 813, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 37, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} shuffle shuffle the strings\n ", "start": 841, "end": 903, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 42, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} backDelay time before backspacing in milliseconds\n ", "start": 925, "end": 1008, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 47, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n ", "start": 1030, "end": 1237, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 54, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n ", "start": 1314, "end": 1416, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 62, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n ", "start": 1458, "end": 1661, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 70, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n ", "start": 1727, "end": 1839, "loc": { "start": { "line": 75, "column": 2 }, "end": { "line": 78, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n ", "start": 1857, "end": 1955, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 83, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @property {string} contentType 'html' or 'null' for plaintext\n ", "start": 1990, "end": 2066, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 88, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Before it begins typing\n * @param {Typed} self\n ", "start": 2093, "end": 2156, "loc": { "start": { "line": 91, "column": 2 }, "end": { "line": 94, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * All typing is complete\n * @param {Typed} self\n ", "start": 2185, "end": 2247, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 100, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2279, "end": 2376, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 107, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2422, "end": 2518, "loc": { "start": { "line": 110, "column": 2 }, "end": { "line": 114, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * During looping, after last string is typed\n * @param {Typed} self\n ", "start": 2563, "end": 2645, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2689, "end": 2782, "loc": { "start": { "line": 123, "column": 2 }, "end": { "line": 127, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2828, "end": 2941, "loc": { "start": { "line": 130, "column": 2 }, "end": { "line": 134, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * After reset\n * @param {Typed} self\n ", "start": 2988, "end": 3039, "loc": { "start": { "line": 137, "column": 2 }, "end": { "line": 140, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3068, "end": 3148, "loc": { "start": { "line": 143, "column": 2 }, "end": { "line": 147, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3186, "end": 3267, "loc": { "start": { "line": 150, "column": 2 }, "end": { "line": 154, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * After destroy\n * @param {Typed} self\n ", "start": 3306, "end": 3359, "loc": { "start": { "line": 157, "column": 2 }, "end": { "line": 160, "column": 5 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * Defaults & options\n * @returns {object} Typed defaults & options\n * @public\n ", "start": 0, "end": 86, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 88, "end": 93, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaults", "start": 94, "end": 102, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 103, "end": 104, "loc": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 105, "end": 106, "loc": { "start": { "line": 7, "column": 17 }, "end": { "line": 7, "column": 18 } } }, { "type": "CommentBlock", "value": "*\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n ", "start": 109, "end": 249, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 11, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 252, "end": 259, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 259, "end": 260, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 261, "end": 262, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "These are the default values...", "start": 267, "end": 300, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 300, "end": 301, "loc": { "start": { "line": 13, "column": 37 }, "end": { "line": 13, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "You know what you should do?", "start": 306, "end": 336, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 336, "end": 337, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Use your own!", "start": 342, "end": 357, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 357, "end": 358, "loc": { "start": { "line": 15, "column": 19 }, "end": { "line": 15, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Have a great day!", "start": 363, "end": 382, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 382, "end": 383, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 386, "end": 387, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 3 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 387, "end": 388, "loc": { "start": { "line": 17, "column": 3 }, "end": { "line": 17, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 391, "end": 405, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 405, "end": 406, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 17 } } }, { "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": 407, "end": 411, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 411, "end": 412, "loc": { "start": { "line": 18, "column": 22 }, "end": { "line": 18, "column": 23 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} typeSpeed type speed in milliseconds\n ", "start": 416, "end": 486, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 22, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeSpeed", "start": 489, "end": 498, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 498, "end": 499, "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 23, "column": 12 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 500, "end": 501, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 501, "end": 502, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} startDelay time before typing starts in milliseconds\n ", "start": 506, "end": 592, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 27, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 595, "end": 605, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 605, "end": 606, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 607, "end": 608, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 608, "end": 609, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 16 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} backSpeed backspacing speed in milliseconds\n ", "start": 613, "end": 690, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 32, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpeed", "start": 693, "end": 702, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 702, "end": 703, "loc": { "start": { "line": 33, "column": 11 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 704, "end": 705, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 705, "end": 706, "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 15 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n ", "start": 710, "end": 813, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 37, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smartBackspace", "start": 816, "end": 830, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 830, "end": 831, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 17 } } }, { "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": 832, "end": 836, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 836, "end": 837, "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 38, "column": 23 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} shuffle shuffle the strings\n ", "start": 841, "end": 903, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 42, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffle", "start": 906, "end": 913, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 913, "end": 914, "loc": { "start": { "line": 43, "column": 9 }, "end": { "line": 43, "column": 10 } } }, { "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": 915, "end": 920, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 920, "end": 921, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 17 } } }, { "type": "CommentBlock", "value": "*\n * @property {number} backDelay time before backspacing in milliseconds\n ", "start": 925, "end": 1008, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 47, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backDelay", "start": 1011, "end": 1020, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1020, "end": 1021, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 48, "column": 12 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 700, "start": 1022, "end": 1025, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1025, "end": 1026, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 17 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n ", "start": 1030, "end": 1237, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 54, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 1240, "end": 1247, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1247, "end": 1248, "loc": { "start": { "line": 55, "column": 9 }, "end": { "line": 55, "column": 10 } } }, { "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": 1249, "end": 1254, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1254, "end": 1255, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 1258, "end": 1270, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1270, "end": 1271, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-fade-out", "start": 1272, "end": 1288, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 56, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1288, "end": 1289, "loc": { "start": { "line": 56, "column": 32 }, "end": { "line": 56, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutDelay", "start": 1292, "end": 1304, "loc": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1304, "end": 1305, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 500, "start": 1306, "end": 1309, "loc": { "start": { "line": 57, "column": 16 }, "end": { "line": 57, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 20 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n ", "start": 1314, "end": 1416, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 62, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 1419, "end": 1423, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 6 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1423, "end": 1424, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 7 } } }, { "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": 1425, "end": 1430, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1430, "end": 1431, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loopCount", "start": 1434, "end": 1443, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1443, "end": 1444, "loc": { "start": { "line": 64, "column": 11 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Infinity", "start": 1445, "end": 1453, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1453, "end": 1454, "loc": { "start": { "line": 64, "column": 21 }, "end": { "line": 64, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n ", "start": 1458, "end": 1661, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 70, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 1664, "end": 1674, "loc": { "start": { "line": 71, "column": 2 }, "end": { "line": 71, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1674, "end": 1675, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 13 } } }, { "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": 1676, "end": 1680, "loc": { "start": { "line": 71, "column": 14 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1680, "end": 1681, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorChar", "start": 1684, "end": 1694, "loc": { "start": { "line": 72, "column": 2 }, "end": { "line": 72, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1694, "end": 1695, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "|", "start": 1696, "end": 1699, "loc": { "start": { "line": 72, "column": 14 }, "end": { "line": 72, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1699, "end": 1700, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "autoInsertCss", "start": 1703, "end": 1716, "loc": { "start": { "line": 73, "column": 2 }, "end": { "line": 73, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1716, "end": 1717, "loc": { "start": { "line": 73, "column": 15 }, "end": { "line": 73, "column": 16 } } }, { "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": 1718, "end": 1722, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 73, "column": 21 }, "end": { "line": 73, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n ", "start": 1727, "end": 1839, "loc": { "start": { "line": 75, "column": 2 }, "end": { "line": 78, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 1842, "end": 1846, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 6 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1846, "end": 1847, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 7 } } }, { "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": 1848, "end": 1852, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 12 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 13 } } }, { "type": "CommentBlock", "value": "*\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n ", "start": 1857, "end": 1955, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 83, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindInputFocusEvents", "start": 1958, "end": 1978, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1978, "end": 1979, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 23 } } }, { "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": 1980, "end": 1985, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1985, "end": 1986, "loc": { "start": { "line": 84, "column": 29 }, "end": { "line": 84, "column": 30 } } }, { "type": "CommentBlock", "value": "*\n * @property {string} contentType 'html' or 'null' for plaintext\n ", "start": 1990, "end": 2066, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 88, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 2069, "end": 2080, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2080, "end": 2081, "loc": { "start": { "line": 89, "column": 13 }, "end": { "line": 89, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 2082, "end": 2088, "loc": { "start": { "line": 89, "column": 15 }, "end": { "line": 89, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2088, "end": 2089, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * Before it begins typing\n * @param {Typed} self\n ", "start": 2093, "end": 2156, "loc": { "start": { "line": 91, "column": 2 }, "end": { "line": 94, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBegin", "start": 2159, "end": 2166, "loc": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2166, "end": 2167, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2168, "end": 2169, "loc": { "start": { "line": 95, "column": 11 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2169, "end": 2173, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2173, "end": 2174, "loc": { "start": { "line": 95, "column": 16 }, "end": { "line": 95, "column": 17 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2175, "end": 2177, "loc": { "start": { "line": 95, "column": 18 }, "end": { "line": 95, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2178, "end": 2179, "loc": { "start": { "line": 95, "column": 21 }, "end": { "line": 95, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2179, "end": 2180, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 95, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2180, "end": 2181, "loc": { "start": { "line": 95, "column": 23 }, "end": { "line": 95, "column": 24 } } }, { "type": "CommentBlock", "value": "*\n * All typing is complete\n * @param {Typed} self\n ", "start": 2185, "end": 2247, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 100, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onComplete", "start": 2250, "end": 2260, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2260, "end": 2261, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2262, "end": 2263, "loc": { "start": { "line": 101, "column": 14 }, "end": { "line": 101, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2263, "end": 2267, "loc": { "start": { "line": 101, "column": 15 }, "end": { "line": 101, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2267, "end": 2268, "loc": { "start": { "line": 101, "column": 19 }, "end": { "line": 101, "column": 20 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2269, "end": 2271, "loc": { "start": { "line": 101, "column": 21 }, "end": { "line": 101, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2272, "end": 2273, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2273, "end": 2274, "loc": { "start": { "line": 101, "column": 25 }, "end": { "line": 101, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2274, "end": 2275, "loc": { "start": { "line": 101, "column": 26 }, "end": { "line": 101, "column": 27 } } }, { "type": "CommentBlock", "value": "*\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2279, "end": 2376, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 107, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preStringTyped", "start": 2379, "end": 2393, "loc": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2395, "end": 2396, "loc": { "start": { "line": 108, "column": 18 }, "end": { "line": 108, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2396, "end": 2404, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2404, "end": 2405, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2406, "end": 2410, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2410, "end": 2411, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2412, "end": 2414, "loc": { "start": { "line": 108, "column": 35 }, "end": { "line": 108, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2415, "end": 2416, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2416, "end": 2417, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2417, "end": 2418, "loc": { "start": { "line": 108, "column": 40 }, "end": { "line": 108, "column": 41 } } }, { "type": "CommentBlock", "value": "*\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2422, "end": 2518, "loc": { "start": { "line": 110, "column": 2 }, "end": { "line": 114, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStringTyped", "start": 2521, "end": 2534, "loc": { "start": { "line": 115, "column": 2 }, "end": { "line": 115, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2534, "end": 2535, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2536, "end": 2537, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2537, "end": 2545, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2545, "end": 2546, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2547, "end": 2551, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2551, "end": 2552, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 33 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2553, "end": 2555, "loc": { "start": { "line": 115, "column": 34 }, "end": { "line": 115, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2556, "end": 2557, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2557, "end": 2558, "loc": { "start": { "line": 115, "column": 38 }, "end": { "line": 115, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2558, "end": 2559, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 40 } } }, { "type": "CommentBlock", "value": "*\n * During looping, after last string is typed\n * @param {Typed} self\n ", "start": 2563, "end": 2645, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onLastStringBackspaced", "start": 2648, "end": 2670, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2670, "end": 2671, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2672, "end": 2673, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2673, "end": 2677, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2677, "end": 2678, "loc": { "start": { "line": 121, "column": 31 }, "end": { "line": 121, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2679, "end": 2681, "loc": { "start": { "line": 121, "column": 33 }, "end": { "line": 121, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2682, "end": 2683, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2683, "end": 2684, "loc": { "start": { "line": 121, "column": 37 }, "end": { "line": 121, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2684, "end": 2685, "loc": { "start": { "line": 121, "column": 38 }, "end": { "line": 121, "column": 39 } } }, { "type": "CommentBlock", "value": "*\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2689, "end": 2782, "loc": { "start": { "line": 123, "column": 2 }, "end": { "line": 127, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingPaused", "start": 2785, "end": 2799, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2799, "end": 2800, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2801, "end": 2802, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2802, "end": 2810, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2810, "end": 2811, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2812, "end": 2816, "loc": { "start": { "line": 128, "column": 29 }, "end": { "line": 128, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2816, "end": 2817, "loc": { "start": { "line": 128, "column": 33 }, "end": { "line": 128, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2818, "end": 2820, "loc": { "start": { "line": 128, "column": 35 }, "end": { "line": 128, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2821, "end": 2822, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2822, "end": 2823, "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2823, "end": 2824, "loc": { "start": { "line": 128, "column": 40 }, "end": { "line": 128, "column": 41 } } }, { "type": "CommentBlock", "value": "*\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 2828, "end": 2941, "loc": { "start": { "line": 130, "column": 2 }, "end": { "line": 134, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingResumed", "start": 2944, "end": 2959, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2959, "end": 2960, "loc": { "start": { "line": 135, "column": 17 }, "end": { "line": 135, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2961, "end": 2962, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2962, "end": 2970, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2970, "end": 2971, "loc": { "start": { "line": 135, "column": 28 }, "end": { "line": 135, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2972, "end": 2976, "loc": { "start": { "line": 135, "column": 30 }, "end": { "line": 135, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2976, "end": 2977, "loc": { "start": { "line": 135, "column": 34 }, "end": { "line": 135, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2978, "end": 2980, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2981, "end": 2982, "loc": { "start": { "line": 135, "column": 39 }, "end": { "line": 135, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 135, "column": 41 }, "end": { "line": 135, "column": 42 } } }, { "type": "CommentBlock", "value": "*\n * After reset\n * @param {Typed} self\n ", "start": 2988, "end": 3039, "loc": { "start": { "line": 137, "column": 2 }, "end": { "line": 140, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onReset", "start": 3042, "end": 3049, "loc": { "start": { "line": 141, "column": 2 }, "end": { "line": 141, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3049, "end": 3050, "loc": { "start": { "line": 141, "column": 9 }, "end": { "line": 141, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3051, "end": 3052, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3052, "end": 3056, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3056, "end": 3057, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3058, "end": 3060, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3061, "end": 3062, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3063, "end": 3064, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 24 } } }, { "type": "CommentBlock", "value": "*\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3068, "end": 3148, "loc": { "start": { "line": 143, "column": 2 }, "end": { "line": 147, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStop", "start": 3151, "end": 3157, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 148, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3157, "end": 3158, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3159, "end": 3160, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 3160, "end": 3168, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3168, "end": 3169, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3170, "end": 3174, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3174, "end": 3175, "loc": { "start": { "line": 148, "column": 25 }, "end": { "line": 148, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3176, "end": 3178, "loc": { "start": { "line": 148, "column": 27 }, "end": { "line": 148, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3179, "end": 3180, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3180, "end": 3181, "loc": { "start": { "line": 148, "column": 31 }, "end": { "line": 148, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3181, "end": 3182, "loc": { "start": { "line": 148, "column": 32 }, "end": { "line": 148, "column": 33 } } }, { "type": "CommentBlock", "value": "*\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n ", "start": 3186, "end": 3267, "loc": { "start": { "line": 150, "column": 2 }, "end": { "line": 154, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStart", "start": 3270, "end": 3277, "loc": { "start": { "line": 155, "column": 2 }, "end": { "line": 155, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3277, "end": 3278, "loc": { "start": { "line": 155, "column": 9 }, "end": { "line": 155, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3279, "end": 3280, "loc": { "start": { "line": 155, "column": 11 }, "end": { "line": 155, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 3280, "end": 3288, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3288, "end": 3289, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3290, "end": 3294, "loc": { "start": { "line": 155, "column": 22 }, "end": { "line": 155, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3294, "end": 3295, "loc": { "start": { "line": 155, "column": 26 }, "end": { "line": 155, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3296, "end": 3298, "loc": { "start": { "line": 155, "column": 28 }, "end": { "line": 155, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3299, "end": 3300, "loc": { "start": { "line": 155, "column": 31 }, "end": { "line": 155, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3300, "end": 3301, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3301, "end": 3302, "loc": { "start": { "line": 155, "column": 33 }, "end": { "line": 155, "column": 34 } } }, { "type": "CommentBlock", "value": "*\n * After destroy\n * @param {Typed} self\n ", "start": 3306, "end": 3359, "loc": { "start": { "line": 157, "column": 2 }, "end": { "line": 160, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onDestroy", "start": 3362, "end": 3371, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3371, "end": 3372, "loc": { "start": { "line": 161, "column": 11 }, "end": { "line": 161, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3373, "end": 3374, "loc": { "start": { "line": 161, "column": 13 }, "end": { "line": 161, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3374, "end": 3378, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3378, "end": 3379, "loc": { "start": { "line": 161, "column": 18 }, "end": { "line": 161, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3380, "end": 3382, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3383, "end": 3384, "loc": { "start": { "line": 161, "column": 23 }, "end": { "line": 161, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3384, "end": 3385, "loc": { "start": { "line": 161, "column": 24 }, "end": { "line": 161, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3385, "end": 3386, "loc": { "start": { "line": 161, "column": 25 }, "end": { "line": 161, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3387, "end": 3388, "loc": { "start": { "line": 162, "column": 0 }, "end": { "line": 162, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3388, "end": 3389, "loc": { "start": { "line": 162, "column": 1 }, "end": { "line": 162, "column": 2 } } }, { "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": 3391, "end": 3397, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 164, "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": 3398, "end": 3405, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaults", "start": 3406, "end": 3414, "loc": { "start": { "line": 164, "column": 15 }, "end": { "line": 164, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3414, "end": 3415, "loc": { "start": { "line": 164, "column": 23 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3416, "end": 3416, "loc": { "start": { "line": 165, "column": 0 }, "end": { "line": 165, "column": 0 } } } ] } ================================================ FILE: docs/ast/source/html-parser.js.json ================================================ { "type": "File", "start": 0, "end": 1798, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 68, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1798, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 68, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportDefaultDeclaration", "start": 102, "end": 1754, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 65, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 117, "end": 1754, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 65, "column": 1 } }, "id": { "type": "Identifier", "start": 123, "end": 133, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 31 }, "identifierName": "HTMLParser" }, "name": "HTMLParser", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 134, "end": 1754, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 65, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 395, "end": 947, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 35, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 395, "end": 408, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 15 }, "identifierName": "typeHtmlChars" }, "name": "typeHtmlChars", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 409, "end": 418, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 25 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 420, "end": 429, "loc": { "start": { "line": 16, "column": 27 }, "end": { "line": 16, "column": 36 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 431, "end": 435, "loc": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 42 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 437, "end": 947, "loc": { "start": { "line": 16, "column": 44 }, "end": { "line": 35, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 443, "end": 493, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 54 } }, "test": { "type": "BinaryExpression", "start": 447, "end": 474, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 35 } }, "left": { "type": "MemberExpression", "start": 447, "end": 463, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 24 } }, "object": { "type": "Identifier", "start": 447, "end": 451, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 452, "end": 463, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 24 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 468, "end": 474, "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 35 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" } }, "consequent": { "type": "ReturnStatement", "start": 476, "end": 493, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 17, "column": 54 } }, "argument": { "type": "Identifier", "start": 483, "end": 492, "loc": { "start": { "line": 17, "column": 44 }, "end": { "line": 17, "column": 53 }, "identifierName": "curStrPos" }, "name": "curStrPos" } }, "alternate": null }, { "type": "VariableDeclaration", "start": 498, "end": 555, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 504, "end": 554, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 60 } }, "id": { "type": "Identifier", "start": 504, "end": 511, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 17 }, "identifierName": "curChar" }, "name": "curChar" }, "init": { "type": "CallExpression", "start": 514, "end": 554, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 514, "end": 551, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 57 } }, "object": { "type": "CallExpression", "start": 514, "end": 544, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 514, "end": 533, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 39 } }, "object": { "type": "Identifier", "start": 514, "end": 523, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 29 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 524, "end": 533, "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 39 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 534, "end": 543, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 49 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "property": { "type": "Identifier", "start": 545, "end": 551, "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 18, "column": 57 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 552, "end": 553, "loc": { "start": { "line": 18, "column": 58 }, "end": { "line": 18, "column": 59 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 560, "end": 921, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 33, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 564, "end": 598, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 564, "end": 579, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 23 } }, "left": { "type": "Identifier", "start": 564, "end": 571, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 15 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 576, "end": 579, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 23 } }, "extra": { "rawValue": "<", "raw": "'<'" }, "value": "<" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 583, "end": 598, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 42 } }, "left": { "type": "Identifier", "start": 583, "end": 590, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 34 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 595, "end": 598, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 42 } }, "extra": { "rawValue": "&", "raw": "'&'" }, "value": "&" } } }, "consequent": { "type": "BlockStatement", "start": 600, "end": 921, "loc": { "start": { "line": 19, "column": 44 }, "end": { "line": 33, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 608, "end": 624, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 612, "end": 623, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 21 } }, "id": { "type": "Identifier", "start": 612, "end": 618, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 16 }, "identifierName": "endTag" }, "name": "endTag" }, "init": { "type": "StringLiteral", "start": 621, "end": 623, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 21 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "kind": "let" }, { "type": "IfStatement", "start": 631, "end": 720, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 25, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 635, "end": 650, "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 25 } }, "left": { "type": "Identifier", "start": 635, "end": 642, "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 17 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 647, "end": 650, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 25 } }, "extra": { "rawValue": "<", "raw": "'<'" }, "value": "<" } }, "consequent": { "type": "BlockStatement", "start": 652, "end": 683, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 23, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 662, "end": 675, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 662, "end": 674, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 20 } }, "operator": "=", "left": { "type": "Identifier", "start": 662, "end": 668, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 14 }, "identifierName": "endTag" }, "name": "endTag" }, "right": { "type": "StringLiteral", "start": 671, "end": 674, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 20 } }, "extra": { "rawValue": ">", "raw": "'>'" }, "value": ">" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 689, "end": 720, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 25, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 699, "end": 712, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 699, "end": 711, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 20 } }, "operator": "=", "left": { "type": "Identifier", "start": 699, "end": 705, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 14 }, "identifierName": "endTag" }, "name": "endTag" }, "right": { "type": "StringLiteral", "start": 708, "end": 711, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 20 } }, "extra": { "rawValue": ";", "raw": "';'" }, "value": ";" } } } ], "directives": [] } }, { "type": "WhileStatement", "start": 727, "end": 896, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 31, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 734, "end": 789, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 68 } }, "left": { "type": "CallExpression", "start": 734, "end": 778, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 734, "end": 775, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 54 } }, "object": { "type": "CallExpression", "start": 734, "end": 768, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 734, "end": 753, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 32 } }, "object": { "type": "Identifier", "start": 734, "end": 743, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 744, "end": 753, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 32 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 754, "end": 767, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 46 } }, "left": { "type": "Identifier", "start": 754, "end": 763, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 42 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 766, "end": 767, "loc": { "start": { "line": 26, "column": 45 }, "end": { "line": 26, "column": 46 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, "property": { "type": "Identifier", "start": 769, "end": 775, "loc": { "start": { "line": 26, "column": 48 }, "end": { "line": 26, "column": 54 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 776, "end": 777, "loc": { "start": { "line": 26, "column": 55 }, "end": { "line": 26, "column": 56 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "operator": "!==", "right": { "type": "Identifier", "start": 783, "end": 789, "loc": { "start": { "line": 26, "column": 62 }, "end": { "line": 26, "column": 68 }, "identifierName": "endTag" }, "name": "endTag" } }, "body": { "type": "BlockStatement", "start": 791, "end": 896, "loc": { "start": { "line": 26, "column": 70 }, "end": { "line": 31, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 801, "end": 813, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 20 } }, "expression": { "type": "UpdateExpression", "start": 801, "end": 812, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 19 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 801, "end": 810, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } }, { "type": "IfStatement", "start": 822, "end": 888, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 30, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 826, "end": 858, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 44 } }, "left": { "type": "BinaryExpression", "start": 826, "end": 839, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 25 } }, "left": { "type": "Identifier", "start": 826, "end": 835, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 21 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 838, "end": 839, "loc": { "start": { "line": 28, "column": 24 }, "end": { "line": 28, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "operator": ">", "right": { "type": "MemberExpression", "start": 842, "end": 858, "loc": { "start": { "line": 28, "column": 28 }, "end": { "line": 28, "column": 44 } }, "object": { "type": "Identifier", "start": 842, "end": 851, "loc": { "start": { "line": 28, "column": 28 }, "end": { "line": 28, "column": 37 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 852, "end": 858, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 44 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 860, "end": 888, "loc": { "start": { "line": 28, "column": 46 }, "end": { "line": 30, "column": 9 } }, "body": [ { "type": "BreakStatement", "start": 872, "end": 878, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 16 } }, "label": null } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 903, "end": 915, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 18 } }, "expression": { "type": "UpdateExpression", "start": 903, "end": 914, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 17 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 903, "end": 912, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 926, "end": 943, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 21 } }, "argument": { "type": "Identifier", "start": 933, "end": 942, "loc": { "start": { "line": 34, "column": 11 }, "end": { "line": 34, "column": 20 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Type HTML tags & HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 138, "end": 391, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 14, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Backspace HTML tags and HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 951, "end": 1211, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 44, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 1214, "end": 1752, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 64, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1214, "end": 1232, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 20 }, "identifierName": "backSpaceHtmlChars" }, "name": "backSpaceHtmlChars", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1233, "end": 1242, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 30 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 1244, "end": 1253, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 41 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 1255, "end": 1259, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 1261, "end": 1752, "loc": { "start": { "line": 45, "column": 49 }, "end": { "line": 64, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 1267, "end": 1317, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 54 } }, "test": { "type": "BinaryExpression", "start": 1271, "end": 1298, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 35 } }, "left": { "type": "MemberExpression", "start": 1271, "end": 1287, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 24 } }, "object": { "type": "Identifier", "start": 1271, "end": 1275, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1276, "end": 1287, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 24 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 1292, "end": 1298, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 35 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" } }, "consequent": { "type": "ReturnStatement", "start": 1300, "end": 1317, "loc": { "start": { "line": 46, "column": 37 }, "end": { "line": 46, "column": 54 } }, "argument": { "type": "Identifier", "start": 1307, "end": 1316, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 53 }, "identifierName": "curStrPos" }, "name": "curStrPos" } }, "alternate": null }, { "type": "VariableDeclaration", "start": 1322, "end": 1379, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1328, "end": 1378, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 60 } }, "id": { "type": "Identifier", "start": 1328, "end": 1335, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 17 }, "identifierName": "curChar" }, "name": "curChar" }, "init": { "type": "CallExpression", "start": 1338, "end": 1378, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 1338, "end": 1375, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 57 } }, "object": { "type": "CallExpression", "start": 1338, "end": 1368, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 1338, "end": 1357, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 39 } }, "object": { "type": "Identifier", "start": 1338, "end": 1347, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 29 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 1348, "end": 1357, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 39 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1358, "end": 1367, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 49 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "property": { "type": "Identifier", "start": 1369, "end": 1375, "loc": { "start": { "line": 47, "column": 51 }, "end": { "line": 47, "column": 57 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 1376, "end": 1377, "loc": { "start": { "line": 47, "column": 58 }, "end": { "line": 47, "column": 59 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1384, "end": 1726, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 62, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1388, "end": 1422, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 1388, "end": 1403, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 23 } }, "left": { "type": "Identifier", "start": 1388, "end": 1395, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 15 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 1400, "end": 1403, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 23 } }, "extra": { "rawValue": ">", "raw": "'>'" }, "value": ">" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 1407, "end": 1422, "loc": { "start": { "line": 48, "column": 27 }, "end": { "line": 48, "column": 42 } }, "left": { "type": "Identifier", "start": 1407, "end": 1414, "loc": { "start": { "line": 48, "column": 27 }, "end": { "line": 48, "column": 34 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 1419, "end": 1422, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 42 } }, "extra": { "rawValue": ";", "raw": "';'" }, "value": ";" } } }, "consequent": { "type": "BlockStatement", "start": 1424, "end": 1726, "loc": { "start": { "line": 48, "column": 44 }, "end": { "line": 62, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1432, "end": 1448, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1436, "end": 1447, "loc": { "start": { "line": 49, "column": 10 }, "end": { "line": 49, "column": 21 } }, "id": { "type": "Identifier", "start": 1436, "end": 1442, "loc": { "start": { "line": 49, "column": 10 }, "end": { "line": 49, "column": 16 }, "identifierName": "endTag" }, "name": "endTag" }, "init": { "type": "StringLiteral", "start": 1445, "end": 1447, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 21 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "kind": "let" }, { "type": "IfStatement", "start": 1455, "end": 1544, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 54, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1459, "end": 1474, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 25 } }, "left": { "type": "Identifier", "start": 1459, "end": 1466, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 17 }, "identifierName": "curChar" }, "name": "curChar" }, "operator": "===", "right": { "type": "StringLiteral", "start": 1471, "end": 1474, "loc": { "start": { "line": 50, "column": 22 }, "end": { "line": 50, "column": 25 } }, "extra": { "rawValue": ">", "raw": "'>'" }, "value": ">" } }, "consequent": { "type": "BlockStatement", "start": 1476, "end": 1507, "loc": { "start": { "line": 50, "column": 27 }, "end": { "line": 52, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 1486, "end": 1499, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 1486, "end": 1498, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 20 } }, "operator": "=", "left": { "type": "Identifier", "start": 1486, "end": 1492, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 14 }, "identifierName": "endTag" }, "name": "endTag" }, "right": { "type": "StringLiteral", "start": 1495, "end": 1498, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 20 } }, "extra": { "rawValue": "<", "raw": "'<'" }, "value": "<" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1513, "end": 1544, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 54, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 1523, "end": 1536, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 1523, "end": 1535, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 20 } }, "operator": "=", "left": { "type": "Identifier", "start": 1523, "end": 1529, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 14 }, "identifierName": "endTag" }, "name": "endTag" }, "right": { "type": "StringLiteral", "start": 1532, "end": 1535, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 20 } }, "extra": { "rawValue": "&", "raw": "'&'" }, "value": "&" } } } ], "directives": [] } }, { "type": "WhileStatement", "start": 1551, "end": 1701, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 60, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1558, "end": 1613, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 68 } }, "left": { "type": "CallExpression", "start": 1558, "end": 1602, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 1558, "end": 1599, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 54 } }, "object": { "type": "CallExpression", "start": 1558, "end": 1592, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 1558, "end": 1577, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 32 } }, "object": { "type": "Identifier", "start": 1558, "end": 1567, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 1568, "end": 1577, "loc": { "start": { "line": 55, "column": 23 }, "end": { "line": 55, "column": 32 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 1578, "end": 1591, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 46 } }, "left": { "type": "Identifier", "start": 1578, "end": 1587, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 42 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1590, "end": 1591, "loc": { "start": { "line": 55, "column": 45 }, "end": { "line": 55, "column": 46 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, "property": { "type": "Identifier", "start": 1593, "end": 1599, "loc": { "start": { "line": 55, "column": 48 }, "end": { "line": 55, "column": 54 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 1600, "end": 1601, "loc": { "start": { "line": 55, "column": 55 }, "end": { "line": 55, "column": 56 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "operator": "!==", "right": { "type": "Identifier", "start": 1607, "end": 1613, "loc": { "start": { "line": 55, "column": 62 }, "end": { "line": 55, "column": 68 }, "identifierName": "endTag" }, "name": "endTag" } }, "body": { "type": "BlockStatement", "start": 1615, "end": 1701, "loc": { "start": { "line": 55, "column": 70 }, "end": { "line": 60, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 1625, "end": 1637, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 20 } }, "expression": { "type": "UpdateExpression", "start": 1625, "end": 1636, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 19 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 1625, "end": 1634, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } }, { "type": "IfStatement", "start": 1646, "end": 1693, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 59, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1650, "end": 1663, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 25 } }, "left": { "type": "Identifier", "start": 1650, "end": 1659, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 21 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 1662, "end": 1663, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 1665, "end": 1693, "loc": { "start": { "line": 57, "column": 27 }, "end": { "line": 59, "column": 9 } }, "body": [ { "type": "BreakStatement", "start": 1677, "end": 1683, "loc": { "start": { "line": 58, "column": 10 }, "end": { "line": 58, "column": 16 } }, "label": null } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 1708, "end": 1720, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 18 } }, "expression": { "type": "UpdateExpression", "start": 1708, "end": 1719, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 17 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 1708, "end": 1717, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 1731, "end": 1748, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 21 } }, "argument": { "type": "Identifier", "start": 1738, "end": 1747, "loc": { "start": { "line": 63, "column": 11 }, "end": { "line": 63, "column": 20 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Backspace HTML tags and HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 951, "end": 1211, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 44, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * TODO: These methods can probably be combined somehow\n * Parse HTML tags & HTML Characters\n ", "start": 0, "end": 100, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * TODO: These methods can probably be combined somehow\n * Parse HTML tags & HTML Characters\n ", "start": 0, "end": 100, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1756, "end": 1797, "loc": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 41 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 1763, "end": 1797, "loc": { "start": { "line": 67, "column": 7 }, "end": { "line": 67, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1767, "end": 1796, "loc": { "start": { "line": 67, "column": 11 }, "end": { "line": 67, "column": 40 } }, "id": { "type": "Identifier", "start": 1767, "end": 1777, "loc": { "start": { "line": 67, "column": 11 }, "end": { "line": 67, "column": 21 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "init": { "type": "NewExpression", "start": 1780, "end": 1796, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 40 } }, "callee": { "type": "Identifier", "start": 1784, "end": 1794, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 38 }, "identifierName": "HTMLParser" }, "name": "HTMLParser" }, "arguments": [] } } ], "kind": "let", "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * TODO: These methods can probably be combined somehow\n * Parse HTML tags & HTML Characters\n ", "start": 0, "end": 100, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Type HTML tags & HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 138, "end": 391, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 14, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Backspace HTML tags and HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 951, "end": 1211, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 44, "column": 5 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * TODO: These methods can probably be combined somehow\n * Parse HTML tags & HTML Characters\n ", "start": 0, "end": 100, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } }, { "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": 102, "end": 108, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "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": 109, "end": 116, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 14 } } }, { "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": 117, "end": 122, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HTMLParser", "start": 123, "end": 133, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 134, "end": 135, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 33 } } }, { "type": "CommentBlock", "value": "*\n * Type HTML tags & HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 138, "end": 391, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeHtmlChars", "start": 395, "end": 408, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 408, "end": 409, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 409, "end": 418, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 418, "end": 419, "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 420, "end": 429, "loc": { "start": { "line": 16, "column": 27 }, "end": { "line": 16, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 429, "end": 430, "loc": { "start": { "line": 16, "column": 36 }, "end": { "line": 16, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 431, "end": 435, "loc": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 435, "end": 436, "loc": { "start": { "line": 16, "column": 42 }, "end": { "line": 16, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 437, "end": 438, "loc": { "start": { "line": 16, "column": 44 }, "end": { "line": 16, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 443, "end": 445, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 446, "end": 447, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 447, "end": 451, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 451, "end": 452, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 452, "end": 463, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 464, "end": 467, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 468, "end": 474, "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 474, "end": 475, "loc": { "start": { "line": 17, "column": 35 }, "end": { "line": 17, "column": 36 } } }, { "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": 476, "end": 482, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 17, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 483, "end": 492, "loc": { "start": { "line": 17, "column": 44 }, "end": { "line": 17, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 492, "end": 493, "loc": { "start": { "line": 17, "column": 53 }, "end": { "line": 17, "column": 54 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 498, "end": 503, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 504, "end": 511, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 512, "end": 513, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 514, "end": 523, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 523, "end": 524, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 524, "end": 533, "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 533, "end": 534, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 534, "end": 543, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 543, "end": 544, "loc": { "start": { "line": 18, "column": 49 }, "end": { "line": 18, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 544, "end": 545, "loc": { "start": { "line": 18, "column": 50 }, "end": { "line": 18, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 545, "end": 551, "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 18, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 551, "end": 552, "loc": { "start": { "line": 18, "column": 57 }, "end": { "line": 18, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 552, "end": 553, "loc": { "start": { "line": 18, "column": 58 }, "end": { "line": 18, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 553, "end": 554, "loc": { "start": { "line": 18, "column": 59 }, "end": { "line": 18, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 554, "end": 555, "loc": { "start": { "line": 18, "column": 60 }, "end": { "line": 18, "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": 560, "end": 562, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 563, "end": 564, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 564, "end": 571, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 15 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 572, "end": 575, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "<", "start": 576, "end": 579, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 23 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 580, "end": 582, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 583, "end": 590, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 591, "end": 594, "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "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": 595, "end": 598, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 598, "end": 599, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 19, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 600, "end": 601, "loc": { "start": { "line": 19, "column": 44 }, "end": { "line": 19, "column": 45 } } }, { "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": 608, "end": 611, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 612, "end": 618, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 619, "end": 620, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "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": 621, "end": 623, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 623, "end": 624, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "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": 631, "end": 633, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 634, "end": 635, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 635, "end": 642, "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 643, "end": 646, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "<", "start": 647, "end": 650, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 650, "end": 651, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 652, "end": 653, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 662, "end": 668, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 669, "end": 670, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ">", "start": 671, "end": 674, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 674, "end": 675, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 682, "end": 683, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "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": 684, "end": 688, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 689, "end": 690, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 699, "end": 705, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 706, "end": 707, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ";", "start": 708, "end": 711, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 711, "end": 712, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 7 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 727, "end": 732, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 733, "end": 734, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 734, "end": 743, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 743, "end": 744, "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 744, "end": 753, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 753, "end": 754, "loc": { "start": { "line": 26, "column": 32 }, "end": { "line": 26, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 754, "end": 763, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 764, "end": 765, "loc": { "start": { "line": 26, "column": 43 }, "end": { "line": 26, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 766, "end": 767, "loc": { "start": { "line": 26, "column": 45 }, "end": { "line": 26, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 767, "end": 768, "loc": { "start": { "line": 26, "column": 46 }, "end": { "line": 26, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 768, "end": 769, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 769, "end": 775, "loc": { "start": { "line": 26, "column": 48 }, "end": { "line": 26, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 775, "end": 776, "loc": { "start": { "line": 26, "column": 54 }, "end": { "line": 26, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 776, "end": 777, "loc": { "start": { "line": 26, "column": 55 }, "end": { "line": 26, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 777, "end": 778, "loc": { "start": { "line": 26, "column": 56 }, "end": { "line": 26, "column": 57 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 779, "end": 782, "loc": { "start": { "line": 26, "column": 58 }, "end": { "line": 26, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 783, "end": 789, "loc": { "start": { "line": 26, "column": 62 }, "end": { "line": 26, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 789, "end": 790, "loc": { "start": { "line": 26, "column": 68 }, "end": { "line": 26, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 791, "end": 792, "loc": { "start": { "line": 26, "column": 70 }, "end": { "line": 26, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 801, "end": 810, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 17 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 810, "end": 812, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 812, "end": 813, "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "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": 822, "end": 824, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 825, "end": 826, "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 826, "end": 835, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 21 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 836, "end": 837, "loc": { "start": { "line": 28, "column": 22 }, "end": { "line": 28, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 838, "end": 839, "loc": { "start": { "line": 28, "column": 24 }, "end": { "line": 28, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 840, "end": 841, "loc": { "start": { "line": 28, "column": 26 }, "end": { "line": 28, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 842, "end": 851, "loc": { "start": { "line": 28, "column": 28 }, "end": { "line": 28, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 851, "end": 852, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 852, "end": 858, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 858, "end": 859, "loc": { "start": { "line": 28, "column": 44 }, "end": { "line": 28, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 860, "end": 861, "loc": { "start": { "line": 28, "column": 46 }, "end": { "line": 28, "column": 47 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 872, "end": 877, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 877, "end": 878, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, { "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": 30, "column": 8 }, "end": { "line": 30, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 895, "end": 896, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 903, "end": 912, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 15 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 912, "end": 914, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 914, "end": 915, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 920, "end": 921, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "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": 926, "end": 932, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 933, "end": 942, "loc": { "start": { "line": 34, "column": 11 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 942, "end": 943, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 946, "end": 947, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Backspace HTML tags and HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n ", "start": 951, "end": 1211, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 44, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpaceHtmlChars", "start": 1214, "end": 1232, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1232, "end": 1233, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1233, "end": 1242, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1242, "end": 1243, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1244, "end": 1253, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1253, "end": 1254, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1255, "end": 1259, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1259, "end": 1260, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1261, "end": 1262, "loc": { "start": { "line": 45, "column": 49 }, "end": { "line": 45, "column": 50 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1267, "end": 1269, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1270, "end": 1271, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 46, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1271, "end": 1275, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 1276, "end": 1287, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1288, "end": 1291, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 1292, "end": 1298, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 36 } } }, { "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": 1300, "end": 1306, "loc": { "start": { "line": 46, "column": 37 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1307, "end": 1316, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1316, "end": 1317, "loc": { "start": { "line": 46, "column": 53 }, "end": { "line": 46, "column": 54 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1322, "end": 1327, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 1328, "end": 1335, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1336, "end": 1337, "loc": { "start": { "line": 47, "column": 18 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1338, "end": 1347, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1347, "end": 1348, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 1348, "end": 1357, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1357, "end": 1358, "loc": { "start": { "line": 47, "column": 39 }, "end": { "line": 47, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1358, "end": 1367, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1367, "end": 1368, "loc": { "start": { "line": 47, "column": 49 }, "end": { "line": 47, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1368, "end": 1369, "loc": { "start": { "line": 47, "column": 50 }, "end": { "line": 47, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 1369, "end": 1375, "loc": { "start": { "line": 47, "column": 51 }, "end": { "line": 47, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1375, "end": 1376, "loc": { "start": { "line": 47, "column": 57 }, "end": { "line": 47, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1376, "end": 1377, "loc": { "start": { "line": 47, "column": 58 }, "end": { "line": 47, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1377, "end": 1378, "loc": { "start": { "line": 47, "column": 59 }, "end": { "line": 47, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1378, "end": 1379, "loc": { "start": { "line": 47, "column": 60 }, "end": { "line": 47, "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": 1384, "end": 1386, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 48, "column": 7 }, "end": { "line": 48, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 1388, "end": 1395, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 15 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1396, "end": 1399, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ">", "start": 1400, "end": 1403, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 23 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1404, "end": 1406, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 1407, "end": 1414, "loc": { "start": { "line": 48, "column": 27 }, "end": { "line": 48, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1415, "end": 1418, "loc": { "start": { "line": 48, "column": 35 }, "end": { "line": 48, "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": 1419, "end": 1422, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 48, "column": 44 }, "end": { "line": 48, "column": 45 } } }, { "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": 1432, "end": 1435, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 1436, "end": 1442, "loc": { "start": { "line": 49, "column": 10 }, "end": { "line": 49, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1443, "end": 1444, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "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": 1445, "end": 1447, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1447, "end": 1448, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "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": 1455, "end": 1457, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1458, "end": 1459, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curChar", "start": 1459, "end": 1466, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1467, "end": 1470, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ">", "start": 1471, "end": 1474, "loc": { "start": { "line": 50, "column": 22 }, "end": { "line": 50, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1474, "end": 1475, "loc": { "start": { "line": 50, "column": 25 }, "end": { "line": 50, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1476, "end": 1477, "loc": { "start": { "line": 50, "column": 27 }, "end": { "line": 50, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 1486, "end": 1492, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1493, "end": 1494, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "<", "start": 1495, "end": 1498, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1498, "end": 1499, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1506, "end": 1507, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "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": 1508, "end": 1512, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1513, "end": 1514, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 1523, "end": 1529, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1530, "end": 1531, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "&", "start": 1532, "end": 1535, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1535, "end": 1536, "loc": { "start": { "line": 53, "column": 20 }, "end": { "line": 53, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1543, "end": 1544, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 7 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 1551, "end": 1556, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1557, "end": 1558, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1558, "end": 1567, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 1568, "end": 1577, "loc": { "start": { "line": 55, "column": 23 }, "end": { "line": 55, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1577, "end": 1578, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 55, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1578, "end": 1587, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1588, "end": 1589, "loc": { "start": { "line": 55, "column": 43 }, "end": { "line": 55, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1590, "end": 1591, "loc": { "start": { "line": 55, "column": 45 }, "end": { "line": 55, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1592, "end": 1593, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 1593, "end": 1599, "loc": { "start": { "line": 55, "column": 48 }, "end": { "line": 55, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1599, "end": 1600, "loc": { "start": { "line": 55, "column": 54 }, "end": { "line": 55, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1600, "end": 1601, "loc": { "start": { "line": 55, "column": 55 }, "end": { "line": 55, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1601, "end": 1602, "loc": { "start": { "line": 55, "column": 56 }, "end": { "line": 55, "column": 57 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1603, "end": 1606, "loc": { "start": { "line": 55, "column": 58 }, "end": { "line": 55, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "endTag", "start": 1607, "end": 1613, "loc": { "start": { "line": 55, "column": 62 }, "end": { "line": 55, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1613, "end": 1614, "loc": { "start": { "line": 55, "column": 68 }, "end": { "line": 55, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1615, "end": 1616, "loc": { "start": { "line": 55, "column": 70 }, "end": { "line": 55, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1625, "end": 1634, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 17 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 1634, "end": 1636, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1636, "end": 1637, "loc": { "start": { "line": 56, "column": 19 }, "end": { "line": 56, "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": 1646, "end": 1648, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1649, "end": 1650, "loc": { "start": { "line": 57, "column": 11 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1650, "end": 1659, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1660, "end": 1661, "loc": { "start": { "line": 57, "column": 22 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1662, "end": 1663, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1663, "end": 1664, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1665, "end": 1666, "loc": { "start": { "line": 57, "column": 27 }, "end": { "line": 57, "column": 28 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 1677, "end": 1682, "loc": { "start": { "line": 58, "column": 10 }, "end": { "line": 58, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1682, "end": 1683, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1692, "end": 1693, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1700, "end": 1701, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1708, "end": 1717, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 15 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 1717, "end": 1719, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1719, "end": 1720, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1725, "end": 1726, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "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": 1731, "end": 1737, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1738, "end": 1747, "loc": { "start": { "line": 63, "column": 11 }, "end": { "line": 63, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1747, "end": 1748, "loc": { "start": { "line": 63, "column": 20 }, "end": { "line": 63, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1751, "end": 1752, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1753, "end": 1754, "loc": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "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": 1756, "end": 1762, "loc": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 6 } } }, { "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": 1763, "end": 1766, "loc": { "start": { "line": 67, "column": 7 }, "end": { "line": 67, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 1767, "end": 1777, "loc": { "start": { "line": 67, "column": 11 }, "end": { "line": 67, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1778, "end": 1779, "loc": { "start": { "line": 67, "column": 22 }, "end": { "line": 67, "column": 23 } } }, { "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": 1780, "end": 1783, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HTMLParser", "start": 1784, "end": 1794, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1794, "end": 1795, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1795, "end": 1796, "loc": { "start": { "line": 67, "column": 39 }, "end": { "line": 67, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1796, "end": 1797, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 41 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1798, "end": 1798, "loc": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 0 } } } ] } ================================================ FILE: docs/ast/source/initializer.js.json ================================================ { "type": "File", "start": 0, "end": 5877, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 219, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 5877, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 219, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 37, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 37 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 15, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 15 } }, "local": { "type": "Identifier", "start": 7, "end": 15, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 15 }, "identifierName": "defaults" }, "name": "defaults" } } ], "source": { "type": "StringLiteral", "start": 21, "end": 36, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 36 } }, "extra": { "rawValue": "./defaults.js", "raw": "'./defaults.js'" }, "value": "./defaults.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Initialize the Typed object\n ", "start": 38, "end": 76, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 4, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 78, "end": 5831, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 216, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 93, "end": 5831, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 216, "column": 1 } }, "id": { "type": "Identifier", "start": 99, "end": 110, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 32 }, "identifierName": "Initializer" }, "name": "Initializer", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 111, "end": 5831, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 216, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 360, "end": 4072, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 145, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 360, "end": 364, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 6 }, "identifierName": "load" }, "name": "load", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 365, "end": 369, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 11 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 371, "end": 378, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 20 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 380, "end": 389, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 31 }, "identifierName": "elementId" }, "name": "elementId" } ], "body": { "type": "BlockStatement", "start": 391, "end": 4072, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 145, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 438, "end": 571, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 21, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 442, "end": 471, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 37 } }, "left": { "type": "UnaryExpression", "start": 442, "end": 458, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 24 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 449, "end": 458, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 24 }, "identifierName": "elementId" }, "name": "elementId", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 463, "end": 471, "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 37 } }, "extra": { "rawValue": "string", "raw": "'string'" }, "value": "string" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 473, "end": 531, "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 19, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 481, "end": 525, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 481, "end": 524, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 481, "end": 488, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 13 } }, "object": { "type": "Identifier", "start": 481, "end": 485, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 486, "end": 488, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "right": { "type": "CallExpression", "start": 491, "end": 524, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 491, "end": 513, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 38 } }, "object": { "type": "Identifier", "start": 491, "end": 499, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 24 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 500, "end": 513, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 38 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 514, "end": 523, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 48 }, "identifierName": "elementId" }, "name": "elementId" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 537, "end": 571, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 21, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 545, "end": 565, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 545, "end": 564, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 545, "end": 552, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 13 } }, "object": { "type": "Identifier", "start": 545, "end": 549, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 550, "end": 552, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "right": { "type": "Identifier", "start": 555, "end": 564, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 25 }, "identifierName": "elementId" }, "name": "elementId" } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " chosen element to manipulate text", "start": 397, "end": 433, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 577, "end": 620, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 577, "end": 619, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 577, "end": 589, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 16 } }, "object": { "type": "Identifier", "start": 577, "end": 581, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 582, "end": 589, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 592, "end": 619, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 46 } }, "properties": [ { "type": "SpreadProperty", "start": 594, "end": 605, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 32 } }, "argument": { "type": "Identifier", "start": 597, "end": 605, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 32 }, "identifierName": "defaults" }, "name": "defaults" } }, { "type": "SpreadProperty", "start": 607, "end": 617, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 44 } }, "argument": { "type": "Identifier", "start": 610, "end": 617, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 44 }, "identifierName": "options" }, "name": "options" } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " attribute to type into", "start": 626, "end": 651, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 656, "end": 713, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 656, "end": 712, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 656, "end": 668, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 16 } }, "object": { "type": "Identifier", "start": 656, "end": 660, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 661, "end": 668, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 16 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false, "leadingComments": null }, "right": { "type": "BinaryExpression", "start": 671, "end": 712, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 60 } }, "left": { "type": "CallExpression", "start": 671, "end": 700, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 671, "end": 698, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 46 } }, "object": { "type": "MemberExpression", "start": 671, "end": 686, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 34 } }, "object": { "type": "MemberExpression", "start": 671, "end": 678, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 26 } }, "object": { "type": "Identifier", "start": 671, "end": 675, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 23 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 676, "end": 678, "loc": { "start": { "line": 26, "column": 24 }, "end": { "line": 26, "column": 26 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 679, "end": 686, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 34 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 687, "end": 698, "loc": { "start": { "line": 26, "column": 35 }, "end": { "line": 26, "column": 46 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] }, "operator": "===", "right": { "type": "StringLiteral", "start": 705, "end": 712, "loc": { "start": { "line": 26, "column": 53 }, "end": { "line": 26, "column": 60 } }, "extra": { "rawValue": "input", "raw": "'input'" }, "value": "input" } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " attribute to type into", "start": 626, "end": 651, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 718, "end": 748, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 718, "end": 747, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 718, "end": 727, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 13 } }, "object": { "type": "Identifier", "start": 718, "end": 722, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 723, "end": 727, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 13 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "right": { "type": "MemberExpression", "start": 730, "end": 747, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 33 } }, "object": { "type": "MemberExpression", "start": 730, "end": 742, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 28 } }, "object": { "type": "Identifier", "start": 730, "end": 734, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 20 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 735, "end": 742, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 743, "end": 747, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 27, "column": 33 }, "identifierName": "attr" }, "name": "attr" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 753, "end": 815, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 753, "end": 814, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 753, "end": 778, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 29 } }, "object": { "type": "Identifier", "start": 753, "end": 757, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 758, "end": 778, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 29 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents" }, "computed": false }, "right": { "type": "MemberExpression", "start": 781, "end": 814, "loc": { "start": { "line": 28, "column": 32 }, "end": { "line": 28, "column": 65 } }, "object": { "type": "MemberExpression", "start": 781, "end": 793, "loc": { "start": { "line": 28, "column": 32 }, "end": { "line": 28, "column": 44 } }, "object": { "type": "Identifier", "start": 781, "end": 785, "loc": { "start": { "line": 28, "column": 32 }, "end": { "line": 28, "column": 36 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 786, "end": 793, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 794, "end": 814, "loc": { "start": { "line": 28, "column": 45 }, "end": { "line": 28, "column": 65 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents" }, "computed": false } }, "trailingComments": [ { "type": "CommentLine", "value": " show cursor", "start": 821, "end": 835, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } } } ] }, { "type": "ExpressionStatement", "start": 840, "end": 905, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 840, "end": 904, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 68 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 840, "end": 855, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 19 } }, "object": { "type": "Identifier", "start": 840, "end": 844, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 845, "end": 855, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 19 }, "identifierName": "showCursor" }, "name": "showCursor" }, "computed": false, "leadingComments": null }, "right": { "type": "ConditionalExpression", "start": 858, "end": 904, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 68 } }, "test": { "type": "MemberExpression", "start": 858, "end": 870, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 34 } }, "object": { "type": "Identifier", "start": 858, "end": 862, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 26 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 863, "end": 870, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 34 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "consequent": { "type": "BooleanLiteral", "start": 873, "end": 878, "loc": { "start": { "line": 31, "column": 37 }, "end": { "line": 31, "column": 42 } }, "value": false }, "alternate": { "type": "MemberExpression", "start": 881, "end": 904, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 68 } }, "object": { "type": "MemberExpression", "start": 881, "end": 893, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 57 } }, "object": { "type": "Identifier", "start": 881, "end": 885, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 49 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 886, "end": 893, "loc": { "start": { "line": 31, "column": 50 }, "end": { "line": 31, "column": 57 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 894, "end": 904, "loc": { "start": { "line": 31, "column": 58 }, "end": { "line": 31, "column": 68 }, "identifierName": "showCursor" }, "name": "showCursor" }, "computed": false } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " show cursor", "start": 821, "end": 835, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " custom cursor", "start": 911, "end": 927, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 } } } ] }, { "type": "ExpressionStatement", "start": 932, "end": 974, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 932, "end": 973, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 932, "end": 947, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 19 } }, "object": { "type": "Identifier", "start": 932, "end": 936, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 937, "end": 947, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 19 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 950, "end": 973, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 45 } }, "object": { "type": "MemberExpression", "start": 950, "end": 962, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 34 } }, "object": { "type": "Identifier", "start": 950, "end": 954, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 26 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 955, "end": 962, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 963, "end": 973, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 45 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " custom cursor", "start": 911, "end": 927, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Is the cursor blinking", "start": 980, "end": 1005, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 1010, "end": 1037, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 1010, "end": 1036, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1010, "end": 1029, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 23 } }, "object": { "type": "Identifier", "start": 1010, "end": 1014, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1015, "end": 1029, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 23 }, "identifierName": "cursorBlinking" }, "name": "cursorBlinking" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 1032, "end": 1036, "loc": { "start": { "line": 37, "column": 26 }, "end": { "line": 37, "column": 30 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Is the cursor blinking", "start": 980, "end": 1005, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " text content of element", "start": 1043, "end": 1069, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 30 } } } ] }, { "type": "ExpressionStatement", "start": 1074, "end": 1169, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 42, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 1074, "end": 1168, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 42, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1074, "end": 1088, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 18 } }, "object": { "type": "Identifier", "start": 1074, "end": 1078, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1079, "end": 1088, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 18 }, "identifierName": "elContent" }, "name": "elContent" }, "computed": false, "leadingComments": null }, "right": { "type": "ConditionalExpression", "start": 1091, "end": 1168, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 42, "column": 27 } }, "test": { "type": "MemberExpression", "start": 1091, "end": 1100, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 30 } }, "object": { "type": "Identifier", "start": 1091, "end": 1095, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 25 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1096, "end": 1100, "loc": { "start": { "line": 40, "column": 26 }, "end": { "line": 40, "column": 30 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "consequent": { "type": "CallExpression", "start": 1109, "end": 1140, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 1109, "end": 1129, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1109, "end": 1116, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 15 } }, "object": { "type": "Identifier", "start": 1109, "end": 1113, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1114, "end": 1116, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 1117, "end": 1129, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 28 }, "identifierName": "getAttribute" }, "name": "getAttribute" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1130, "end": 1139, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 38 } }, "object": { "type": "Identifier", "start": 1130, "end": 1134, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 33 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1135, "end": 1139, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 38 }, "identifierName": "attr" }, "name": "attr" }, "computed": false } ] }, "alternate": { "type": "MemberExpression", "start": 1149, "end": 1168, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 27 } }, "object": { "type": "MemberExpression", "start": 1149, "end": 1156, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 15 } }, "object": { "type": "Identifier", "start": 1149, "end": 1153, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1154, "end": 1156, "loc": { "start": { "line": 42, "column": 13 }, "end": { "line": 42, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 1157, "end": 1168, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 27 }, "identifierName": "textContent" }, "name": "textContent" }, "computed": false } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " text content of element", "start": 1043, "end": 1069, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 30 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " html or plain text", "start": 1175, "end": 1196, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 25 } } } ] }, { "type": "ExpressionStatement", "start": 1201, "end": 1245, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1201, "end": 1244, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1201, "end": 1217, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 20 } }, "object": { "type": "Identifier", "start": 1201, "end": 1205, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1206, "end": 1217, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 20 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1220, "end": 1244, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 47 } }, "object": { "type": "MemberExpression", "start": 1220, "end": 1232, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 35 } }, "object": { "type": "Identifier", "start": 1220, "end": 1224, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 27 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1225, "end": 1232, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 35 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1233, "end": 1244, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 47 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " html or plain text", "start": 1175, "end": 1196, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 25 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " typing speed", "start": 1251, "end": 1266, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 19 } } } ] }, { "type": "ExpressionStatement", "start": 1271, "end": 1311, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 1271, "end": 1310, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1271, "end": 1285, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 18 } }, "object": { "type": "Identifier", "start": 1271, "end": 1275, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1276, "end": 1285, "loc": { "start": { "line": 48, "column": 9 }, "end": { "line": 48, "column": 18 }, "identifierName": "typeSpeed" }, "name": "typeSpeed" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1288, "end": 1310, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1288, "end": 1300, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 33 } }, "object": { "type": "Identifier", "start": 1288, "end": 1292, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1293, "end": 1300, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1301, "end": 1310, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 43 }, "identifierName": "typeSpeed" }, "name": "typeSpeed" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " typing speed", "start": 1251, "end": 1266, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 19 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " add a delay before typing starts", "start": 1317, "end": 1352, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 1357, "end": 1399, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 1357, "end": 1398, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1357, "end": 1372, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 19 } }, "object": { "type": "Identifier", "start": 1357, "end": 1361, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1362, "end": 1372, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 19 }, "identifierName": "startDelay" }, "name": "startDelay" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1375, "end": 1398, "loc": { "start": { "line": 51, "column": 22 }, "end": { "line": 51, "column": 45 } }, "object": { "type": "MemberExpression", "start": 1375, "end": 1387, "loc": { "start": { "line": 51, "column": 22 }, "end": { "line": 51, "column": 34 } }, "object": { "type": "Identifier", "start": 1375, "end": 1379, "loc": { "start": { "line": 51, "column": 22 }, "end": { "line": 51, "column": 26 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1380, "end": 1387, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1388, "end": 1398, "loc": { "start": { "line": 51, "column": 35 }, "end": { "line": 51, "column": 45 }, "identifierName": "startDelay" }, "name": "startDelay" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " add a delay before typing starts", "start": 1317, "end": 1352, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " backspacing speed", "start": 1405, "end": 1425, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 1430, "end": 1470, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 1430, "end": 1469, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1430, "end": 1444, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 18 } }, "object": { "type": "Identifier", "start": 1430, "end": 1434, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1435, "end": 1444, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 18 }, "identifierName": "backSpeed" }, "name": "backSpeed" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1447, "end": 1469, "loc": { "start": { "line": 54, "column": 21 }, "end": { "line": 54, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1447, "end": 1459, "loc": { "start": { "line": 54, "column": 21 }, "end": { "line": 54, "column": 33 } }, "object": { "type": "Identifier", "start": 1447, "end": 1451, "loc": { "start": { "line": 54, "column": 21 }, "end": { "line": 54, "column": 25 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1452, "end": 1459, "loc": { "start": { "line": 54, "column": 26 }, "end": { "line": 54, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1460, "end": 1469, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 43 }, "identifierName": "backSpeed" }, "name": "backSpeed" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " backspacing speed", "start": 1405, "end": 1425, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 24 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " only backspace what doesn't match the previous string", "start": 1476, "end": 1532, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 60 } } } ] }, { "type": "ExpressionStatement", "start": 1537, "end": 1587, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 1537, "end": 1586, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1537, "end": 1556, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 23 } }, "object": { "type": "Identifier", "start": 1537, "end": 1541, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1542, "end": 1556, "loc": { "start": { "line": 57, "column": 9 }, "end": { "line": 57, "column": 23 }, "identifierName": "smartBackspace" }, "name": "smartBackspace" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1559, "end": 1586, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1559, "end": 1571, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 38 } }, "object": { "type": "Identifier", "start": 1559, "end": 1563, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 30 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1564, "end": 1571, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 38 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1572, "end": 1586, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 53 }, "identifierName": "smartBackspace" }, "name": "smartBackspace" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " only backspace what doesn't match the previous string", "start": 1476, "end": 1532, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 60 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " amount of time to wait before backspacing", "start": 1593, "end": 1637, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 1642, "end": 1682, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 1642, "end": 1681, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1642, "end": 1656, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 18 } }, "object": { "type": "Identifier", "start": 1642, "end": 1646, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1647, "end": 1656, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 18 }, "identifierName": "backDelay" }, "name": "backDelay" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1659, "end": 1681, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1659, "end": 1671, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 33 } }, "object": { "type": "Identifier", "start": 1659, "end": 1663, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 25 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1664, "end": 1671, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1672, "end": 1681, "loc": { "start": { "line": 60, "column": 34 }, "end": { "line": 60, "column": 43 }, "identifierName": "backDelay" }, "name": "backDelay" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " amount of time to wait before backspacing", "start": 1593, "end": 1637, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 48 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Fade out instead of backspace", "start": 1688, "end": 1720, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1725, "end": 1761, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 1725, "end": 1760, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1725, "end": 1737, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "Identifier", "start": 1725, "end": 1729, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1730, "end": 1737, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 1740, "end": 1760, "loc": { "start": { "line": 63, "column": 19 }, "end": { "line": 63, "column": 39 } }, "object": { "type": "MemberExpression", "start": 1740, "end": 1752, "loc": { "start": { "line": 63, "column": 19 }, "end": { "line": 63, "column": 31 } }, "object": { "type": "Identifier", "start": 1740, "end": 1744, "loc": { "start": { "line": 63, "column": 19 }, "end": { "line": 63, "column": 23 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1745, "end": 1752, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1753, "end": 1760, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 39 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Fade out instead of backspace", "start": 1688, "end": 1720, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1766, "end": 1812, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 1766, "end": 1811, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1766, "end": 1783, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 21 } }, "object": { "type": "Identifier", "start": 1766, "end": 1770, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1771, "end": 1783, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 21 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1786, "end": 1811, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 49 } }, "object": { "type": "MemberExpression", "start": 1786, "end": 1798, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 36 } }, "object": { "type": "Identifier", "start": 1786, "end": 1790, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 28 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1791, "end": 1798, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 36 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1799, "end": 1811, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 49 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1817, "end": 1863, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 1817, "end": 1862, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1817, "end": 1834, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 21 } }, "object": { "type": "Identifier", "start": 1817, "end": 1821, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1822, "end": 1834, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 21 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1837, "end": 1862, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 49 } }, "object": { "type": "MemberExpression", "start": 1837, "end": 1849, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 36 } }, "object": { "type": "Identifier", "start": 1837, "end": 1841, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 28 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 1842, "end": 1849, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 36 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1850, "end": 1862, "loc": { "start": { "line": 65, "column": 37 }, "end": { "line": 65, "column": 49 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "computed": false } }, "trailingComments": [ { "type": "CommentLine", "value": " variable to check whether typing is currently paused", "start": 1869, "end": 1924, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 59 } } } ] }, { "type": "ExpressionStatement", "start": 1929, "end": 1951, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 1929, "end": 1950, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1929, "end": 1942, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 17 } }, "object": { "type": "Identifier", "start": 1929, "end": 1933, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1934, "end": 1942, "loc": { "start": { "line": 68, "column": 9 }, "end": { "line": 68, "column": 17 }, "identifierName": "isPaused" }, "name": "isPaused" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 1945, "end": 1950, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 25 } }, "value": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " variable to check whether typing is currently paused", "start": 1869, "end": 1924, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 59 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " input strings of text", "start": 1957, "end": 1981, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 1986, "end": 2043, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 1986, "end": 2042, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1986, "end": 1998, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 16 } }, "object": { "type": "Identifier", "start": 1986, "end": 1990, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 1991, "end": 1998, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 16 }, "identifierName": "strings" }, "name": "strings" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 2001, "end": 2042, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 2001, "end": 2025, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2001, "end": 2021, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 39 } }, "object": { "type": "MemberExpression", "start": 2001, "end": 2013, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 31 } }, "object": { "type": "Identifier", "start": 2001, "end": 2005, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 23 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2006, "end": 2013, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 2014, "end": 2021, "loc": { "start": { "line": 71, "column": 32 }, "end": { "line": 71, "column": 39 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 2022, "end": 2025, "loc": { "start": { "line": 71, "column": 40 }, "end": { "line": 71, "column": 43 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2026, "end": 2041, "loc": { "start": { "line": 71, "column": 44 }, "end": { "line": 71, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 2027, "end": 2028, "loc": { "start": { "line": 71, "column": 45 }, "end": { "line": 71, "column": 46 }, "identifierName": "s" }, "name": "s" } ], "body": { "type": "CallExpression", "start": 2033, "end": 2041, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 2033, "end": 2039, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 57 } }, "object": { "type": "Identifier", "start": 2033, "end": 2034, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 52 }, "identifierName": "s" }, "name": "s" }, "property": { "type": "Identifier", "start": 2035, "end": 2039, "loc": { "start": { "line": 71, "column": 53 }, "end": { "line": 71, "column": 57 }, "identifierName": "trim" }, "name": "trim" }, "computed": false }, "arguments": [] } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " input strings of text", "start": 1957, "end": 1981, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 28 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " div containing strings", "start": 2049, "end": 2074, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 29 } } } ] }, { "type": "IfStatement", "start": 2079, "end": 2290, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 78, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2083, "end": 2130, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 55 } }, "left": { "type": "UnaryExpression", "start": 2083, "end": 2117, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 2090, "end": 2117, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 42 } }, "object": { "type": "MemberExpression", "start": 2090, "end": 2102, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 27 } }, "object": { "type": "Identifier", "start": 2090, "end": 2094, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 19 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 2095, "end": 2102, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 2103, "end": 2117, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 42 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 2122, "end": 2130, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 55 } }, "extra": { "rawValue": "string", "raw": "'string'" }, "value": "string" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2132, "end": 2220, "loc": { "start": { "line": 74, "column": 57 }, "end": { "line": 76, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2140, "end": 2214, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 80 } }, "expression": { "type": "AssignmentExpression", "start": 2140, "end": 2213, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 79 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2140, "end": 2159, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 25 } }, "object": { "type": "Identifier", "start": 2140, "end": 2144, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2145, "end": 2159, "loc": { "start": { "line": 75, "column": 11 }, "end": { "line": 75, "column": 25 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 2162, "end": 2213, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 2162, "end": 2184, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 50 } }, "object": { "type": "Identifier", "start": 2162, "end": 2170, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2171, "end": 2184, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 50 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2185, "end": 2212, "loc": { "start": { "line": 75, "column": 51 }, "end": { "line": 75, "column": 78 } }, "object": { "type": "MemberExpression", "start": 2185, "end": 2197, "loc": { "start": { "line": 75, "column": 51 }, "end": { "line": 75, "column": 63 } }, "object": { "type": "Identifier", "start": 2185, "end": 2189, "loc": { "start": { "line": 75, "column": 51 }, "end": { "line": 75, "column": 55 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2190, "end": 2197, "loc": { "start": { "line": 75, "column": 56 }, "end": { "line": 75, "column": 63 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 2198, "end": 2212, "loc": { "start": { "line": 75, "column": 64 }, "end": { "line": 75, "column": 78 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2226, "end": 2290, "loc": { "start": { "line": 76, "column": 11 }, "end": { "line": 78, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2234, "end": 2284, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 2234, "end": 2283, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2234, "end": 2253, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 25 } }, "object": { "type": "Identifier", "start": 2234, "end": 2238, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2239, "end": 2253, "loc": { "start": { "line": 77, "column": 11 }, "end": { "line": 77, "column": 25 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false }, "right": { "type": "MemberExpression", "start": 2256, "end": 2283, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "column": 55 } }, "object": { "type": "MemberExpression", "start": 2256, "end": 2268, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "column": 40 } }, "object": { "type": "Identifier", "start": 2256, "end": 2260, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "column": 32 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2261, "end": 2268, "loc": { "start": { "line": 77, "column": 33 }, "end": { "line": 77, "column": 40 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 2269, "end": 2283, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 55 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " div containing strings", "start": 2049, "end": 2074, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 29 } } } ] }, { "type": "IfStatement", "start": 2296, "end": 2842, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 94, "column": 5 } }, "test": { "type": "MemberExpression", "start": 2300, "end": 2319, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 27 } }, "object": { "type": "Identifier", "start": 2300, "end": 2304, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2305, "end": 2319, "loc": { "start": { "line": 80, "column": 13 }, "end": { "line": 80, "column": 27 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2321, "end": 2842, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 94, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2329, "end": 2347, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 2329, "end": 2346, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2329, "end": 2341, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 18 } }, "object": { "type": "Identifier", "start": 2329, "end": 2333, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2334, "end": 2341, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 18 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 2344, "end": 2346, "loc": { "start": { "line": 81, "column": 21 }, "end": { "line": 81, "column": 23 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 2354, "end": 2516, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 83, "column": 126 } }, "expression": { "type": "AssignmentExpression", "start": 2354, "end": 2515, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 83, "column": 125 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2354, "end": 2387, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 39 } }, "object": { "type": "MemberExpression", "start": 2354, "end": 2379, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 31 } }, "object": { "type": "MemberExpression", "start": 2354, "end": 2373, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 25 } }, "object": { "type": "Identifier", "start": 2354, "end": 2358, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2359, "end": 2373, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 25 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false }, "property": { "type": "Identifier", "start": 2374, "end": 2379, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 31 }, "identifierName": "style" }, "name": "style" }, "computed": false }, "property": { "type": "Identifier", "start": 2380, "end": 2387, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 39 }, "identifierName": "cssText" }, "name": "cssText" }, "computed": false }, "right": { "type": "StringLiteral", "start": 2398, "end": 2515, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 125 } }, "extra": { "rawValue": "clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;", "raw": "'clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;'" }, "value": "clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;" } } }, { "type": "VariableDeclaration", "start": 2524, "end": 2598, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2530, "end": 2597, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 79 } }, "id": { "type": "Identifier", "start": 2530, "end": 2537, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 19 }, "identifierName": "strings" }, "name": "strings" }, "init": { "type": "CallExpression", "start": 2540, "end": 2597, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 2540, "end": 2567, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 49 } }, "object": { "type": "MemberExpression", "start": 2540, "end": 2561, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2540, "end": 2555, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 37 } }, "object": { "type": "Identifier", "start": 2540, "end": 2545, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 27 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 2546, "end": 2555, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 37 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 2556, "end": 2561, "loc": { "start": { "line": 85, "column": 38 }, "end": { "line": 85, "column": 43 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "property": { "type": "Identifier", "start": 2562, "end": 2567, "loc": { "start": { "line": 85, "column": 44 }, "end": { "line": 85, "column": 49 }, "identifierName": "apply" }, "name": "apply" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2568, "end": 2596, "loc": { "start": { "line": 85, "column": 50 }, "end": { "line": 85, "column": 78 } }, "object": { "type": "MemberExpression", "start": 2568, "end": 2587, "loc": { "start": { "line": 85, "column": 50 }, "end": { "line": 85, "column": 69 } }, "object": { "type": "Identifier", "start": 2568, "end": 2572, "loc": { "start": { "line": 85, "column": 50 }, "end": { "line": 85, "column": 54 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2573, "end": 2587, "loc": { "start": { "line": 85, "column": 55 }, "end": { "line": 85, "column": 69 }, "identifierName": "stringsElement" }, "name": "stringsElement" }, "computed": false }, "property": { "type": "Identifier", "start": 2588, "end": 2596, "loc": { "start": { "line": 85, "column": 70 }, "end": { "line": 85, "column": 78 }, "identifierName": "children" }, "name": "children" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2605, "end": 2642, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2611, "end": 2641, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 42 } }, "id": { "type": "Identifier", "start": 2611, "end": 2624, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 25 }, "identifierName": "stringsLength" }, "name": "stringsLength" }, "init": { "type": "MemberExpression", "start": 2627, "end": 2641, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 42 } }, "object": { "type": "Identifier", "start": 2627, "end": 2634, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "property": { "type": "Identifier", "start": 2635, "end": 2641, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 2650, "end": 2836, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 93, "column": 7 } }, "test": { "type": "Identifier", "start": 2654, "end": 2667, "loc": { "start": { "line": 88, "column": 10 }, "end": { "line": 88, "column": 23 }, "identifierName": "stringsLength" }, "name": "stringsLength" }, "consequent": { "type": "BlockStatement", "start": 2669, "end": 2836, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 93, "column": 7 } }, "body": [ { "type": "ForStatement", "start": 2679, "end": 2828, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 92, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2684, "end": 2693, "loc": { "start": { "line": 89, "column": 13 }, "end": { "line": 89, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2688, "end": 2693, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 22 } }, "id": { "type": "Identifier", "start": 2688, "end": 2689, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2692, "end": 2693, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2695, "end": 2712, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 41 } }, "left": { "type": "Identifier", "start": 2695, "end": 2696, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 2699, "end": 2712, "loc": { "start": { "line": 89, "column": 28 }, "end": { "line": 89, "column": 41 }, "identifierName": "stringsLength" }, "name": "stringsLength" } }, "update": { "type": "AssignmentExpression", "start": 2714, "end": 2720, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 49 } }, "operator": "+=", "left": { "type": "Identifier", "start": 2714, "end": 2715, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 44 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 2719, "end": 2720, "loc": { "start": { "line": 89, "column": 48 }, "end": { "line": 89, "column": 49 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "body": { "type": "BlockStatement", "start": 2722, "end": 2828, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 92, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2734, "end": 2762, "loc": { "start": { "line": 90, "column": 10 }, "end": { "line": 90, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2740, "end": 2761, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 37 } }, "id": { "type": "Identifier", "start": 2740, "end": 2748, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 24 }, "identifierName": "stringEl" }, "name": "stringEl" }, "init": { "type": "MemberExpression", "start": 2751, "end": 2761, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 37 } }, "object": { "type": "Identifier", "start": 2751, "end": 2758, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 34 }, "identifierName": "strings" }, "name": "strings" }, "property": { "type": "Identifier", "start": 2759, "end": 2760, "loc": { "start": { "line": 90, "column": 35 }, "end": { "line": 90, "column": 36 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2773, "end": 2818, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 55 } }, "expression": { "type": "CallExpression", "start": 2773, "end": 2817, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 2773, "end": 2790, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 27 } }, "object": { "type": "MemberExpression", "start": 2773, "end": 2785, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 22 } }, "object": { "type": "Identifier", "start": 2773, "end": 2777, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 14 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 2778, "end": 2785, "loc": { "start": { "line": 91, "column": 15 }, "end": { "line": 91, "column": 22 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 2786, "end": 2790, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 27 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 2791, "end": 2816, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 2791, "end": 2814, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2791, "end": 2809, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 46 } }, "object": { "type": "Identifier", "start": 2791, "end": 2799, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 36 }, "identifierName": "stringEl" }, "name": "stringEl" }, "property": { "type": "Identifier", "start": 2800, "end": 2809, "loc": { "start": { "line": 91, "column": 37 }, "end": { "line": 91, "column": 46 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "property": { "type": "Identifier", "start": 2810, "end": 2814, "loc": { "start": { "line": 91, "column": 47 }, "end": { "line": 91, "column": 51 }, "identifierName": "trim" }, "name": "trim" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " character number position of current string", "start": 2848, "end": 2894, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 50 } } } ] }, { "type": "ExpressionStatement", "start": 2899, "end": 2915, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 2899, "end": 2914, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2899, "end": 2910, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 15 } }, "object": { "type": "Identifier", "start": 2899, "end": 2903, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 2904, "end": 2910, "loc": { "start": { "line": 97, "column": 9 }, "end": { "line": 97, "column": 15 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 2913, "end": 2914, "loc": { "start": { "line": 97, "column": 18 }, "end": { "line": 97, "column": 19 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " character number position of current string", "start": 2848, "end": 2894, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 50 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " If there is some text in the element", "start": 2921, "end": 2960, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 43 } } } ] }, { "type": "ExpressionStatement", "start": 2965, "end": 3020, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 2965, "end": 3019, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2965, "end": 2986, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 25 } }, "object": { "type": "Identifier", "start": 2965, "end": 2969, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 2970, "end": 2986, "loc": { "start": { "line": 100, "column": 9 }, "end": { "line": 100, "column": 25 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 2989, "end": 3019, "loc": { "start": { "line": 100, "column": 28 }, "end": { "line": 100, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 2989, "end": 3013, "loc": { "start": { "line": 100, "column": 28 }, "end": { "line": 100, "column": 52 } }, "object": { "type": "ThisExpression", "start": 2989, "end": 2993, "loc": { "start": { "line": 100, "column": 28 }, "end": { "line": 100, "column": 32 } } }, "property": { "type": "Identifier", "start": 2994, "end": 3013, "loc": { "start": { "line": 100, "column": 33 }, "end": { "line": 100, "column": 52 }, "identifierName": "getCurrentElContent" }, "name": "getCurrentElContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3014, "end": 3018, "loc": { "start": { "line": 100, "column": 53 }, "end": { "line": 100, "column": 57 }, "identifierName": "self" }, "name": "self" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " If there is some text in the element", "start": 2921, "end": 2960, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 43 } } } ] }, { "type": "IfStatement", "start": 3026, "end": 3201, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 105, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 3030, "end": 3087, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 65 } }, "left": { "type": "MemberExpression", "start": 3030, "end": 3051, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 29 } }, "object": { "type": "Identifier", "start": 3030, "end": 3034, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3035, "end": 3051, "loc": { "start": { "line": 102, "column": 13 }, "end": { "line": 102, "column": 29 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3055, "end": 3087, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 65 } }, "left": { "type": "MemberExpression", "start": 3055, "end": 3083, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 61 } }, "object": { "type": "MemberExpression", "start": 3055, "end": 3076, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 54 } }, "object": { "type": "Identifier", "start": 3055, "end": 3059, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 37 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3060, "end": 3076, "loc": { "start": { "line": 102, "column": 38 }, "end": { "line": 102, "column": 54 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, "property": { "type": "Identifier", "start": 3077, "end": 3083, "loc": { "start": { "line": 102, "column": 55 }, "end": { "line": 102, "column": 61 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3086, "end": 3087, "loc": { "start": { "line": 102, "column": 64 }, "end": { "line": 102, "column": 65 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 3089, "end": 3201, "loc": { "start": { "line": 102, "column": 67 }, "end": { "line": 105, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3097, "end": 3144, "loc": { "start": { "line": 103, "column": 6 }, "end": { "line": 103, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 3097, "end": 3143, "loc": { "start": { "line": 103, "column": 6 }, "end": { "line": 103, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3097, "end": 3108, "loc": { "start": { "line": 103, "column": 6 }, "end": { "line": 103, "column": 17 } }, "object": { "type": "Identifier", "start": 3097, "end": 3101, "loc": { "start": { "line": 103, "column": 6 }, "end": { "line": 103, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3102, "end": 3108, "loc": { "start": { "line": 103, "column": 11 }, "end": { "line": 103, "column": 17 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 3111, "end": 3143, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 52 } }, "left": { "type": "MemberExpression", "start": 3111, "end": 3139, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 48 } }, "object": { "type": "MemberExpression", "start": 3111, "end": 3132, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 41 } }, "object": { "type": "Identifier", "start": 3111, "end": 3115, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 24 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3116, "end": 3132, "loc": { "start": { "line": 103, "column": 25 }, "end": { "line": 103, "column": 41 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, "property": { "type": "Identifier", "start": 3133, "end": 3139, "loc": { "start": { "line": 103, "column": 42 }, "end": { "line": 103, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 3142, "end": 3143, "loc": { "start": { "line": 103, "column": 51 }, "end": { "line": 103, "column": 52 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } }, { "type": "ExpressionStatement", "start": 3151, "end": 3195, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 50 } }, "expression": { "type": "CallExpression", "start": 3151, "end": 3194, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3151, "end": 3171, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 26 } }, "object": { "type": "MemberExpression", "start": 3151, "end": 3163, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 18 } }, "object": { "type": "Identifier", "start": 3151, "end": 3155, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3156, "end": 3163, "loc": { "start": { "line": 104, "column": 11 }, "end": { "line": 104, "column": 18 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 3164, "end": 3171, "loc": { "start": { "line": 104, "column": 19 }, "end": { "line": 104, "column": 26 }, "identifierName": "unshift" }, "name": "unshift" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3172, "end": 3193, "loc": { "start": { "line": 104, "column": 27 }, "end": { "line": 104, "column": 48 } }, "object": { "type": "Identifier", "start": 3172, "end": 3176, "loc": { "start": { "line": 104, "column": 27 }, "end": { "line": 104, "column": 31 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3177, "end": 3193, "loc": { "start": { "line": 104, "column": 32 }, "end": { "line": 104, "column": 48 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " the order of strings", "start": 3207, "end": 3230, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 27 } } } ] }, { "type": "ExpressionStatement", "start": 3235, "end": 3254, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 3235, "end": 3253, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3235, "end": 3248, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 17 } }, "object": { "type": "Identifier", "start": 3235, "end": 3239, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3240, "end": 3248, "loc": { "start": { "line": 108, "column": 9 }, "end": { "line": 108, "column": 17 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 3251, "end": 3253, "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 22 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " the order of strings", "start": 3207, "end": 3230, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 27 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set the order in which the strings are typed", "start": 3260, "end": 3307, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 51 } } } ] }, { "type": "ForInStatement", "start": 3312, "end": 3375, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 113, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 3317, "end": 3322, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3321, "end": 3322, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 14 } }, "id": { "type": "Identifier", "start": 3321, "end": 3322, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 14 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3326, "end": 3338, "loc": { "start": { "line": 111, "column": 18 }, "end": { "line": 111, "column": 30 } }, "object": { "type": "Identifier", "start": 3326, "end": 3330, "loc": { "start": { "line": 111, "column": 18 }, "end": { "line": 111, "column": 22 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3331, "end": 3338, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 30 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "body": { "type": "BlockStatement", "start": 3340, "end": 3375, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 113, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3348, "end": 3369, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 3348, "end": 3368, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3348, "end": 3364, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 22 } }, "object": { "type": "MemberExpression", "start": 3348, "end": 3361, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 19 } }, "object": { "type": "Identifier", "start": 3348, "end": 3352, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 10 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3353, "end": 3361, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 19 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "Identifier", "start": 3362, "end": 3363, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 21 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "right": { "type": "Identifier", "start": 3367, "end": 3368, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 }, "identifierName": "i" }, "name": "i" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Set the order in which the strings are typed", "start": 3260, "end": 3307, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 51 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " current array position", "start": 3381, "end": 3406, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 3411, "end": 3429, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3411, "end": 3428, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3411, "end": 3424, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 17 } }, "object": { "type": "Identifier", "start": 3411, "end": 3415, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3416, "end": 3424, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 17 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 3427, "end": 3428, "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " current array position", "start": 3381, "end": 3406, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " index of string to stop backspacing on", "start": 3435, "end": 3476, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 3481, "end": 3498, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 3481, "end": 3497, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3481, "end": 3493, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 16 } }, "object": { "type": "Identifier", "start": 3481, "end": 3485, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3486, "end": 3493, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 16 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 3496, "end": 3497, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " index of string to stop backspacing on", "start": 3435, "end": 3476, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 45 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Looping logic", "start": 3504, "end": 3520, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 20 } } } ] }, { "type": "ExpressionStatement", "start": 3525, "end": 3555, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 3525, "end": 3554, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3525, "end": 3534, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 13 } }, "object": { "type": "Identifier", "start": 3525, "end": 3529, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3530, "end": 3534, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 122, "column": 13 }, "identifierName": "loop" }, "name": "loop" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3537, "end": 3554, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 33 } }, "object": { "type": "MemberExpression", "start": 3537, "end": 3549, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "Identifier", "start": 3537, "end": 3541, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3542, "end": 3549, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3550, "end": 3554, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 33 }, "identifierName": "loop" }, "name": "loop" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Looping logic", "start": 3504, "end": 3520, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 20 } } } ] }, { "type": "ExpressionStatement", "start": 3560, "end": 3600, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 3560, "end": 3599, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3560, "end": 3574, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 18 } }, "object": { "type": "Identifier", "start": 3560, "end": 3564, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3565, "end": 3574, "loc": { "start": { "line": 123, "column": 9 }, "end": { "line": 123, "column": 18 }, "identifierName": "loopCount" }, "name": "loopCount" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3577, "end": 3599, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 43 } }, "object": { "type": "MemberExpression", "start": 3577, "end": 3589, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 33 } }, "object": { "type": "Identifier", "start": 3577, "end": 3581, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 25 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3582, "end": 3589, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3590, "end": 3599, "loc": { "start": { "line": 123, "column": 34 }, "end": { "line": 123, "column": 43 }, "identifierName": "loopCount" }, "name": "loopCount" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 3605, "end": 3622, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 3605, "end": 3621, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3605, "end": 3617, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 16 } }, "object": { "type": "Identifier", "start": 3605, "end": 3609, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3610, "end": 3617, "loc": { "start": { "line": 124, "column": 9 }, "end": { "line": 124, "column": 16 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3620, "end": 3621, "loc": { "start": { "line": 124, "column": 19 }, "end": { "line": 124, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "trailingComments": [ { "type": "CommentLine", "value": " shuffle the strings", "start": 3628, "end": 3650, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 26 } } } ] }, { "type": "ExpressionStatement", "start": 3655, "end": 3691, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 3655, "end": 3690, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3655, "end": 3667, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 16 } }, "object": { "type": "Identifier", "start": 3655, "end": 3659, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3660, "end": 3667, "loc": { "start": { "line": 127, "column": 9 }, "end": { "line": 127, "column": 16 }, "identifierName": "shuffle" }, "name": "shuffle" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3670, "end": 3690, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 39 } }, "object": { "type": "MemberExpression", "start": 3670, "end": 3682, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 31 } }, "object": { "type": "Identifier", "start": 3670, "end": 3674, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 23 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3675, "end": 3682, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3683, "end": 3690, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 39 }, "identifierName": "shuffle" }, "name": "shuffle" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " shuffle the strings", "start": 3628, "end": 3650, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 26 } } } ] }, { "type": "ExpressionStatement", "start": 3697, "end": 3803, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 134, "column": 6 } }, "expression": { "type": "AssignmentExpression", "start": 3697, "end": 3802, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 134, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3697, "end": 3707, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 14 } }, "object": { "type": "Identifier", "start": 3697, "end": 3701, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3702, "end": 3707, "loc": { "start": { "line": 129, "column": 9 }, "end": { "line": 129, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 3710, "end": 3802, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 134, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 3718, "end": 3731, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 19 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3718, "end": 3724, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 12 }, "identifierName": "status" }, "name": "status" }, "value": { "type": "BooleanLiteral", "start": 3726, "end": 3731, "loc": { "start": { "line": 130, "column": 14 }, "end": { "line": 130, "column": 19 } }, "value": false } }, { "type": "ObjectProperty", "start": 3739, "end": 3754, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3739, "end": 3748, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 15 }, "identifierName": "typewrite" }, "name": "typewrite" }, "value": { "type": "BooleanLiteral", "start": 3750, "end": 3754, "loc": { "start": { "line": 131, "column": 17 }, "end": { "line": 131, "column": 21 } }, "value": true } }, { "type": "ObjectProperty", "start": 3762, "end": 3775, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 19 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3762, "end": 3771, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 15 }, "identifierName": "curString" }, "name": "curString" }, "value": { "type": "StringLiteral", "start": 3773, "end": 3775, "loc": { "start": { "line": 132, "column": 17 }, "end": { "line": 132, "column": 19 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, { "type": "ObjectProperty", "start": 3783, "end": 3795, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3783, "end": 3792, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "value": { "type": "NumericLiteral", "start": 3794, "end": 3795, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " When the typing is complete (when not looped)", "start": 3809, "end": 3857, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 3862, "end": 3890, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3862, "end": 3889, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3862, "end": 3881, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 23 } }, "object": { "type": "Identifier", "start": 3862, "end": 3866, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 8 }, "identifierName": "self" }, "name": "self", "leadingComments": null }, "property": { "type": "Identifier", "start": 3867, "end": 3881, "loc": { "start": { "line": 137, "column": 9 }, "end": { "line": 137, "column": 23 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 3884, "end": 3889, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 31 } }, "value": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " When the typing is complete (when not looped)", "start": 3809, "end": 3857, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 3896, "end": 3944, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 3896, "end": 3943, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3896, "end": 3914, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 22 } }, "object": { "type": "Identifier", "start": 3896, "end": 3900, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3901, "end": 3914, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 22 }, "identifierName": "autoInsertCss" }, "name": "autoInsertCss" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3917, "end": 3943, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3917, "end": 3929, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 37 } }, "object": { "type": "Identifier", "start": 3917, "end": 3921, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 29 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3922, "end": 3929, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3930, "end": 3943, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 51 }, "identifierName": "autoInsertCss" }, "name": "autoInsertCss" }, "computed": false } } }, { "type": "IfStatement", "start": 3950, "end": 4068, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 144, "column": 5 } }, "test": { "type": "MemberExpression", "start": 3954, "end": 3972, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 26 } }, "object": { "type": "Identifier", "start": 3954, "end": 3958, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 3959, "end": 3972, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 26 }, "identifierName": "autoInsertCss" }, "name": "autoInsertCss" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3974, "end": 4068, "loc": { "start": { "line": 141, "column": 28 }, "end": { "line": 144, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3982, "end": 4018, "loc": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 42 } }, "expression": { "type": "CallExpression", "start": 3982, "end": 4017, "loc": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 3982, "end": 4011, "loc": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3982, "end": 3986, "loc": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 10 } } }, "property": { "type": "Identifier", "start": 3987, "end": 4011, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 35 }, "identifierName": "appendCursorAnimationCss" }, "name": "appendCursorAnimationCss" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4012, "end": 4016, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 40 }, "identifierName": "self" }, "name": "self" } ] } }, { "type": "ExpressionStatement", "start": 4025, "end": 4062, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 143, "column": 43 } }, "expression": { "type": "CallExpression", "start": 4025, "end": 4061, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 143, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 4025, "end": 4055, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 143, "column": 36 } }, "object": { "type": "ThisExpression", "start": 4025, "end": 4029, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 143, "column": 10 } } }, "property": { "type": "Identifier", "start": 4030, "end": 4055, "loc": { "start": { "line": 143, "column": 11 }, "end": { "line": 143, "column": 36 }, "identifierName": "appendFadeOutAnimationCss" }, "name": "appendFadeOutAnimationCss" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4056, "end": 4060, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 41 }, "identifierName": "self" }, "name": "self" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Load up defaults & options on the Typed instance\n * @param {Typed} self instance of Typed\n * @param {object} options options object\n * @param {string} elementId HTML element ID _OR_ instance of HTML element\n * @private\n ", "start": 115, "end": 356, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 13, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 4076, "end": 4430, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 159, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4076, "end": 4095, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 147, "column": 21 }, "identifierName": "getCurrentElContent" }, "name": "getCurrentElContent" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4096, "end": 4100, "loc": { "start": { "line": 147, "column": 22 }, "end": { "line": 147, "column": 26 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 4102, "end": 4430, "loc": { "start": { "line": 147, "column": 28 }, "end": { "line": 159, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 4108, "end": 4127, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4112, "end": 4126, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 22 } }, "id": { "type": "Identifier", "start": 4112, "end": 4121, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 17 }, "identifierName": "elContent" }, "name": "elContent" }, "init": { "type": "StringLiteral", "start": 4124, "end": 4126, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 22 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "kind": "let" }, { "type": "IfStatement", "start": 4132, "end": 4404, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 157, "column": 5 } }, "test": { "type": "MemberExpression", "start": 4136, "end": 4145, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 17 } }, "object": { "type": "Identifier", "start": 4136, "end": 4140, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 12 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4141, "end": 4145, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 17 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4147, "end": 4205, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 151, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4155, "end": 4199, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 4155, "end": 4198, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", "start": 4155, "end": 4164, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 15 }, "identifierName": "elContent" }, "name": "elContent" }, "right": { "type": "CallExpression", "start": 4167, "end": 4198, "loc": { "start": { "line": 150, "column": 18 }, "end": { "line": 150, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 4167, "end": 4187, "loc": { "start": { "line": 150, "column": 18 }, "end": { "line": 150, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4167, "end": 4174, "loc": { "start": { "line": 150, "column": 18 }, "end": { "line": 150, "column": 25 } }, "object": { "type": "Identifier", "start": 4167, "end": 4171, "loc": { "start": { "line": 150, "column": 18 }, "end": { "line": 150, "column": 22 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4172, "end": 4174, "loc": { "start": { "line": 150, "column": 23 }, "end": { "line": 150, "column": 25 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 4175, "end": 4187, "loc": { "start": { "line": 150, "column": 26 }, "end": { "line": 150, "column": 38 }, "identifierName": "getAttribute" }, "name": "getAttribute" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4188, "end": 4197, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 48 } }, "object": { "type": "Identifier", "start": 4188, "end": 4192, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 43 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4193, "end": 4197, "loc": { "start": { "line": 150, "column": 44 }, "end": { "line": 150, "column": 48 }, "identifierName": "attr" }, "name": "attr" }, "computed": false } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4211, "end": 4404, "loc": { "start": { "line": 151, "column": 11 }, "end": { "line": 157, "column": 5 } }, "test": { "type": "MemberExpression", "start": 4215, "end": 4227, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 27 } }, "object": { "type": "Identifier", "start": 4215, "end": 4219, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 19 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4220, "end": 4227, "loc": { "start": { "line": 151, "column": 20 }, "end": { "line": 151, "column": 27 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4229, "end": 4269, "loc": { "start": { "line": 151, "column": 29 }, "end": { "line": 153, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4237, "end": 4263, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 4237, "end": 4262, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 31 } }, "operator": "=", "left": { "type": "Identifier", "start": 4237, "end": 4246, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 15 }, "identifierName": "elContent" }, "name": "elContent" }, "right": { "type": "MemberExpression", "start": 4249, "end": 4262, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 31 } }, "object": { "type": "MemberExpression", "start": 4249, "end": 4256, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 25 } }, "object": { "type": "Identifier", "start": 4249, "end": 4253, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 22 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4254, "end": 4256, "loc": { "start": { "line": 152, "column": 23 }, "end": { "line": 152, "column": 25 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 4257, "end": 4262, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 31 }, "identifierName": "value" }, "name": "value" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4275, "end": 4404, "loc": { "start": { "line": 153, "column": 11 }, "end": { "line": 157, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 4279, "end": 4306, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 42 } }, "left": { "type": "MemberExpression", "start": 4279, "end": 4295, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 31 } }, "object": { "type": "Identifier", "start": 4279, "end": 4283, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 19 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4284, "end": 4295, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 31 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 4300, "end": 4306, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "column": 42 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" } }, "consequent": { "type": "BlockStatement", "start": 4308, "end": 4352, "loc": { "start": { "line": 153, "column": 44 }, "end": { "line": 155, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4316, "end": 4346, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4316, "end": 4345, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 4316, "end": 4325, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 15 }, "identifierName": "elContent" }, "name": "elContent" }, "right": { "type": "MemberExpression", "start": 4328, "end": 4345, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 35 } }, "object": { "type": "MemberExpression", "start": 4328, "end": 4335, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 25 } }, "object": { "type": "Identifier", "start": 4328, "end": 4332, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 22 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4333, "end": 4335, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 25 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 4336, "end": 4345, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 35 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4358, "end": 4404, "loc": { "start": { "line": 155, "column": 11 }, "end": { "line": 157, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4366, "end": 4398, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 4366, "end": 4397, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 4366, "end": 4375, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 15 }, "identifierName": "elContent" }, "name": "elContent" }, "right": { "type": "MemberExpression", "start": 4378, "end": 4397, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4378, "end": 4385, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 25 } }, "object": { "type": "Identifier", "start": 4378, "end": 4382, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 22 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4383, "end": 4385, "loc": { "start": { "line": 156, "column": 23 }, "end": { "line": 156, "column": 25 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 4386, "end": 4397, "loc": { "start": { "line": 156, "column": 26 }, "end": { "line": 156, "column": 37 }, "identifierName": "textContent" }, "name": "textContent" }, "computed": false } } } ], "directives": [] } } } }, { "type": "ReturnStatement", "start": 4409, "end": 4426, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 21 } }, "argument": { "type": "Identifier", "start": 4416, "end": 4425, "loc": { "start": { "line": 158, "column": 11 }, "end": { "line": 158, "column": 20 }, "identifierName": "elContent" }, "name": "elContent" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 4434, "end": 5266, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 191, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4434, "end": 4458, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 26 }, "identifierName": "appendCursorAnimationCss" }, "name": "appendCursorAnimationCss" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4459, "end": 4463, "loc": { "start": { "line": 161, "column": 27 }, "end": { "line": 161, "column": 31 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 4465, "end": 5266, "loc": { "start": { "line": 161, "column": 33 }, "end": { "line": 191, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 4471, "end": 4518, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 162, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4477, "end": 4517, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 50 } }, "id": { "type": "Identifier", "start": 4477, "end": 4488, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 21 }, "identifierName": "cssDataName" }, "name": "cssDataName" }, "init": { "type": "StringLiteral", "start": 4491, "end": 4517, "loc": { "start": { "line": 162, "column": 24 }, "end": { "line": 162, "column": 50 } }, "extra": { "rawValue": "data-typed-js-cursor-css", "raw": "'data-typed-js-cursor-css'" }, "value": "data-typed-js-cursor-css" } } ], "kind": "const" }, { "type": "IfStatement", "start": 4524, "end": 4613, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 166, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 4528, "end": 4590, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 70 } }, "left": { "type": "UnaryExpression", "start": 4528, "end": 4544, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4529, "end": 4544, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 24 } }, "object": { "type": "Identifier", "start": 4529, "end": 4533, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 13 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 4534, "end": 4544, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 24 }, "identifierName": "showCursor" }, "name": "showCursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "CallExpression", "start": 4548, "end": 4590, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 4548, "end": 4570, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 50 } }, "object": { "type": "Identifier", "start": 4548, "end": 4556, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 4557, "end": 4570, "loc": { "start": { "line": 164, "column": 37 }, "end": { "line": 164, "column": 50 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 4571, "end": 4589, "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 69 } }, "expressions": [ { "type": "Identifier", "start": 4575, "end": 4586, "loc": { "start": { "line": 164, "column": 55 }, "end": { "line": 164, "column": 66 }, "identifierName": "cssDataName" }, "name": "cssDataName" } ], "quasis": [ { "type": "TemplateElement", "start": 4572, "end": 4573, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } }, "value": { "raw": "[", "cooked": "[" }, "tail": false }, { "type": "TemplateElement", "start": 4587, "end": 4588, "loc": { "start": { "line": 164, "column": 67 }, "end": { "line": 164, "column": 68 } }, "value": { "raw": "]", "cooked": "]" }, "tail": true } ] } ] } }, "consequent": { "type": "BlockStatement", "start": 4592, "end": 4613, "loc": { "start": { "line": 164, "column": 72 }, "end": { "line": 166, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4600, "end": 4607, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 13 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4619, "end": 4661, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4623, "end": 4660, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 45 } }, "id": { "type": "Identifier", "start": 4623, "end": 4626, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 11 }, "identifierName": "css" }, "name": "css" }, "init": { "type": "CallExpression", "start": 4629, "end": 4660, "loc": { "start": { "line": 168, "column": 14 }, "end": { "line": 168, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4629, "end": 4651, "loc": { "start": { "line": 168, "column": 14 }, "end": { "line": 168, "column": 36 } }, "object": { "type": "Identifier", "start": 4629, "end": 4637, "loc": { "start": { "line": 168, "column": 14 }, "end": { "line": 168, "column": 22 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 4638, "end": 4651, "loc": { "start": { "line": 168, "column": 23 }, "end": { "line": 168, "column": 36 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4652, "end": 4659, "loc": { "start": { "line": 168, "column": 37 }, "end": { "line": 168, "column": 44 } }, "extra": { "rawValue": "style", "raw": "'style'" }, "value": "style" } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 4666, "end": 4704, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 42 } }, "expression": { "type": "CallExpression", "start": 4666, "end": 4703, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4666, "end": 4682, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 20 } }, "object": { "type": "Identifier", "start": 4666, "end": 4669, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 7 }, "identifierName": "css" }, "name": "css" }, "property": { "type": "Identifier", "start": 4670, "end": 4682, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 20 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4683, "end": 4694, "loc": { "start": { "line": 169, "column": 21 }, "end": { "line": 169, "column": 32 }, "identifierName": "cssDataName" }, "name": "cssDataName" }, { "type": "StringLiteral", "start": 4696, "end": 4702, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 } }, "extra": { "rawValue": "true", "raw": "'true'" }, "value": "true" } ] } }, { "type": "ExpressionStatement", "start": 4710, "end": 5225, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 188, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 4710, "end": 5224, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 188, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4710, "end": 4723, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 17 } }, "object": { "type": "Identifier", "start": 4710, "end": 4713, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 7 }, "identifierName": "css" }, "name": "css" }, "property": { "type": "Identifier", "start": 4714, "end": 4723, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 17 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 4726, "end": 5224, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 188, "column": 7 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 4727, "end": 5223, "loc": { "start": { "line": 171, "column": 21 }, "end": { "line": 188, "column": 6 } }, "value": { "raw": "\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ", "cooked": "\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n " }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 5231, "end": 5262, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 35 } }, "expression": { "type": "CallExpression", "start": 5231, "end": 5261, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 5231, "end": 5256, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 29 } }, "object": { "type": "MemberExpression", "start": 5231, "end": 5244, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 17 } }, "object": { "type": "Identifier", "start": 5231, "end": 5239, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 5240, "end": 5244, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 17 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 5245, "end": 5256, "loc": { "start": { "line": 190, "column": 18 }, "end": { "line": 190, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5257, "end": 5260, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 33 }, "identifierName": "css" }, "name": "css" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 5270, "end": 5829, "loc": { "start": { "line": 193, "column": 2 }, "end": { "line": 215, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5270, "end": 5295, "loc": { "start": { "line": 193, "column": 2 }, "end": { "line": 193, "column": 27 }, "identifierName": "appendFadeOutAnimationCss" }, "name": "appendFadeOutAnimationCss" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5296, "end": 5300, "loc": { "start": { "line": 193, "column": 28 }, "end": { "line": 193, "column": 32 }, "identifierName": "self" }, "name": "self" } ], "body": { "type": "BlockStatement", "start": 5302, "end": 5829, "loc": { "start": { "line": 193, "column": 34 }, "end": { "line": 215, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 5308, "end": 5356, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 194, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5314, "end": 5355, "loc": { "start": { "line": 194, "column": 10 }, "end": { "line": 194, "column": 51 } }, "id": { "type": "Identifier", "start": 5314, "end": 5325, "loc": { "start": { "line": 194, "column": 10 }, "end": { "line": 194, "column": 21 }, "identifierName": "cssDataName" }, "name": "cssDataName" }, "init": { "type": "StringLiteral", "start": 5328, "end": 5355, "loc": { "start": { "line": 194, "column": 24 }, "end": { "line": 194, "column": 51 } }, "extra": { "rawValue": "data-typed-fadeout-js-css", "raw": "'data-typed-fadeout-js-css'" }, "value": "data-typed-fadeout-js-css" } } ], "kind": "const" }, { "type": "IfStatement", "start": 5362, "end": 5448, "loc": { "start": { "line": 196, "column": 4 }, "end": { "line": 198, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 5366, "end": 5425, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 67 } }, "left": { "type": "UnaryExpression", "start": 5366, "end": 5379, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5367, "end": 5379, "loc": { "start": { "line": 196, "column": 9 }, "end": { "line": 196, "column": 21 } }, "object": { "type": "Identifier", "start": 5367, "end": 5371, "loc": { "start": { "line": 196, "column": 9 }, "end": { "line": 196, "column": 13 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 5372, "end": 5379, "loc": { "start": { "line": 196, "column": 14 }, "end": { "line": 196, "column": 21 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "CallExpression", "start": 5383, "end": 5425, "loc": { "start": { "line": 196, "column": 25 }, "end": { "line": 196, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 5383, "end": 5405, "loc": { "start": { "line": 196, "column": 25 }, "end": { "line": 196, "column": 47 } }, "object": { "type": "Identifier", "start": 5383, "end": 5391, "loc": { "start": { "line": 196, "column": 25 }, "end": { "line": 196, "column": 33 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 5392, "end": 5405, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 47 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 5406, "end": 5424, "loc": { "start": { "line": 196, "column": 48 }, "end": { "line": 196, "column": 66 } }, "expressions": [ { "type": "Identifier", "start": 5410, "end": 5421, "loc": { "start": { "line": 196, "column": 52 }, "end": { "line": 196, "column": 63 }, "identifierName": "cssDataName" }, "name": "cssDataName" } ], "quasis": [ { "type": "TemplateElement", "start": 5407, "end": 5408, "loc": { "start": { "line": 196, "column": 49 }, "end": { "line": 196, "column": 50 } }, "value": { "raw": "[", "cooked": "[" }, "tail": false }, { "type": "TemplateElement", "start": 5422, "end": 5423, "loc": { "start": { "line": 196, "column": 64 }, "end": { "line": 196, "column": 65 } }, "value": { "raw": "]", "cooked": "]" }, "tail": true } ] } ] } }, "consequent": { "type": "BlockStatement", "start": 5427, "end": 5448, "loc": { "start": { "line": 196, "column": 69 }, "end": { "line": 198, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5435, "end": 5442, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 13 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 5454, "end": 5496, "loc": { "start": { "line": 200, "column": 4 }, "end": { "line": 200, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5458, "end": 5495, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 45 } }, "id": { "type": "Identifier", "start": 5458, "end": 5461, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 11 }, "identifierName": "css" }, "name": "css" }, "init": { "type": "CallExpression", "start": 5464, "end": 5495, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 5464, "end": 5486, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 36 } }, "object": { "type": "Identifier", "start": 5464, "end": 5472, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 22 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 5473, "end": 5486, "loc": { "start": { "line": 200, "column": 23 }, "end": { "line": 200, "column": 36 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5487, "end": 5494, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 44 } }, "extra": { "rawValue": "style", "raw": "'style'" }, "value": "style" } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 5501, "end": 5539, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 42 } }, "expression": { "type": "CallExpression", "start": 5501, "end": 5538, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 5501, "end": 5517, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 20 } }, "object": { "type": "Identifier", "start": 5501, "end": 5504, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 7 }, "identifierName": "css" }, "name": "css" }, "property": { "type": "Identifier", "start": 5505, "end": 5517, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 20 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5518, "end": 5529, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 32 }, "identifierName": "cssDataName" }, "name": "cssDataName" }, { "type": "StringLiteral", "start": 5531, "end": 5537, "loc": { "start": { "line": 201, "column": 34 }, "end": { "line": 201, "column": 40 } }, "extra": { "rawValue": "true", "raw": "'true'" }, "value": "true" } ] } }, { "type": "ExpressionStatement", "start": 5545, "end": 5788, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 212, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 5545, "end": 5787, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 212, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5545, "end": 5558, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 17 } }, "object": { "type": "Identifier", "start": 5545, "end": 5548, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 7 }, "identifierName": "css" }, "name": "css" }, "property": { "type": "Identifier", "start": 5549, "end": 5558, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 17 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 5561, "end": 5787, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 212, "column": 7 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 5562, "end": 5786, "loc": { "start": { "line": 203, "column": 21 }, "end": { "line": 212, "column": 6 } }, "value": { "raw": "\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ", "cooked": "\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n " }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 5794, "end": 5825, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 35 } }, "expression": { "type": "CallExpression", "start": 5794, "end": 5824, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 5794, "end": 5819, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 29 } }, "object": { "type": "MemberExpression", "start": 5794, "end": 5807, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 17 } }, "object": { "type": "Identifier", "start": 5794, "end": 5802, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 5803, "end": 5807, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 17 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 5808, "end": 5819, "loc": { "start": { "line": 214, "column": 18 }, "end": { "line": 214, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5820, "end": 5823, "loc": { "start": { "line": 214, "column": 30 }, "end": { "line": 214, "column": 33 }, "identifierName": "css" }, "name": "css" } ] } } ], "directives": [] } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Initialize the Typed object\n ", "start": 38, "end": 76, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 4, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Initialize the Typed object\n ", "start": 38, "end": 76, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 4, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 5833, "end": 5876, "loc": { "start": { "line": 218, "column": 0 }, "end": { "line": 218, "column": 43 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 5840, "end": 5876, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5844, "end": 5875, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 42 } }, "id": { "type": "Identifier", "start": 5844, "end": 5855, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 22 }, "identifierName": "initializer" }, "name": "initializer" }, "init": { "type": "NewExpression", "start": 5858, "end": 5875, "loc": { "start": { "line": 218, "column": 25 }, "end": { "line": 218, "column": 42 } }, "callee": { "type": "Identifier", "start": 5862, "end": 5873, "loc": { "start": { "line": 218, "column": 29 }, "end": { "line": 218, "column": 40 }, "identifierName": "Initializer" }, "name": "Initializer" }, "arguments": [] } } ], "kind": "let", "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Initialize the Typed object\n ", "start": 38, "end": 76, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 4, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Load up defaults & options on the Typed instance\n * @param {Typed} self instance of Typed\n * @param {object} options options object\n * @param {string} elementId HTML element ID _OR_ instance of HTML element\n * @private\n ", "start": 115, "end": 356, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 13, "column": 5 } } }, { "type": "CommentLine", "value": " chosen element to manipulate text", "start": 397, "end": 433, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 40 } } }, { "type": "CommentLine", "value": " attribute to type into", "start": 626, "end": 651, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 29 } } }, { "type": "CommentLine", "value": " show cursor", "start": 821, "end": 835, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } } }, { "type": "CommentLine", "value": " custom cursor", "start": 911, "end": 927, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 } } }, { "type": "CommentLine", "value": " Is the cursor blinking", "start": 980, "end": 1005, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 29 } } }, { "type": "CommentLine", "value": " text content of element", "start": 1043, "end": 1069, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 30 } } }, { "type": "CommentLine", "value": " html or plain text", "start": 1175, "end": 1196, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 25 } } }, { "type": "CommentLine", "value": " typing speed", "start": 1251, "end": 1266, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 19 } } }, { "type": "CommentLine", "value": " add a delay before typing starts", "start": 1317, "end": 1352, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 39 } } }, { "type": "CommentLine", "value": " backspacing speed", "start": 1405, "end": 1425, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 24 } } }, { "type": "CommentLine", "value": " only backspace what doesn't match the previous string", "start": 1476, "end": 1532, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 60 } } }, { "type": "CommentLine", "value": " amount of time to wait before backspacing", "start": 1593, "end": 1637, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 48 } } }, { "type": "CommentLine", "value": " Fade out instead of backspace", "start": 1688, "end": 1720, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 36 } } }, { "type": "CommentLine", "value": " variable to check whether typing is currently paused", "start": 1869, "end": 1924, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 59 } } }, { "type": "CommentLine", "value": " input strings of text", "start": 1957, "end": 1981, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 28 } } }, { "type": "CommentLine", "value": " div containing strings", "start": 2049, "end": 2074, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 29 } } }, { "type": "CommentLine", "value": " character number position of current string", "start": 2848, "end": 2894, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 50 } } }, { "type": "CommentLine", "value": " If there is some text in the element", "start": 2921, "end": 2960, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 43 } } }, { "type": "CommentLine", "value": " the order of strings", "start": 3207, "end": 3230, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 27 } } }, { "type": "CommentLine", "value": " Set the order in which the strings are typed", "start": 3260, "end": 3307, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 51 } } }, { "type": "CommentLine", "value": " current array position", "start": 3381, "end": 3406, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } } }, { "type": "CommentLine", "value": " index of string to stop backspacing on", "start": 3435, "end": 3476, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 45 } } }, { "type": "CommentLine", "value": " Looping logic", "start": 3504, "end": 3520, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 20 } } }, { "type": "CommentLine", "value": " shuffle the strings", "start": 3628, "end": 3650, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 26 } } }, { "type": "CommentLine", "value": " When the typing is complete (when not looped)", "start": 3809, "end": 3857, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 52 } } } ], "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": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaults", "start": 7, "end": 15, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 16, "end": 20, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./defaults.js", "start": 21, "end": 36, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36, "end": 37, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } } }, { "type": "CommentBlock", "value": "*\n * Initialize the Typed object\n ", "start": 38, "end": 76, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 4, "column": 3 } } }, { "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": 78, "end": 84, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "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": 85, "end": 92, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 14 } } }, { "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": 93, "end": 98, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Initializer", "start": 99, "end": 110, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 111, "end": 112, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 6, "column": 34 } } }, { "type": "CommentBlock", "value": "*\n * Load up defaults & options on the Typed instance\n * @param {Typed} self instance of Typed\n * @param {object} options options object\n * @param {string} elementId HTML element ID _OR_ instance of HTML element\n * @private\n ", "start": 115, "end": 356, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "load", "start": 360, "end": 364, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 364, "end": 365, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 365, "end": 369, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 11 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 369, "end": 370, "loc": { "start": { "line": 15, "column": 11 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 371, "end": 378, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 378, "end": 379, "loc": { "start": { "line": 15, "column": 20 }, "end": { "line": 15, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 380, "end": 389, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 389, "end": 390, "loc": { "start": { "line": 15, "column": 31 }, "end": { "line": 15, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 391, "end": 392, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 15, "column": 34 } } }, { "type": "CommentLine", "value": " chosen element to manipulate text", "start": 397, "end": 433, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 438, "end": 440, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 441, "end": 442, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 8 } } }, { "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": 442, "end": 448, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 449, "end": 458, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 459, "end": 462, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 463, "end": 471, "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 471, "end": 472, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 17, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 473, "end": 474, "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 17, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 481, "end": 485, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 485, "end": 486, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 486, "end": 488, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 489, "end": 490, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 491, "end": 499, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 499, "end": 500, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 500, "end": 513, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 513, "end": 514, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 514, "end": 523, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 523, "end": 524, "loc": { "start": { "line": 18, "column": 48 }, "end": { "line": 18, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 524, "end": 525, "loc": { "start": { "line": 18, "column": 49 }, "end": { "line": 18, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 530, "end": 531, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 5 } } }, { "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": 532, "end": 536, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 537, "end": 538, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 545, "end": 549, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 549, "end": 550, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 550, "end": 552, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 553, "end": 554, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 555, "end": 564, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 564, "end": 565, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 570, "end": 571, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 577, "end": 581, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 581, "end": 582, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 582, "end": 589, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 590, "end": 591, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 592, "end": 593, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 594, "end": 597, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaults", "start": 597, "end": 605, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 605, "end": 606, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 33 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 607, "end": 610, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 610, "end": 617, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 618, "end": 619, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 619, "end": 620, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 47 } } }, { "type": "CommentLine", "value": " attribute to type into", "start": 626, "end": 651, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 656, "end": 660, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 660, "end": 661, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 661, "end": 668, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 669, "end": 670, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 671, "end": 675, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 675, "end": 676, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 676, "end": 678, "loc": { "start": { "line": 26, "column": 24 }, "end": { "line": 26, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 678, "end": 679, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 679, "end": 686, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 686, "end": 687, "loc": { "start": { "line": 26, "column": 34 }, "end": { "line": 26, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 687, "end": 698, "loc": { "start": { "line": 26, "column": 35 }, "end": { "line": 26, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 698, "end": 699, "loc": { "start": { "line": 26, "column": 46 }, "end": { "line": 26, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 699, "end": 700, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 48 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 701, "end": 704, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "input", "start": 705, "end": 712, "loc": { "start": { "line": 26, "column": 53 }, "end": { "line": 26, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 712, "end": 713, "loc": { "start": { "line": 26, "column": 60 }, "end": { "line": 26, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 718, "end": 722, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 722, "end": 723, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 723, "end": 727, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 728, "end": 729, "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 730, "end": 734, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 734, "end": 735, "loc": { "start": { "line": 27, "column": 20 }, "end": { "line": 27, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 735, "end": 742, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 742, "end": 743, "loc": { "start": { "line": 27, "column": 28 }, "end": { "line": 27, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 743, "end": 747, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 27, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 747, "end": 748, "loc": { "start": { "line": 27, "column": 33 }, "end": { "line": 27, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 753, "end": 757, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 757, "end": 758, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindInputFocusEvents", "start": 758, "end": 778, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 779, "end": 780, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 781, "end": 785, "loc": { "start": { "line": 28, "column": 32 }, "end": { "line": 28, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 785, "end": 786, "loc": { "start": { "line": 28, "column": 36 }, "end": { "line": 28, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 786, "end": 793, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 793, "end": 794, "loc": { "start": { "line": 28, "column": 44 }, "end": { "line": 28, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindInputFocusEvents", "start": 794, "end": 814, "loc": { "start": { "line": 28, "column": 45 }, "end": { "line": 28, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 814, "end": 815, "loc": { "start": { "line": 28, "column": 65 }, "end": { "line": 28, "column": 66 } } }, { "type": "CommentLine", "value": " show cursor", "start": 821, "end": 835, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 840, "end": 844, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 844, "end": 845, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 845, "end": 855, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 856, "end": 857, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 858, "end": 862, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 862, "end": 863, "loc": { "start": { "line": 31, "column": 26 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 863, "end": 870, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 34 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 871, "end": 872, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 36 } } }, { "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": 873, "end": 878, "loc": { "start": { "line": 31, "column": 37 }, "end": { "line": 31, "column": 42 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 879, "end": 880, "loc": { "start": { "line": 31, "column": 43 }, "end": { "line": 31, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 881, "end": 885, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 885, "end": 886, "loc": { "start": { "line": 31, "column": 49 }, "end": { "line": 31, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 886, "end": 893, "loc": { "start": { "line": 31, "column": 50 }, "end": { "line": 31, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 893, "end": 894, "loc": { "start": { "line": 31, "column": 57 }, "end": { "line": 31, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 894, "end": 904, "loc": { "start": { "line": 31, "column": 58 }, "end": { "line": 31, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 904, "end": 905, "loc": { "start": { "line": 31, "column": 68 }, "end": { "line": 31, "column": 69 } } }, { "type": "CommentLine", "value": " custom cursor", "start": 911, "end": 927, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 932, "end": 936, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 936, "end": 937, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorChar", "start": 937, "end": 947, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 948, "end": 949, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 950, "end": 954, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 954, "end": 955, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 955, "end": 962, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 962, "end": 963, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorChar", "start": 963, "end": 973, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 973, "end": 974, "loc": { "start": { "line": 34, "column": 45 }, "end": { "line": 34, "column": 46 } } }, { "type": "CommentLine", "value": " Is the cursor blinking", "start": 980, "end": 1005, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1010, "end": 1014, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1014, "end": 1015, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorBlinking", "start": 1015, "end": 1029, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1030, "end": 1031, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 25 } } }, { "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": 1032, "end": 1036, "loc": { "start": { "line": 37, "column": 26 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1036, "end": 1037, "loc": { "start": { "line": 37, "column": 30 }, "end": { "line": 37, "column": 31 } } }, { "type": "CommentLine", "value": " text content of element", "start": 1043, "end": 1069, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1074, "end": 1078, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1078, "end": 1079, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 1079, "end": 1088, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1089, "end": 1090, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1091, "end": 1095, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1095, "end": 1096, "loc": { "start": { "line": 40, "column": 25 }, "end": { "line": 40, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 1096, "end": 1100, "loc": { "start": { "line": 40, "column": 26 }, "end": { "line": 40, "column": 30 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1107, "end": 1108, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1109, "end": 1113, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1113, "end": 1114, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 1114, "end": 1116, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAttribute", "start": 1117, "end": 1129, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1129, "end": 1130, "loc": { "start": { "line": 41, "column": 28 }, "end": { "line": 41, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1130, "end": 1134, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1134, "end": 1135, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 1135, "end": 1139, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1139, "end": 1140, "loc": { "start": { "line": 41, "column": 38 }, "end": { "line": 41, "column": 39 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1147, "end": 1148, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1149, "end": 1153, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1153, "end": 1154, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 1154, "end": 1156, "loc": { "start": { "line": 42, "column": 13 }, "end": { "line": 42, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1156, "end": 1157, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textContent", "start": 1157, "end": 1168, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1168, "end": 1169, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 28 } } }, { "type": "CommentLine", "value": " html or plain text", "start": 1175, "end": 1196, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1201, "end": 1205, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1205, "end": 1206, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 1206, "end": 1217, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1218, "end": 1219, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1220, "end": 1224, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1224, "end": 1225, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1225, "end": 1232, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1232, "end": 1233, "loc": { "start": { "line": 45, "column": 35 }, "end": { "line": 45, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 1233, "end": 1244, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": "CommentLine", "value": " typing speed", "start": 1251, "end": 1266, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1271, "end": 1275, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeSpeed", "start": 1276, "end": 1285, "loc": { "start": { "line": 48, "column": 9 }, "end": { "line": 48, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1286, "end": 1287, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1288, "end": 1292, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1292, "end": 1293, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1293, "end": 1300, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1300, "end": 1301, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeSpeed", "start": 1301, "end": 1310, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 44 } } }, { "type": "CommentLine", "value": " add a delay before typing starts", "start": 1317, "end": 1352, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1357, "end": 1361, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1361, "end": 1362, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 1362, "end": 1372, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1373, "end": 1374, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1375, "end": 1379, "loc": { "start": { "line": 51, "column": 22 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1379, "end": 1380, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1380, "end": 1387, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 51, "column": 34 }, "end": { "line": 51, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 1388, "end": 1398, "loc": { "start": { "line": 51, "column": 35 }, "end": { "line": 51, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1398, "end": 1399, "loc": { "start": { "line": 51, "column": 45 }, "end": { "line": 51, "column": 46 } } }, { "type": "CommentLine", "value": " backspacing speed", "start": 1405, "end": 1425, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1430, "end": 1434, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpeed", "start": 1435, "end": 1444, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1445, "end": 1446, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1447, "end": 1451, "loc": { "start": { "line": 54, "column": 21 }, "end": { "line": 54, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1451, "end": 1452, "loc": { "start": { "line": 54, "column": 25 }, "end": { "line": 54, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1452, "end": 1459, "loc": { "start": { "line": 54, "column": 26 }, "end": { "line": 54, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1459, "end": 1460, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpeed", "start": 1460, "end": 1469, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1469, "end": 1470, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 44 } } }, { "type": "CommentLine", "value": " only backspace what doesn't match the previous string", "start": 1476, "end": 1532, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1537, "end": 1541, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1541, "end": 1542, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smartBackspace", "start": 1542, "end": 1556, "loc": { "start": { "line": 57, "column": 9 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1557, "end": 1558, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1559, "end": 1563, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1563, "end": 1564, "loc": { "start": { "line": 57, "column": 30 }, "end": { "line": 57, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1564, "end": 1571, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1571, "end": 1572, "loc": { "start": { "line": 57, "column": 38 }, "end": { "line": 57, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smartBackspace", "start": 1572, "end": 1586, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 57, "column": 53 }, "end": { "line": 57, "column": 54 } } }, { "type": "CommentLine", "value": " amount of time to wait before backspacing", "start": 1593, "end": 1637, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1642, "end": 1646, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1646, "end": 1647, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backDelay", "start": 1647, "end": 1656, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1657, "end": 1658, "loc": { "start": { "line": 60, "column": 19 }, "end": { "line": 60, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1659, "end": 1663, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1663, "end": 1664, "loc": { "start": { "line": 60, "column": 25 }, "end": { "line": 60, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1664, "end": 1671, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1671, "end": 1672, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backDelay", "start": 1672, "end": 1681, "loc": { "start": { "line": 60, "column": 34 }, "end": { "line": 60, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1681, "end": 1682, "loc": { "start": { "line": 60, "column": 43 }, "end": { "line": 60, "column": 44 } } }, { "type": "CommentLine", "value": " Fade out instead of backspace", "start": 1688, "end": 1720, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1725, "end": 1729, "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": 1729, "end": 1730, "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": "fadeOut", "start": 1730, "end": 1737, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1738, "end": 1739, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1740, "end": 1744, "loc": { "start": { "line": 63, "column": 19 }, "end": { "line": 63, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1744, "end": 1745, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1745, "end": 1752, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1752, "end": 1753, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 1753, "end": 1760, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1760, "end": 1761, "loc": { "start": { "line": 63, "column": 39 }, "end": { "line": 63, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1766, "end": 1770, "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": 1770, "end": 1771, "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": "fadeOutClass", "start": 1771, "end": 1783, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1784, "end": 1785, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1786, "end": 1790, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1790, "end": 1791, "loc": { "start": { "line": 64, "column": 28 }, "end": { "line": 64, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1791, "end": 1798, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1798, "end": 1799, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 1799, "end": 1811, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1811, "end": 1812, "loc": { "start": { "line": 64, "column": 49 }, "end": { "line": 64, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1817, "end": 1821, "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": 1821, "end": 1822, "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": "fadeOutDelay", "start": 1822, "end": 1834, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1835, "end": 1836, "loc": { "start": { "line": 65, "column": 22 }, "end": { "line": 65, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1837, "end": 1841, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1841, "end": 1842, "loc": { "start": { "line": 65, "column": 28 }, "end": { "line": 65, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1842, "end": 1849, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1849, "end": 1850, "loc": { "start": { "line": 65, "column": 36 }, "end": { "line": 65, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutDelay", "start": 1850, "end": 1862, "loc": { "start": { "line": 65, "column": 37 }, "end": { "line": 65, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1862, "end": 1863, "loc": { "start": { "line": 65, "column": 49 }, "end": { "line": 65, "column": 50 } } }, { "type": "CommentLine", "value": " variable to check whether typing is currently paused", "start": 1869, "end": 1924, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1929, "end": 1933, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1933, "end": 1934, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isPaused", "start": 1934, "end": 1942, "loc": { "start": { "line": 68, "column": 9 }, "end": { "line": 68, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1943, "end": 1944, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 19 } } }, { "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": 1945, "end": 1950, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1950, "end": 1951, "loc": { "start": { "line": 68, "column": 25 }, "end": { "line": 68, "column": 26 } } }, { "type": "CommentLine", "value": " input strings of text", "start": 1957, "end": 1981, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 1986, "end": 1990, "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": 1990, "end": 1991, "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": "strings", "start": 1991, "end": 1998, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1999, "end": 2000, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2001, "end": 2005, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2005, "end": 2006, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 2006, "end": 2013, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2013, "end": 2014, "loc": { "start": { "line": 71, "column": 31 }, "end": { "line": 71, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2014, "end": 2021, "loc": { "start": { "line": 71, "column": 32 }, "end": { "line": 71, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2021, "end": 2022, "loc": { "start": { "line": 71, "column": 39 }, "end": { "line": 71, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 2022, "end": 2025, "loc": { "start": { "line": 71, "column": 40 }, "end": { "line": 71, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2025, "end": 2026, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2026, "end": 2027, "loc": { "start": { "line": 71, "column": 44 }, "end": { "line": 71, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "s", "start": 2027, "end": 2028, "loc": { "start": { "line": 71, "column": 45 }, "end": { "line": 71, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2028, "end": 2029, "loc": { "start": { "line": 71, "column": 46 }, "end": { "line": 71, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2030, "end": 2032, "loc": { "start": { "line": 71, "column": 48 }, "end": { "line": 71, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "s", "start": 2033, "end": 2034, "loc": { "start": { "line": 71, "column": 51 }, "end": { "line": 71, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2034, "end": 2035, "loc": { "start": { "line": 71, "column": 52 }, "end": { "line": 71, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trim", "start": 2035, "end": 2039, "loc": { "start": { "line": 71, "column": 53 }, "end": { "line": 71, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2039, "end": 2040, "loc": { "start": { "line": 71, "column": 57 }, "end": { "line": 71, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2040, "end": 2041, "loc": { "start": { "line": 71, "column": 58 }, "end": { "line": 71, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2041, "end": 2042, "loc": { "start": { "line": 71, "column": 59 }, "end": { "line": 71, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2042, "end": 2043, "loc": { "start": { "line": 71, "column": 60 }, "end": { "line": 71, "column": 61 } } }, { "type": "CommentLine", "value": " div containing strings", "start": 2049, "end": 2074, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "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": 2079, "end": 2081, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2082, "end": 2083, "loc": { "start": { "line": 74, "column": 7 }, "end": { "line": 74, "column": 8 } } }, { "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": 2083, "end": 2089, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2090, "end": 2094, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2094, "end": 2095, "loc": { "start": { "line": 74, "column": 19 }, "end": { "line": 74, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 2095, "end": 2102, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2102, "end": 2103, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2103, "end": 2117, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2118, "end": 2121, "loc": { "start": { "line": 74, "column": 43 }, "end": { "line": 74, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 2122, "end": 2130, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2130, "end": 2131, "loc": { "start": { "line": 74, "column": 55 }, "end": { "line": 74, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2132, "end": 2133, "loc": { "start": { "line": 74, "column": 57 }, "end": { "line": 74, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2140, "end": 2144, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2144, "end": 2145, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2145, "end": 2159, "loc": { "start": { "line": 75, "column": 11 }, "end": { "line": 75, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2160, "end": 2161, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2162, "end": 2170, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2170, "end": 2171, "loc": { "start": { "line": 75, "column": 36 }, "end": { "line": 75, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 2171, "end": 2184, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2184, "end": 2185, "loc": { "start": { "line": 75, "column": 50 }, "end": { "line": 75, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2185, "end": 2189, "loc": { "start": { "line": 75, "column": 51 }, "end": { "line": 75, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2189, "end": 2190, "loc": { "start": { "line": 75, "column": 55 }, "end": { "line": 75, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 2190, "end": 2197, "loc": { "start": { "line": 75, "column": 56 }, "end": { "line": 75, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2197, "end": 2198, "loc": { "start": { "line": 75, "column": 63 }, "end": { "line": 75, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2198, "end": 2212, "loc": { "start": { "line": 75, "column": 64 }, "end": { "line": 75, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2212, "end": 2213, "loc": { "start": { "line": 75, "column": 78 }, "end": { "line": 75, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2213, "end": 2214, "loc": { "start": { "line": 75, "column": 79 }, "end": { "line": 75, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2219, "end": 2220, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 5 } } }, { "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": 2221, "end": 2225, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2226, "end": 2227, "loc": { "start": { "line": 76, "column": 11 }, "end": { "line": 76, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2234, "end": 2238, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2238, "end": 2239, "loc": { "start": { "line": 77, "column": 10 }, "end": { "line": 77, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2239, "end": 2253, "loc": { "start": { "line": 77, "column": 11 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2254, "end": 2255, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2256, "end": 2260, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2260, "end": 2261, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 2261, "end": 2268, "loc": { "start": { "line": 77, "column": 33 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2268, "end": 2269, "loc": { "start": { "line": 77, "column": 40 }, "end": { "line": 77, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2269, "end": 2283, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2283, "end": 2284, "loc": { "start": { "line": 77, "column": 55 }, "end": { "line": 77, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2289, "end": 2290, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "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": 2296, "end": 2298, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2299, "end": 2300, "loc": { "start": { "line": 80, "column": 7 }, "end": { "line": 80, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2300, "end": 2304, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2304, "end": 2305, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2305, "end": 2319, "loc": { "start": { "line": 80, "column": 13 }, "end": { "line": 80, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2319, "end": 2320, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2321, "end": 2322, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2329, "end": 2333, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2333, "end": 2334, "loc": { "start": { "line": 81, "column": 10 }, "end": { "line": 81, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2334, "end": 2341, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2342, "end": 2343, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2344, "end": 2345, "loc": { "start": { "line": 81, "column": 21 }, "end": { "line": 81, "column": 22 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2345, "end": 2346, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2346, "end": 2347, "loc": { "start": { "line": 81, "column": 23 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2354, "end": 2358, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2358, "end": 2359, "loc": { "start": { "line": 82, "column": 10 }, "end": { "line": 82, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2359, "end": 2373, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2373, "end": 2374, "loc": { "start": { "line": 82, "column": 25 }, "end": { "line": 82, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "style", "start": 2374, "end": 2379, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2379, "end": 2380, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssText", "start": 2380, "end": 2387, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2388, "end": 2389, "loc": { "start": { "line": 82, "column": 40 }, "end": { "line": 82, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;", "start": 2398, "end": 2515, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 125 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2515, "end": 2516, "loc": { "start": { "line": 83, "column": 125 }, "end": { "line": 83, "column": 126 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2524, "end": 2529, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2530, "end": 2537, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2538, "end": 2539, "loc": { "start": { "line": 85, "column": 20 }, "end": { "line": 85, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 2540, "end": 2545, "loc": { "start": { "line": 85, "column": 22 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2545, "end": 2546, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 2546, "end": 2555, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2555, "end": 2556, "loc": { "start": { "line": 85, "column": 37 }, "end": { "line": 85, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 2556, "end": 2561, "loc": { "start": { "line": 85, "column": 38 }, "end": { "line": 85, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2561, "end": 2562, "loc": { "start": { "line": 85, "column": 43 }, "end": { "line": 85, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "apply", "start": 2562, "end": 2567, "loc": { "start": { "line": 85, "column": 44 }, "end": { "line": 85, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 85, "column": 49 }, "end": { "line": 85, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2568, "end": 2572, "loc": { "start": { "line": 85, "column": 50 }, "end": { "line": 85, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2572, "end": 2573, "loc": { "start": { "line": 85, "column": 54 }, "end": { "line": 85, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsElement", "start": 2573, "end": 2587, "loc": { "start": { "line": 85, "column": 55 }, "end": { "line": 85, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2587, "end": 2588, "loc": { "start": { "line": 85, "column": 69 }, "end": { "line": 85, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "children", "start": 2588, "end": 2596, "loc": { "start": { "line": 85, "column": 70 }, "end": { "line": 85, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2596, "end": 2597, "loc": { "start": { "line": 85, "column": 78 }, "end": { "line": 85, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2597, "end": 2598, "loc": { "start": { "line": 85, "column": 79 }, "end": { "line": 85, "column": 80 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2605, "end": 2610, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsLength", "start": 2611, "end": 2624, "loc": { "start": { "line": 86, "column": 12 }, "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": 2625, "end": 2626, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2627, "end": 2634, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2634, "end": 2635, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2635, "end": 2641, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2641, "end": 2642, "loc": { "start": { "line": 86, "column": 42 }, "end": { "line": 86, "column": 43 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2650, "end": 2652, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2653, "end": 2654, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsLength", "start": 2654, "end": 2667, "loc": { "start": { "line": 88, "column": 10 }, "end": { "line": 88, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2667, "end": 2668, "loc": { "start": { "line": 88, "column": 23 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2669, "end": 2670, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2679, "end": 2682, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2683, "end": 2684, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 13 } } }, { "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": 2684, "end": 2687, "loc": { "start": { "line": 89, "column": 13 }, "end": { "line": 89, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2688, "end": 2689, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2690, "end": 2691, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2692, "end": 2693, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2693, "end": 2694, "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": "i", "start": 2695, "end": 2696, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2697, "end": 2698, "loc": { "start": { "line": 89, "column": 26 }, "end": { "line": 89, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringsLength", "start": 2699, "end": 2712, "loc": { "start": { "line": 89, "column": 28 }, "end": { "line": 89, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2712, "end": 2713, "loc": { "start": { "line": 89, "column": 41 }, "end": { "line": 89, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2714, "end": 2715, "loc": { "start": { "line": 89, "column": 43 }, "end": { "line": 89, "column": 44 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 2716, "end": 2718, "loc": { "start": { "line": 89, "column": 45 }, "end": { "line": 89, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2719, "end": 2720, "loc": { "start": { "line": 89, "column": 48 }, "end": { "line": 89, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2720, "end": 2721, "loc": { "start": { "line": 89, "column": 49 }, "end": { "line": 89, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2722, "end": 2723, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 89, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2734, "end": 2739, "loc": { "start": { "line": 90, "column": 10 }, "end": { "line": 90, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringEl", "start": 2740, "end": 2748, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2749, "end": 2750, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2751, "end": 2758, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2758, "end": 2759, "loc": { "start": { "line": 90, "column": 34 }, "end": { "line": 90, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2759, "end": 2760, "loc": { "start": { "line": 90, "column": 35 }, "end": { "line": 90, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2760, "end": 2761, "loc": { "start": { "line": 90, "column": 36 }, "end": { "line": 90, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2761, "end": 2762, "loc": { "start": { "line": 90, "column": 37 }, "end": { "line": 90, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2773, "end": 2777, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2777, "end": 2778, "loc": { "start": { "line": 91, "column": 14 }, "end": { "line": 91, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2778, "end": 2785, "loc": { "start": { "line": 91, "column": 15 }, "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": 2785, "end": 2786, "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": "push", "start": 2786, "end": 2790, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2790, "end": 2791, "loc": { "start": { "line": 91, "column": 27 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringEl", "start": 2791, "end": 2799, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2799, "end": 2800, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 2800, "end": 2809, "loc": { "start": { "line": 91, "column": 37 }, "end": { "line": 91, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2809, "end": 2810, "loc": { "start": { "line": 91, "column": 46 }, "end": { "line": 91, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trim", "start": 2810, "end": 2814, "loc": { "start": { "line": 91, "column": 47 }, "end": { "line": 91, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 91, "column": 51 }, "end": { "line": 91, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2815, "end": 2816, "loc": { "start": { "line": 91, "column": 52 }, "end": { "line": 91, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2816, "end": 2817, "loc": { "start": { "line": 91, "column": 53 }, "end": { "line": 91, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2817, "end": 2818, "loc": { "start": { "line": 91, "column": 54 }, "end": { "line": 91, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2827, "end": 2828, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2835, "end": 2836, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2841, "end": 2842, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 5 } } }, { "type": "CommentLine", "value": " character number position of current string", "start": 2848, "end": 2894, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2899, "end": 2903, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2903, "end": 2904, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 2904, "end": 2910, "loc": { "start": { "line": 97, "column": 9 }, "end": { "line": 97, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2911, "end": 2912, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2913, "end": 2914, "loc": { "start": { "line": 97, "column": 18 }, "end": { "line": 97, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2914, "end": 2915, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 20 } } }, { "type": "CommentLine", "value": " If there is some text in the element", "start": 2921, "end": 2960, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 2965, "end": 2969, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2969, "end": 2970, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 2970, "end": 2986, "loc": { "start": { "line": 100, "column": 9 }, "end": { "line": 100, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2987, "end": 2988, "loc": { "start": { "line": 100, "column": 26 }, "end": { "line": 100, "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": 2989, "end": 2993, "loc": { "start": { "line": 100, "column": 28 }, "end": { "line": 100, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2993, "end": 2994, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentElContent", "start": 2994, "end": 3013, "loc": { "start": { "line": 100, "column": 33 }, "end": { "line": 100, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3013, "end": 3014, "loc": { "start": { "line": 100, "column": 52 }, "end": { "line": 100, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3014, "end": 3018, "loc": { "start": { "line": 100, "column": 53 }, "end": { "line": 100, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3018, "end": 3019, "loc": { "start": { "line": 100, "column": 57 }, "end": { "line": 100, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3019, "end": 3020, "loc": { "start": { "line": 100, "column": 58 }, "end": { "line": 100, "column": 59 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3026, "end": 3028, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3029, "end": 3030, "loc": { "start": { "line": 102, "column": 7 }, "end": { "line": 102, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3030, "end": 3034, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3034, "end": 3035, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3035, "end": 3051, "loc": { "start": { "line": 102, "column": 13 }, "end": { "line": 102, "column": 29 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3052, "end": 3054, "loc": { "start": { "line": 102, "column": 30 }, "end": { "line": 102, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3055, "end": 3059, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3059, "end": 3060, "loc": { "start": { "line": 102, "column": 37 }, "end": { "line": 102, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3060, "end": 3076, "loc": { "start": { "line": 102, "column": 38 }, "end": { "line": 102, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3076, "end": 3077, "loc": { "start": { "line": 102, "column": 54 }, "end": { "line": 102, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3077, "end": 3083, "loc": { "start": { "line": 102, "column": 55 }, "end": { "line": 102, "column": 61 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3084, "end": 3085, "loc": { "start": { "line": 102, "column": 62 }, "end": { "line": 102, "column": 63 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3086, "end": 3087, "loc": { "start": { "line": 102, "column": 64 }, "end": { "line": 102, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3087, "end": 3088, "loc": { "start": { "line": 102, "column": 65 }, "end": { "line": 102, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3089, "end": 3090, "loc": { "start": { "line": 102, "column": 67 }, "end": { "line": 102, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3097, "end": 3101, "loc": { "start": { "line": 103, "column": 6 }, "end": { "line": 103, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3101, "end": 3102, "loc": { "start": { "line": 103, "column": 10 }, "end": { "line": 103, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 3102, "end": 3108, "loc": { "start": { "line": 103, "column": 11 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3109, "end": 3110, "loc": { "start": { "line": 103, "column": 18 }, "end": { "line": 103, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3111, "end": 3115, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3115, "end": 3116, "loc": { "start": { "line": 103, "column": 24 }, "end": { "line": 103, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3116, "end": 3132, "loc": { "start": { "line": 103, "column": 25 }, "end": { "line": 103, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3132, "end": 3133, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 103, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3133, "end": 3139, "loc": { "start": { "line": 103, "column": 42 }, "end": { "line": 103, "column": 48 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 3140, "end": 3141, "loc": { "start": { "line": 103, "column": 49 }, "end": { "line": 103, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3142, "end": 3143, "loc": { "start": { "line": 103, "column": 51 }, "end": { "line": 103, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3143, "end": 3144, "loc": { "start": { "line": 103, "column": 52 }, "end": { "line": 103, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3151, "end": 3155, "loc": { "start": { "line": 104, "column": 6 }, "end": { "line": 104, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3155, "end": 3156, "loc": { "start": { "line": 104, "column": 10 }, "end": { "line": 104, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 3156, "end": 3163, "loc": { "start": { "line": 104, "column": 11 }, "end": { "line": 104, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3163, "end": 3164, "loc": { "start": { "line": 104, "column": 18 }, "end": { "line": 104, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unshift", "start": 3164, "end": 3171, "loc": { "start": { "line": 104, "column": 19 }, "end": { "line": 104, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3171, "end": 3172, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3172, "end": 3176, "loc": { "start": { "line": 104, "column": 27 }, "end": { "line": 104, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3176, "end": 3177, "loc": { "start": { "line": 104, "column": 31 }, "end": { "line": 104, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3177, "end": 3193, "loc": { "start": { "line": 104, "column": 32 }, "end": { "line": 104, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3193, "end": 3194, "loc": { "start": { "line": 104, "column": 48 }, "end": { "line": 104, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3194, "end": 3195, "loc": { "start": { "line": 104, "column": 49 }, "end": { "line": 104, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3200, "end": 3201, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 5 } } }, { "type": "CommentLine", "value": " the order of strings", "start": 3207, "end": 3230, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3235, "end": 3239, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3239, "end": 3240, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 3240, "end": 3248, "loc": { "start": { "line": 108, "column": 9 }, "end": { "line": 108, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3249, "end": 3250, "loc": { "start": { "line": 108, "column": 18 }, "end": { "line": 108, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3251, "end": 3252, "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3252, "end": 3253, "loc": { "start": { "line": 108, "column": 21 }, "end": { "line": 108, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3253, "end": 3254, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 23 } } }, { "type": "CommentLine", "value": " Set the order in which the strings are typed", "start": 3260, "end": 3307, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 51 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3312, "end": 3315, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3316, "end": 3317, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 9 } } }, { "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": 3317, "end": 3320, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3321, "end": 3322, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 14 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 3323, "end": 3325, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3326, "end": 3330, "loc": { "start": { "line": 111, "column": 18 }, "end": { "line": 111, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3330, "end": 3331, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 3331, "end": 3338, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3338, "end": 3339, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3340, "end": 3341, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3348, "end": 3352, "loc": { "start": { "line": 112, "column": 6 }, "end": { "line": 112, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3352, "end": 3353, "loc": { "start": { "line": 112, "column": 10 }, "end": { "line": 112, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 3353, "end": 3361, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3361, "end": 3362, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3362, "end": 3363, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3363, "end": 3364, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3365, "end": 3366, "loc": { "start": { "line": 112, "column": 23 }, "end": { "line": 112, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3367, "end": 3368, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3368, "end": 3369, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3374, "end": 3375, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 5 } } }, { "type": "CommentLine", "value": " current array position", "start": 3381, "end": 3406, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3411, "end": 3415, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3415, "end": 3416, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 3416, "end": 3424, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3425, "end": 3426, "loc": { "start": { "line": 116, "column": 18 }, "end": { "line": 116, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3427, "end": 3428, "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3428, "end": 3429, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 22 } } }, { "type": "CommentLine", "value": " index of string to stop backspacing on", "start": 3435, "end": 3476, "loc": { "start": { "line": 118, "column": 4 }, "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": "self", "start": 3481, "end": 3485, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3485, "end": 3486, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 3486, "end": 3493, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3494, "end": 3495, "loc": { "start": { "line": 119, "column": 17 }, "end": { "line": 119, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3496, "end": 3497, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3497, "end": 3498, "loc": { "start": { "line": 119, "column": 20 }, "end": { "line": 119, "column": 21 } } }, { "type": "CommentLine", "value": " Looping logic", "start": 3504, "end": 3520, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3525, "end": 3529, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3529, "end": 3530, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 3530, "end": 3534, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3535, "end": 3536, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3537, "end": 3541, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3541, "end": 3542, "loc": { "start": { "line": 122, "column": 20 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3542, "end": 3549, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3549, "end": 3550, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 3550, "end": 3554, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3554, "end": 3555, "loc": { "start": { "line": 122, "column": 33 }, "end": { "line": 122, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3560, "end": 3564, "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": 3564, "end": 3565, "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": "loopCount", "start": 3565, "end": 3574, "loc": { "start": { "line": 123, "column": 9 }, "end": { "line": 123, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3575, "end": 3576, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3577, "end": 3581, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3581, "end": 3582, "loc": { "start": { "line": 123, "column": 25 }, "end": { "line": 123, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3582, "end": 3589, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3589, "end": 3590, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loopCount", "start": 3590, "end": 3599, "loc": { "start": { "line": 123, "column": 34 }, "end": { "line": 123, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3599, "end": 3600, "loc": { "start": { "line": 123, "column": 43 }, "end": { "line": 123, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3605, "end": 3609, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3609, "end": 3610, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curLoop", "start": 3610, "end": 3617, "loc": { "start": { "line": 124, "column": 9 }, "end": { "line": 124, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3618, "end": 3619, "loc": { "start": { "line": 124, "column": 17 }, "end": { "line": 124, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3620, "end": 3621, "loc": { "start": { "line": 124, "column": 19 }, "end": { "line": 124, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3621, "end": 3622, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 21 } } }, { "type": "CommentLine", "value": " shuffle the strings", "start": 3628, "end": 3650, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3655, "end": 3659, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3659, "end": 3660, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffle", "start": 3660, "end": 3667, "loc": { "start": { "line": 127, "column": 9 }, "end": { "line": 127, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3668, "end": 3669, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3670, "end": 3674, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3674, "end": 3675, "loc": { "start": { "line": 127, "column": 23 }, "end": { "line": 127, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3675, "end": 3682, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3682, "end": 3683, "loc": { "start": { "line": 127, "column": 31 }, "end": { "line": 127, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffle", "start": 3683, "end": 3690, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3690, "end": 3691, "loc": { "start": { "line": 127, "column": 39 }, "end": { "line": 127, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3697, "end": 3701, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3701, "end": 3702, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 3702, "end": 3707, "loc": { "start": { "line": 129, "column": 9 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3708, "end": 3709, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3710, "end": 3711, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 3718, "end": 3724, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3724, "end": 3725, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 13 } } }, { "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": 3726, "end": 3731, "loc": { "start": { "line": 130, "column": 14 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3731, "end": 3732, "loc": { "start": { "line": 130, "column": 19 }, "end": { "line": 130, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 3739, "end": 3748, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3748, "end": 3749, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 16 } } }, { "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": 3750, "end": 3754, "loc": { "start": { "line": 131, "column": 17 }, "end": { "line": 131, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3754, "end": 3755, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3762, "end": 3771, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3771, "end": 3772, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 3773, "end": 3775, "loc": { "start": { "line": 132, "column": 17 }, "end": { "line": 132, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3775, "end": 3776, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3783, "end": 3792, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3792, "end": 3793, "loc": { "start": { "line": 133, "column": 15 }, "end": { "line": 133, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3794, "end": 3795, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3795, "end": 3796, "loc": { "start": { "line": 133, "column": 18 }, "end": { "line": 133, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3801, "end": 3802, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3802, "end": 3803, "loc": { "start": { "line": 134, "column": 5 }, "end": { "line": 134, "column": 6 } } }, { "type": "CommentLine", "value": " When the typing is complete (when not looped)", "start": 3809, "end": 3857, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3862, "end": 3866, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3866, "end": 3867, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 3867, "end": 3881, "loc": { "start": { "line": 137, "column": 9 }, "end": { "line": 137, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3882, "end": 3883, "loc": { "start": { "line": 137, "column": 24 }, "end": { "line": 137, "column": 25 } } }, { "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": 3884, "end": 3889, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3889, "end": 3890, "loc": { "start": { "line": 137, "column": 31 }, "end": { "line": 137, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3896, "end": 3900, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3900, "end": 3901, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "autoInsertCss", "start": 3901, "end": 3914, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3915, "end": 3916, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3917, "end": 3921, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3921, "end": 3922, "loc": { "start": { "line": 139, "column": 29 }, "end": { "line": 139, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3922, "end": 3929, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3929, "end": 3930, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "autoInsertCss", "start": 3930, "end": 3943, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3943, "end": 3944, "loc": { "start": { "line": 139, "column": 51 }, "end": { "line": 139, "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": 3950, "end": 3952, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 3954, "end": 3958, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3958, "end": 3959, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "autoInsertCss", "start": 3959, "end": 3972, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3972, "end": 3973, "loc": { "start": { "line": 141, "column": 26 }, "end": { "line": 141, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3974, "end": 3975, "loc": { "start": { "line": 141, "column": 28 }, "end": { "line": 141, "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": 3982, "end": 3986, "loc": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3986, "end": 3987, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendCursorAnimationCss", "start": 3987, "end": 4011, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4011, "end": 4012, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4012, "end": 4016, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4016, "end": 4017, "loc": { "start": { "line": 142, "column": 40 }, "end": { "line": 142, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4017, "end": 4018, "loc": { "start": { "line": 142, "column": 41 }, "end": { "line": 142, "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": 4025, "end": 4029, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 143, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4029, "end": 4030, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendFadeOutAnimationCss", "start": 4030, "end": 4055, "loc": { "start": { "line": 143, "column": 11 }, "end": { "line": 143, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4055, "end": 4056, "loc": { "start": { "line": 143, "column": 36 }, "end": { "line": 143, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4056, "end": 4060, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4060, "end": 4061, "loc": { "start": { "line": 143, "column": 41 }, "end": { "line": 143, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4061, "end": 4062, "loc": { "start": { "line": 143, "column": 42 }, "end": { "line": 143, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4067, "end": 4068, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4071, "end": 4072, "loc": { "start": { "line": 145, "column": 2 }, "end": { "line": 145, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentElContent", "start": 4076, "end": 4095, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 147, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4095, "end": 4096, "loc": { "start": { "line": 147, "column": 21 }, "end": { "line": 147, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4096, "end": 4100, "loc": { "start": { "line": 147, "column": 22 }, "end": { "line": 147, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4100, "end": 4101, "loc": { "start": { "line": 147, "column": 26 }, "end": { "line": 147, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4102, "end": 4103, "loc": { "start": { "line": 147, "column": 28 }, "end": { "line": 147, "column": 29 } } }, { "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": 4108, "end": 4111, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4112, "end": 4121, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4122, "end": 4123, "loc": { "start": { "line": 148, "column": 18 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 4124, "end": 4126, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4126, "end": 4127, "loc": { "start": { "line": 148, "column": 22 }, "end": { "line": 148, "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": 4132, "end": 4134, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4135, "end": 4136, "loc": { "start": { "line": 149, "column": 7 }, "end": { "line": 149, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4136, "end": 4140, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4140, "end": 4141, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 4141, "end": 4145, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4145, "end": 4146, "loc": { "start": { "line": 149, "column": 17 }, "end": { "line": 149, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4147, "end": 4148, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4155, "end": 4164, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4165, "end": 4166, "loc": { "start": { "line": 150, "column": 16 }, "end": { "line": 150, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4167, "end": 4171, "loc": { "start": { "line": 150, "column": 18 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4171, "end": 4172, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 4172, "end": 4174, "loc": { "start": { "line": 150, "column": 23 }, "end": { "line": 150, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4174, "end": 4175, "loc": { "start": { "line": 150, "column": 25 }, "end": { "line": 150, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAttribute", "start": 4175, "end": 4187, "loc": { "start": { "line": 150, "column": 26 }, "end": { "line": 150, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4187, "end": 4188, "loc": { "start": { "line": 150, "column": 38 }, "end": { "line": 150, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4188, "end": 4192, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4192, "end": 4193, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 4193, "end": 4197, "loc": { "start": { "line": 150, "column": 44 }, "end": { "line": 150, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4197, "end": 4198, "loc": { "start": { "line": 150, "column": 48 }, "end": { "line": 150, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4198, "end": 4199, "loc": { "start": { "line": 150, "column": 49 }, "end": { "line": 150, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4204, "end": 4205, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 5 } } }, { "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": 4206, "end": 4210, "loc": { "start": { "line": 151, "column": 6 }, "end": { "line": 151, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4211, "end": 4213, "loc": { "start": { "line": 151, "column": 11 }, "end": { "line": 151, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4214, "end": 4215, "loc": { "start": { "line": 151, "column": 14 }, "end": { "line": 151, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4215, "end": 4219, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4219, "end": 4220, "loc": { "start": { "line": 151, "column": 19 }, "end": { "line": 151, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 4220, "end": 4227, "loc": { "start": { "line": 151, "column": 20 }, "end": { "line": 151, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4227, "end": 4228, "loc": { "start": { "line": 151, "column": 27 }, "end": { "line": 151, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4229, "end": 4230, "loc": { "start": { "line": 151, "column": 29 }, "end": { "line": 151, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4237, "end": 4246, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4247, "end": 4248, "loc": { "start": { "line": 152, "column": 16 }, "end": { "line": 152, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4249, "end": 4253, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4253, "end": 4254, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 4254, "end": 4256, "loc": { "start": { "line": 152, "column": 23 }, "end": { "line": 152, "column": 25 } } }, { "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": 152, "column": 25 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4257, "end": 4262, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4262, "end": 4263, "loc": { "start": { "line": 152, "column": 31 }, "end": { "line": 152, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4268, "end": 4269, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 5 } } }, { "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": 4270, "end": 4274, "loc": { "start": { "line": 153, "column": 6 }, "end": { "line": 153, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4275, "end": 4277, "loc": { "start": { "line": 153, "column": 11 }, "end": { "line": 153, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4278, "end": 4279, "loc": { "start": { "line": 153, "column": 14 }, "end": { "line": 153, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4279, "end": 4283, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4283, "end": 4284, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 4284, "end": 4295, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 31 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4296, "end": 4299, "loc": { "start": { "line": 153, "column": 32 }, "end": { "line": 153, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 4300, "end": 4306, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4306, "end": 4307, "loc": { "start": { "line": 153, "column": 42 }, "end": { "line": 153, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4308, "end": 4309, "loc": { "start": { "line": 153, "column": 44 }, "end": { "line": 153, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4316, "end": 4325, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4326, "end": 4327, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4328, "end": 4332, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4332, "end": 4333, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 4333, "end": 4335, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4335, "end": 4336, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 154, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 4336, "end": 4345, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4345, "end": 4346, "loc": { "start": { "line": 154, "column": 35 }, "end": { "line": 154, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4351, "end": 4352, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 155, "column": 5 } } }, { "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": 4353, "end": 4357, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4358, "end": 4359, "loc": { "start": { "line": 155, "column": 11 }, "end": { "line": 155, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4366, "end": 4375, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4376, "end": 4377, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4378, "end": 4382, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4382, "end": 4383, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 4383, "end": 4385, "loc": { "start": { "line": 156, "column": 23 }, "end": { "line": 156, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4385, "end": 4386, "loc": { "start": { "line": 156, "column": 25 }, "end": { "line": 156, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textContent", "start": 4386, "end": 4397, "loc": { "start": { "line": 156, "column": 26 }, "end": { "line": 156, "column": 37 } } }, { "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": 156, "column": 37 }, "end": { "line": 156, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4403, "end": 4404, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "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": 4409, "end": 4415, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elContent", "start": 4416, "end": 4425, "loc": { "start": { "line": 158, "column": 11 }, "end": { "line": 158, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4425, "end": 4426, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4429, "end": 4430, "loc": { "start": { "line": 159, "column": 2 }, "end": { "line": 159, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendCursorAnimationCss", "start": 4434, "end": 4458, "loc": { "start": { "line": 161, "column": 2 }, "end": { "line": 161, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4458, "end": 4459, "loc": { "start": { "line": 161, "column": 26 }, "end": { "line": 161, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4459, "end": 4463, "loc": { "start": { "line": 161, "column": 27 }, "end": { "line": 161, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4463, "end": 4464, "loc": { "start": { "line": 161, "column": 31 }, "end": { "line": 161, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4465, "end": 4466, "loc": { "start": { "line": 161, "column": 33 }, "end": { "line": 161, "column": 34 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4471, "end": 4476, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 162, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 4477, "end": 4488, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4489, "end": 4490, "loc": { "start": { "line": 162, "column": 22 }, "end": { "line": 162, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-typed-js-cursor-css", "start": 4491, "end": 4517, "loc": { "start": { "line": 162, "column": 24 }, "end": { "line": 162, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4517, "end": 4518, "loc": { "start": { "line": 162, "column": 50 }, "end": { "line": 162, "column": 51 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4524, "end": 4526, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4527, "end": 4528, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4528, "end": 4529, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 4529, "end": 4533, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4533, "end": 4534, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 4534, "end": 4544, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4545, "end": 4547, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 4548, "end": 4556, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4556, "end": 4557, "loc": { "start": { "line": 164, "column": 36 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 4557, "end": 4570, "loc": { "start": { "line": 164, "column": 37 }, "end": { "line": 164, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4570, "end": 4571, "loc": { "start": { "line": 164, "column": 50 }, "end": { "line": 164, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4571, "end": 4572, "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "[", "start": 4572, "end": 4573, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4573, "end": 4575, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 4575, "end": 4586, "loc": { "start": { "line": 164, "column": 55 }, "end": { "line": 164, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4586, "end": 4587, "loc": { "start": { "line": 164, "column": 66 }, "end": { "line": 164, "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": 4587, "end": 4588, "loc": { "start": { "line": 164, "column": 67 }, "end": { "line": 164, "column": 68 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4588, "end": 4589, "loc": { "start": { "line": 164, "column": 68 }, "end": { "line": 164, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 164, "column": 69 }, "end": { "line": 164, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4590, "end": 4591, "loc": { "start": { "line": 164, "column": 70 }, "end": { "line": 164, "column": 71 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4592, "end": 4593, "loc": { "start": { "line": 164, "column": 72 }, "end": { "line": 164, "column": 73 } } }, { "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": 4600, "end": 4606, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4606, "end": 4607, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4612, "end": 4613, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 5 } } }, { "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": 4619, "end": 4622, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 4623, "end": 4626, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4627, "end": 4628, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 4629, "end": 4637, "loc": { "start": { "line": 168, "column": 14 }, "end": { "line": 168, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4637, "end": 4638, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 4638, "end": 4651, "loc": { "start": { "line": 168, "column": 23 }, "end": { "line": 168, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4651, "end": 4652, "loc": { "start": { "line": 168, "column": 36 }, "end": { "line": 168, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "style", "start": 4652, "end": 4659, "loc": { "start": { "line": 168, "column": 37 }, "end": { "line": 168, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4659, "end": 4660, "loc": { "start": { "line": 168, "column": 44 }, "end": { "line": 168, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4660, "end": 4661, "loc": { "start": { "line": 168, "column": 45 }, "end": { "line": 168, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 4666, "end": 4669, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4669, "end": 4670, "loc": { "start": { "line": 169, "column": 7 }, "end": { "line": 169, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 4670, "end": 4682, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4682, "end": 4683, "loc": { "start": { "line": 169, "column": 20 }, "end": { "line": 169, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 4683, "end": 4694, "loc": { "start": { "line": 169, "column": 21 }, "end": { "line": 169, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 169, "column": 32 }, "end": { "line": 169, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 4696, "end": 4702, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4702, "end": 4703, "loc": { "start": { "line": 169, "column": 40 }, "end": { "line": 169, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4703, "end": 4704, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 4710, "end": 4713, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4713, "end": 4714, "loc": { "start": { "line": 171, "column": 7 }, "end": { "line": 171, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 4714, "end": 4723, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4724, "end": 4725, "loc": { "start": { "line": 171, "column": 18 }, "end": { "line": 171, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4726, "end": 4727, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 21 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ", "start": 4727, "end": 5223, "loc": { "start": { "line": 171, "column": 21 }, "end": { "line": 188, "column": 6 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5223, "end": 5224, "loc": { "start": { "line": 188, "column": 6 }, "end": { "line": 188, "column": 7 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5224, "end": 5225, "loc": { "start": { "line": 188, "column": 7 }, "end": { "line": 188, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 5231, "end": 5239, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5239, "end": 5240, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 5240, "end": 5244, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5244, "end": 5245, "loc": { "start": { "line": 190, "column": 17 }, "end": { "line": 190, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 5245, "end": 5256, "loc": { "start": { "line": 190, "column": 18 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5256, "end": 5257, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 5257, "end": 5260, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5260, "end": 5261, "loc": { "start": { "line": 190, "column": 33 }, "end": { "line": 190, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5261, "end": 5262, "loc": { "start": { "line": 190, "column": 34 }, "end": { "line": 190, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5265, "end": 5266, "loc": { "start": { "line": 191, "column": 2 }, "end": { "line": 191, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendFadeOutAnimationCss", "start": 5270, "end": 5295, "loc": { "start": { "line": 193, "column": 2 }, "end": { "line": 193, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5295, "end": 5296, "loc": { "start": { "line": 193, "column": 27 }, "end": { "line": 193, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 5296, "end": 5300, "loc": { "start": { "line": 193, "column": 28 }, "end": { "line": 193, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5300, "end": 5301, "loc": { "start": { "line": 193, "column": 32 }, "end": { "line": 193, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5302, "end": 5303, "loc": { "start": { "line": 193, "column": 34 }, "end": { "line": 193, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5308, "end": 5313, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 194, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 5314, "end": 5325, "loc": { "start": { "line": 194, "column": 10 }, "end": { "line": 194, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5326, "end": 5327, "loc": { "start": { "line": 194, "column": 22 }, "end": { "line": 194, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-typed-fadeout-js-css", "start": 5328, "end": 5355, "loc": { "start": { "line": 194, "column": 24 }, "end": { "line": 194, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5355, "end": 5356, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "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": 5362, "end": 5364, "loc": { "start": { "line": 196, "column": 4 }, "end": { "line": 196, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5365, "end": 5366, "loc": { "start": { "line": 196, "column": 7 }, "end": { "line": 196, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5366, "end": 5367, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 5367, "end": 5371, "loc": { "start": { "line": 196, "column": 9 }, "end": { "line": 196, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5371, "end": 5372, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 5372, "end": 5379, "loc": { "start": { "line": 196, "column": 14 }, "end": { "line": 196, "column": 21 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 5380, "end": 5382, "loc": { "start": { "line": 196, "column": 22 }, "end": { "line": 196, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 5383, "end": 5391, "loc": { "start": { "line": 196, "column": 25 }, "end": { "line": 196, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5391, "end": 5392, "loc": { "start": { "line": 196, "column": 33 }, "end": { "line": 196, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 5392, "end": 5405, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5405, "end": 5406, "loc": { "start": { "line": 196, "column": 47 }, "end": { "line": 196, "column": 48 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5406, "end": 5407, "loc": { "start": { "line": 196, "column": 48 }, "end": { "line": 196, "column": 49 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "[", "start": 5407, "end": 5408, "loc": { "start": { "line": 196, "column": 49 }, "end": { "line": 196, "column": 50 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5408, "end": 5410, "loc": { "start": { "line": 196, "column": 50 }, "end": { "line": 196, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 5410, "end": 5421, "loc": { "start": { "line": 196, "column": 52 }, "end": { "line": 196, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5421, "end": 5422, "loc": { "start": { "line": 196, "column": 63 }, "end": { "line": 196, "column": 64 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "]", "start": 5422, "end": 5423, "loc": { "start": { "line": 196, "column": 64 }, "end": { "line": 196, "column": 65 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5423, "end": 5424, "loc": { "start": { "line": 196, "column": 65 }, "end": { "line": 196, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5424, "end": 5425, "loc": { "start": { "line": 196, "column": 66 }, "end": { "line": 196, "column": 67 } } }, { "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": 196, "column": 67 }, "end": { "line": 196, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5427, "end": 5428, "loc": { "start": { "line": 196, "column": 69 }, "end": { "line": 196, "column": 70 } } }, { "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": 5435, "end": 5441, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5441, "end": 5442, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5447, "end": 5448, "loc": { "start": { "line": 198, "column": 4 }, "end": { "line": 198, "column": 5 } } }, { "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": 5454, "end": 5457, "loc": { "start": { "line": 200, "column": 4 }, "end": { "line": 200, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 5458, "end": 5461, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5462, "end": 5463, "loc": { "start": { "line": 200, "column": 12 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 5464, "end": 5472, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5472, "end": 5473, "loc": { "start": { "line": 200, "column": 22 }, "end": { "line": 200, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 5473, "end": 5486, "loc": { "start": { "line": 200, "column": 23 }, "end": { "line": 200, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5486, "end": 5487, "loc": { "start": { "line": 200, "column": 36 }, "end": { "line": 200, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "style", "start": 5487, "end": 5494, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5494, "end": 5495, "loc": { "start": { "line": 200, "column": 44 }, "end": { "line": 200, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5495, "end": 5496, "loc": { "start": { "line": 200, "column": 45 }, "end": { "line": 200, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 5501, "end": 5504, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5504, "end": 5505, "loc": { "start": { "line": 201, "column": 7 }, "end": { "line": 201, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 5505, "end": 5517, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5517, "end": 5518, "loc": { "start": { "line": 201, "column": 20 }, "end": { "line": 201, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cssDataName", "start": 5518, "end": 5529, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5529, "end": 5530, "loc": { "start": { "line": 201, "column": 32 }, "end": { "line": 201, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 5531, "end": 5537, "loc": { "start": { "line": 201, "column": 34 }, "end": { "line": 201, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5537, "end": 5538, "loc": { "start": { "line": 201, "column": 40 }, "end": { "line": 201, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5538, "end": 5539, "loc": { "start": { "line": 201, "column": 41 }, "end": { "line": 201, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 5545, "end": 5548, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5548, "end": 5549, "loc": { "start": { "line": 203, "column": 7 }, "end": { "line": 203, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 5549, "end": 5558, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5559, "end": 5560, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5561, "end": 5562, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 21 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ", "start": 5562, "end": 5786, "loc": { "start": { "line": 203, "column": 21 }, "end": { "line": 212, "column": 6 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5786, "end": 5787, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 7 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5787, "end": 5788, "loc": { "start": { "line": 212, "column": 7 }, "end": { "line": 212, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 5794, "end": 5802, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5802, "end": 5803, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 5803, "end": 5807, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5807, "end": 5808, "loc": { "start": { "line": 214, "column": 17 }, "end": { "line": 214, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 5808, "end": 5819, "loc": { "start": { "line": 214, "column": 18 }, "end": { "line": 214, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5819, "end": 5820, "loc": { "start": { "line": 214, "column": 29 }, "end": { "line": 214, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "css", "start": 5820, "end": 5823, "loc": { "start": { "line": 214, "column": 30 }, "end": { "line": 214, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5823, "end": 5824, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5824, "end": 5825, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 214, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5828, "end": 5829, "loc": { "start": { "line": 215, "column": 2 }, "end": { "line": 215, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5830, "end": 5831, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 216, "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": 5833, "end": 5839, "loc": { "start": { "line": 218, "column": 0 }, "end": { "line": 218, "column": 6 } } }, { "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": 5840, "end": 5843, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializer", "start": 5844, "end": 5855, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5856, "end": 5857, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 24 } } }, { "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": 5858, "end": 5861, "loc": { "start": { "line": 218, "column": 25 }, "end": { "line": 218, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Initializer", "start": 5862, "end": 5873, "loc": { "start": { "line": 218, "column": 29 }, "end": { "line": 218, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5873, "end": 5874, "loc": { "start": { "line": 218, "column": 40 }, "end": { "line": 218, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5874, "end": 5875, "loc": { "start": { "line": 218, "column": 41 }, "end": { "line": 218, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5875, "end": 5876, "loc": { "start": { "line": 218, "column": 42 }, "end": { "line": 218, "column": 43 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5877, "end": 5877, "loc": { "start": { "line": 219, "column": 0 }, "end": { "line": 219, "column": 0 } } } ] } ================================================ FILE: docs/ast/source/typed-using-raf.js.json ================================================ { "type": "File", "start": 0, "end": 13397, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 468, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 13397, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 468, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 22, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 22 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 10, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 10 } }, "local": { "type": "Identifier", "start": 7, "end": 10, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 10 }, "identifierName": "raf" }, "name": "raf" } } ], "source": { "type": "StringLiteral", "start": 16, "end": 21, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 21 } }, "extra": { "rawValue": "raf", "raw": "'raf'" }, "value": "raf" } }, { "type": "ImportDeclaration", "start": 23, "end": 70, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } }, "imported": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "initializer" }, "name": "initializer" }, "local": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "initializer" }, "name": "initializer" } } ], "source": { "type": "StringLiteral", "start": 51, "end": 69, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 46 } }, "extra": { "rawValue": "./initializer.js", "raw": "'./initializer.js'" }, "value": "./initializer.js" } }, { "type": "ImportDeclaration", "start": 71, "end": 117, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 80, "end": 90, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 } }, "imported": { "type": "Identifier", "start": 80, "end": 90, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "local": { "type": "Identifier", "start": 80, "end": 90, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 }, "identifierName": "htmlParser" }, "name": "htmlParser" } } ], "source": { "type": "StringLiteral", "start": 98, "end": 116, "loc": { "start": { "line": 3, "column": 27 }, "end": { "line": 3, "column": 45 } }, "extra": { "rawValue": "./html-parser.js", "raw": "'./html-parser.js'" }, "value": "./html-parser.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 119, "end": 295, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 296, "end": 13396, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 467, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 311, "end": 13396, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 467, "column": 1 } }, "id": { "type": "Identifier", "start": 317, "end": 322, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 26 }, "identifierName": "Typed" }, "name": "Typed", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 323, "end": 13396, "loc": { "start": { "line": 11, "column": 27 }, "end": { "line": 467, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 327, "end": 477, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 17, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 327, "end": 338, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 13 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 339, "end": 348, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 23 }, "identifierName": "elementId" }, "name": "elementId" }, { "type": "Identifier", "start": 350, "end": 357, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 32 }, "identifierName": "options" }, "name": "options" } ], "body": { "type": "BlockStatement", "start": 359, "end": 477, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 17, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 389, "end": 432, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 47 } }, "expression": { "type": "CallExpression", "start": 389, "end": 431, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 389, "end": 405, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 20 } }, "object": { "type": "Identifier", "start": 389, "end": 400, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 15 }, "identifierName": "initializer" }, "name": "initializer", "leadingComments": null }, "property": { "type": "Identifier", "start": 401, "end": 405, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 20 }, "identifierName": "load" }, "name": "load" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ThisExpression", "start": 406, "end": 410, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 25 } } }, { "type": "Identifier", "start": 412, "end": 419, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 34 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 421, "end": 430, "loc": { "start": { "line": 14, "column": 36 }, "end": { "line": 14, "column": 45 }, "identifierName": "elementId" }, "name": "elementId" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Initialize it up", "start": 365, "end": 384, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 23 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " All systems go!", "start": 437, "end": 455, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 22 } } } ] }, { "type": "ExpressionStatement", "start": 460, "end": 473, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 17 } }, "expression": { "type": "CallExpression", "start": 460, "end": 472, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 460, "end": 470, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 14 } }, "object": { "type": "ThisExpression", "start": 460, "end": 464, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 465, "end": 470, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 14 }, "identifierName": "begin" }, "name": "begin" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " All systems go!", "start": 437, "end": 455, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 22 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 481, "end": 556, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 22, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 559, "end": 625, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 25, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 559, "end": 565, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 8 }, "identifierName": "toggle" }, "name": "toggle", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 568, "end": 625, "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 25, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 574, "end": 621, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 51 } }, "expression": { "type": "ConditionalExpression", "start": 574, "end": 620, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 50 } }, "test": { "type": "MemberExpression", "start": 574, "end": 591, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 21 } }, "object": { "type": "MemberExpression", "start": 574, "end": 584, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 14 } }, "object": { "type": "ThisExpression", "start": 574, "end": 578, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 8 } } }, "property": { "type": "Identifier", "start": 579, "end": 584, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 585, "end": 591, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "consequent": { "type": "CallExpression", "start": 594, "end": 606, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 594, "end": 604, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 34 } }, "object": { "type": "ThisExpression", "start": 594, "end": 598, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 28 } } }, "property": { "type": "Identifier", "start": 599, "end": 604, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 34 }, "identifierName": "start" }, "name": "start" }, "computed": false }, "arguments": [] }, "alternate": { "type": "CallExpression", "start": 609, "end": 620, "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 24, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 609, "end": 618, "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 24, "column": 48 } }, "object": { "type": "ThisExpression", "start": 609, "end": 613, "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 24, "column": 43 } } }, "property": { "type": "Identifier", "start": 614, "end": 618, "loc": { "start": { "line": 24, "column": 44 }, "end": { "line": 24, "column": 48 }, "identifierName": "stop" }, "name": "stop" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 481, "end": 556, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 22, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 629, "end": 709, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 30, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 712, "end": 903, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 37, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 712, "end": 716, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 6 }, "identifierName": "stop" }, "name": "stop", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 719, "end": 903, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 37, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 725, "end": 757, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 36 } }, "test": { "type": "MemberExpression", "start": 729, "end": 748, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 27 } }, "object": { "type": "ThisExpression", "start": 729, "end": 733, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, "property": { "type": "Identifier", "start": 734, "end": 748, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 27 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 750, "end": 757, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 36 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 762, "end": 792, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 34 } }, "test": { "type": "MemberExpression", "start": 766, "end": 783, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 25 } }, "object": { "type": "MemberExpression", "start": 766, "end": 776, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 18 } }, "object": { "type": "ThisExpression", "start": 766, "end": 770, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } } }, "property": { "type": "Identifier", "start": 771, "end": 776, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 777, "end": 783, "loc": { "start": { "line": 33, "column": 19 }, "end": { "line": 33, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 785, "end": 792, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 34 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 797, "end": 823, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 30 } }, "expression": { "type": "CallExpression", "start": 797, "end": 822, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 797, "end": 816, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 23 } }, "object": { "type": "ThisExpression", "start": 797, "end": 801, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, "property": { "type": "Identifier", "start": 802, "end": 816, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 817, "end": 821, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 28 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 828, "end": 853, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 828, "end": 852, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 828, "end": 845, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 21 } }, "object": { "type": "MemberExpression", "start": 828, "end": 838, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 14 } }, "object": { "type": "ThisExpression", "start": 828, "end": 832, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, "property": { "type": "Identifier", "start": 833, "end": 838, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 839, "end": 845, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 848, "end": 852, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 28 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 858, "end": 899, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 45 } }, "expression": { "type": "CallExpression", "start": 858, "end": 898, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 858, "end": 877, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 23 } }, "object": { "type": "MemberExpression", "start": 858, "end": 870, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 16 } }, "object": { "type": "ThisExpression", "start": 858, "end": 862, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 8 } } }, "property": { "type": "Identifier", "start": 863, "end": 870, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 871, "end": 877, "loc": { "start": { "line": 36, "column": 17 }, "end": { "line": 36, "column": 23 }, "identifierName": "onStop" }, "name": "onStop" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 878, "end": 891, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 37 } }, "object": { "type": "ThisExpression", "start": 878, "end": 882, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 28 } } }, "property": { "type": "Identifier", "start": 883, "end": 891, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 37 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 893, "end": 897, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 43 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 629, "end": 709, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 30, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 907, "end": 981, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 42, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 984, "end": 1331, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 53, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 984, "end": 989, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 7 }, "identifierName": "start" }, "name": "start", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 992, "end": 1331, "loc": { "start": { "line": 43, "column": 10 }, "end": { "line": 53, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 998, "end": 1030, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 36 } }, "test": { "type": "MemberExpression", "start": 1002, "end": 1021, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1002, "end": 1006, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } } }, "property": { "type": "Identifier", "start": 1007, "end": 1021, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 27 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 1023, "end": 1030, "loc": { "start": { "line": 44, "column": 29 }, "end": { "line": 44, "column": 36 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 1035, "end": 1066, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 35 } }, "test": { "type": "UnaryExpression", "start": 1039, "end": 1057, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1040, "end": 1057, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1040, "end": 1050, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1040, "end": 1044, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 13 } } }, "property": { "type": "Identifier", "start": 1045, "end": 1050, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 19 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1051, "end": 1057, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 1059, "end": 1066, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 35 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 1071, "end": 1097, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 1071, "end": 1096, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1071, "end": 1088, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 21 } }, "object": { "type": "MemberExpression", "start": 1071, "end": 1081, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1071, "end": 1075, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, "property": { "type": "Identifier", "start": 1076, "end": 1081, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1082, "end": 1088, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1091, "end": 1096, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 29 } }, "value": false } } }, { "type": "IfStatement", "start": 1102, "end": 1280, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 51, "column": 5 } }, "test": { "type": "MemberExpression", "start": 1106, "end": 1126, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1106, "end": 1116, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1106, "end": 1110, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 12 } } }, "property": { "type": "Identifier", "start": 1111, "end": 1116, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1117, "end": 1126, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 28 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 1128, "end": 1201, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 49, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1136, "end": 1195, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 65 } }, "expression": { "type": "CallExpression", "start": 1136, "end": 1194, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1136, "end": 1150, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1136, "end": 1140, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 10 } } }, "property": { "type": "Identifier", "start": 1141, "end": 1150, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 48, "column": 20 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1151, "end": 1171, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1151, "end": 1161, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1151, "end": 1155, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 } } }, "property": { "type": "Identifier", "start": 1156, "end": 1161, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 31 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1162, "end": 1171, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 41 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, { "type": "MemberExpression", "start": 1173, "end": 1193, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 63 } }, "object": { "type": "MemberExpression", "start": 1173, "end": 1183, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 53 } }, "object": { "type": "ThisExpression", "start": 1173, "end": 1177, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 47 } } }, "property": { "type": "Identifier", "start": 1178, "end": 1183, "loc": { "start": { "line": 48, "column": 48 }, "end": { "line": 48, "column": 53 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1184, "end": 1193, "loc": { "start": { "line": 48, "column": 54 }, "end": { "line": 48, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1207, "end": 1280, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 51, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1215, "end": 1274, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 65 } }, "expression": { "type": "CallExpression", "start": 1215, "end": 1273, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1215, "end": 1229, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1215, "end": 1219, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 10 } } }, "property": { "type": "Identifier", "start": 1220, "end": 1229, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 20 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1230, "end": 1250, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1230, "end": 1240, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1230, "end": 1234, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 25 } } }, "property": { "type": "Identifier", "start": 1235, "end": 1240, "loc": { "start": { "line": 50, "column": 26 }, "end": { "line": 50, "column": 31 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1241, "end": 1250, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 41 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, { "type": "MemberExpression", "start": 1252, "end": 1272, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "column": 63 } }, "object": { "type": "MemberExpression", "start": 1252, "end": 1262, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "column": 53 } }, "object": { "type": "ThisExpression", "start": 1252, "end": 1256, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "column": 47 } } }, "property": { "type": "Identifier", "start": 1257, "end": 1262, "loc": { "start": { "line": 50, "column": 48 }, "end": { "line": 50, "column": 53 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1263, "end": 1272, "loc": { "start": { "line": 50, "column": 54 }, "end": { "line": 50, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 1285, "end": 1327, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 46 } }, "expression": { "type": "CallExpression", "start": 1285, "end": 1326, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 1285, "end": 1305, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 24 } }, "object": { "type": "MemberExpression", "start": 1285, "end": 1297, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1285, "end": 1289, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, "property": { "type": "Identifier", "start": 1290, "end": 1297, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1298, "end": 1305, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 24 }, "identifierName": "onStart" }, "name": "onStart" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1306, "end": 1319, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 52, "column": 38 } }, "object": { "type": "ThisExpression", "start": 1306, "end": 1310, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 52, "column": 29 } } }, "property": { "type": "Identifier", "start": 1311, "end": 1319, "loc": { "start": { "line": 52, "column": 30 }, "end": { "line": 52, "column": 38 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 1321, "end": 1325, "loc": { "start": { "line": 52, "column": 40 }, "end": { "line": 52, "column": 44 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 907, "end": 981, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 42, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1335, "end": 1393, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 1396, "end": 1468, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 62, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1396, "end": 1403, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 59, "column": 9 }, "identifierName": "destroy" }, "name": "destroy", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1406, "end": 1468, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 62, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1412, "end": 1430, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 22 } }, "expression": { "type": "CallExpression", "start": 1412, "end": 1429, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 1412, "end": 1422, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1412, "end": 1416, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, "property": { "type": "Identifier", "start": 1417, "end": 1422, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 14 }, "identifierName": "reset" }, "name": "reset" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 1423, "end": 1428, "loc": { "start": { "line": 60, "column": 15 }, "end": { "line": 60, "column": 20 } }, "value": false } ] } }, { "type": "ExpressionStatement", "start": 1435, "end": 1464, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 33 } }, "expression": { "type": "CallExpression", "start": 1435, "end": 1463, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1435, "end": 1457, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1435, "end": 1447, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1435, "end": 1439, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, "property": { "type": "Identifier", "start": 1440, "end": 1447, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1448, "end": 1457, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 26 }, "identifierName": "onDestroy" }, "name": "onDestroy" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1458, "end": 1462, "loc": { "start": { "line": 61, "column": 27 }, "end": { "line": 61, "column": 31 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1335, "end": 1393, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1472, "end": 1565, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 68, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 1568, "end": 1962, "loc": { "start": { "line": 69, "column": 2 }, "end": { "line": 84, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1568, "end": 1573, "loc": { "start": { "line": 69, "column": 2 }, "end": { "line": 69, "column": 7 }, "identifierName": "reset" }, "name": "reset", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 1574, "end": 1588, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 22 } }, "left": { "type": "Identifier", "start": 1574, "end": 1581, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 15 }, "identifierName": "restart" }, "name": "restart" }, "right": { "type": "BooleanLiteral", "start": 1584, "end": 1588, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 22 } }, "value": true } } ], "body": { "type": "BlockStatement", "start": 1590, "end": 1962, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 84, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1596, "end": 1624, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 32 } }, "expression": { "type": "CallExpression", "start": 1596, "end": 1623, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 31 } }, "callee": { "type": "Identifier", "start": 1596, "end": 1609, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 17 }, "identifierName": "clearInterval" }, "name": "clearInterval" }, "arguments": [ { "type": "MemberExpression", "start": 1610, "end": 1622, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1610, "end": 1614, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 22 } } }, "property": { "type": "Identifier", "start": 1615, "end": 1622, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 30 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1629, "end": 1650, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1629, "end": 1649, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 1629, "end": 1645, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1629, "end": 1633, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, "property": { "type": "Identifier", "start": 1634, "end": 1645, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 20 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1646, "end": 1648, "loc": { "start": { "line": 71, "column": 21 }, "end": { "line": 71, "column": 23 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] } }, { "type": "IfStatement", "start": 1655, "end": 1786, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 75, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1659, "end": 1696, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 45 } }, "left": { "type": "MemberExpression", "start": 1659, "end": 1670, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1659, "end": 1663, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 12 } } }, "property": { "type": "Identifier", "start": 1664, "end": 1670, "loc": { "start": { "line": 72, "column": 13 }, "end": { "line": 72, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 1674, "end": 1696, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 45 } }, "object": { "type": "MemberExpression", "start": 1674, "end": 1685, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1674, "end": 1678, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 27 } } }, "property": { "type": "Identifier", "start": 1679, "end": 1685, "loc": { "start": { "line": 72, "column": 28 }, "end": { "line": 72, "column": 34 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 1686, "end": 1696, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "column": 45 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 1698, "end": 1786, "loc": { "start": { "line": 72, "column": 47 }, "end": { "line": 75, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1706, "end": 1754, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 54 } }, "expression": { "type": "CallExpression", "start": 1706, "end": 1753, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 1706, "end": 1740, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 40 } }, "object": { "type": "MemberExpression", "start": 1706, "end": 1728, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1706, "end": 1717, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1706, "end": 1710, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 10 } } }, "property": { "type": "Identifier", "start": 1711, "end": 1717, "loc": { "start": { "line": 73, "column": 11 }, "end": { "line": 73, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 1718, "end": 1728, "loc": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "column": 28 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "property": { "type": "Identifier", "start": 1729, "end": 1740, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 40 }, "identifierName": "removeChild" }, "name": "removeChild" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1741, "end": 1752, "loc": { "start": { "line": 73, "column": 41 }, "end": { "line": 73, "column": 52 } }, "object": { "type": "ThisExpression", "start": 1741, "end": 1745, "loc": { "start": { "line": 73, "column": 41 }, "end": { "line": 73, "column": 45 } } }, "property": { "type": "Identifier", "start": 1746, "end": 1752, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 52 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1761, "end": 1780, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1761, "end": 1779, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1761, "end": 1772, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1761, "end": 1765, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 10 } } }, "property": { "type": "Identifier", "start": 1766, "end": 1772, "loc": { "start": { "line": 74, "column": 11 }, "end": { "line": 74, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1775, "end": 1779, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 24 } } } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1791, "end": 1807, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 1791, "end": 1806, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1791, "end": 1802, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 15 } }, "object": { "type": "ThisExpression", "start": 1791, "end": 1795, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 1796, "end": 1802, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 15 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1805, "end": 1806, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 19 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1812, "end": 1830, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 1812, "end": 1829, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1812, "end": 1825, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1812, "end": 1816, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 1817, "end": 1825, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1828, "end": 1829, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1835, "end": 1852, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 1835, "end": 1851, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1835, "end": 1847, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1835, "end": 1839, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 1840, "end": 1847, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 16 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1850, "end": 1851, "loc": { "start": { "line": 78, "column": 19 }, "end": { "line": 78, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "IfStatement", "start": 1857, "end": 1958, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 83, "column": 5 } }, "test": { "type": "Identifier", "start": 1861, "end": 1868, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 15 }, "identifierName": "restart" }, "name": "restart" }, "consequent": { "type": "BlockStatement", "start": 1870, "end": 1958, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 83, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1878, "end": 1898, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 26 } }, "expression": { "type": "CallExpression", "start": 1878, "end": 1897, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 1878, "end": 1895, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1878, "end": 1882, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 10 } } }, "property": { "type": "Identifier", "start": 1883, "end": 1895, "loc": { "start": { "line": 80, "column": 11 }, "end": { "line": 80, "column": 23 }, "identifierName": "insertCursor" }, "name": "insertCursor" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 1905, "end": 1932, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 33 } }, "expression": { "type": "CallExpression", "start": 1905, "end": 1931, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1905, "end": 1925, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1905, "end": 1917, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1905, "end": 1909, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, "property": { "type": "Identifier", "start": 1910, "end": 1917, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1918, "end": 1925, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 26 }, "identifierName": "onReset" }, "name": "onReset" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1926, "end": 1930, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 31 } } } ] } }, { "type": "ExpressionStatement", "start": 1939, "end": 1952, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 19 } }, "expression": { "type": "CallExpression", "start": 1939, "end": 1951, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 1939, "end": 1949, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1939, "end": 1943, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 10 } } }, "property": { "type": "Identifier", "start": 1944, "end": 1949, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 16 }, "identifierName": "begin" }, "name": "begin" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1472, "end": 1565, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 68, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Sets up the typing animation\n * @private\n ", "start": 1966, "end": 2023, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 89, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 2026, "end": 2283, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 97, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2026, "end": 2031, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 90, "column": 7 }, "identifierName": "begin" }, "name": "begin", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2034, "end": 2283, "loc": { "start": { "line": 90, "column": 10 }, "end": { "line": 97, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 2040, "end": 2067, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 31 } }, "expression": { "type": "CallExpression", "start": 2040, "end": 2066, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 2040, "end": 2060, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 24 } }, "object": { "type": "MemberExpression", "start": 2040, "end": 2052, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 16 } }, "object": { "type": "ThisExpression", "start": 2040, "end": 2044, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 2045, "end": 2052, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 2053, "end": 2060, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 24 }, "identifierName": "onBegin" }, "name": "onBegin" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2061, "end": 2065, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 29 } } } ] } }, { "type": "ExpressionStatement", "start": 2072, "end": 2100, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2072, "end": 2099, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2072, "end": 2091, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2072, "end": 2076, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 2077, "end": 2091, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2094, "end": 2099, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 31 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 2105, "end": 2139, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 38 } }, "expression": { "type": "CallExpression", "start": 2105, "end": 2138, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 2105, "end": 2132, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2105, "end": 2109, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 2110, "end": 2132, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 31 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2133, "end": 2137, "loc": { "start": { "line": 93, "column": 32 }, "end": { "line": 93, "column": 36 } } } ] } }, { "type": "ExpressionStatement", "start": 2144, "end": 2164, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 24 } }, "expression": { "type": "CallExpression", "start": 2144, "end": 2163, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 2144, "end": 2161, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2144, "end": 2148, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 2149, "end": 2161, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 21 }, "identifierName": "insertCursor" }, "name": "insertCursor" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 2169, "end": 2223, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 58 } }, "test": { "type": "MemberExpression", "start": 2173, "end": 2198, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 33 } }, "object": { "type": "ThisExpression", "start": 2173, "end": 2177, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, "property": { "type": "Identifier", "start": 2178, "end": 2198, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 33 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 2200, "end": 2223, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 58 } }, "expression": { "type": "CallExpression", "start": 2200, "end": 2222, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2200, "end": 2220, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2200, "end": 2204, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 39 } } }, "property": { "type": "Identifier", "start": 2205, "end": 2220, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 55 }, "identifierName": "bindFocusEvents" }, "name": "bindFocusEvents" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 2228, "end": 2279, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 55 } }, "expression": { "type": "CallExpression", "start": 2228, "end": 2278, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 54 } }, "callee": { "type": "Identifier", "start": 2228, "end": 2231, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 7 }, "identifierName": "raf" }, "name": "raf" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2232, "end": 2277, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 53 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 2233, "end": 2242, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 18 }, "identifierName": "timestamp" }, "name": "timestamp" } ], "body": { "type": "CallExpression", "start": 2247, "end": 2277, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 2247, "end": 2266, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "column": 42 } }, "object": { "type": "ThisExpression", "start": 2247, "end": 2251, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "column": 27 } } }, "property": { "type": "Identifier", "start": 2252, "end": 2266, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 42 }, "identifierName": "beginAnimation" }, "name": "beginAnimation" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2267, "end": 2276, "loc": { "start": { "line": 96, "column": 43 }, "end": { "line": 96, "column": 52 }, "identifierName": "timestamp" }, "name": "timestamp" } ] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Sets up the typing animation\n * @private\n ", "start": 1966, "end": 2023, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 89, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 2287, "end": 2343, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 102, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 2346, "end": 3112, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 125, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2346, "end": 2360, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 103, "column": 16 }, "identifierName": "beginAnimation" }, "name": "beginAnimation", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2361, "end": 2370, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 26 }, "identifierName": "timestamp" }, "name": "timestamp" } ], "body": { "type": "BlockStatement", "start": 2372, "end": 3112, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 125, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2378, "end": 2475, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 106, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2382, "end": 2421, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 47 } }, "left": { "type": "MemberExpression", "start": 2382, "end": 2407, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 33 } }, "object": { "type": "ThisExpression", "start": 2382, "end": 2386, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 } } }, "property": { "type": "Identifier", "start": 2387, "end": 2407, "loc": { "start": { "line": 104, "column": 13 }, "end": { "line": 104, "column": 33 }, "identifierName": "_beginAnimationStart" }, "name": "_beginAnimationStart" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 2412, "end": 2421, "loc": { "start": { "line": 104, "column": 38 }, "end": { "line": 104, "column": 47 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 2423, "end": 2475, "loc": { "start": { "line": 104, "column": 49 }, "end": { "line": 106, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2431, "end": 2469, "loc": { "start": { "line": 105, "column": 6 }, "end": { "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 2431, "end": 2468, "loc": { "start": { "line": 105, "column": 6 }, "end": { "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2431, "end": 2456, "loc": { "start": { "line": 105, "column": 6 }, "end": { "line": 105, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2431, "end": 2435, "loc": { "start": { "line": 105, "column": 6 }, "end": { "line": 105, "column": 10 } } }, "property": { "type": "Identifier", "start": 2436, "end": 2456, "loc": { "start": { "line": 105, "column": 11 }, "end": { "line": 105, "column": 31 }, "identifierName": "_beginAnimationStart" }, "name": "_beginAnimationStart" }, "computed": false }, "right": { "type": "Identifier", "start": 2459, "end": 2468, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 43 }, "identifierName": "timestamp" }, "name": "timestamp" } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2481, "end": 2697, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 114, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2485, "end": 2504, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 27 } }, "left": { "type": "MemberExpression", "start": 2485, "end": 2500, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2485, "end": 2489, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 12 } } }, "property": { "type": "Identifier", "start": 2490, "end": 2500, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 23 }, "identifierName": "startDelay" }, "name": "startDelay" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 2503, "end": 2504, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 2506, "end": 2697, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 114, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2514, "end": 2568, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2520, "end": 2567, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 59 } }, "id": { "type": "Identifier", "start": 2520, "end": 2527, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 19 }, "identifierName": "elapsed" }, "name": "elapsed" }, "init": { "type": "BinaryExpression", "start": 2530, "end": 2567, "loc": { "start": { "line": 109, "column": 22 }, "end": { "line": 109, "column": 59 } }, "left": { "type": "Identifier", "start": 2530, "end": 2539, "loc": { "start": { "line": 109, "column": 22 }, "end": { "line": 109, "column": 31 }, "identifierName": "timestamp" }, "name": "timestamp" }, "operator": "-", "right": { "type": "MemberExpression", "start": 2542, "end": 2567, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 109, "column": 59 } }, "object": { "type": "ThisExpression", "start": 2542, "end": 2546, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 109, "column": 38 } } }, "property": { "type": "Identifier", "start": 2547, "end": 2567, "loc": { "start": { "line": 109, "column": 39 }, "end": { "line": 109, "column": 59 }, "identifierName": "_beginAnimationStart" }, "name": "_beginAnimationStart" }, "computed": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 2575, "end": 2691, "loc": { "start": { "line": 110, "column": 6 }, "end": { "line": 113, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 2579, "end": 2604, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "column": 35 } }, "left": { "type": "Identifier", "start": 2579, "end": 2586, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "column": 17 }, "identifierName": "elapsed" }, "name": "elapsed" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2589, "end": 2604, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 35 } }, "object": { "type": "ThisExpression", "start": 2589, "end": 2593, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 24 } } }, "property": { "type": "Identifier", "start": 2594, "end": 2604, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 35 }, "identifierName": "startDelay" }, "name": "startDelay" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 2606, "end": 2691, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 113, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2616, "end": 2667, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 59 } }, "expression": { "type": "CallExpression", "start": 2616, "end": 2666, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 58 } }, "callee": { "type": "Identifier", "start": 2616, "end": 2619, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 11 }, "identifierName": "raf" }, "name": "raf" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2620, "end": 2665, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 57 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 2621, "end": 2630, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 22 }, "identifierName": "timestamp" }, "name": "timestamp" } ], "body": { "type": "CallExpression", "start": 2635, "end": 2665, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2635, "end": 2654, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 46 } }, "object": { "type": "ThisExpression", "start": 2635, "end": 2639, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 31 } } }, "property": { "type": "Identifier", "start": 2640, "end": 2654, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 46 }, "identifierName": "beginAnimation" }, "name": "beginAnimation" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2655, "end": 2664, "loc": { "start": { "line": 111, "column": 47 }, "end": { "line": 111, "column": 56 }, "identifierName": "timestamp" }, "name": "timestamp" } ] } } ] } }, { "type": "ReturnStatement", "start": 2676, "end": 2683, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 2703, "end": 2741, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 2703, "end": 2740, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2703, "end": 2728, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2703, "end": 2707, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } } }, "property": { "type": "Identifier", "start": 2708, "end": 2728, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 29 }, "identifierName": "_beginAnimationStart" }, "name": "_beginAnimationStart" }, "computed": false }, "right": { "type": "Identifier", "start": 2731, "end": 2740, "loc": { "start": { "line": 116, "column": 32 }, "end": { "line": 116, "column": 41 }, "identifierName": "undefined" }, "name": "undefined" } }, "trailingComments": [ { "type": "CommentLine", "value": " Check if there is some text in the element, if yes start by backspacing the default message", "start": 2747, "end": 2841, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 98 } } } ] }, { "type": "IfStatement", "start": 2846, "end": 3108, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 124, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 2850, "end": 2910, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 68 } }, "left": { "type": "UnaryExpression", "start": 2850, "end": 2872, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2851, "end": 2872, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2851, "end": 2855, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2856, "end": 2872, "loc": { "start": { "line": 119, "column": 14 }, "end": { "line": 119, "column": 30 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 2876, "end": 2910, "loc": { "start": { "line": 119, "column": 34 }, "end": { "line": 119, "column": 68 } }, "left": { "type": "MemberExpression", "start": 2876, "end": 2904, "loc": { "start": { "line": 119, "column": 34 }, "end": { "line": 119, "column": 62 } }, "object": { "type": "MemberExpression", "start": 2876, "end": 2897, "loc": { "start": { "line": 119, "column": 34 }, "end": { "line": 119, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2876, "end": 2880, "loc": { "start": { "line": 119, "column": 34 }, "end": { "line": 119, "column": 38 } } }, "property": { "type": "Identifier", "start": 2881, "end": 2897, "loc": { "start": { "line": 119, "column": 39 }, "end": { "line": 119, "column": 55 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, "property": { "type": "Identifier", "start": 2898, "end": 2904, "loc": { "start": { "line": 119, "column": 56 }, "end": { "line": 119, "column": 62 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 2909, "end": 2910, "loc": { "start": { "line": 119, "column": 67 }, "end": { "line": 119, "column": 68 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2912, "end": 2998, "loc": { "start": { "line": 119, "column": 70 }, "end": { "line": 121, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2920, "end": 2992, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 78 } }, "expression": { "type": "CallExpression", "start": 2920, "end": 2991, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 2920, "end": 2934, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 20 } }, "object": { "type": "ThisExpression", "start": 2920, "end": 2924, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 10 } } }, "property": { "type": "Identifier", "start": 2925, "end": 2934, "loc": { "start": { "line": 120, "column": 11 }, "end": { "line": 120, "column": 20 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2935, "end": 2977, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 63 } }, "object": { "type": "MemberExpression", "start": 2935, "end": 2947, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 33 } }, "object": { "type": "ThisExpression", "start": 2935, "end": 2939, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 25 } } }, "property": { "type": "Identifier", "start": 2940, "end": 2947, "loc": { "start": { "line": 120, "column": 26 }, "end": { "line": 120, "column": 33 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2948, "end": 2976, "loc": { "start": { "line": 120, "column": 34 }, "end": { "line": 120, "column": 62 } }, "object": { "type": "MemberExpression", "start": 2948, "end": 2961, "loc": { "start": { "line": 120, "column": 34 }, "end": { "line": 120, "column": 47 } }, "object": { "type": "ThisExpression", "start": 2948, "end": 2952, "loc": { "start": { "line": 120, "column": 34 }, "end": { "line": 120, "column": 38 } } }, "property": { "type": "Identifier", "start": 2953, "end": 2961, "loc": { "start": { "line": 120, "column": 39 }, "end": { "line": 120, "column": 47 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2962, "end": 2975, "loc": { "start": { "line": 120, "column": 48 }, "end": { "line": 120, "column": 61 } }, "object": { "type": "ThisExpression", "start": 2962, "end": 2966, "loc": { "start": { "line": 120, "column": 48 }, "end": { "line": 120, "column": 52 } } }, "property": { "type": "Identifier", "start": 2967, "end": 2975, "loc": { "start": { "line": 120, "column": 53 }, "end": { "line": 120, "column": 61 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "MemberExpression", "start": 2979, "end": 2990, "loc": { "start": { "line": 120, "column": 65 }, "end": { "line": 120, "column": 76 } }, "object": { "type": "ThisExpression", "start": 2979, "end": 2983, "loc": { "start": { "line": 120, "column": 65 }, "end": { "line": 120, "column": 69 } } }, "property": { "type": "Identifier", "start": 2984, "end": 2990, "loc": { "start": { "line": 120, "column": 70 }, "end": { "line": 120, "column": 76 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 3004, "end": 3108, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 124, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3034, "end": 3102, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 74 } }, "expression": { "type": "CallExpression", "start": 3034, "end": 3101, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 3034, "end": 3048, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 20 } }, "object": { "type": "ThisExpression", "start": 3034, "end": 3038, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3039, "end": 3048, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 20 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 3049, "end": 3070, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 42 } }, "object": { "type": "ThisExpression", "start": 3049, "end": 3053, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 25 } } }, "property": { "type": "Identifier", "start": 3054, "end": 3070, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 42 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, { "type": "MemberExpression", "start": 3072, "end": 3100, "loc": { "start": { "line": 123, "column": 44 }, "end": { "line": 123, "column": 72 } }, "object": { "type": "MemberExpression", "start": 3072, "end": 3093, "loc": { "start": { "line": 123, "column": 44 }, "end": { "line": 123, "column": 65 } }, "object": { "type": "ThisExpression", "start": 3072, "end": 3076, "loc": { "start": { "line": 123, "column": 44 }, "end": { "line": 123, "column": 48 } } }, "property": { "type": "Identifier", "start": 3077, "end": 3093, "loc": { "start": { "line": 123, "column": 49 }, "end": { "line": 123, "column": 65 }, "identifierName": "currentElContent" }, "name": "currentElContent" }, "computed": false }, "property": { "type": "Identifier", "start": 3094, "end": 3100, "loc": { "start": { "line": 123, "column": 66 }, "end": { "line": 123, "column": 72 }, "identifierName": "length" }, "name": "length" }, "computed": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Start typing", "start": 3012, "end": 3027, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 21 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Check if there is some text in the element, if yes start by backspacing the default message", "start": 2747, "end": 2841, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 98 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 2287, "end": 2343, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 102, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 3116, "end": 3316, "loc": { "start": { "line": 127, "column": 2 }, "end": { "line": 132, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 3319, "end": 3750, "loc": { "start": { "line": 133, "column": 2 }, "end": { "line": 145, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3319, "end": 3328, "loc": { "start": { "line": 133, "column": 2 }, "end": { "line": 133, "column": 11 }, "identifierName": "typewrite" }, "name": "typewrite", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3329, "end": 3338, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3340, "end": 3349, "loc": { "start": { "line": 133, "column": 23 }, "end": { "line": 133, "column": 32 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 3351, "end": 3750, "loc": { "start": { "line": 133, "column": 34 }, "end": { "line": 145, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 3357, "end": 3554, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 137, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 3361, "end": 3422, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 69 } }, "left": { "type": "MemberExpression", "start": 3361, "end": 3373, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 20 } }, "object": { "type": "ThisExpression", "start": 3361, "end": 3365, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 12 } } }, "property": { "type": "Identifier", "start": 3366, "end": 3373, "loc": { "start": { "line": 134, "column": 13 }, "end": { "line": 134, "column": 20 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "operator": "&&", "right": { "type": "CallExpression", "start": 3377, "end": 3422, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 3377, "end": 3403, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 50 } }, "object": { "type": "MemberExpression", "start": 3377, "end": 3394, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 41 } }, "object": { "type": "MemberExpression", "start": 3377, "end": 3384, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3377, "end": 3381, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 28 } } }, "property": { "type": "Identifier", "start": 3382, "end": 3384, "loc": { "start": { "line": 134, "column": 29 }, "end": { "line": 134, "column": 31 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 3385, "end": 3394, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 41 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3395, "end": 3403, "loc": { "start": { "line": 134, "column": 42 }, "end": { "line": 134, "column": 50 }, "identifierName": "contains" }, "name": "contains" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3404, "end": 3421, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 68 } }, "object": { "type": "ThisExpression", "start": 3404, "end": 3408, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 55 } } }, "property": { "type": "Identifier", "start": 3409, "end": 3421, "loc": { "start": { "line": 134, "column": 56 }, "end": { "line": 134, "column": 68 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, "consequent": { "type": "BlockStatement", "start": 3424, "end": 3554, "loc": { "start": { "line": 134, "column": 71 }, "end": { "line": 137, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3432, "end": 3476, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 50 } }, "expression": { "type": "CallExpression", "start": 3432, "end": 3475, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3432, "end": 3456, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 30 } }, "object": { "type": "MemberExpression", "start": 3432, "end": 3449, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 23 } }, "object": { "type": "MemberExpression", "start": 3432, "end": 3439, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 13 } }, "object": { "type": "ThisExpression", "start": 3432, "end": 3436, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 10 } } }, "property": { "type": "Identifier", "start": 3437, "end": 3439, "loc": { "start": { "line": 135, "column": 11 }, "end": { "line": 135, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 3440, "end": 3449, "loc": { "start": { "line": 135, "column": 14 }, "end": { "line": 135, "column": 23 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3450, "end": 3456, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 30 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3457, "end": 3474, "loc": { "start": { "line": 135, "column": 31 }, "end": { "line": 135, "column": 48 } }, "object": { "type": "ThisExpression", "start": 3457, "end": 3461, "loc": { "start": { "line": 135, "column": 31 }, "end": { "line": 135, "column": 35 } } }, "property": { "type": "Identifier", "start": 3462, "end": 3474, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 48 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, { "type": "IfStatement", "start": 3483, "end": 3548, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 71 } }, "test": { "type": "MemberExpression", "start": 3487, "end": 3498, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3487, "end": 3491, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 14 } } }, "property": { "type": "Identifier", "start": 3492, "end": 3498, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 21 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 3500, "end": 3548, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 71 } }, "expression": { "type": "CallExpression", "start": 3500, "end": 3547, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3500, "end": 3528, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3500, "end": 3521, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 44 } }, "object": { "type": "MemberExpression", "start": 3500, "end": 3511, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3500, "end": 3504, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 27 } } }, "property": { "type": "Identifier", "start": 3505, "end": 3511, "loc": { "start": { "line": 136, "column": 28 }, "end": { "line": 136, "column": 34 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 3512, "end": 3521, "loc": { "start": { "line": 136, "column": 35 }, "end": { "line": 136, "column": 44 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3522, "end": 3528, "loc": { "start": { "line": 136, "column": 45 }, "end": { "line": 136, "column": 51 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3529, "end": 3546, "loc": { "start": { "line": 136, "column": 52 }, "end": { "line": 136, "column": 69 } }, "object": { "type": "ThisExpression", "start": 3529, "end": 3533, "loc": { "start": { "line": 136, "column": 52 }, "end": { "line": 136, "column": 56 } } }, "property": { "type": "Identifier", "start": 3534, "end": 3546, "loc": { "start": { "line": 136, "column": 57 }, "end": { "line": 136, "column": 69 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3560, "end": 3668, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 142, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3564, "end": 3590, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 34 } }, "left": { "type": "MemberExpression", "start": 3564, "end": 3581, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 25 } }, "object": { "type": "MemberExpression", "start": 3564, "end": 3574, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 18 } }, "object": { "type": "ThisExpression", "start": 3564, "end": 3568, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 12 } } }, "property": { "type": "Identifier", "start": 3569, "end": 3574, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 3575, "end": 3581, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 3586, "end": 3590, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 34 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 3592, "end": 3668, "loc": { "start": { "line": 139, "column": 36 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3600, "end": 3648, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 54 } }, "expression": { "type": "CallExpression", "start": 3600, "end": 3647, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3600, "end": 3619, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3600, "end": 3604, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 10 } } }, "property": { "type": "Identifier", "start": 3605, "end": 3619, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 25 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3620, "end": 3629, "loc": { "start": { "line": 140, "column": 26 }, "end": { "line": 140, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3631, "end": 3640, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "BooleanLiteral", "start": 3642, "end": 3646, "loc": { "start": { "line": 140, "column": 48 }, "end": { "line": 140, "column": 52 } }, "value": true } ] } }, { "type": "ReturnStatement", "start": 3655, "end": 3662, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 13 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 3674, "end": 3746, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 76 } }, "expression": { "type": "CallExpression", "start": 3674, "end": 3745, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 75 } }, "callee": { "type": "Identifier", "start": 3674, "end": 3677, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 7 }, "identifierName": "raf" }, "name": "raf" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3678, "end": 3744, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 74 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 3679, "end": 3688, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 18 }, "identifierName": "timestamp" }, "name": "timestamp" } ], "body": { "type": "CallExpression", "start": 3693, "end": 3744, "loc": { "start": { "line": 144, "column": 23 }, "end": { "line": 144, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 3693, "end": 3711, "loc": { "start": { "line": 144, "column": 23 }, "end": { "line": 144, "column": 41 } }, "object": { "type": "ThisExpression", "start": 3693, "end": 3697, "loc": { "start": { "line": 144, "column": 23 }, "end": { "line": 144, "column": 27 } } }, "property": { "type": "Identifier", "start": 3698, "end": 3711, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 41 }, "identifierName": "typewriteStep" }, "name": "typewriteStep" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3712, "end": 3721, "loc": { "start": { "line": 144, "column": 42 }, "end": { "line": 144, "column": 51 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3723, "end": 3732, "loc": { "start": { "line": 144, "column": 53 }, "end": { "line": 144, "column": 62 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 3734, "end": 3743, "loc": { "start": { "line": 144, "column": 64 }, "end": { "line": 144, "column": 73 }, "identifierName": "timestamp" }, "name": "timestamp" } ] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 3116, "end": 3316, "loc": { "start": { "line": 127, "column": 2 }, "end": { "line": 132, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 3754, "end": 6430, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 224, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3754, "end": 3767, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 147, "column": 15 }, "identifierName": "typewriteStep" }, "name": "typewriteStep" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3768, "end": 3777, "loc": { "start": { "line": 147, "column": 16 }, "end": { "line": 147, "column": 25 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3779, "end": 3788, "loc": { "start": { "line": 147, "column": 27 }, "end": { "line": 147, "column": 36 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 3790, "end": 3799, "loc": { "start": { "line": 147, "column": 38 }, "end": { "line": 147, "column": 47 }, "identifierName": "timestamp" }, "name": "timestamp" } ], "body": { "type": "BlockStatement", "start": 3801, "end": 6430, "loc": { "start": { "line": 147, "column": 49 }, "end": { "line": 224, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3807, "end": 3855, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3813, "end": 3854, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 51 } }, "id": { "type": "Identifier", "start": 3813, "end": 3821, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 18 }, "identifierName": "humanize" }, "name": "humanize" }, "init": { "type": "CallExpression", "start": 3824, "end": 3854, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 3824, "end": 3838, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3824, "end": 3828, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 25 } } }, "property": { "type": "Identifier", "start": 3829, "end": 3838, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 35 }, "identifierName": "humanizer" }, "name": "humanizer" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3839, "end": 3853, "loc": { "start": { "line": 148, "column": 36 }, "end": { "line": 148, "column": 50 } }, "object": { "type": "ThisExpression", "start": 3839, "end": 3843, "loc": { "start": { "line": 148, "column": 36 }, "end": { "line": 148, "column": 40 } } }, "property": { "type": "Identifier", "start": 3844, "end": 3853, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 50 }, "identifierName": "typeSpeed" }, "name": "typeSpeed" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3860, "end": 3877, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3864, "end": 3876, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 20 } }, "id": { "type": "Identifier", "start": 3864, "end": 3872, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 16 }, "identifierName": "numChars" }, "name": "numChars" }, "init": { "type": "NumericLiteral", "start": 3875, "end": 3876, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 20 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let" }, { "type": "IfStatement", "start": 3883, "end": 3970, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 153, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3887, "end": 3921, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 42 } }, "left": { "type": "MemberExpression", "start": 3887, "end": 3907, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3887, "end": 3891, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 12 } } }, "property": { "type": "Identifier", "start": 3892, "end": 3907, "loc": { "start": { "line": 151, "column": 13 }, "end": { "line": 151, "column": 28 }, "identifierName": "_typewriteStart" }, "name": "_typewriteStart" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 3912, "end": 3921, "loc": { "start": { "line": 151, "column": 33 }, "end": { "line": 151, "column": 42 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 3923, "end": 3970, "loc": { "start": { "line": 151, "column": 44 }, "end": { "line": 153, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3931, "end": 3964, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 3931, "end": 3963, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3931, "end": 3951, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 26 } }, "object": { "type": "ThisExpression", "start": 3931, "end": 3935, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 10 } } }, "property": { "type": "Identifier", "start": 3936, "end": 3951, "loc": { "start": { "line": 152, "column": 11 }, "end": { "line": 152, "column": 26 }, "identifierName": "_typewriteStart" }, "name": "_typewriteStart" }, "computed": false }, "right": { "type": "Identifier", "start": 3954, "end": 3963, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 152, "column": 38 }, "identifierName": "timestamp" }, "name": "timestamp" } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3976, "end": 4179, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 161, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3980, "end": 3992, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 20 } }, "left": { "type": "Identifier", "start": 3980, "end": 3988, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 16 }, "identifierName": "humanize" }, "name": "humanize" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3991, "end": 3992, "loc": { "start": { "line": 155, "column": 19 }, "end": { "line": 155, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 3994, "end": 4179, "loc": { "start": { "line": 155, "column": 22 }, "end": { "line": 161, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 4002, "end": 4051, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4008, "end": 4050, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 54 } }, "id": { "type": "Identifier", "start": 4008, "end": 4015, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 19 }, "identifierName": "elapsed" }, "name": "elapsed" }, "init": { "type": "BinaryExpression", "start": 4018, "end": 4050, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 54 } }, "left": { "type": "Identifier", "start": 4018, "end": 4027, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 31 }, "identifierName": "timestamp" }, "name": "timestamp" }, "operator": "-", "right": { "type": "MemberExpression", "start": 4030, "end": 4050, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 54 } }, "object": { "type": "ThisExpression", "start": 4030, "end": 4034, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 38 } } }, "property": { "type": "Identifier", "start": 4035, "end": 4050, "loc": { "start": { "line": 156, "column": 39 }, "end": { "line": 156, "column": 54 }, "identifierName": "_typewriteStart" }, "name": "_typewriteStart" }, "computed": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 4058, "end": 4173, "loc": { "start": { "line": 157, "column": 6 }, "end": { "line": 160, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 4062, "end": 4081, "loc": { "start": { "line": 157, "column": 10 }, "end": { "line": 157, "column": 29 } }, "left": { "type": "Identifier", "start": 4062, "end": 4069, "loc": { "start": { "line": 157, "column": 10 }, "end": { "line": 157, "column": 17 }, "identifierName": "elapsed" }, "name": "elapsed" }, "operator": "<=", "right": { "type": "Identifier", "start": 4073, "end": 4081, "loc": { "start": { "line": 157, "column": 21 }, "end": { "line": 157, "column": 29 }, "identifierName": "humanize" }, "name": "humanize" } }, "consequent": { "type": "BlockStatement", "start": 4083, "end": 4173, "loc": { "start": { "line": 157, "column": 31 }, "end": { "line": 160, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 4093, "end": 4149, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 64 } }, "expression": { "type": "CallExpression", "start": 4093, "end": 4148, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 63 } }, "callee": { "type": "Identifier", "start": 4093, "end": 4096, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 11 }, "identifierName": "raf" }, "name": "raf" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 4097, "end": 4147, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 62 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 4098, "end": 4099, "loc": { "start": { "line": 158, "column": 13 }, "end": { "line": 158, "column": 14 }, "identifierName": "t" }, "name": "t" } ], "body": { "type": "CallExpression", "start": 4104, "end": 4147, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4104, "end": 4122, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4104, "end": 4108, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 23 } } }, "property": { "type": "Identifier", "start": 4109, "end": 4122, "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 37 }, "identifierName": "typewriteStep" }, "name": "typewriteStep" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4123, "end": 4132, "loc": { "start": { "line": 158, "column": 38 }, "end": { "line": 158, "column": 47 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 4134, "end": 4143, "loc": { "start": { "line": 158, "column": 49 }, "end": { "line": 158, "column": 58 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 4145, "end": 4146, "loc": { "start": { "line": 158, "column": 60 }, "end": { "line": 158, "column": 61 }, "identifierName": "t" }, "name": "t" } ] } } ] } }, { "type": "ReturnStatement", "start": 4158, "end": 4165, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4185, "end": 4218, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 4185, "end": 4217, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4185, "end": 4205, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 24 } }, "object": { "type": "ThisExpression", "start": 4185, "end": 4189, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 8 } } }, "property": { "type": "Identifier", "start": 4190, "end": 4205, "loc": { "start": { "line": 163, "column": 9 }, "end": { "line": 163, "column": 24 }, "identifierName": "_typewriteStart" }, "name": "_typewriteStart" }, "computed": false }, "right": { "type": "Identifier", "start": 4208, "end": 4217, "loc": { "start": { "line": 163, "column": 27 }, "end": { "line": 163, "column": 36 }, "identifierName": "undefined" }, "name": "undefined" } }, "trailingComments": [ { "type": "CommentLine", "value": " skip over any HTML chars", "start": 4224, "end": 4251, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 4256, "end": 4321, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 4256, "end": 4320, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 68 } }, "operator": "=", "left": { "type": "Identifier", "start": 4256, "end": 4265, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 13 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "right": { "type": "CallExpression", "start": 4268, "end": 4320, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 166, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 4268, "end": 4292, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 166, "column": 40 } }, "object": { "type": "Identifier", "start": 4268, "end": 4278, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 166, "column": 26 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "property": { "type": "Identifier", "start": 4279, "end": 4292, "loc": { "start": { "line": 166, "column": 27 }, "end": { "line": 166, "column": 40 }, "identifierName": "typeHtmlChars" }, "name": "typeHtmlChars" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4293, "end": 4302, "loc": { "start": { "line": 166, "column": 41 }, "end": { "line": 166, "column": 50 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 4304, "end": 4313, "loc": { "start": { "line": 166, "column": 52 }, "end": { "line": 166, "column": 61 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "ThisExpression", "start": 4315, "end": 4319, "loc": { "start": { "line": 166, "column": 63 }, "end": { "line": 166, "column": 67 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " skip over any HTML chars", "start": 4224, "end": 4251, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 31 } } } ] }, { "type": "VariableDeclaration", "start": 4327, "end": 4345, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4331, "end": 4344, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 21 } }, "id": { "type": "Identifier", "start": 4331, "end": 4340, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 17 }, "identifierName": "pauseTime" }, "name": "pauseTime" }, "init": { "type": "NumericLiteral", "start": 4343, "end": 4344, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 4350, "end": 4394, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4354, "end": 4393, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 47 } }, "id": { "type": "Identifier", "start": 4354, "end": 4360, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 14 }, "identifierName": "substr" }, "name": "substr" }, "init": { "type": "CallExpression", "start": 4363, "end": 4393, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 4363, "end": 4382, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 36 } }, "object": { "type": "Identifier", "start": 4363, "end": 4372, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 26 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4373, "end": 4382, "loc": { "start": { "line": 169, "column": 27 }, "end": { "line": 169, "column": 36 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4383, "end": 4392, "loc": { "start": { "line": 169, "column": 37 }, "end": { "line": 169, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 4399, "end": 4452, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 57 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 4457, "end": 4532, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 79 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 4537, "end": 4572, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 39 } } } ] }, { "type": "IfStatement", "start": 4577, "end": 5132, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 187, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 4581, "end": 4605, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 32 } }, "left": { "type": "CallExpression", "start": 4581, "end": 4597, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 4581, "end": 4594, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 21 } }, "object": { "type": "Identifier", "start": 4581, "end": 4587, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 14 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "property": { "type": "Identifier", "start": 4588, "end": 4594, "loc": { "start": { "line": 173, "column": 15 }, "end": { "line": 173, "column": 21 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "NumericLiteral", "start": 4595, "end": 4596, "loc": { "start": { "line": 173, "column": 22 }, "end": { "line": 173, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 4602, "end": 4605, "loc": { "start": { "line": 173, "column": 29 }, "end": { "line": 173, "column": 32 } }, "extra": { "rawValue": "^", "raw": "'^'" }, "value": "^" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 4607, "end": 5132, "loc": { "start": { "line": 173, "column": 34 }, "end": { "line": 187, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 4615, "end": 5126, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 186, "column": 7 } }, "test": { "type": "CallExpression", "start": 4619, "end": 4640, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 4619, "end": 4632, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 23 } }, "object": { "type": "RegExpLiteral", "start": 4619, "end": 4627, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 18 } }, "extra": { "raw": "/^\\^\\d+/" }, "pattern": "^\\^\\d+", "flags": "" }, "property": { "type": "Identifier", "start": 4628, "end": 4632, "loc": { "start": { "line": 174, "column": 19 }, "end": { "line": 174, "column": 23 }, "identifierName": "test" }, "name": "test" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4633, "end": 4639, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 30 }, "identifierName": "substr" }, "name": "substr" } ] }, "consequent": { "type": "BlockStatement", "start": 4642, "end": 5126, "loc": { "start": { "line": 174, "column": 33 }, "end": { "line": 186, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 4652, "end": 4665, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4656, "end": 4664, "loc": { "start": { "line": 175, "column": 12 }, "end": { "line": 175, "column": 20 } }, "id": { "type": "Identifier", "start": 4656, "end": 4660, "loc": { "start": { "line": 175, "column": 12 }, "end": { "line": 175, "column": 16 }, "identifierName": "skip" }, "name": "skip" }, "init": { "type": "NumericLiteral", "start": 4663, "end": 4664, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 20 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " skip at least 1", "start": 4666, "end": 4684, "loc": { "start": { "line": 175, "column": 22 }, "end": { "line": 175, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 4693, "end": 4724, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4693, "end": 4723, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", "start": 4693, "end": 4699, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 4702, "end": 4723, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 38 } }, "object": { "type": "CallExpression", "start": 4702, "end": 4720, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 4702, "end": 4712, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 27 } }, "object": { "type": "RegExpLiteral", "start": 4702, "end": 4707, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 22 } }, "extra": { "raw": "/\\d+/" }, "pattern": "\\d+", "flags": "" }, "property": { "type": "Identifier", "start": 4708, "end": 4712, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 }, "identifierName": "exec" }, "name": "exec" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4713, "end": 4719, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 34 }, "identifierName": "substr" }, "name": "substr" } ] }, "property": { "type": "NumericLiteral", "start": 4721, "end": 4722, "loc": { "start": { "line": 176, "column": 36 }, "end": { "line": 176, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " skip at least 1", "start": 4666, "end": 4684, "loc": { "start": { "line": 175, "column": 22 }, "end": { "line": 175, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 4733, "end": 4755, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 4733, "end": 4754, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 29 } }, "operator": "+=", "left": { "type": "Identifier", "start": 4733, "end": 4737, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 12 }, "identifierName": "skip" }, "name": "skip" }, "right": { "type": "MemberExpression", "start": 4741, "end": 4754, "loc": { "start": { "line": 177, "column": 16 }, "end": { "line": 177, "column": 29 } }, "object": { "type": "Identifier", "start": 4741, "end": 4747, "loc": { "start": { "line": 177, "column": 16 }, "end": { "line": 177, "column": 22 }, "identifierName": "substr" }, "name": "substr" }, "property": { "type": "Identifier", "start": 4748, "end": 4754, "loc": { "start": { "line": 177, "column": 23 }, "end": { "line": 177, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 4764, "end": 4793, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 4764, "end": 4792, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 4764, "end": 4773, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 17 }, "identifierName": "pauseTime" }, "name": "pauseTime" }, "right": { "type": "CallExpression", "start": 4776, "end": 4792, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 36 } }, "callee": { "type": "Identifier", "start": 4776, "end": 4784, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 28 }, "identifierName": "parseInt" }, "name": "parseInt" }, "arguments": [ { "type": "Identifier", "start": 4785, "end": 4791, "loc": { "start": { "line": 178, "column": 29 }, "end": { "line": 178, "column": 35 }, "identifierName": "substr" }, "name": "substr" } ] } } }, { "type": "ExpressionStatement", "start": 4802, "end": 4829, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 4802, "end": 4828, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4802, "end": 4821, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4802, "end": 4806, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 12 } } }, "property": { "type": "Identifier", "start": 4807, "end": 4821, "loc": { "start": { "line": 179, "column": 13 }, "end": { "line": 179, "column": 27 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 4824, "end": 4828, "loc": { "start": { "line": 179, "column": 30 }, "end": { "line": 179, "column": 34 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 4838, "end": 4887, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 57 } }, "expression": { "type": "CallExpression", "start": 4838, "end": 4886, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4838, "end": 4865, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 35 } }, "object": { "type": "MemberExpression", "start": 4838, "end": 4850, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4838, "end": 4842, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 12 } } }, "property": { "type": "Identifier", "start": 4843, "end": 4850, "loc": { "start": { "line": 180, "column": 13 }, "end": { "line": 180, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4851, "end": 4865, "loc": { "start": { "line": 180, "column": 21 }, "end": { "line": 180, "column": 35 }, "identifierName": "onTypingPaused" }, "name": "onTypingPaused" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4866, "end": 4879, "loc": { "start": { "line": 180, "column": 36 }, "end": { "line": 180, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4866, "end": 4870, "loc": { "start": { "line": 180, "column": 36 }, "end": { "line": 180, "column": 40 } } }, "property": { "type": "Identifier", "start": 4871, "end": 4879, "loc": { "start": { "line": 180, "column": 41 }, "end": { "line": 180, "column": 49 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 4881, "end": 4885, "loc": { "start": { "line": 180, "column": 51 }, "end": { "line": 180, "column": 55 } } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4896, "end": 4968, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 80 } } } ] }, { "type": "ExpressionStatement", "start": 4977, "end": 5083, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 184, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 4977, "end": 5082, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 184, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", "start": 4977, "end": 4986, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 17 }, "identifierName": "curString" }, "name": "curString", "leadingComments": null }, "right": { "type": "BinaryExpression", "start": 4999, "end": 5082, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 184, "column": 47 } }, "left": { "type": "CallExpression", "start": 4999, "end": 5032, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 4999, "end": 5018, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 29 } }, "object": { "type": "Identifier", "start": 4999, "end": 5008, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 19 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5009, "end": 5018, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 29 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5019, "end": 5020, "loc": { "start": { "line": 183, "column": 30 }, "end": { "line": 183, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 5022, "end": 5031, "loc": { "start": { "line": 183, "column": 33 }, "end": { "line": 183, "column": 42 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 5045, "end": 5082, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 5045, "end": 5064, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 29 } }, "object": { "type": "Identifier", "start": 5045, "end": 5054, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 19 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5055, "end": 5064, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 29 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5065, "end": 5081, "loc": { "start": { "line": 184, "column": 30 }, "end": { "line": 184, "column": 46 } }, "left": { "type": "Identifier", "start": 5065, "end": 5074, "loc": { "start": { "line": 184, "column": 30 }, "end": { "line": 184, "column": 39 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 5077, "end": 5081, "loc": { "start": { "line": 184, "column": 42 }, "end": { "line": 184, "column": 46 }, "identifierName": "skip" }, "name": "skip" } } ] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4896, "end": 4968, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 80 } } } ] }, { "type": "ExpressionStatement", "start": 5092, "end": 5118, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 34 } }, "expression": { "type": "CallExpression", "start": 5092, "end": 5117, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 5092, "end": 5111, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 27 } }, "object": { "type": "ThisExpression", "start": 5092, "end": 5096, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 12 } } }, "property": { "type": "Identifier", "start": 5097, "end": 5111, "loc": { "start": { "line": 185, "column": 13 }, "end": { "line": 185, "column": 27 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 5112, "end": 5116, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 32 } }, "value": true } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 4399, "end": 4452, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 57 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 4457, "end": 4532, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 79 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 4537, "end": 4572, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 5138, "end": 5179, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 45 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 5184, "end": 5224, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 44 } } } ] }, { "type": "IfStatement", "start": 5229, "end": 5863, "loc": { "start": { "line": 191, "column": 4 }, "end": { "line": 205, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5233, "end": 5257, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 32 } }, "left": { "type": "CallExpression", "start": 5233, "end": 5249, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 5233, "end": 5246, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 21 } }, "object": { "type": "Identifier", "start": 5233, "end": 5239, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 14 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "property": { "type": "Identifier", "start": 5240, "end": 5246, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 21 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "NumericLiteral", "start": 5247, "end": 5248, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 5254, "end": 5257, "loc": { "start": { "line": 191, "column": 29 }, "end": { "line": 191, "column": 32 } }, "extra": { "rawValue": "`", "raw": "'`'" }, "value": "`" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5259, "end": 5863, "loc": { "start": { "line": 191, "column": 34 }, "end": { "line": 205, "column": 5 } }, "body": [ { "type": "WhileStatement", "start": 5267, "end": 5424, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 195, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 5274, "end": 5333, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 72 } }, "left": { "type": "CallExpression", "start": 5274, "end": 5325, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5274, "end": 5322, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 61 } }, "object": { "type": "CallExpression", "start": 5274, "end": 5315, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 5274, "end": 5293, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 32 } }, "object": { "type": "Identifier", "start": 5274, "end": 5283, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5284, "end": 5293, "loc": { "start": { "line": 192, "column": 23 }, "end": { "line": 192, "column": 32 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5294, "end": 5314, "loc": { "start": { "line": 192, "column": 33 }, "end": { "line": 192, "column": 53 } }, "left": { "type": "Identifier", "start": 5294, "end": 5303, "loc": { "start": { "line": 192, "column": 33 }, "end": { "line": 192, "column": 42 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 5306, "end": 5314, "loc": { "start": { "line": 192, "column": 45 }, "end": { "line": 192, "column": 53 }, "identifierName": "numChars" }, "name": "numChars" } } ] }, "property": { "type": "Identifier", "start": 5316, "end": 5322, "loc": { "start": { "line": 192, "column": 55 }, "end": { "line": 192, "column": 61 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5323, "end": 5324, "loc": { "start": { "line": 192, "column": 62 }, "end": { "line": 192, "column": 63 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "operator": "!==", "right": { "type": "StringLiteral", "start": 5330, "end": 5333, "loc": { "start": { "line": 192, "column": 69 }, "end": { "line": 192, "column": 72 } }, "extra": { "rawValue": "`", "raw": "'`'" }, "value": "`" } }, "body": { "type": "BlockStatement", "start": 5335, "end": 5424, "loc": { "start": { "line": 192, "column": 74 }, "end": { "line": 195, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 5345, "end": 5356, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 19 } }, "expression": { "type": "UpdateExpression", "start": 5345, "end": 5355, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 18 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 5345, "end": 5353, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 16 }, "identifierName": "numChars" }, "name": "numChars" } } }, { "type": "IfStatement", "start": 5365, "end": 5416, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 59 } }, "test": { "type": "BinaryExpression", "start": 5369, "end": 5408, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 51 } }, "left": { "type": "BinaryExpression", "start": 5369, "end": 5389, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 32 } }, "left": { "type": "Identifier", "start": 5369, "end": 5378, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 21 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 5381, "end": 5389, "loc": { "start": { "line": 194, "column": 24 }, "end": { "line": 194, "column": 32 }, "identifierName": "numChars" }, "name": "numChars" } }, "operator": ">", "right": { "type": "MemberExpression", "start": 5392, "end": 5408, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 51 } }, "object": { "type": "Identifier", "start": 5392, "end": 5401, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 44 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5402, "end": 5408, "loc": { "start": { "line": 194, "column": 45 }, "end": { "line": 194, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BreakStatement", "start": 5410, "end": 5416, "loc": { "start": { "line": 194, "column": 53 }, "end": { "line": 194, "column": 59 } }, "label": null }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 5431, "end": 5502, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 196, "column": 77 } } } ] }, { "type": "VariableDeclaration", "start": 5509, "end": 5568, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5515, "end": 5567, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 64 } }, "id": { "type": "Identifier", "start": 5515, "end": 5531, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 28 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip", "leadingComments": null }, "init": { "type": "CallExpression", "start": 5534, "end": 5567, "loc": { "start": { "line": 197, "column": 31 }, "end": { "line": 197, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5534, "end": 5553, "loc": { "start": { "line": 197, "column": 31 }, "end": { "line": 197, "column": 50 } }, "object": { "type": "Identifier", "start": 5534, "end": 5543, "loc": { "start": { "line": 197, "column": 31 }, "end": { "line": 197, "column": 40 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5544, "end": 5553, "loc": { "start": { "line": 197, "column": 41 }, "end": { "line": 197, "column": 50 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5554, "end": 5555, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 5557, "end": 5566, "loc": { "start": { "line": 197, "column": 54 }, "end": { "line": 197, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 5431, "end": 5502, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 196, "column": 77 } } } ] }, { "type": "VariableDeclaration", "start": 5575, "end": 5692, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 201, "column": 8 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5581, "end": 5691, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 201, "column": 7 } }, "id": { "type": "Identifier", "start": 5581, "end": 5594, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 25 }, "identifierName": "stringSkipped" }, "name": "stringSkipped" }, "init": { "type": "CallExpression", "start": 5597, "end": 5691, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 201, "column": 7 } }, "callee": { "type": "MemberExpression", "start": 5597, "end": 5616, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 47 } }, "object": { "type": "Identifier", "start": 5597, "end": 5606, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 37 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5607, "end": 5616, "loc": { "start": { "line": 198, "column": 38 }, "end": { "line": 198, "column": 47 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5626, "end": 5653, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 35 } }, "left": { "type": "MemberExpression", "start": 5626, "end": 5649, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 31 } }, "object": { "type": "Identifier", "start": 5626, "end": 5642, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 24 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip" }, "property": { "type": "Identifier", "start": 5643, "end": 5649, "loc": { "start": { "line": 199, "column": 25 }, "end": { "line": 199, "column": 31 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 5652, "end": 5653, "loc": { "start": { "line": 199, "column": 34 }, "end": { "line": 199, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "BinaryExpression", "start": 5663, "end": 5683, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 28 } }, "left": { "type": "Identifier", "start": 5663, "end": 5672, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 5675, "end": 5683, "loc": { "start": { "line": 200, "column": 20 }, "end": { "line": 200, "column": 28 }, "identifierName": "numChars" }, "name": "numChars" } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5699, "end": 5769, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5705, "end": 5768, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 75 } }, "id": { "type": "Identifier", "start": 5705, "end": 5720, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 27 }, "identifierName": "stringAfterSkip" }, "name": "stringAfterSkip" }, "init": { "type": "CallExpression", "start": 5723, "end": 5768, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 5723, "end": 5742, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 49 } }, "object": { "type": "Identifier", "start": 5723, "end": 5732, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 39 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5733, "end": 5742, "loc": { "start": { "line": 202, "column": 40 }, "end": { "line": 202, "column": 49 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5743, "end": 5767, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 74 } }, "left": { "type": "BinaryExpression", "start": 5743, "end": 5763, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 70 } }, "left": { "type": "Identifier", "start": 5743, "end": 5752, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 59 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 5755, "end": 5763, "loc": { "start": { "line": 202, "column": 62 }, "end": { "line": 202, "column": 70 }, "identifierName": "numChars" }, "name": "numChars" } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 5766, "end": 5767, "loc": { "start": { "line": 202, "column": 73 }, "end": { "line": 202, "column": 74 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5776, "end": 5839, "loc": { "start": { "line": 203, "column": 6 }, "end": { "line": 203, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 5776, "end": 5838, "loc": { "start": { "line": 203, "column": 6 }, "end": { "line": 203, "column": 68 } }, "operator": "=", "left": { "type": "Identifier", "start": 5776, "end": 5785, "loc": { "start": { "line": 203, "column": 6 }, "end": { "line": 203, "column": 15 }, "identifierName": "curString" }, "name": "curString" }, "right": { "type": "BinaryExpression", "start": 5788, "end": 5838, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 68 } }, "left": { "type": "BinaryExpression", "start": 5788, "end": 5820, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 50 } }, "left": { "type": "Identifier", "start": 5788, "end": 5804, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 34 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip" }, "operator": "+", "right": { "type": "Identifier", "start": 5807, "end": 5820, "loc": { "start": { "line": 203, "column": 37 }, "end": { "line": 203, "column": 50 }, "identifierName": "stringSkipped" }, "name": "stringSkipped" } }, "operator": "+", "right": { "type": "Identifier", "start": 5823, "end": 5838, "loc": { "start": { "line": 203, "column": 53 }, "end": { "line": 203, "column": 68 }, "identifierName": "stringAfterSkip" }, "name": "stringAfterSkip" } } } }, { "type": "ExpressionStatement", "start": 5846, "end": 5857, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 17 } }, "expression": { "type": "UpdateExpression", "start": 5846, "end": 5856, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 16 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 5846, "end": 5854, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 14 }, "identifierName": "numChars" }, "name": "numChars" } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 5138, "end": 5179, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 45 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 5184, "end": 5224, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 44 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5869, "end": 5911, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 46 } } } ] }, { "type": "ExpressionStatement", "start": 5916, "end": 6426, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 223, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 5916, "end": 6425, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 223, "column": 17 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5916, "end": 5928, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 16 } }, "object": { "type": "ThisExpression", "start": 5916, "end": 5920, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5921, "end": 5928, "loc": { "start": { "line": 208, "column": 9 }, "end": { "line": 208, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5931, "end": 6425, "loc": { "start": { "line": 208, "column": 19 }, "end": { "line": 223, "column": 17 } }, "callee": { "type": "Identifier", "start": 5931, "end": 5941, "loc": { "start": { "line": 208, "column": 19 }, "end": { "line": 208, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 5942, "end": 6413, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 223, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5948, "end": 6413, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 223, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6000, "end": 6027, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 33 } }, "expression": { "type": "CallExpression", "start": 6000, "end": 6026, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 6000, "end": 6019, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6000, "end": 6004, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6005, "end": 6019, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 25 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "BooleanLiteral", "start": 6020, "end": 6025, "loc": { "start": { "line": 210, "column": 26 }, "end": { "line": 210, "column": 31 } }, "value": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5956, "end": 5993, "loc": { "start": { "line": 209, "column": 6 }, "end": { "line": 209, "column": 43 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " We're done with this sentence!", "start": 6035, "end": 6068, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 39 } } } ] }, { "type": "IfStatement", "start": 6075, "end": 6238, "loc": { "start": { "line": 213, "column": 6 }, "end": { "line": 217, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 6079, "end": 6108, "loc": { "start": { "line": 213, "column": 10 }, "end": { "line": 213, "column": 39 } }, "left": { "type": "Identifier", "start": 6079, "end": 6088, "loc": { "start": { "line": 213, "column": 10 }, "end": { "line": 213, "column": 19 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": ">=", "right": { "type": "MemberExpression", "start": 6092, "end": 6108, "loc": { "start": { "line": 213, "column": 23 }, "end": { "line": 213, "column": 39 } }, "object": { "type": "Identifier", "start": 6092, "end": 6101, "loc": { "start": { "line": 213, "column": 23 }, "end": { "line": 213, "column": 32 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 6102, "end": 6108, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6110, "end": 6166, "loc": { "start": { "line": 213, "column": 41 }, "end": { "line": 215, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 6120, "end": 6158, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 46 } }, "expression": { "type": "CallExpression", "start": 6120, "end": 6157, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 6120, "end": 6135, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6120, "end": 6124, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 12 } } }, "property": { "type": "Identifier", "start": 6125, "end": 6135, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 23 }, "identifierName": "doneTyping" }, "name": "doneTyping" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6136, "end": 6145, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 33 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 6147, "end": 6156, "loc": { "start": { "line": 214, "column": 35 }, "end": { "line": 214, "column": 44 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 6172, "end": 6238, "loc": { "start": { "line": 215, "column": 13 }, "end": { "line": 217, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 6182, "end": 6230, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 56 } }, "expression": { "type": "CallExpression", "start": 6182, "end": 6229, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6182, "end": 6197, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6182, "end": 6186, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 12 } } }, "property": { "type": "Identifier", "start": 6187, "end": 6197, "loc": { "start": { "line": 216, "column": 13 }, "end": { "line": 216, "column": 23 }, "identifierName": "keepTyping" }, "name": "keepTyping" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6198, "end": 6207, "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 33 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 6209, "end": 6218, "loc": { "start": { "line": 216, "column": 35 }, "end": { "line": 216, "column": 44 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 6220, "end": 6228, "loc": { "start": { "line": 216, "column": 46 }, "end": { "line": 216, "column": 54 }, "identifierName": "numChars" }, "name": "numChars" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We're done with this sentence!", "start": 6035, "end": 6068, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " end of character pause", "start": 6245, "end": 6270, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "column": 31 } } } ] }, { "type": "IfStatement", "start": 6277, "end": 6407, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 222, "column": 7 } }, "test": { "type": "MemberExpression", "start": 6281, "end": 6300, "loc": { "start": { "line": 219, "column": 10 }, "end": { "line": 219, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6281, "end": 6285, "loc": { "start": { "line": 219, "column": 10 }, "end": { "line": 219, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6286, "end": 6300, "loc": { "start": { "line": 219, "column": 15 }, "end": { "line": 219, "column": 29 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6302, "end": 6407, "loc": { "start": { "line": 219, "column": 31 }, "end": { "line": 222, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 6312, "end": 6340, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 6312, "end": 6339, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6312, "end": 6331, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 12 } } }, "property": { "type": "Identifier", "start": 6317, "end": 6331, "loc": { "start": { "line": 220, "column": 13 }, "end": { "line": 220, "column": 27 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 6334, "end": 6339, "loc": { "start": { "line": 220, "column": 30 }, "end": { "line": 220, "column": 35 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 6349, "end": 6399, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 58 } }, "expression": { "type": "CallExpression", "start": 6349, "end": 6398, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 6349, "end": 6377, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 36 } }, "object": { "type": "MemberExpression", "start": 6349, "end": 6361, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 20 } }, "object": { "type": "ThisExpression", "start": 6349, "end": 6353, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 12 } } }, "property": { "type": "Identifier", "start": 6354, "end": 6361, "loc": { "start": { "line": 221, "column": 13 }, "end": { "line": 221, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6362, "end": 6377, "loc": { "start": { "line": 221, "column": 21 }, "end": { "line": 221, "column": 36 }, "identifierName": "onTypingResumed" }, "name": "onTypingResumed" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6378, "end": 6391, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 50 } }, "object": { "type": "ThisExpression", "start": 6378, "end": 6382, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 41 } } }, "property": { "type": "Identifier", "start": 6383, "end": 6391, "loc": { "start": { "line": 221, "column": 42 }, "end": { "line": 221, "column": 50 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 6393, "end": 6397, "loc": { "start": { "line": 221, "column": 52 }, "end": { "line": 221, "column": 56 } } } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " end of character pause", "start": 6245, "end": 6270, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "column": 31 } } } ] } ], "directives": [] } }, { "type": "Identifier", "start": 6415, "end": 6424, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 16 }, "identifierName": "pauseTime" }, "name": "pauseTime" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5869, "end": 5911, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 46 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6434, "end": 6645, "loc": { "start": { "line": 226, "column": 2 }, "end": { "line": 231, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6648, "end": 7169, "loc": { "start": { "line": 232, "column": 2 }, "end": { "line": 245, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6648, "end": 6658, "loc": { "start": { "line": 232, "column": 2 }, "end": { "line": 232, "column": 12 }, "identifierName": "keepTyping" }, "name": "keepTyping", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6659, "end": 6668, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 6670, "end": 6679, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 33 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 6681, "end": 6689, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 43 }, "identifierName": "numChars" }, "name": "numChars" } ], "body": { "type": "BlockStatement", "start": 6691, "end": 7169, "loc": { "start": { "line": 232, "column": 45 }, "end": { "line": 245, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 6740, "end": 6858, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 237, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6744, "end": 6759, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 23 } }, "left": { "type": "Identifier", "start": 6744, "end": 6753, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 6758, "end": 6759, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6761, "end": 6858, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 237, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6769, "end": 6796, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 33 } }, "expression": { "type": "CallExpression", "start": 6769, "end": 6795, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 6769, "end": 6788, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6769, "end": 6773, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 10 } } }, "property": { "type": "Identifier", "start": 6774, "end": 6788, "loc": { "start": { "line": 235, "column": 11 }, "end": { "line": 235, "column": 25 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 6789, "end": 6794, "loc": { "start": { "line": 235, "column": 26 }, "end": { "line": 235, "column": 31 } }, "value": false } ] } }, { "type": "ExpressionStatement", "start": 6803, "end": 6852, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 55 } }, "expression": { "type": "CallExpression", "start": 6803, "end": 6851, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 6803, "end": 6830, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 33 } }, "object": { "type": "MemberExpression", "start": 6803, "end": 6815, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6803, "end": 6807, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 10 } } }, "property": { "type": "Identifier", "start": 6808, "end": 6815, "loc": { "start": { "line": 236, "column": 11 }, "end": { "line": 236, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6816, "end": 6830, "loc": { "start": { "line": 236, "column": 19 }, "end": { "line": 236, "column": 33 }, "identifierName": "preStringTyped" }, "name": "preStringTyped" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6831, "end": 6844, "loc": { "start": { "line": 236, "column": 34 }, "end": { "line": 236, "column": 47 } }, "object": { "type": "ThisExpression", "start": 6831, "end": 6835, "loc": { "start": { "line": 236, "column": 34 }, "end": { "line": 236, "column": 38 } } }, "property": { "type": "Identifier", "start": 6836, "end": 6844, "loc": { "start": { "line": 236, "column": 39 }, "end": { "line": 236, "column": 47 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 6846, "end": 6850, "loc": { "start": { "line": 236, "column": 49 }, "end": { "line": 236, "column": 53 } } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " call before functions if applicable", "start": 6697, "end": 6735, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6863, "end": 6913, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6918, "end": 6979, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 6984, "end": 7006, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 6984, "end": 7005, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 25 } }, "operator": "+=", "left": { "type": "Identifier", "start": 6984, "end": 6993, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 13 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "right": { "type": "Identifier", "start": 6997, "end": 7005, "loc": { "start": { "line": 240, "column": 17 }, "end": { "line": 240, "column": 25 }, "identifierName": "numChars" }, "name": "numChars" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6863, "end": 6913, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6918, "end": 6979, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 65 } } } ] }, { "type": "VariableDeclaration", "start": 7011, "end": 7064, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7017, "end": 7063, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 56 } }, "id": { "type": "Identifier", "start": 7017, "end": 7027, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 20 }, "identifierName": "nextString" }, "name": "nextString" }, "init": { "type": "CallExpression", "start": 7030, "end": 7063, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 7030, "end": 7049, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 42 } }, "object": { "type": "Identifier", "start": 7030, "end": 7039, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 32 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 7040, "end": 7049, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 42 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7050, "end": 7051, "loc": { "start": { "line": 241, "column": 43 }, "end": { "line": 241, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 7053, "end": 7062, "loc": { "start": { "line": 241, "column": 46 }, "end": { "line": 241, "column": 55 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 7069, "end": 7098, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 33 } }, "expression": { "type": "CallExpression", "start": 7069, "end": 7097, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 7069, "end": 7085, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7069, "end": 7073, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 8 } } }, "property": { "type": "Identifier", "start": 7074, "end": 7085, "loc": { "start": { "line": 242, "column": 9 }, "end": { "line": 242, "column": 20 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7086, "end": 7096, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 31 }, "identifierName": "nextString" }, "name": "nextString" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 7103, "end": 7123, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 7128, "end": 7165, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 41 } }, "expression": { "type": "CallExpression", "start": 7128, "end": 7164, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 7128, "end": 7142, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7128, "end": 7132, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7133, "end": 7142, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 18 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 7143, "end": 7152, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 28 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7154, "end": 7163, "loc": { "start": { "line": 244, "column": 30 }, "end": { "line": 244, "column": 39 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 7103, "end": 7123, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 24 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6434, "end": 6645, "loc": { "start": { "line": 226, "column": 2 }, "end": { "line": 231, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7173, "end": 7378, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 252, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7381, "end": 7936, "loc": { "start": { "line": 253, "column": 2 }, "end": { "line": 269, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7381, "end": 7391, "loc": { "start": { "line": 253, "column": 2 }, "end": { "line": 253, "column": 12 }, "identifierName": "doneTyping" }, "name": "doneTyping", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7392, "end": 7401, "loc": { "start": { "line": 253, "column": 13 }, "end": { "line": 253, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7403, "end": 7412, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 33 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 7414, "end": 7936, "loc": { "start": { "line": 253, "column": 35 }, "end": { "line": 269, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7451, "end": 7499, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 52 } }, "expression": { "type": "CallExpression", "start": 7451, "end": 7498, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 7451, "end": 7477, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 30 } }, "object": { "type": "MemberExpression", "start": 7451, "end": 7463, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7451, "end": 7455, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7456, "end": 7463, "loc": { "start": { "line": 255, "column": 9 }, "end": { "line": 255, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7464, "end": 7477, "loc": { "start": { "line": 255, "column": 17 }, "end": { "line": 255, "column": 30 }, "identifierName": "onStringTyped" }, "name": "onStringTyped" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 7478, "end": 7491, "loc": { "start": { "line": 255, "column": 31 }, "end": { "line": 255, "column": 44 } }, "object": { "type": "ThisExpression", "start": 7478, "end": 7482, "loc": { "start": { "line": 255, "column": 31 }, "end": { "line": 255, "column": 35 } } }, "property": { "type": "Identifier", "start": 7483, "end": 7491, "loc": { "start": { "line": 255, "column": 36 }, "end": { "line": 255, "column": 44 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 7493, "end": 7497, "loc": { "start": { "line": 255, "column": 46 }, "end": { "line": 255, "column": 50 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " fires callback function", "start": 7420, "end": 7446, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 30 } } } ] }, { "type": "ExpressionStatement", "start": 7504, "end": 7530, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 30 } }, "expression": { "type": "CallExpression", "start": 7504, "end": 7529, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 7504, "end": 7523, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 23 } }, "object": { "type": "ThisExpression", "start": 7504, "end": 7508, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 8 } } }, "property": { "type": "Identifier", "start": 7509, "end": 7523, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 7524, "end": 7528, "loc": { "start": { "line": 256, "column": 24 }, "end": { "line": 256, "column": 28 } }, "value": true } ] }, "trailingComments": [ { "type": "CommentLine", "value": " is this the final string", "start": 7535, "end": 7562, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 31 } } } ] }, { "type": "IfStatement", "start": 7567, "end": 7826, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7571, "end": 7612, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 49 } }, "left": { "type": "MemberExpression", "start": 7571, "end": 7584, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7571, "end": 7575, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7576, "end": 7584, "loc": { "start": { "line": 258, "column": 13 }, "end": { "line": 258, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "BinaryExpression", "start": 7589, "end": 7612, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 49 } }, "left": { "type": "MemberExpression", "start": 7589, "end": 7608, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 45 } }, "object": { "type": "MemberExpression", "start": 7589, "end": 7601, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7589, "end": 7593, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 30 } } }, "property": { "type": "Identifier", "start": 7594, "end": 7601, "loc": { "start": { "line": 258, "column": 31 }, "end": { "line": 258, "column": 38 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 7602, "end": 7608, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7611, "end": 7612, "loc": { "start": { "line": 258, "column": 48 }, "end": { "line": 258, "column": 49 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7614, "end": 7826, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7677, "end": 7693, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 22 } }, "expression": { "type": "CallExpression", "start": 7677, "end": 7692, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 7677, "end": 7690, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 19 } }, "object": { "type": "ThisExpression", "start": 7677, "end": 7681, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7682, "end": 7690, "loc": { "start": { "line": 260, "column": 11 }, "end": { "line": 260, "column": 19 }, "identifierName": "complete" }, "name": "complete" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 7622, "end": 7670, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 54 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7700, "end": 7728, "loc": { "start": { "line": 261, "column": 6 }, "end": { "line": 261, "column": 34 } } } ] }, { "type": "IfStatement", "start": 7735, "end": 7820, "loc": { "start": { "line": 262, "column": 6 }, "end": { "line": 264, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 7739, "end": 7793, "loc": { "start": { "line": 262, "column": 10 }, "end": { "line": 262, "column": 64 } }, "left": { "type": "BinaryExpression", "start": 7739, "end": 7758, "loc": { "start": { "line": 262, "column": 10 }, "end": { "line": 262, "column": 29 } }, "left": { "type": "MemberExpression", "start": 7739, "end": 7748, "loc": { "start": { "line": 262, "column": 10 }, "end": { "line": 262, "column": 19 } }, "object": { "type": "ThisExpression", "start": 7739, "end": 7743, "loc": { "start": { "line": 262, "column": 10 }, "end": { "line": 262, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7744, "end": 7748, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 19 }, "identifierName": "loop" }, "name": "loop" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 7753, "end": 7758, "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 29 } }, "value": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7762, "end": 7793, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 64 } }, "left": { "type": "MemberExpression", "start": 7762, "end": 7774, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 45 } }, "object": { "type": "ThisExpression", "start": 7762, "end": 7766, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 37 } } }, "property": { "type": "Identifier", "start": 7767, "end": 7774, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 45 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 7779, "end": 7793, "loc": { "start": { "line": 262, "column": 50 }, "end": { "line": 262, "column": 64 } }, "object": { "type": "ThisExpression", "start": 7779, "end": 7783, "loc": { "start": { "line": 262, "column": 50 }, "end": { "line": 262, "column": 54 } } }, "property": { "type": "Identifier", "start": 7784, "end": 7793, "loc": { "start": { "line": 262, "column": 55 }, "end": { "line": 262, "column": 64 }, "identifierName": "loopCount" }, "name": "loopCount" }, "computed": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7795, "end": 7820, "loc": { "start": { "line": 262, "column": 66 }, "end": { "line": 264, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 7805, "end": 7812, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7700, "end": 7728, "loc": { "start": { "line": 261, "column": 6 }, "end": { "line": 261, "column": 34 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " is this the final string", "start": 7535, "end": 7562, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 7831, "end": 7932, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 7831, "end": 7931, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7831, "end": 7843, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7831, "end": 7835, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 8 } } }, "property": { "type": "Identifier", "start": 7836, "end": 7843, "loc": { "start": { "line": 266, "column": 9 }, "end": { "line": 266, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false }, "right": { "type": "CallExpression", "start": 7846, "end": 7931, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 268, "column": 22 } }, "callee": { "type": "Identifier", "start": 7846, "end": 7856, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 266, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7857, "end": 7914, "loc": { "start": { "line": 266, "column": 30 }, "end": { "line": 268, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7863, "end": 7914, "loc": { "start": { "line": 266, "column": 36 }, "end": { "line": 268, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7871, "end": 7908, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 43 } }, "expression": { "type": "CallExpression", "start": 7871, "end": 7907, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 7871, "end": 7885, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7871, "end": 7875, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 10 } } }, "property": { "type": "Identifier", "start": 7876, "end": 7885, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 20 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7886, "end": 7895, "loc": { "start": { "line": 267, "column": 21 }, "end": { "line": 267, "column": 30 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7897, "end": 7906, "loc": { "start": { "line": 267, "column": 32 }, "end": { "line": 267, "column": 41 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] } }, { "type": "MemberExpression", "start": 7916, "end": 7930, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7916, "end": 7920, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 11 } } }, "property": { "type": "Identifier", "start": 7921, "end": 7930, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 21 }, "identifierName": "backDelay" }, "name": "backDelay" }, "computed": false } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7173, "end": 7378, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 252, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7940, "end": 8141, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 276, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 8144, "end": 10048, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 330, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8144, "end": 8153, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 11 }, "identifierName": "backspace" }, "name": "backspace", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8154, "end": 8163, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 8165, "end": 8174, "loc": { "start": { "line": 277, "column": 23 }, "end": { "line": 277, "column": 32 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 8176, "end": 10048, "loc": { "start": { "line": 277, "column": 34 }, "end": { "line": 330, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 8182, "end": 8291, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 281, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8186, "end": 8212, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 34 } }, "left": { "type": "MemberExpression", "start": 8186, "end": 8203, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 25 } }, "object": { "type": "MemberExpression", "start": 8186, "end": 8196, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 18 } }, "object": { "type": "ThisExpression", "start": 8186, "end": 8190, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 12 } } }, "property": { "type": "Identifier", "start": 8191, "end": 8196, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 278, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 8197, "end": 8203, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 8208, "end": 8212, "loc": { "start": { "line": 278, "column": 30 }, "end": { "line": 278, "column": 34 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 8214, "end": 8291, "loc": { "start": { "line": 278, "column": 36 }, "end": { "line": 281, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8222, "end": 8271, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 55 } }, "expression": { "type": "CallExpression", "start": 8222, "end": 8270, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 8222, "end": 8241, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8222, "end": 8226, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 10 } } }, "property": { "type": "Identifier", "start": 8227, "end": 8241, "loc": { "start": { "line": 279, "column": 11 }, "end": { "line": 279, "column": 25 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8242, "end": 8251, "loc": { "start": { "line": 279, "column": 26 }, "end": { "line": 279, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 8253, "end": 8262, "loc": { "start": { "line": 279, "column": 37 }, "end": { "line": 279, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "BooleanLiteral", "start": 8264, "end": 8269, "loc": { "start": { "line": 279, "column": 48 }, "end": { "line": 279, "column": 53 } }, "value": false } ] } }, { "type": "ReturnStatement", "start": 8278, "end": 8285, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 13 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8296, "end": 8340, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 282, "column": 48 } }, "test": { "type": "MemberExpression", "start": 8300, "end": 8312, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8300, "end": 8304, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 12 } } }, "property": { "type": "Identifier", "start": 8305, "end": 8312, "loc": { "start": { "line": 282, "column": 13 }, "end": { "line": 282, "column": 20 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 8314, "end": 8340, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 48 } }, "argument": { "type": "CallExpression", "start": 8321, "end": 8339, "loc": { "start": { "line": 282, "column": 29 }, "end": { "line": 282, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 8321, "end": 8337, "loc": { "start": { "line": 282, "column": 29 }, "end": { "line": 282, "column": 45 } }, "object": { "type": "ThisExpression", "start": 8321, "end": 8325, "loc": { "start": { "line": 282, "column": 29 }, "end": { "line": 282, "column": 33 } } }, "property": { "type": "Identifier", "start": 8326, "end": 8337, "loc": { "start": { "line": 282, "column": 34 }, "end": { "line": 282, "column": 45 }, "identifierName": "initFadeOut" }, "name": "initFadeOut" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 8346, "end": 8373, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 31 } }, "expression": { "type": "CallExpression", "start": 8346, "end": 8372, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 8346, "end": 8365, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 23 } }, "object": { "type": "ThisExpression", "start": 8346, "end": 8350, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 8 } } }, "property": { "type": "Identifier", "start": 8351, "end": 8365, "loc": { "start": { "line": 284, "column": 9 }, "end": { "line": 284, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 8366, "end": 8371, "loc": { "start": { "line": 284, "column": 24 }, "end": { "line": 284, "column": 29 } }, "value": false } ] } }, { "type": "VariableDeclaration", "start": 8378, "end": 8426, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8384, "end": 8425, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 51 } }, "id": { "type": "Identifier", "start": 8384, "end": 8392, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 18 }, "identifierName": "humanize" }, "name": "humanize" }, "init": { "type": "CallExpression", "start": 8395, "end": 8425, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 8395, "end": 8409, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 35 } }, "object": { "type": "ThisExpression", "start": 8395, "end": 8399, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 25 } } }, "property": { "type": "Identifier", "start": 8400, "end": 8409, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "column": 35 }, "identifierName": "humanizer" }, "name": "humanizer" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8410, "end": 8424, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 50 } }, "object": { "type": "ThisExpression", "start": 8410, "end": 8414, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 40 } } }, "property": { "type": "Identifier", "start": 8415, "end": 8424, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 50 }, "identifierName": "backSpeed" }, "name": "backSpeed" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 8432, "end": 10044, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 329, "column": 17 } }, "expression": { "type": "AssignmentExpression", "start": 8432, "end": 10043, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 329, "column": 16 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8432, "end": 8444, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 287, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8432, "end": 8436, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 287, "column": 8 } } }, "property": { "type": "Identifier", "start": 8437, "end": 8444, "loc": { "start": { "line": 287, "column": 9 }, "end": { "line": 287, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false }, "right": { "type": "CallExpression", "start": 8447, "end": 10043, "loc": { "start": { "line": 287, "column": 19 }, "end": { "line": 329, "column": 16 } }, "callee": { "type": "Identifier", "start": 8447, "end": 8457, "loc": { "start": { "line": 287, "column": 19 }, "end": { "line": 287, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 8458, "end": 10032, "loc": { "start": { "line": 287, "column": 30 }, "end": { "line": 329, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8464, "end": 10032, "loc": { "start": { "line": 287, "column": 36 }, "end": { "line": 329, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8472, "end": 8542, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 8472, "end": 8541, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 8472, "end": 8481, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "right": { "type": "CallExpression", "start": 8484, "end": 8541, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 8484, "end": 8513, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 47 } }, "object": { "type": "Identifier", "start": 8484, "end": 8494, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 28 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "property": { "type": "Identifier", "start": 8495, "end": 8513, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 47 }, "identifierName": "backSpaceHtmlChars" }, "name": "backSpaceHtmlChars" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8514, "end": 8523, "loc": { "start": { "line": 288, "column": 48 }, "end": { "line": 288, "column": 57 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 8525, "end": 8534, "loc": { "start": { "line": 288, "column": 59 }, "end": { "line": 288, "column": 68 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "ThisExpression", "start": 8536, "end": 8540, "loc": { "start": { "line": 288, "column": 70 }, "end": { "line": 288, "column": 74 } } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 8549, "end": 8598, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 55 } } } ] }, { "type": "VariableDeclaration", "start": 8605, "end": 8667, "loc": { "start": { "line": 290, "column": 6 }, "end": { "line": 290, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8611, "end": 8666, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 67 } }, "id": { "type": "Identifier", "start": 8611, "end": 8630, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 31 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition", "leadingComments": null }, "init": { "type": "CallExpression", "start": 8633, "end": 8666, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 8633, "end": 8652, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 53 } }, "object": { "type": "Identifier", "start": 8633, "end": 8642, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 43 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 8643, "end": 8652, "loc": { "start": { "line": 290, "column": 44 }, "end": { "line": 290, "column": 53 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 8653, "end": 8654, "loc": { "start": { "line": 290, "column": 54 }, "end": { "line": 290, "column": 55 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 8656, "end": 8665, "loc": { "start": { "line": 290, "column": 57 }, "end": { "line": 290, "column": 66 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 8549, "end": 8598, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 55 } } } ] }, { "type": "ExpressionStatement", "start": 8674, "end": 8712, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8674, "end": 8711, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8674, "end": 8690, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8674, "end": 8678, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 10 } } }, "property": { "type": "Identifier", "start": 8679, "end": 8690, "loc": { "start": { "line": 291, "column": 11 }, "end": { "line": 291, "column": 22 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8691, "end": 8710, "loc": { "start": { "line": 291, "column": 23 }, "end": { "line": 291, "column": 42 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8720, "end": 8746, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "column": 32 } } } ] }, { "type": "IfStatement", "start": 8753, "end": 9150, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 305, "column": 7 } }, "test": { "type": "MemberExpression", "start": 8757, "end": 8776, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8757, "end": 8761, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8762, "end": 8776, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 29 }, "identifierName": "smartBackspace" }, "name": "smartBackspace" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8778, "end": 9150, "loc": { "start": { "line": 294, "column": 31 }, "end": { "line": 305, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 8884, "end": 8933, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8888, "end": 8932, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 56 } }, "id": { "type": "Identifier", "start": 8888, "end": 8898, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 22 }, "identifierName": "nextString" }, "name": "nextString", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 8901, "end": 8932, "loc": { "start": { "line": 296, "column": 25 }, "end": { "line": 296, "column": 56 } }, "object": { "type": "MemberExpression", "start": 8901, "end": 8913, "loc": { "start": { "line": 296, "column": 25 }, "end": { "line": 296, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8901, "end": 8905, "loc": { "start": { "line": 296, "column": 25 }, "end": { "line": 296, "column": 29 } } }, "property": { "type": "Identifier", "start": 8906, "end": 8913, "loc": { "start": { "line": 296, "column": 30 }, "end": { "line": 296, "column": 37 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 8914, "end": 8931, "loc": { "start": { "line": 296, "column": 38 }, "end": { "line": 296, "column": 55 } }, "left": { "type": "MemberExpression", "start": 8914, "end": 8927, "loc": { "start": { "line": 296, "column": 38 }, "end": { "line": 296, "column": 51 } }, "object": { "type": "ThisExpression", "start": 8914, "end": 8918, "loc": { "start": { "line": 296, "column": 38 }, "end": { "line": 296, "column": 42 } } }, "property": { "type": "Identifier", "start": 8919, "end": 8927, "loc": { "start": { "line": 296, "column": 43 }, "end": { "line": 296, "column": 51 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 8930, "end": 8931, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 55 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8788, "end": 8875, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 295, "column": 95 } } } ] }, { "type": "IfStatement", "start": 8942, "end": 9142, "loc": { "start": { "line": 297, "column": 8 }, "end": { "line": 304, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 8957, "end": 9039, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 299, "column": 68 } }, "left": { "type": "Identifier", "start": 8957, "end": 8967, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 20 }, "identifierName": "nextString" }, "name": "nextString" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 8981, "end": 9039, "loc": { "start": { "line": 299, "column": 10 }, "end": { "line": 299, "column": 68 } }, "left": { "type": "Identifier", "start": 8981, "end": 9000, "loc": { "start": { "line": 299, "column": 10 }, "end": { "line": 299, "column": 29 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition" }, "operator": "===", "right": { "type": "CallExpression", "start": 9005, "end": 9039, "loc": { "start": { "line": 299, "column": 34 }, "end": { "line": 299, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 9005, "end": 9025, "loc": { "start": { "line": 299, "column": 34 }, "end": { "line": 299, "column": 54 } }, "object": { "type": "Identifier", "start": 9005, "end": 9015, "loc": { "start": { "line": 299, "column": 34 }, "end": { "line": 299, "column": 44 }, "identifierName": "nextString" }, "name": "nextString" }, "property": { "type": "Identifier", "start": 9016, "end": 9025, "loc": { "start": { "line": 299, "column": 45 }, "end": { "line": 299, "column": 54 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 9026, "end": 9027, "loc": { "start": { "line": 299, "column": 55 }, "end": { "line": 299, "column": 56 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 9029, "end": 9038, "loc": { "start": { "line": 299, "column": 58 }, "end": { "line": 299, "column": 67 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } }, "consequent": { "type": "BlockStatement", "start": 9050, "end": 9097, "loc": { "start": { "line": 300, "column": 10 }, "end": { "line": 302, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9062, "end": 9087, "loc": { "start": { "line": 301, "column": 10 }, "end": { "line": 301, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 9062, "end": 9086, "loc": { "start": { "line": 301, "column": 10 }, "end": { "line": 301, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9062, "end": 9074, "loc": { "start": { "line": 301, "column": 10 }, "end": { "line": 301, "column": 22 } }, "object": { "type": "ThisExpression", "start": 9062, "end": 9066, "loc": { "start": { "line": 301, "column": 10 }, "end": { "line": 301, "column": 14 } } }, "property": { "type": "Identifier", "start": 9067, "end": 9074, "loc": { "start": { "line": 301, "column": 15 }, "end": { "line": 301, "column": 22 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "right": { "type": "Identifier", "start": 9077, "end": 9086, "loc": { "start": { "line": 301, "column": 25 }, "end": { "line": 301, "column": 34 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9103, "end": 9142, "loc": { "start": { "line": 302, "column": 15 }, "end": { "line": 304, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9115, "end": 9132, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 9115, "end": 9131, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9115, "end": 9127, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 22 } }, "object": { "type": "ThisExpression", "start": 9115, "end": 9119, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 14 } } }, "property": { "type": "Identifier", "start": 9120, "end": 9127, "loc": { "start": { "line": 303, "column": 15 }, "end": { "line": 303, "column": 22 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 9130, "end": 9131, "loc": { "start": { "line": 303, "column": 25 }, "end": { "line": 303, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8720, "end": 8746, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "column": 32 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 9158, "end": 9213, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 9220, "end": 9260, "loc": { "start": { "line": 308, "column": 6 }, "end": { "line": 308, "column": 46 } } } ] }, { "type": "IfStatement", "start": 9267, "end": 9990, "loc": { "start": { "line": 309, "column": 6 }, "end": { "line": 327, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 9271, "end": 9295, "loc": { "start": { "line": 309, "column": 10 }, "end": { "line": 309, "column": 34 } }, "left": { "type": "Identifier", "start": 9271, "end": 9280, "loc": { "start": { "line": 309, "column": 10 }, "end": { "line": 309, "column": 19 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": ">", "right": { "type": "MemberExpression", "start": 9283, "end": 9295, "loc": { "start": { "line": 309, "column": 22 }, "end": { "line": 309, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9283, "end": 9287, "loc": { "start": { "line": 309, "column": 22 }, "end": { "line": 309, "column": 26 } } }, "property": { "type": "Identifier", "start": 9288, "end": 9295, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "column": 34 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9297, "end": 9444, "loc": { "start": { "line": 309, "column": 36 }, "end": { "line": 314, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9349, "end": 9361, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 20 } }, "expression": { "type": "UpdateExpression", "start": 9349, "end": 9360, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 19 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 9349, "end": 9358, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " subtract characters one by one", "start": 9307, "end": 9340, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 9370, "end": 9390, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 9399, "end": 9436, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 45 } }, "expression": { "type": "CallExpression", "start": 9399, "end": 9435, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 9399, "end": 9413, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 22 } }, "object": { "type": "ThisExpression", "start": 9399, "end": 9403, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9404, "end": 9413, "loc": { "start": { "line": 313, "column": 13 }, "end": { "line": 313, "column": 22 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 9414, "end": 9423, "loc": { "start": { "line": 313, "column": 23 }, "end": { "line": 313, "column": 32 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 9425, "end": 9434, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 43 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 9370, "end": 9390, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 28 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 9450, "end": 9990, "loc": { "start": { "line": 314, "column": 13 }, "end": { "line": 327, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 9454, "end": 9479, "loc": { "start": { "line": 314, "column": 17 }, "end": { "line": 314, "column": 42 } }, "left": { "type": "Identifier", "start": 9454, "end": 9463, "loc": { "start": { "line": 314, "column": 17 }, "end": { "line": 314, "column": 26 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "<=", "right": { "type": "MemberExpression", "start": 9467, "end": 9479, "loc": { "start": { "line": 314, "column": 30 }, "end": { "line": 314, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9467, "end": 9471, "loc": { "start": { "line": 314, "column": 30 }, "end": { "line": 314, "column": 34 } } }, "property": { "type": "Identifier", "start": 9472, "end": 9479, "loc": { "start": { "line": 314, "column": 35 }, "end": { "line": 314, "column": 42 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 9481, "end": 9990, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 327, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9589, "end": 9605, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 24 } }, "expression": { "type": "UpdateExpression", "start": 9589, "end": 9604, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 23 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 9589, "end": 9602, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 21 } }, "object": { "type": "ThisExpression", "start": 9589, "end": 9593, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9594, "end": 9602, "loc": { "start": { "line": 317, "column": 13 }, "end": { "line": 317, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 9491, "end": 9539, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 9548, "end": 9580, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 9614, "end": 9678, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 72 } } } ] }, { "type": "IfStatement", "start": 9687, "end": 9982, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 326, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 9691, "end": 9728, "loc": { "start": { "line": 319, "column": 12 }, "end": { "line": 319, "column": 49 } }, "left": { "type": "MemberExpression", "start": 9691, "end": 9704, "loc": { "start": { "line": 319, "column": 12 }, "end": { "line": 319, "column": 25 } }, "object": { "type": "ThisExpression", "start": 9691, "end": 9695, "loc": { "start": { "line": 319, "column": 12 }, "end": { "line": 319, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9696, "end": 9704, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 25 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "MemberExpression", "start": 9709, "end": 9728, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 49 } }, "object": { "type": "MemberExpression", "start": 9709, "end": 9721, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9709, "end": 9713, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 34 } } }, "property": { "type": "Identifier", "start": 9714, "end": 9721, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 42 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 9722, "end": 9728, "loc": { "start": { "line": 319, "column": 43 }, "end": { "line": 319, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9730, "end": 9884, "loc": { "start": { "line": 319, "column": 51 }, "end": { "line": 324, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9742, "end": 9760, "loc": { "start": { "line": 320, "column": 10 }, "end": { "line": 320, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9742, "end": 9759, "loc": { "start": { "line": 320, "column": 10 }, "end": { "line": 320, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9742, "end": 9755, "loc": { "start": { "line": 320, "column": 10 }, "end": { "line": 320, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9742, "end": 9746, "loc": { "start": { "line": 320, "column": 10 }, "end": { "line": 320, "column": 14 } } }, "property": { "type": "Identifier", "start": 9747, "end": 9755, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 23 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 9758, "end": 9759, "loc": { "start": { "line": 320, "column": 26 }, "end": { "line": 320, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 9771, "end": 9809, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9771, "end": 9808, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 9771, "end": 9806, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9771, "end": 9783, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 22 } }, "object": { "type": "ThisExpression", "start": 9771, "end": 9775, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 14 } } }, "property": { "type": "Identifier", "start": 9776, "end": 9783, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9784, "end": 9806, "loc": { "start": { "line": 321, "column": 23 }, "end": { "line": 321, "column": 45 }, "identifierName": "onLastStringBackspaced" }, "name": "onLastStringBackspaced" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 9820, "end": 9850, "loc": { "start": { "line": 322, "column": 10 }, "end": { "line": 322, "column": 40 } }, "expression": { "type": "CallExpression", "start": 9820, "end": 9849, "loc": { "start": { "line": 322, "column": 10 }, "end": { "line": 322, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 9820, "end": 9847, "loc": { "start": { "line": 322, "column": 10 }, "end": { "line": 322, "column": 37 } }, "object": { "type": "ThisExpression", "start": 9820, "end": 9824, "loc": { "start": { "line": 322, "column": 10 }, "end": { "line": 322, "column": 14 } } }, "property": { "type": "Identifier", "start": 9825, "end": 9847, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 37 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 9861, "end": 9874, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 23 } }, "expression": { "type": "CallExpression", "start": 9861, "end": 9873, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 9861, "end": 9871, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9861, "end": 9865, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 14 } } }, "property": { "type": "Identifier", "start": 9866, "end": 9871, "loc": { "start": { "line": 323, "column": 15 }, "end": { "line": 323, "column": 20 }, "identifierName": "begin" }, "name": "begin" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9890, "end": 9982, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 326, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9902, "end": 9972, "loc": { "start": { "line": 325, "column": 10 }, "end": { "line": 325, "column": 80 } }, "expression": { "type": "CallExpression", "start": 9902, "end": 9971, "loc": { "start": { "line": 325, "column": 10 }, "end": { "line": 325, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 9902, "end": 9916, "loc": { "start": { "line": 325, "column": 10 }, "end": { "line": 325, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9902, "end": 9906, "loc": { "start": { "line": 325, "column": 10 }, "end": { "line": 325, "column": 14 } } }, "property": { "type": "Identifier", "start": 9907, "end": 9916, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 24 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9917, "end": 9959, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 67 } }, "object": { "type": "MemberExpression", "start": 9917, "end": 9929, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 37 } }, "object": { "type": "ThisExpression", "start": 9917, "end": 9921, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 29 } } }, "property": { "type": "Identifier", "start": 9922, "end": 9929, "loc": { "start": { "line": 325, "column": 30 }, "end": { "line": 325, "column": 37 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9930, "end": 9958, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 66 } }, "object": { "type": "MemberExpression", "start": 9930, "end": 9943, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 51 } }, "object": { "type": "ThisExpression", "start": 9930, "end": 9934, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 42 } } }, "property": { "type": "Identifier", "start": 9935, "end": 9943, "loc": { "start": { "line": 325, "column": 43 }, "end": { "line": 325, "column": 51 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9944, "end": 9957, "loc": { "start": { "line": 325, "column": 52 }, "end": { "line": 325, "column": 65 } }, "object": { "type": "ThisExpression", "start": 9944, "end": 9948, "loc": { "start": { "line": 325, "column": 52 }, "end": { "line": 325, "column": 56 } } }, "property": { "type": "Identifier", "start": 9949, "end": 9957, "loc": { "start": { "line": 325, "column": 57 }, "end": { "line": 325, "column": 65 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "Identifier", "start": 9961, "end": 9970, "loc": { "start": { "line": 325, "column": 69 }, "end": { "line": 325, "column": 78 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 9614, "end": 9678, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 72 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 9158, "end": 9213, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 9220, "end": 9260, "loc": { "start": { "line": 308, "column": 6 }, "end": { "line": 308, "column": 46 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " humanized value for typing", "start": 9997, "end": 10026, "loc": { "start": { "line": 328, "column": 6 }, "end": { "line": 328, "column": 35 } } } ] } ], "directives": [] } }, { "type": "Identifier", "start": 10034, "end": 10042, "loc": { "start": { "line": 329, "column": 7 }, "end": { "line": 329, "column": 15 }, "identifierName": "humanize" }, "name": "humanize" } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7940, "end": 8141, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 276, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 10052, "end": 10107, "loc": { "start": { "line": 332, "column": 2 }, "end": { "line": 335, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10110, "end": 10257, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 343, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10110, "end": 10118, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 10 }, "identifierName": "complete" }, "name": "complete", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10121, "end": 10257, "loc": { "start": { "line": 336, "column": 13 }, "end": { "line": 343, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10127, "end": 10157, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 34 } }, "expression": { "type": "CallExpression", "start": 10127, "end": 10156, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 10127, "end": 10150, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 27 } }, "object": { "type": "MemberExpression", "start": 10127, "end": 10139, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 16 } }, "object": { "type": "ThisExpression", "start": 10127, "end": 10131, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 8 } } }, "property": { "type": "Identifier", "start": 10132, "end": 10139, "loc": { "start": { "line": 337, "column": 9 }, "end": { "line": 337, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10140, "end": 10150, "loc": { "start": { "line": 337, "column": 17 }, "end": { "line": 337, "column": 27 }, "identifierName": "onComplete" }, "name": "onComplete" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 10151, "end": 10155, "loc": { "start": { "line": 337, "column": 28 }, "end": { "line": 337, "column": 32 } } } ] } }, { "type": "IfStatement", "start": 10162, "end": 10253, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 342, "column": 5 } }, "test": { "type": "MemberExpression", "start": 10166, "end": 10175, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10166, "end": 10170, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 12 } } }, "property": { "type": "Identifier", "start": 10171, "end": 10175, "loc": { "start": { "line": 338, "column": 13 }, "end": { "line": 338, "column": 17 }, "identifierName": "loop" }, "name": "loop" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10177, "end": 10206, "loc": { "start": { "line": 338, "column": 19 }, "end": { "line": 340, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10185, "end": 10200, "loc": { "start": { "line": 339, "column": 6 }, "end": { "line": 339, "column": 21 } }, "expression": { "type": "UpdateExpression", "start": 10185, "end": 10199, "loc": { "start": { "line": 339, "column": 6 }, "end": { "line": 339, "column": 20 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 10185, "end": 10197, "loc": { "start": { "line": 339, "column": 6 }, "end": { "line": 339, "column": 18 } }, "object": { "type": "ThisExpression", "start": 10185, "end": 10189, "loc": { "start": { "line": 339, "column": 6 }, "end": { "line": 339, "column": 10 } } }, "property": { "type": "Identifier", "start": 10190, "end": 10197, "loc": { "start": { "line": 339, "column": 11 }, "end": { "line": 339, "column": 18 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10212, "end": 10253, "loc": { "start": { "line": 340, "column": 11 }, "end": { "line": 342, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10220, "end": 10247, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 10220, "end": 10246, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10220, "end": 10239, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10220, "end": 10224, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 10 } } }, "property": { "type": "Identifier", "start": 10225, "end": 10239, "loc": { "start": { "line": 341, "column": 11 }, "end": { "line": 341, "column": 25 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 10242, "end": 10246, "loc": { "start": { "line": 341, "column": 28 }, "end": { "line": 341, "column": 32 } }, "value": true } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 10052, "end": 10107, "loc": { "start": { "line": 332, "column": 2 }, "end": { "line": 335, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 10261, "end": 10488, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 351, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10491, "end": 10656, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 356, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10491, "end": 10505, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 16 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10506, "end": 10515, "loc": { "start": { "line": 352, "column": 17 }, "end": { "line": 352, "column": 26 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 10517, "end": 10526, "loc": { "start": { "line": 352, "column": 28 }, "end": { "line": 352, "column": 37 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 10528, "end": 10536, "loc": { "start": { "line": 352, "column": 39 }, "end": { "line": 352, "column": 47 }, "identifierName": "isTyping" }, "name": "isTyping" } ], "body": { "type": "BlockStatement", "start": 10538, "end": 10656, "loc": { "start": { "line": 352, "column": 49 }, "end": { "line": 356, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10544, "end": 10576, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 10544, "end": 10575, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10544, "end": 10564, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10544, "end": 10554, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10544, "end": 10548, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 8 } } }, "property": { "type": "Identifier", "start": 10549, "end": 10554, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 10555, "end": 10564, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 24 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "right": { "type": "Identifier", "start": 10567, "end": 10575, "loc": { "start": { "line": 353, "column": 27 }, "end": { "line": 353, "column": 35 }, "identifierName": "isTyping" }, "name": "isTyping" } } }, { "type": "ExpressionStatement", "start": 10581, "end": 10614, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 10581, "end": 10613, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10581, "end": 10601, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10581, "end": 10591, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10581, "end": 10585, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 8 } } }, "property": { "type": "Identifier", "start": 10586, "end": 10591, "loc": { "start": { "line": 354, "column": 9 }, "end": { "line": 354, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 10592, "end": 10601, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 24 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, "right": { "type": "Identifier", "start": 10604, "end": 10613, "loc": { "start": { "line": 354, "column": 27 }, "end": { "line": 354, "column": 36 }, "identifierName": "curString" }, "name": "curString" } } }, { "type": "ExpressionStatement", "start": 10619, "end": 10652, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 10619, "end": 10651, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10619, "end": 10639, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10619, "end": 10629, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10619, "end": 10623, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 8 } } }, "property": { "type": "Identifier", "start": 10624, "end": 10629, "loc": { "start": { "line": 355, "column": 9 }, "end": { "line": 355, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 10630, "end": 10639, "loc": { "start": { "line": 355, "column": 15 }, "end": { "line": 355, "column": 24 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false }, "right": { "type": "Identifier", "start": 10642, "end": 10651, "loc": { "start": { "line": 355, "column": 27 }, "end": { "line": 355, "column": 36 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 10261, "end": 10488, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 351, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 10660, "end": 10748, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10751, "end": 11154, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 374, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10751, "end": 10765, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 363, "column": 16 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10766, "end": 10776, "loc": { "start": { "line": 363, "column": 17 }, "end": { "line": 363, "column": 27 }, "identifierName": "isBlinking" }, "name": "isBlinking" } ], "body": { "type": "BlockStatement", "start": 10778, "end": 11154, "loc": { "start": { "line": 363, "column": 29 }, "end": { "line": 374, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10784, "end": 10809, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 29 } }, "test": { "type": "UnaryExpression", "start": 10788, "end": 10800, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 20 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10789, "end": 10800, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10789, "end": 10793, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 13 } } }, "property": { "type": "Identifier", "start": 10794, "end": 10800, "loc": { "start": { "line": 364, "column": 14 }, "end": { "line": 364, "column": 20 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 10802, "end": 10809, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 29 } }, "argument": null, "leadingComments": null, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10814, "end": 10869, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 59 } } } ] }, { "type": "IfStatement", "start": 10874, "end": 10904, "loc": { "start": { "line": 366, "column": 4 }, "end": { "line": 366, "column": 34 } }, "test": { "type": "MemberExpression", "start": 10878, "end": 10895, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 25 } }, "object": { "type": "MemberExpression", "start": 10878, "end": 10888, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 18 } }, "object": { "type": "ThisExpression", "start": 10878, "end": 10882, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10883, "end": 10888, "loc": { "start": { "line": 366, "column": 13 }, "end": { "line": 366, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10889, "end": 10895, "loc": { "start": { "line": 366, "column": 19 }, "end": { "line": 366, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 10897, "end": 10904, "loc": { "start": { "line": 366, "column": 27 }, "end": { "line": 366, "column": 34 } }, "argument": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10814, "end": 10869, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 59 } } } ] }, { "type": "IfStatement", "start": 10909, "end": 10956, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 51 } }, "test": { "type": "BinaryExpression", "start": 10913, "end": 10947, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 42 } }, "left": { "type": "MemberExpression", "start": 10913, "end": 10932, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10913, "end": 10917, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 12 } } }, "property": { "type": "Identifier", "start": 10918, "end": 10932, "loc": { "start": { "line": 367, "column": 13 }, "end": { "line": 367, "column": 27 }, "identifierName": "cursorBlinking" }, "name": "cursorBlinking" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 10937, "end": 10947, "loc": { "start": { "line": 367, "column": 32 }, "end": { "line": 367, "column": 42 }, "identifierName": "isBlinking" }, "name": "isBlinking" } }, "consequent": { "type": "ReturnStatement", "start": 10949, "end": 10956, "loc": { "start": { "line": 367, "column": 44 }, "end": { "line": 367, "column": 51 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 10961, "end": 10994, "loc": { "start": { "line": 368, "column": 4 }, "end": { "line": 368, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 10961, "end": 10993, "loc": { "start": { "line": 368, "column": 4 }, "end": { "line": 368, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10961, "end": 10980, "loc": { "start": { "line": 368, "column": 4 }, "end": { "line": 368, "column": 23 } }, "object": { "type": "ThisExpression", "start": 10961, "end": 10965, "loc": { "start": { "line": 368, "column": 4 }, "end": { "line": 368, "column": 8 } } }, "property": { "type": "Identifier", "start": 10966, "end": 10980, "loc": { "start": { "line": 368, "column": 9 }, "end": { "line": 368, "column": 23 }, "identifierName": "cursorBlinking" }, "name": "cursorBlinking" }, "computed": false }, "right": { "type": "Identifier", "start": 10983, "end": 10993, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 36 }, "identifierName": "isBlinking" }, "name": "isBlinking" } } }, { "type": "IfStatement", "start": 10999, "end": 11150, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 373, "column": 5 } }, "test": { "type": "Identifier", "start": 11003, "end": 11013, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 18 }, "identifierName": "isBlinking" }, "name": "isBlinking" }, "consequent": { "type": "BlockStatement", "start": 11015, "end": 11078, "loc": { "start": { "line": 369, "column": 20 }, "end": { "line": 371, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11023, "end": 11072, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 55 } }, "expression": { "type": "CallExpression", "start": 11023, "end": 11071, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 11023, "end": 11048, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 31 } }, "object": { "type": "MemberExpression", "start": 11023, "end": 11044, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 27 } }, "object": { "type": "MemberExpression", "start": 11023, "end": 11034, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11023, "end": 11027, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 10 } } }, "property": { "type": "Identifier", "start": 11028, "end": 11034, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 11035, "end": 11044, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 27 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 11045, "end": 11048, "loc": { "start": { "line": 370, "column": 28 }, "end": { "line": 370, "column": 31 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11049, "end": 11070, "loc": { "start": { "line": 370, "column": 32 }, "end": { "line": 370, "column": 53 } }, "extra": { "rawValue": "typed-cursor--blink", "raw": "'typed-cursor--blink'" }, "value": "typed-cursor--blink" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 11084, "end": 11150, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 373, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11092, "end": 11144, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 58 } }, "expression": { "type": "CallExpression", "start": 11092, "end": 11143, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 11092, "end": 11120, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11092, "end": 11113, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 27 } }, "object": { "type": "MemberExpression", "start": 11092, "end": 11103, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11092, "end": 11096, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 10 } } }, "property": { "type": "Identifier", "start": 11097, "end": 11103, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 11104, "end": 11113, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 27 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 11114, "end": 11120, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 34 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11121, "end": 11142, "loc": { "start": { "line": 372, "column": 35 }, "end": { "line": 372, "column": 56 } }, "extra": { "rawValue": "typed-cursor--blink", "raw": "'typed-cursor--blink'" }, "value": "typed-cursor--blink" } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 10660, "end": 10748, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 11158, "end": 11233, "loc": { "start": { "line": 376, "column": 2 }, "end": { "line": 380, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11236, "end": 11318, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 383, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11236, "end": 11245, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 381, "column": 11 }, "identifierName": "humanizer" }, "name": "humanizer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11246, "end": 11251, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 17 }, "identifierName": "speed" }, "name": "speed" } ], "body": { "type": "BlockStatement", "start": 11253, "end": 11318, "loc": { "start": { "line": 381, "column": 19 }, "end": { "line": 383, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 11259, "end": 11314, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 59 } }, "argument": { "type": "BinaryExpression", "start": 11266, "end": 11313, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 58 } }, "left": { "type": "CallExpression", "start": 11266, "end": 11305, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 11266, "end": 11276, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 21 } }, "object": { "type": "Identifier", "start": 11266, "end": 11270, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 11271, "end": 11276, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 21 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 11277, "end": 11304, "loc": { "start": { "line": 382, "column": 22 }, "end": { "line": 382, "column": 49 } }, "left": { "type": "BinaryExpression", "start": 11278, "end": 11299, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 44 } }, "left": { "type": "CallExpression", "start": 11278, "end": 11291, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 11278, "end": 11289, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 34 } }, "object": { "type": "Identifier", "start": 11278, "end": 11282, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 27 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 11283, "end": 11289, "loc": { "start": { "line": 382, "column": 28 }, "end": { "line": 382, "column": 34 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "Identifier", "start": 11294, "end": 11299, "loc": { "start": { "line": 382, "column": 39 }, "end": { "line": 382, "column": 44 }, "identifierName": "speed" }, "name": "speed" }, "extra": { "parenthesized": true, "parenStart": 11277 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 11303, "end": 11304, "loc": { "start": { "line": 382, "column": 48 }, "end": { "line": 382, "column": 49 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] }, "operator": "+", "right": { "type": "Identifier", "start": 11308, "end": 11313, "loc": { "start": { "line": 382, "column": 53 }, "end": { "line": 382, "column": 58 }, "identifierName": "speed" }, "name": "speed" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 11158, "end": 11233, "loc": { "start": { "line": 376, "column": 2 }, "end": { "line": 380, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 11322, "end": 11392, "loc": { "start": { "line": 385, "column": 2 }, "end": { "line": 388, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11395, "end": 11523, "loc": { "start": { "line": 389, "column": 2 }, "end": { "line": 392, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11395, "end": 11417, "loc": { "start": { "line": 389, "column": 2 }, "end": { "line": 389, "column": 24 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11420, "end": 11523, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 392, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 11426, "end": 11452, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 11430, "end": 11443, "loc": { "start": { "line": 390, "column": 8 }, "end": { "line": 390, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 11431, "end": 11443, "loc": { "start": { "line": 390, "column": 9 }, "end": { "line": 390, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11431, "end": 11435, "loc": { "start": { "line": 390, "column": 9 }, "end": { "line": 390, "column": 13 } } }, "property": { "type": "Identifier", "start": 11436, "end": 11443, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 21 }, "identifierName": "shuffle" }, "name": "shuffle" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 11445, "end": 11452, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 30 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 11457, "end": 11519, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 11457, "end": 11518, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11457, "end": 11470, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11457, "end": 11461, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 8 } } }, "property": { "type": "Identifier", "start": 11462, "end": 11470, "loc": { "start": { "line": 391, "column": 9 }, "end": { "line": 391, "column": 17 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "right": { "type": "CallExpression", "start": 11473, "end": 11518, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11473, "end": 11491, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11473, "end": 11486, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "column": 33 } }, "object": { "type": "ThisExpression", "start": 11473, "end": 11477, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "column": 24 } } }, "property": { "type": "Identifier", "start": 11478, "end": 11486, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 33 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "Identifier", "start": 11487, "end": 11491, "loc": { "start": { "line": 391, "column": 34 }, "end": { "line": 391, "column": 38 }, "identifierName": "sort" }, "name": "sort" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11492, "end": 11517, "loc": { "start": { "line": 391, "column": 39 }, "end": { "line": 391, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "BinaryExpression", "start": 11498, "end": 11517, "loc": { "start": { "line": 391, "column": 45 }, "end": { "line": 391, "column": 64 } }, "left": { "type": "CallExpression", "start": 11498, "end": 11511, "loc": { "start": { "line": 391, "column": 45 }, "end": { "line": 391, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 11498, "end": 11509, "loc": { "start": { "line": 391, "column": 45 }, "end": { "line": 391, "column": 56 } }, "object": { "type": "Identifier", "start": 11498, "end": 11502, "loc": { "start": { "line": 391, "column": 45 }, "end": { "line": 391, "column": 49 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 11503, "end": 11509, "loc": { "start": { "line": 391, "column": 50 }, "end": { "line": 391, "column": 56 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "NumericLiteral", "start": 11514, "end": 11517, "loc": { "start": { "line": 391, "column": 61 }, "end": { "line": 391, "column": 64 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 11322, "end": 11392, "loc": { "start": { "line": 385, "column": 2 }, "end": { "line": 388, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 11527, "end": 11599, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 397, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11602, "end": 12119, "loc": { "start": { "line": 398, "column": 2 }, "end": { "line": 413, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11602, "end": 11613, "loc": { "start": { "line": 398, "column": 2 }, "end": { "line": 398, "column": 13 }, "identifierName": "initFadeOut" }, "name": "initFadeOut", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11616, "end": 12119, "loc": { "start": { "line": 398, "column": 16 }, "end": { "line": 413, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11622, "end": 11667, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 11622, "end": 11666, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 48 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 11622, "end": 11639, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 21 } }, "object": { "type": "MemberExpression", "start": 11622, "end": 11629, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 11 } }, "object": { "type": "ThisExpression", "start": 11622, "end": 11626, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 8 } } }, "property": { "type": "Identifier", "start": 11627, "end": 11629, "loc": { "start": { "line": 399, "column": 9 }, "end": { "line": 399, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 11630, "end": 11639, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "column": 21 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 11643, "end": 11666, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 48 } }, "expressions": [ { "type": "MemberExpression", "start": 11647, "end": 11664, "loc": { "start": { "line": 399, "column": 29 }, "end": { "line": 399, "column": 46 } }, "object": { "type": "ThisExpression", "start": 11647, "end": 11651, "loc": { "start": { "line": 399, "column": 29 }, "end": { "line": 399, "column": 33 } } }, "property": { "type": "Identifier", "start": 11652, "end": 11664, "loc": { "start": { "line": 399, "column": 34 }, "end": { "line": 399, "column": 46 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 11644, "end": 11645, "loc": { "start": { "line": 399, "column": 26 }, "end": { "line": 399, "column": 27 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 11665, "end": 11665, "loc": { "start": { "line": 399, "column": 47 }, "end": { "line": 399, "column": 47 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 11672, "end": 11738, "loc": { "start": { "line": 400, "column": 4 }, "end": { "line": 400, "column": 70 } }, "test": { "type": "MemberExpression", "start": 11676, "end": 11687, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11676, "end": 11680, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 12 } } }, "property": { "type": "Identifier", "start": 11681, "end": 11687, "loc": { "start": { "line": 400, "column": 13 }, "end": { "line": 400, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 11689, "end": 11738, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11737, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 69 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 42 } }, "object": { "type": "MemberExpression", "start": 11689, "end": 11700, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 32 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 25 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11700, "loc": { "start": { "line": 400, "column": 26 }, "end": { "line": 400, "column": 32 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 11701, "end": 11710, "loc": { "start": { "line": 400, "column": 33 }, "end": { "line": 400, "column": 42 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 11714, "end": 11737, "loc": { "start": { "line": 400, "column": 46 }, "end": { "line": 400, "column": 69 } }, "expressions": [ { "type": "MemberExpression", "start": 11718, "end": 11735, "loc": { "start": { "line": 400, "column": 50 }, "end": { "line": 400, "column": 67 } }, "object": { "type": "ThisExpression", "start": 11718, "end": 11722, "loc": { "start": { "line": 400, "column": 50 }, "end": { "line": 400, "column": 54 } } }, "property": { "type": "Identifier", "start": 11723, "end": 11735, "loc": { "start": { "line": 400, "column": 55 }, "end": { "line": 400, "column": 67 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 11715, "end": 11716, "loc": { "start": { "line": 400, "column": 47 }, "end": { "line": 400, "column": 48 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 11736, "end": 11736, "loc": { "start": { "line": 400, "column": 68 }, "end": { "line": 400, "column": 68 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, "alternate": null }, { "type": "ReturnStatement", "start": 11743, "end": 12115, "loc": { "start": { "line": 401, "column": 4 }, "end": { "line": 412, "column": 26 } }, "argument": { "type": "CallExpression", "start": 11750, "end": 12114, "loc": { "start": { "line": 401, "column": 11 }, "end": { "line": 412, "column": 25 } }, "callee": { "type": "Identifier", "start": 11750, "end": 11760, "loc": { "start": { "line": 401, "column": 11 }, "end": { "line": 401, "column": 21 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11761, "end": 12094, "loc": { "start": { "line": 401, "column": 22 }, "end": { "line": 412, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11767, "end": 12094, "loc": { "start": { "line": 401, "column": 28 }, "end": { "line": 412, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11775, "end": 11791, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 22 } }, "expression": { "type": "UpdateExpression", "start": 11775, "end": 11790, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 21 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 11775, "end": 11788, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11775, "end": 11779, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 10 } } }, "property": { "type": "Identifier", "start": 11780, "end": 11788, "loc": { "start": { "line": 402, "column": 11 }, "end": { "line": 402, "column": 19 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 11798, "end": 11819, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "column": 27 } }, "expression": { "type": "CallExpression", "start": 11798, "end": 11818, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 11798, "end": 11814, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11798, "end": 11802, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "column": 10 } } }, "property": { "type": "Identifier", "start": 11803, "end": 11814, "loc": { "start": { "line": 403, "column": 11 }, "end": { "line": 403, "column": 22 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11815, "end": 11817, "loc": { "start": { "line": 403, "column": 23 }, "end": { "line": 403, "column": 25 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11827, "end": 11874, "loc": { "start": { "line": 405, "column": 6 }, "end": { "line": 405, "column": 53 } } } ] }, { "type": "IfStatement", "start": 11881, "end": 12088, "loc": { "start": { "line": 406, "column": 6 }, "end": { "line": 411, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 11885, "end": 11920, "loc": { "start": { "line": 406, "column": 10 }, "end": { "line": 406, "column": 45 } }, "left": { "type": "MemberExpression", "start": 11885, "end": 11904, "loc": { "start": { "line": 406, "column": 10 }, "end": { "line": 406, "column": 29 } }, "object": { "type": "MemberExpression", "start": 11885, "end": 11897, "loc": { "start": { "line": 406, "column": 10 }, "end": { "line": 406, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11885, "end": 11889, "loc": { "start": { "line": 406, "column": 10 }, "end": { "line": 406, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11890, "end": 11897, "loc": { "start": { "line": 406, "column": 15 }, "end": { "line": 406, "column": 22 }, "identifierName": "strings" }, "name": "strings" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11898, "end": 11904, "loc": { "start": { "line": 406, "column": 23 }, "end": { "line": 406, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "MemberExpression", "start": 11907, "end": 11920, "loc": { "start": { "line": 406, "column": 32 }, "end": { "line": 406, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11907, "end": 11911, "loc": { "start": { "line": 406, "column": 32 }, "end": { "line": 406, "column": 36 } } }, "property": { "type": "Identifier", "start": 11912, "end": 11920, "loc": { "start": { "line": 406, "column": 37 }, "end": { "line": 406, "column": 45 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11922, "end": 12002, "loc": { "start": { "line": 406, "column": 47 }, "end": { "line": 408, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11932, "end": 11994, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 70 } }, "expression": { "type": "CallExpression", "start": 11932, "end": 11993, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 11932, "end": 11946, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11932, "end": 11936, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 12 } } }, "property": { "type": "Identifier", "start": 11937, "end": 11946, "loc": { "start": { "line": 407, "column": 13 }, "end": { "line": 407, "column": 22 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11947, "end": 11989, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 65 } }, "object": { "type": "MemberExpression", "start": 11947, "end": 11959, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11947, "end": 11951, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 27 } } }, "property": { "type": "Identifier", "start": 11952, "end": 11959, "loc": { "start": { "line": 407, "column": 28 }, "end": { "line": 407, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11960, "end": 11988, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 64 } }, "object": { "type": "MemberExpression", "start": 11960, "end": 11973, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 49 } }, "object": { "type": "ThisExpression", "start": 11960, "end": 11964, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 40 } } }, "property": { "type": "Identifier", "start": 11965, "end": 11973, "loc": { "start": { "line": 407, "column": 41 }, "end": { "line": 407, "column": 49 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11974, "end": 11987, "loc": { "start": { "line": 407, "column": 50 }, "end": { "line": 407, "column": 63 } }, "object": { "type": "ThisExpression", "start": 11974, "end": 11978, "loc": { "start": { "line": 407, "column": 50 }, "end": { "line": 407, "column": 54 } } }, "property": { "type": "Identifier", "start": 11979, "end": 11987, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 63 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "NumericLiteral", "start": 11991, "end": 11992, "loc": { "start": { "line": 407, "column": 67 }, "end": { "line": 407, "column": 68 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 12008, "end": 12088, "loc": { "start": { "line": 408, "column": 13 }, "end": { "line": 411, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12018, "end": 12053, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 43 } }, "expression": { "type": "CallExpression", "start": 12018, "end": 12052, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12018, "end": 12032, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 22 } }, "object": { "type": "ThisExpression", "start": 12018, "end": 12022, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 12 } } }, "property": { "type": "Identifier", "start": 12023, "end": 12032, "loc": { "start": { "line": 409, "column": 13 }, "end": { "line": 409, "column": 22 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12033, "end": 12048, "loc": { "start": { "line": 409, "column": 23 }, "end": { "line": 409, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12033, "end": 12045, "loc": { "start": { "line": 409, "column": 23 }, "end": { "line": 409, "column": 35 } }, "object": { "type": "ThisExpression", "start": 12033, "end": 12037, "loc": { "start": { "line": 409, "column": 23 }, "end": { "line": 409, "column": 27 } } }, "property": { "type": "Identifier", "start": 12038, "end": 12045, "loc": { "start": { "line": 409, "column": 28 }, "end": { "line": 409, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 12046, "end": 12047, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "NumericLiteral", "start": 12050, "end": 12051, "loc": { "start": { "line": 409, "column": 40 }, "end": { "line": 409, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } }, { "type": "ExpressionStatement", "start": 12062, "end": 12080, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12062, "end": 12079, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12062, "end": 12075, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 21 } }, "object": { "type": "ThisExpression", "start": 12062, "end": 12066, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 12 } } }, "property": { "type": "Identifier", "start": 12067, "end": 12075, "loc": { "start": { "line": 410, "column": 13 }, "end": { "line": 410, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 12078, "end": 12079, "loc": { "start": { "line": 410, "column": 24 }, "end": { "line": 410, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11827, "end": 11874, "loc": { "start": { "line": 405, "column": 6 }, "end": { "line": 405, "column": 53 } } } ] } ], "directives": [] } }, { "type": "MemberExpression", "start": 12096, "end": 12113, "loc": { "start": { "line": 412, "column": 7 }, "end": { "line": 412, "column": 24 } }, "object": { "type": "ThisExpression", "start": 12096, "end": 12100, "loc": { "start": { "line": 412, "column": 7 }, "end": { "line": 412, "column": 11 } } }, "property": { "type": "Identifier", "start": 12101, "end": 12113, "loc": { "start": { "line": 412, "column": 12 }, "end": { "line": 412, "column": 24 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 11527, "end": 11599, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 397, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 12123, "end": 12249, "loc": { "start": { "line": 415, "column": 2 }, "end": { "line": 420, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12252, "end": 12552, "loc": { "start": { "line": 421, "column": 2 }, "end": { "line": 433, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12252, "end": 12263, "loc": { "start": { "line": 421, "column": 2 }, "end": { "line": 421, "column": 13 }, "identifierName": "replaceText" }, "name": "replaceText", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12264, "end": 12267, "loc": { "start": { "line": 421, "column": 14 }, "end": { "line": 421, "column": 17 }, "identifierName": "str" }, "name": "str" } ], "body": { "type": "BlockStatement", "start": 12269, "end": 12552, "loc": { "start": { "line": 421, "column": 19 }, "end": { "line": 433, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12275, "end": 12548, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 432, "column": 5 } }, "test": { "type": "MemberExpression", "start": 12279, "end": 12288, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12279, "end": 12283, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 12 } } }, "property": { "type": "Identifier", "start": 12284, "end": 12288, "loc": { "start": { "line": 422, "column": 13 }, "end": { "line": 422, "column": 17 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 12290, "end": 12341, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 424, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12298, "end": 12335, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 43 } }, "expression": { "type": "CallExpression", "start": 12298, "end": 12334, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12298, "end": 12318, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 26 } }, "object": { "type": "MemberExpression", "start": 12298, "end": 12305, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 13 } }, "object": { "type": "ThisExpression", "start": 12298, "end": 12302, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 10 } } }, "property": { "type": "Identifier", "start": 12303, "end": 12305, "loc": { "start": { "line": 423, "column": 11 }, "end": { "line": 423, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12306, "end": 12318, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 26 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12319, "end": 12328, "loc": { "start": { "line": 423, "column": 27 }, "end": { "line": 423, "column": 36 } }, "object": { "type": "ThisExpression", "start": 12319, "end": 12323, "loc": { "start": { "line": 423, "column": 27 }, "end": { "line": 423, "column": 31 } } }, "property": { "type": "Identifier", "start": 12324, "end": 12328, "loc": { "start": { "line": 423, "column": 32 }, "end": { "line": 423, "column": 36 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, { "type": "Identifier", "start": 12330, "end": 12333, "loc": { "start": { "line": 423, "column": 38 }, "end": { "line": 423, "column": 41 }, "identifierName": "str" }, "name": "str" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 12347, "end": 12548, "loc": { "start": { "line": 424, "column": 11 }, "end": { "line": 432, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 12355, "end": 12542, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 431, "column": 7 } }, "test": { "type": "MemberExpression", "start": 12359, "end": 12371, "loc": { "start": { "line": 425, "column": 10 }, "end": { "line": 425, "column": 22 } }, "object": { "type": "ThisExpression", "start": 12359, "end": 12363, "loc": { "start": { "line": 425, "column": 10 }, "end": { "line": 425, "column": 14 } } }, "property": { "type": "Identifier", "start": 12364, "end": 12371, "loc": { "start": { "line": 425, "column": 15 }, "end": { "line": 425, "column": 22 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 12373, "end": 12411, "loc": { "start": { "line": 425, "column": 24 }, "end": { "line": 427, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12383, "end": 12403, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 12383, "end": 12402, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12383, "end": 12396, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 21 } }, "object": { "type": "MemberExpression", "start": 12383, "end": 12390, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12383, "end": 12387, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 12 } } }, "property": { "type": "Identifier", "start": 12388, "end": 12390, "loc": { "start": { "line": 426, "column": 13 }, "end": { "line": 426, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12391, "end": 12396, "loc": { "start": { "line": 426, "column": 16 }, "end": { "line": 426, "column": 21 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "right": { "type": "Identifier", "start": 12399, "end": 12402, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 27 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12417, "end": 12542, "loc": { "start": { "line": 427, "column": 13 }, "end": { "line": 431, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 12421, "end": 12448, "loc": { "start": { "line": 427, "column": 17 }, "end": { "line": 427, "column": 44 } }, "left": { "type": "MemberExpression", "start": 12421, "end": 12437, "loc": { "start": { "line": 427, "column": 17 }, "end": { "line": 427, "column": 33 } }, "object": { "type": "ThisExpression", "start": 12421, "end": 12425, "loc": { "start": { "line": 427, "column": 17 }, "end": { "line": 427, "column": 21 } } }, "property": { "type": "Identifier", "start": 12426, "end": 12437, "loc": { "start": { "line": 427, "column": 22 }, "end": { "line": 427, "column": 33 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 12442, "end": 12448, "loc": { "start": { "line": 427, "column": 38 }, "end": { "line": 427, "column": 44 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" } }, "consequent": { "type": "BlockStatement", "start": 12450, "end": 12492, "loc": { "start": { "line": 427, "column": 46 }, "end": { "line": 429, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12460, "end": 12484, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 12460, "end": 12483, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12460, "end": 12477, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12460, "end": 12467, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12460, "end": 12464, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 12 } } }, "property": { "type": "Identifier", "start": 12465, "end": 12467, "loc": { "start": { "line": 428, "column": 13 }, "end": { "line": 428, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12468, "end": 12477, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 25 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 12480, "end": 12483, "loc": { "start": { "line": 428, "column": 28 }, "end": { "line": 428, "column": 31 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 12498, "end": 12542, "loc": { "start": { "line": 429, "column": 13 }, "end": { "line": 431, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12508, "end": 12534, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12508, "end": 12533, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12508, "end": 12527, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 27 } }, "object": { "type": "MemberExpression", "start": 12508, "end": 12515, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12508, "end": 12512, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 12 } } }, "property": { "type": "Identifier", "start": 12513, "end": 12515, "loc": { "start": { "line": 430, "column": 13 }, "end": { "line": 430, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12516, "end": 12527, "loc": { "start": { "line": 430, "column": 16 }, "end": { "line": 430, "column": 27 }, "identifierName": "textContent" }, "name": "textContent" }, "computed": false }, "right": { "type": "Identifier", "start": 12530, "end": 12533, "loc": { "start": { "line": 430, "column": 30 }, "end": { "line": 430, "column": 33 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 12123, "end": 12249, "loc": { "start": { "line": 415, "column": 2 }, "end": { "line": 420, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 12556, "end": 12666, "loc": { "start": { "line": 435, "column": 2 }, "end": { "line": 439, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12669, "end": 12952, "loc": { "start": { "line": 440, "column": 2 }, "end": { "line": 451, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12669, "end": 12684, "loc": { "start": { "line": 440, "column": 2 }, "end": { "line": 440, "column": 17 }, "identifierName": "bindFocusEvents" }, "name": "bindFocusEvents", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12687, "end": 12952, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 451, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12693, "end": 12719, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 441, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 12697, "end": 12710, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12698, "end": 12710, "loc": { "start": { "line": 441, "column": 9 }, "end": { "line": 441, "column": 21 } }, "object": { "type": "ThisExpression", "start": 12698, "end": 12702, "loc": { "start": { "line": 441, "column": 9 }, "end": { "line": 441, "column": 13 } } }, "property": { "type": "Identifier", "start": 12703, "end": 12710, "loc": { "start": { "line": 441, "column": 14 }, "end": { "line": 441, "column": 21 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 12712, "end": 12719, "loc": { "start": { "line": 441, "column": 23 }, "end": { "line": 441, "column": 30 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 12724, "end": 12793, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 444, "column": 7 } }, "expression": { "type": "CallExpression", "start": 12724, "end": 12792, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 444, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12724, "end": 12748, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 28 } }, "object": { "type": "MemberExpression", "start": 12724, "end": 12731, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 11 } }, "object": { "type": "ThisExpression", "start": 12724, "end": 12728, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 8 } } }, "property": { "type": "Identifier", "start": 12729, "end": 12731, "loc": { "start": { "line": 442, "column": 9 }, "end": { "line": 442, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12732, "end": 12748, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 28 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12749, "end": 12756, "loc": { "start": { "line": 442, "column": 29 }, "end": { "line": 442, "column": 36 } }, "extra": { "rawValue": "focus", "raw": "'focus'" }, "value": "focus" }, { "type": "ArrowFunctionExpression", "start": 12758, "end": 12791, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 444, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12759, "end": 12760, "loc": { "start": { "line": 442, "column": 39 }, "end": { "line": 442, "column": 40 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 12765, "end": 12791, "loc": { "start": { "line": 442, "column": 45 }, "end": { "line": 444, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12773, "end": 12785, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12773, "end": 12784, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12773, "end": 12782, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12773, "end": 12777, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 12778, "end": 12782, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 15 }, "identifierName": "stop" }, "name": "stop" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 12798, "end": 12948, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 450, "column": 7 } }, "expression": { "type": "CallExpression", "start": 12798, "end": 12947, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 450, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12798, "end": 12822, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 28 } }, "object": { "type": "MemberExpression", "start": 12798, "end": 12805, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 11 } }, "object": { "type": "ThisExpression", "start": 12798, "end": 12802, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 8 } } }, "property": { "type": "Identifier", "start": 12803, "end": 12805, "loc": { "start": { "line": 445, "column": 9 }, "end": { "line": 445, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12806, "end": 12822, "loc": { "start": { "line": 445, "column": 12 }, "end": { "line": 445, "column": 28 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12823, "end": 12829, "loc": { "start": { "line": 445, "column": 29 }, "end": { "line": 445, "column": 35 } }, "extra": { "rawValue": "blur", "raw": "'blur'" }, "value": "blur" }, { "type": "ArrowFunctionExpression", "start": 12831, "end": 12946, "loc": { "start": { "line": 445, "column": 37 }, "end": { "line": 450, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12832, "end": 12833, "loc": { "start": { "line": 445, "column": 38 }, "end": { "line": 445, "column": 39 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 12838, "end": 12946, "loc": { "start": { "line": 445, "column": 44 }, "end": { "line": 450, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 12846, "end": 12920, "loc": { "start": { "line": 446, "column": 6 }, "end": { "line": 448, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 12850, "end": 12893, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 53 } }, "left": { "type": "MemberExpression", "start": 12850, "end": 12863, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 23 } }, "object": { "type": "MemberExpression", "start": 12850, "end": 12857, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12850, "end": 12854, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 14 } } }, "property": { "type": "Identifier", "start": 12855, "end": 12857, "loc": { "start": { "line": 446, "column": 15 }, "end": { "line": 446, "column": 17 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12858, "end": 12863, "loc": { "start": { "line": 446, "column": 18 }, "end": { "line": 446, "column": 23 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 12867, "end": 12893, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 53 } }, "left": { "type": "MemberExpression", "start": 12867, "end": 12887, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 47 } }, "object": { "type": "MemberExpression", "start": 12867, "end": 12880, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 40 } }, "object": { "type": "MemberExpression", "start": 12867, "end": 12874, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 34 } }, "object": { "type": "ThisExpression", "start": 12867, "end": 12871, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 31 } } }, "property": { "type": "Identifier", "start": 12872, "end": 12874, "loc": { "start": { "line": 446, "column": 32 }, "end": { "line": 446, "column": 34 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12875, "end": 12880, "loc": { "start": { "line": 446, "column": 35 }, "end": { "line": 446, "column": 40 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "property": { "type": "Identifier", "start": 12881, "end": 12887, "loc": { "start": { "line": 446, "column": 41 }, "end": { "line": 446, "column": 47 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 12892, "end": 12893, "loc": { "start": { "line": 446, "column": 52 }, "end": { "line": 446, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 12895, "end": 12920, "loc": { "start": { "line": 446, "column": 55 }, "end": { "line": 448, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 12905, "end": 12912, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 12927, "end": 12940, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 19 } }, "expression": { "type": "CallExpression", "start": 12927, "end": 12939, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 12927, "end": 12937, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12927, "end": 12931, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 10 } } }, "property": { "type": "Identifier", "start": 12932, "end": 12937, "loc": { "start": { "line": 449, "column": 11 }, "end": { "line": 449, "column": 16 }, "identifierName": "start" }, "name": "start" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 12556, "end": 12666, "loc": { "start": { "line": 435, "column": 2 }, "end": { "line": 439, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12956, "end": 13019, "loc": { "start": { "line": 453, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13022, "end": 13394, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 466, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13022, "end": 13034, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 14 }, "identifierName": "insertCursor" }, "name": "insertCursor", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13037, "end": 13394, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 466, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13043, "end": 13072, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 458, "column": 33 } }, "test": { "type": "UnaryExpression", "start": 13047, "end": 13063, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13048, "end": 13063, "loc": { "start": { "line": 458, "column": 9 }, "end": { "line": 458, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13048, "end": 13052, "loc": { "start": { "line": 458, "column": 9 }, "end": { "line": 458, "column": 13 } } }, "property": { "type": "Identifier", "start": 13053, "end": 13063, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 24 }, "identifierName": "showCursor" }, "name": "showCursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 13065, "end": 13072, "loc": { "start": { "line": 458, "column": 26 }, "end": { "line": 458, "column": 33 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 13077, "end": 13101, "loc": { "start": { "line": 459, "column": 4 }, "end": { "line": 459, "column": 28 } }, "test": { "type": "MemberExpression", "start": 13081, "end": 13092, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 19 } }, "object": { "type": "ThisExpression", "start": 13081, "end": 13085, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 12 } } }, "property": { "type": "Identifier", "start": 13086, "end": 13092, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 13094, "end": 13101, "loc": { "start": { "line": 459, "column": 21 }, "end": { "line": 459, "column": 28 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 13106, "end": 13151, "loc": { "start": { "line": 460, "column": 4 }, "end": { "line": 460, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 13106, "end": 13150, "loc": { "start": { "line": 460, "column": 4 }, "end": { "line": 460, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13106, "end": 13117, "loc": { "start": { "line": 460, "column": 4 }, "end": { "line": 460, "column": 15 } }, "object": { "type": "ThisExpression", "start": 13106, "end": 13110, "loc": { "start": { "line": 460, "column": 4 }, "end": { "line": 460, "column": 8 } } }, "property": { "type": "Identifier", "start": 13111, "end": 13117, "loc": { "start": { "line": 460, "column": 9 }, "end": { "line": 460, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "right": { "type": "CallExpression", "start": 13120, "end": 13150, "loc": { "start": { "line": 460, "column": 18 }, "end": { "line": 460, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 13120, "end": 13142, "loc": { "start": { "line": 460, "column": 18 }, "end": { "line": 460, "column": 40 } }, "object": { "type": "Identifier", "start": 13120, "end": 13128, "loc": { "start": { "line": 460, "column": 18 }, "end": { "line": 460, "column": 26 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 13129, "end": 13142, "loc": { "start": { "line": 460, "column": 27 }, "end": { "line": 460, "column": 40 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13143, "end": 13149, "loc": { "start": { "line": 460, "column": 41 }, "end": { "line": 460, "column": 47 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] } } }, { "type": "ExpressionStatement", "start": 13156, "end": 13195, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 13156, "end": 13194, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13156, "end": 13177, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 25 } }, "object": { "type": "MemberExpression", "start": 13156, "end": 13167, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 15 } }, "object": { "type": "ThisExpression", "start": 13156, "end": 13160, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } } }, "property": { "type": "Identifier", "start": 13161, "end": 13167, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 13168, "end": 13177, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 25 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 13180, "end": 13194, "loc": { "start": { "line": 461, "column": 28 }, "end": { "line": 461, "column": 42 } }, "extra": { "rawValue": "typed-cursor", "raw": "'typed-cursor'" }, "value": "typed-cursor" } } }, { "type": "ExpressionStatement", "start": 13200, "end": 13246, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 50 } }, "expression": { "type": "CallExpression", "start": 13200, "end": 13245, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13200, "end": 13224, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 28 } }, "object": { "type": "MemberExpression", "start": 13200, "end": 13211, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 15 } }, "object": { "type": "ThisExpression", "start": 13200, "end": 13204, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 8 } } }, "property": { "type": "Identifier", "start": 13205, "end": 13211, "loc": { "start": { "line": 462, "column": 9 }, "end": { "line": 462, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 13212, "end": 13224, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 28 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13225, "end": 13238, "loc": { "start": { "line": 462, "column": 29 }, "end": { "line": 462, "column": 42 } }, "extra": { "rawValue": "aria-hidden", "raw": "'aria-hidden'" }, "value": "aria-hidden" }, { "type": "BooleanLiteral", "start": 13240, "end": 13244, "loc": { "start": { "line": 462, "column": 44 }, "end": { "line": 462, "column": 48 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 13251, "end": 13291, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 13251, "end": 13290, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13251, "end": 13272, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 25 } }, "object": { "type": "MemberExpression", "start": 13251, "end": 13262, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 15 } }, "object": { "type": "ThisExpression", "start": 13251, "end": 13255, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 8 } } }, "property": { "type": "Identifier", "start": 13256, "end": 13262, "loc": { "start": { "line": 463, "column": 9 }, "end": { "line": 463, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 13263, "end": 13272, "loc": { "start": { "line": 463, "column": 16 }, "end": { "line": 463, "column": 25 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "MemberExpression", "start": 13275, "end": 13290, "loc": { "start": { "line": 463, "column": 28 }, "end": { "line": 463, "column": 43 } }, "object": { "type": "ThisExpression", "start": 13275, "end": 13279, "loc": { "start": { "line": 463, "column": 28 }, "end": { "line": 463, "column": 32 } } }, "property": { "type": "Identifier", "start": 13280, "end": 13290, "loc": { "start": { "line": 463, "column": 33 }, "end": { "line": 463, "column": 43 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 13296, "end": 13390, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 465, "column": 72 } }, "expression": { "type": "LogicalExpression", "start": 13296, "end": 13389, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 465, "column": 71 } }, "left": { "type": "MemberExpression", "start": 13296, "end": 13314, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 22 } }, "object": { "type": "MemberExpression", "start": 13296, "end": 13303, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 11 } }, "object": { "type": "ThisExpression", "start": 13296, "end": 13300, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 8 } } }, "property": { "type": "Identifier", "start": 13301, "end": 13303, "loc": { "start": { "line": 464, "column": 9 }, "end": { "line": 464, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 13304, "end": 13314, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 22 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "operator": "&&", "right": { "type": "CallExpression", "start": 13324, "end": 13389, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 13324, "end": 13355, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 37 } }, "object": { "type": "MemberExpression", "start": 13324, "end": 13342, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 24 } }, "object": { "type": "MemberExpression", "start": 13324, "end": 13331, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 13 } }, "object": { "type": "ThisExpression", "start": 13324, "end": 13328, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 10 } } }, "property": { "type": "Identifier", "start": 13329, "end": 13331, "loc": { "start": { "line": 465, "column": 11 }, "end": { "line": 465, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 13332, "end": 13342, "loc": { "start": { "line": 465, "column": 14 }, "end": { "line": 465, "column": 24 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "property": { "type": "Identifier", "start": 13343, "end": 13355, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 37 }, "identifierName": "insertBefore" }, "name": "insertBefore" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13356, "end": 13367, "loc": { "start": { "line": 465, "column": 38 }, "end": { "line": 465, "column": 49 } }, "object": { "type": "ThisExpression", "start": 13356, "end": 13360, "loc": { "start": { "line": 465, "column": 38 }, "end": { "line": 465, "column": 42 } } }, "property": { "type": "Identifier", "start": 13361, "end": 13367, "loc": { "start": { "line": 465, "column": 43 }, "end": { "line": 465, "column": 49 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, { "type": "MemberExpression", "start": 13369, "end": 13388, "loc": { "start": { "line": 465, "column": 51 }, "end": { "line": 465, "column": 70 } }, "object": { "type": "MemberExpression", "start": 13369, "end": 13376, "loc": { "start": { "line": 465, "column": 51 }, "end": { "line": 465, "column": 58 } }, "object": { "type": "ThisExpression", "start": 13369, "end": 13373, "loc": { "start": { "line": 465, "column": 51 }, "end": { "line": 465, "column": 55 } } }, "property": { "type": "Identifier", "start": 13374, "end": 13376, "loc": { "start": { "line": 465, "column": 56 }, "end": { "line": 465, "column": 58 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 13377, "end": 13388, "loc": { "start": { "line": 465, "column": 59 }, "end": { "line": 465, "column": 70 }, "identifierName": "nextSibling" }, "name": "nextSibling" }, "computed": false } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12956, "end": 13019, "loc": { "start": { "line": 453, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 119, "end": 295, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 119, "end": 295, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 119, "end": 295, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": "CommentLine", "value": " Initialize it up", "start": 365, "end": 384, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 23 } } }, { "type": "CommentLine", "value": " All systems go!", "start": 437, "end": 455, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 481, "end": 556, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 22, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 629, "end": 709, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 30, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 907, "end": 981, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 42, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1335, "end": 1393, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1472, "end": 1565, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 68, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Sets up the typing animation\n * @private\n ", "start": 1966, "end": 2023, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 89, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 2287, "end": 2343, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 102, "column": 5 } } }, { "type": "CommentLine", "value": " Check if there is some text in the element, if yes start by backspacing the default message", "start": 2747, "end": 2841, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 98 } } }, { "type": "CommentLine", "value": " Start typing", "start": 3012, "end": 3027, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 3116, "end": 3316, "loc": { "start": { "line": 127, "column": 2 }, "end": { "line": 132, "column": 5 } } }, { "type": "CommentLine", "value": " skip over any HTML chars", "start": 4224, "end": 4251, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 31 } } }, { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 4399, "end": 4452, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 57 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 4457, "end": 4532, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 79 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 4537, "end": 4572, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 39 } } }, { "type": "CommentLine", "value": " skip at least 1", "start": 4666, "end": 4684, "loc": { "start": { "line": 175, "column": 22 }, "end": { "line": 175, "column": 40 } } }, { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4896, "end": 4968, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 80 } } }, { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 5138, "end": 5179, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 45 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 5184, "end": 5224, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 44 } } }, { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 5431, "end": 5502, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 196, "column": 77 } } }, { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5869, "end": 5911, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 46 } } }, { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5956, "end": 5993, "loc": { "start": { "line": 209, "column": 6 }, "end": { "line": 209, "column": 43 } } }, { "type": "CommentLine", "value": " We're done with this sentence!", "start": 6035, "end": 6068, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 39 } } }, { "type": "CommentLine", "value": " end of character pause", "start": 6245, "end": 6270, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "column": 31 } } }, { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6434, "end": 6645, "loc": { "start": { "line": 226, "column": 2 }, "end": { "line": 231, "column": 5 } } }, { "type": "CommentLine", "value": " call before functions if applicable", "start": 6697, "end": 6735, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 42 } } }, { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6863, "end": 6913, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6918, "end": 6979, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 65 } } }, { "type": "CommentLine", "value": " loop the function", "start": 7103, "end": 7123, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 24 } } }, { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7173, "end": 7378, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 252, "column": 5 } } }, { "type": "CommentLine", "value": " fires callback function", "start": 7420, "end": 7446, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 30 } } }, { "type": "CommentLine", "value": " is this the final string", "start": 7535, "end": 7562, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 31 } } }, { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 7622, "end": 7670, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 54 } } }, { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7700, "end": 7728, "loc": { "start": { "line": 261, "column": 6 }, "end": { "line": 261, "column": 34 } } }, { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7940, "end": 8141, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 8549, "end": 8598, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 55 } } }, { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8720, "end": 8746, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "column": 32 } } }, { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8788, "end": 8875, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 295, "column": 95 } } }, { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 9158, "end": 9213, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 9220, "end": 9260, "loc": { "start": { "line": 308, "column": 6 }, "end": { "line": 308, "column": 46 } } }, { "type": "CommentLine", "value": " subtract characters one by one", "start": 9307, "end": 9340, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 41 } } }, { "type": "CommentLine", "value": " loop the function", "start": 9370, "end": 9390, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 28 } } }, { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 9491, "end": 9539, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 9548, "end": 9580, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 40 } } }, { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 9614, "end": 9678, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 72 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 9997, "end": 10026, "loc": { "start": { "line": 328, "column": 6 }, "end": { "line": 328, "column": 35 } } }, { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 10052, "end": 10107, "loc": { "start": { "line": 332, "column": 2 }, "end": { "line": 335, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 10261, "end": 10488, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 351, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 10660, "end": 10748, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } }, { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10814, "end": 10869, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 59 } } }, { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 11158, "end": 11233, "loc": { "start": { "line": 376, "column": 2 }, "end": { "line": 380, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 11322, "end": 11392, "loc": { "start": { "line": 385, "column": 2 }, "end": { "line": 388, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 11527, "end": 11599, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 397, "column": 5 } } }, { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11827, "end": 11874, "loc": { "start": { "line": 405, "column": 6 }, "end": { "line": 405, "column": 53 } } }, { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 12123, "end": 12249, "loc": { "start": { "line": 415, "column": 2 }, "end": { "line": 420, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 12556, "end": 12666, "loc": { "start": { "line": 435, "column": 2 }, "end": { "line": 439, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12956, "end": 13019, "loc": { "start": { "line": 453, "column": 2 }, "end": { "line": 456, "column": 5 } } } ], "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": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "raf", "start": 7, "end": 10, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 11, "end": 15, "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "raf", "start": 16, "end": 21, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21, "end": 22, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "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": 23, "end": 29, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializer", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44, "end": 45, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 46, "end": 50, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./initializer.js", "start": 51, "end": 69, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 69, "end": 70, "loc": { "start": { "line": 2, "column": 46 }, "end": { "line": 2, "column": 47 } } }, { "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": 71, "end": 77, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 78, "end": 79, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 80, "end": 90, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 91, "end": 92, "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 93, "end": 97, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./html-parser.js", "start": 98, "end": 116, "loc": { "start": { "line": 3, "column": 27 }, "end": { "line": 3, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 116, "end": 117, "loc": { "start": { "line": 3, "column": 45 }, "end": { "line": 3, "column": 46 } } }, { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 119, "end": 295, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "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": 296, "end": 302, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "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": 303, "end": 310, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 14 } } }, { "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": 311, "end": 316, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Typed", "start": 317, "end": 322, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 323, "end": 324, "loc": { "start": { "line": 11, "column": 27 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 327, "end": 338, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 338, "end": 339, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 339, "end": 348, "loc": { "start": { "line": 12, "column": 14 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 348, "end": 349, "loc": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 350, "end": 357, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 357, "end": 358, "loc": { "start": { "line": 12, "column": 32 }, "end": { "line": 12, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 359, "end": 360, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 35 } } }, { "type": "CommentLine", "value": " Initialize it up", "start": 365, "end": 384, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializer", "start": 389, "end": 400, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 400, "end": 401, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "load", "start": 401, "end": 405, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 405, "end": 406, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "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": 406, "end": 410, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 410, "end": 411, "loc": { "start": { "line": 14, "column": 25 }, "end": { "line": 14, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 412, "end": 419, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 419, "end": 420, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 421, "end": 430, "loc": { "start": { "line": 14, "column": 36 }, "end": { "line": 14, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 430, "end": 431, "loc": { "start": { "line": 14, "column": 45 }, "end": { "line": 14, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 431, "end": 432, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 47 } } }, { "type": "CommentLine", "value": " All systems go!", "start": 437, "end": 455, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "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": 460, "end": 464, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 464, "end": 465, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 465, "end": 470, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 470, "end": 471, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 471, "end": 472, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 472, "end": 473, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 476, "end": 477, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 481, "end": 556, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 22, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 559, "end": 565, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 565, "end": 566, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 566, "end": 567, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 568, "end": 569, "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 23, "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": 574, "end": 578, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 578, "end": 579, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 579, "end": 584, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 584, "end": 585, "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 585, "end": 591, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 21 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 592, "end": 593, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "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": 594, "end": 598, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 598, "end": 599, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 599, "end": 604, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 604, "end": 605, "loc": { "start": { "line": 24, "column": 34 }, "end": { "line": 24, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 605, "end": 606, "loc": { "start": { "line": 24, "column": 35 }, "end": { "line": 24, "column": 36 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 607, "end": 608, "loc": { "start": { "line": 24, "column": 37 }, "end": { "line": 24, "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": 609, "end": 613, "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 24, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 613, "end": 614, "loc": { "start": { "line": 24, "column": 43 }, "end": { "line": 24, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stop", "start": 614, "end": 618, "loc": { "start": { "line": 24, "column": 44 }, "end": { "line": 24, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 618, "end": 619, "loc": { "start": { "line": 24, "column": 48 }, "end": { "line": 24, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 619, "end": 620, "loc": { "start": { "line": 24, "column": 49 }, "end": { "line": 24, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 620, "end": 621, "loc": { "start": { "line": 24, "column": 50 }, "end": { "line": 24, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 624, "end": 625, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 25, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 629, "end": 709, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 30, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stop", "start": 712, "end": 716, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 716, "end": 717, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 717, "end": 718, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 725, "end": 727, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 728, "end": 729, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 32, "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": 729, "end": 733, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 733, "end": 734, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 734, "end": 748, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 748, "end": 749, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 28 } } }, { "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": 750, "end": 756, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 756, "end": 757, "loc": { "start": { "line": 32, "column": 35 }, "end": { "line": 32, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 762, "end": 764, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 765, "end": 766, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "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": 766, "end": 770, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 770, "end": 771, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 771, "end": 776, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 776, "end": 777, "loc": { "start": { "line": 33, "column": 18 }, "end": { "line": 33, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 777, "end": 783, "loc": { "start": { "line": 33, "column": 19 }, "end": { "line": 33, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 783, "end": 784, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "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": 785, "end": 791, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 791, "end": 792, "loc": { "start": { "line": 33, "column": 33 }, "end": { "line": 33, "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": 797, "end": 801, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 801, "end": 802, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 802, "end": 816, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 816, "end": 817, "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "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": 817, "end": 821, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 821, "end": 822, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 822, "end": 823, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "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": 828, "end": 832, "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": 832, "end": 833, "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": "pause", "start": 833, "end": 838, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 838, "end": 839, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 839, "end": 845, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 846, "end": 847, "loc": { "start": { "line": 35, "column": 22 }, "end": { "line": 35, "column": 23 } } }, { "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": 848, "end": 852, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "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": 858, "end": 862, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 862, "end": 863, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 863, "end": 870, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 870, "end": 871, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStop", "start": 871, "end": 877, "loc": { "start": { "line": 36, "column": 17 }, "end": { "line": 36, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 877, "end": 878, "loc": { "start": { "line": 36, "column": 23 }, "end": { "line": 36, "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": 878, "end": 882, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 882, "end": 883, "loc": { "start": { "line": 36, "column": 28 }, "end": { "line": 36, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 883, "end": 891, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 891, "end": 892, "loc": { "start": { "line": 36, "column": 37 }, "end": { "line": 36, "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": 893, "end": 897, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 897, "end": 898, "loc": { "start": { "line": 36, "column": 43 }, "end": { "line": 36, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 898, "end": 899, "loc": { "start": { "line": 36, "column": 44 }, "end": { "line": 36, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 902, "end": 903, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 37, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 907, "end": 981, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 42, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 984, "end": 989, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 989, "end": 990, "loc": { "start": { "line": 43, "column": 7 }, "end": { "line": 43, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 990, "end": 991, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 992, "end": 993, "loc": { "start": { "line": 43, "column": 10 }, "end": { "line": 43, "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": 998, "end": 1000, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1001, "end": 1002, "loc": { "start": { "line": 44, "column": 7 }, "end": { "line": 44, "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": 1002, "end": 1006, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1006, "end": 1007, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 1007, "end": 1021, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1021, "end": 1022, "loc": { "start": { "line": 44, "column": 27 }, "end": { "line": 44, "column": 28 } } }, { "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": 1023, "end": 1029, "loc": { "start": { "line": 44, "column": 29 }, "end": { "line": 44, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1029, "end": 1030, "loc": { "start": { "line": 44, "column": 35 }, "end": { "line": 44, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1035, "end": 1037, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1038, "end": 1039, "loc": { "start": { "line": 45, "column": 7 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1039, "end": 1040, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "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": 1040, "end": 1044, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1044, "end": 1045, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1045, "end": 1050, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1050, "end": 1051, "loc": { "start": { "line": 45, "column": 19 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 1051, "end": 1057, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "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": 1059, "end": 1065, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1065, "end": 1066, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "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": 1071, "end": 1075, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1075, "end": 1076, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1076, "end": 1081, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1081, "end": 1082, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 1082, "end": 1088, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1089, "end": 1090, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 23 } } }, { "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": 1091, "end": 1096, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1096, "end": 1097, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1102, "end": 1104, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1105, "end": 1106, "loc": { "start": { "line": 47, "column": 7 }, "end": { "line": 47, "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": 1106, "end": 1110, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1110, "end": 1111, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1111, "end": 1116, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 47, "column": 18 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 1117, "end": 1126, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1126, "end": 1127, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1128, "end": 1129, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "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": 1136, "end": 1140, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1140, "end": 1141, "loc": { "start": { "line": 48, "column": 10 }, "end": { "line": 48, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 1141, "end": 1150, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 48, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1150, "end": 1151, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "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": 1151, "end": 1155, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1155, "end": 1156, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1156, "end": 1161, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1161, "end": 1162, "loc": { "start": { "line": 48, "column": 31 }, "end": { "line": 48, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1162, "end": 1171, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1171, "end": 1172, "loc": { "start": { "line": 48, "column": 41 }, "end": { "line": 48, "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": 1173, "end": 1177, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1177, "end": 1178, "loc": { "start": { "line": 48, "column": 47 }, "end": { "line": 48, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1178, "end": 1183, "loc": { "start": { "line": 48, "column": 48 }, "end": { "line": 48, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1183, "end": 1184, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1184, "end": 1193, "loc": { "start": { "line": 48, "column": 54 }, "end": { "line": 48, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1193, "end": 1194, "loc": { "start": { "line": 48, "column": 63 }, "end": { "line": 48, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1194, "end": 1195, "loc": { "start": { "line": 48, "column": 64 }, "end": { "line": 48, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1200, "end": 1201, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 5 } } }, { "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": 1202, "end": 1206, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1207, "end": 1208, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "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": 1215, "end": 1219, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1219, "end": 1220, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 1220, "end": 1229, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1229, "end": 1230, "loc": { "start": { "line": 50, "column": 20 }, "end": { "line": 50, "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": 1230, "end": 1234, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1234, "end": 1235, "loc": { "start": { "line": 50, "column": 25 }, "end": { "line": 50, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1235, "end": 1240, "loc": { "start": { "line": 50, "column": 26 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1240, "end": 1241, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1241, "end": 1250, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1250, "end": 1251, "loc": { "start": { "line": 50, "column": 41 }, "end": { "line": 50, "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": 1252, "end": 1256, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 50, "column": 47 }, "end": { "line": 50, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1257, "end": 1262, "loc": { "start": { "line": 50, "column": 48 }, "end": { "line": 50, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1262, "end": 1263, "loc": { "start": { "line": 50, "column": 53 }, "end": { "line": 50, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1263, "end": 1272, "loc": { "start": { "line": 50, "column": 54 }, "end": { "line": 50, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1272, "end": 1273, "loc": { "start": { "line": 50, "column": 63 }, "end": { "line": 50, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1273, "end": 1274, "loc": { "start": { "line": 50, "column": 64 }, "end": { "line": 50, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1279, "end": 1280, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "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": 1285, "end": 1289, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1289, "end": 1290, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1290, "end": 1297, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStart", "start": 1298, "end": 1305, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1305, "end": 1306, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "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": 1306, "end": 1310, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 52, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 52, "column": 29 }, "end": { "line": 52, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 1311, "end": 1319, "loc": { "start": { "line": 52, "column": 30 }, "end": { "line": 52, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1319, "end": 1320, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "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": 1321, "end": 1325, "loc": { "start": { "line": 52, "column": 40 }, "end": { "line": 52, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1325, "end": 1326, "loc": { "start": { "line": 52, "column": 44 }, "end": { "line": 52, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1326, "end": 1327, "loc": { "start": { "line": 52, "column": 45 }, "end": { "line": 52, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1330, "end": 1331, "loc": { "start": { "line": 53, "column": 2 }, "end": { "line": 53, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1335, "end": 1393, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 1396, "end": 1403, "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 59, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1403, "end": 1404, "loc": { "start": { "line": 59, "column": 9 }, "end": { "line": 59, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1404, "end": 1405, "loc": { "start": { "line": 59, "column": 10 }, "end": { "line": 59, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1406, "end": 1407, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "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": 1412, "end": 1416, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1416, "end": 1417, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reset", "start": 1417, "end": 1422, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 60, "column": 14 }, "end": { "line": 60, "column": 15 } } }, { "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": 1423, "end": 1428, "loc": { "start": { "line": 60, "column": 15 }, "end": { "line": 60, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1428, "end": 1429, "loc": { "start": { "line": 60, "column": 20 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1429, "end": 1430, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "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": 1435, "end": 1439, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1439, "end": 1440, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1440, "end": 1447, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1447, "end": 1448, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onDestroy", "start": 1448, "end": 1457, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1457, "end": 1458, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1458, "end": 1462, "loc": { "start": { "line": 61, "column": 27 }, "end": { "line": 61, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1462, "end": 1463, "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1463, "end": 1464, "loc": { "start": { "line": 61, "column": 32 }, "end": { "line": 61, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1467, "end": 1468, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1472, "end": 1565, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 68, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reset", "start": 1568, "end": 1573, "loc": { "start": { "line": 69, "column": 2 }, "end": { "line": 69, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1573, "end": 1574, "loc": { "start": { "line": 69, "column": 7 }, "end": { "line": 69, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restart", "start": 1574, "end": 1581, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1582, "end": 1583, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 17 } } }, { "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": 1584, "end": 1588, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1588, "end": 1589, "loc": { "start": { "line": 69, "column": 22 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1590, "end": 1591, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInterval", "start": 1596, "end": 1609, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1609, "end": 1610, "loc": { "start": { "line": 70, "column": 17 }, "end": { "line": 70, "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": 1610, "end": 1614, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 1615, "end": 1622, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1622, "end": 1623, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1623, "end": 1624, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "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": 1629, "end": 1633, "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": 1633, "end": 1634, "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": "replaceText", "start": 1634, "end": 1645, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1645, "end": 1646, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 1646, "end": 1648, "loc": { "start": { "line": 71, "column": 21 }, "end": { "line": 71, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1648, "end": 1649, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1649, "end": 1650, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1655, "end": 1657, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1658, "end": 1659, "loc": { "start": { "line": 72, "column": 7 }, "end": { "line": 72, "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": 1659, "end": 1663, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1663, "end": 1664, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1664, "end": 1670, "loc": { "start": { "line": 72, "column": 13 }, "end": { "line": 72, "column": 19 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1671, "end": 1673, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "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": 1674, "end": 1678, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1678, "end": 1679, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1679, "end": 1685, "loc": { "start": { "line": 72, "column": 28 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1685, "end": 1686, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 1686, "end": 1696, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1696, "end": 1697, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 72, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1698, "end": 1699, "loc": { "start": { "line": 72, "column": 47 }, "end": { "line": 72, "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": 1706, "end": 1710, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1710, "end": 1711, "loc": { "start": { "line": 73, "column": 10 }, "end": { "line": 73, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1711, "end": 1717, "loc": { "start": { "line": 73, "column": 11 }, "end": { "line": 73, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1717, "end": 1718, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 1718, "end": 1728, "loc": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1728, "end": 1729, "loc": { "start": { "line": 73, "column": 28 }, "end": { "line": 73, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeChild", "start": 1729, "end": 1740, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1740, "end": 1741, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "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": 1741, "end": 1745, "loc": { "start": { "line": 73, "column": 41 }, "end": { "line": 73, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1745, "end": 1746, "loc": { "start": { "line": 73, "column": 45 }, "end": { "line": 73, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1746, "end": 1752, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1752, "end": 1753, "loc": { "start": { "line": 73, "column": 52 }, "end": { "line": 73, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1753, "end": 1754, "loc": { "start": { "line": 73, "column": 53 }, "end": { "line": 73, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1761, "end": 1765, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1765, "end": 1766, "loc": { "start": { "line": 74, "column": 10 }, "end": { "line": 74, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1766, "end": 1772, "loc": { "start": { "line": 74, "column": 11 }, "end": { "line": 74, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1773, "end": 1774, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 19 } } }, { "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": 1775, "end": 1779, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1779, "end": 1780, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1785, "end": 1786, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "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": 1791, "end": 1795, "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": 1795, "end": 1796, "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": "strPos", "start": 1796, "end": 1802, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1803, "end": 1804, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1805, "end": 1806, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1806, "end": 1807, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "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": 1812, "end": 1816, "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": 1816, "end": 1817, "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": "arrayPos", "start": 1817, "end": 1825, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1826, "end": 1827, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1828, "end": 1829, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 77, "column": 21 }, "end": { "line": 77, "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": 1835, "end": 1839, "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": 1839, "end": 1840, "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": "curLoop", "start": 1840, "end": 1847, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1848, "end": 1849, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 78, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1850, "end": 1851, "loc": { "start": { "line": 78, "column": 19 }, "end": { "line": 78, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1851, "end": 1852, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "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": 1857, "end": 1859, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1860, "end": 1861, "loc": { "start": { "line": 79, "column": 7 }, "end": { "line": 79, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restart", "start": 1861, "end": 1868, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1868, "end": 1869, "loc": { "start": { "line": 79, "column": 15 }, "end": { "line": 79, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1870, "end": 1871, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "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": 1878, "end": 1882, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 80, "column": 10 }, "end": { "line": 80, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertCursor", "start": 1883, "end": 1895, "loc": { "start": { "line": 80, "column": 11 }, "end": { "line": 80, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1895, "end": 1896, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1896, "end": 1897, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "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": 1905, "end": 1909, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1909, "end": 1910, "loc": { "start": { "line": 81, "column": 10 }, "end": { "line": 81, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1910, "end": 1917, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1917, "end": 1918, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onReset", "start": 1918, "end": 1925, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1925, "end": 1926, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "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": 1926, "end": 1930, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1930, "end": 1931, "loc": { "start": { "line": 81, "column": 31 }, "end": { "line": 81, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1931, "end": 1932, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "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": 1939, "end": 1943, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1943, "end": 1944, "loc": { "start": { "line": 82, "column": 10 }, "end": { "line": 82, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 1944, "end": 1949, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1949, "end": 1950, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1950, "end": 1951, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1951, "end": 1952, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1957, "end": 1958, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1961, "end": 1962, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Sets up the typing animation\n * @private\n ", "start": 1966, "end": 2023, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 89, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 2026, "end": 2031, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 90, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2031, "end": 2032, "loc": { "start": { "line": 90, "column": 7 }, "end": { "line": 90, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2032, "end": 2033, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2034, "end": 2035, "loc": { "start": { "line": 90, "column": 10 }, "end": { "line": 90, "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": 2040, "end": 2044, "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": 2044, "end": 2045, "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": "options", "start": 2045, "end": 2052, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2052, "end": 2053, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBegin", "start": 2053, "end": 2060, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2060, "end": 2061, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "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": 2061, "end": 2065, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2065, "end": 2066, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2066, "end": 2067, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "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": 2072, "end": 2076, "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": 2076, "end": 2077, "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": "typingComplete", "start": 2077, "end": 2091, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2092, "end": 2093, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 25 } } }, { "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": 2094, "end": 2099, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2099, "end": 2100, "loc": { "start": { "line": 92, "column": 31 }, "end": { "line": 92, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2105, "end": 2109, "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": 2109, "end": 2110, "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": "shuffleStringsIfNeeded", "start": 2110, "end": 2132, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2132, "end": 2133, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "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": 2133, "end": 2137, "loc": { "start": { "line": 93, "column": 32 }, "end": { "line": 93, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2137, "end": 2138, "loc": { "start": { "line": 93, "column": 36 }, "end": { "line": 93, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2138, "end": 2139, "loc": { "start": { "line": 93, "column": 37 }, "end": { "line": 93, "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": 2144, "end": 2148, "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": 2148, "end": 2149, "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": "insertCursor", "start": 2149, "end": 2161, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2161, "end": 2162, "loc": { "start": { "line": 94, "column": 21 }, "end": { "line": 94, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2162, "end": 2163, "loc": { "start": { "line": 94, "column": 22 }, "end": { "line": 94, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2163, "end": 2164, "loc": { "start": { "line": 94, "column": 23 }, "end": { "line": 94, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2169, "end": 2171, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2172, "end": 2173, "loc": { "start": { "line": 95, "column": 7 }, "end": { "line": 95, "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": 2173, "end": 2177, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2177, "end": 2178, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindInputFocusEvents", "start": 2178, "end": 2198, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "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": 2200, "end": 2204, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2204, "end": 2205, "loc": { "start": { "line": 95, "column": 39 }, "end": { "line": 95, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindFocusEvents", "start": 2205, "end": 2220, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2220, "end": 2221, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2221, "end": 2222, "loc": { "start": { "line": 95, "column": 56 }, "end": { "line": 95, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2222, "end": 2223, "loc": { "start": { "line": 95, "column": 57 }, "end": { "line": 95, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "raf", "start": 2228, "end": 2231, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2231, "end": 2232, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2232, "end": 2233, "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": "timestamp", "start": 2233, "end": 2242, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2242, "end": 2243, "loc": { "start": { "line": 96, "column": 18 }, "end": { "line": 96, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2244, "end": 2246, "loc": { "start": { "line": 96, "column": 20 }, "end": { "line": 96, "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": 2247, "end": 2251, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2251, "end": 2252, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginAnimation", "start": 2252, "end": 2266, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 96, "column": 42 }, "end": { "line": 96, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2267, "end": 2276, "loc": { "start": { "line": 96, "column": 43 }, "end": { "line": 96, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2276, "end": 2277, "loc": { "start": { "line": 96, "column": 52 }, "end": { "line": 96, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2277, "end": 2278, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2278, "end": 2279, "loc": { "start": { "line": 96, "column": 54 }, "end": { "line": 96, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2282, "end": 2283, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 97, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 2287, "end": 2343, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 102, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginAnimation", "start": 2346, "end": 2360, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 103, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2360, "end": 2361, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2361, "end": 2370, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2370, "end": 2371, "loc": { "start": { "line": 103, "column": 26 }, "end": { "line": 103, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2372, "end": 2373, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 103, "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": 2378, "end": 2380, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2381, "end": 2382, "loc": { "start": { "line": 104, "column": 7 }, "end": { "line": 104, "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": 2382, "end": 2386, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2386, "end": 2387, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beginAnimationStart", "start": 2387, "end": 2407, "loc": { "start": { "line": 104, "column": 13 }, "end": { "line": 104, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2408, "end": 2411, "loc": { "start": { "line": 104, "column": 34 }, "end": { "line": 104, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 2412, "end": 2421, "loc": { "start": { "line": 104, "column": 38 }, "end": { "line": 104, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2421, "end": 2422, "loc": { "start": { "line": 104, "column": 47 }, "end": { "line": 104, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2423, "end": 2424, "loc": { "start": { "line": 104, "column": 49 }, "end": { "line": 104, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2431, "end": 2435, "loc": { "start": { "line": 105, "column": 6 }, "end": { "line": 105, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2435, "end": 2436, "loc": { "start": { "line": 105, "column": 10 }, "end": { "line": 105, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beginAnimationStart", "start": 2436, "end": 2456, "loc": { "start": { "line": 105, "column": 11 }, "end": { "line": 105, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2457, "end": 2458, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2459, "end": 2468, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2468, "end": 2469, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2474, "end": 2475, "loc": { "start": { "line": 106, "column": 4 }, "end": { "line": 106, "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": 2481, "end": 2483, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2484, "end": 2485, "loc": { "start": { "line": 108, "column": 7 }, "end": { "line": 108, "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": 2485, "end": 2489, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2489, "end": 2490, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 2490, "end": 2500, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 23 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 2501, "end": 2502, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2503, "end": 2504, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2504, "end": 2505, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2506, "end": 2507, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2514, "end": 2519, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elapsed", "start": 2520, "end": 2527, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2528, "end": 2529, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2530, "end": 2539, "loc": { "start": { "line": 109, "column": 22 }, "end": { "line": 109, "column": 31 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2540, "end": 2541, "loc": { "start": { "line": 109, "column": 32 }, "end": { "line": 109, "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": 2542, "end": 2546, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 109, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2546, "end": 2547, "loc": { "start": { "line": 109, "column": 38 }, "end": { "line": 109, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beginAnimationStart", "start": 2547, "end": 2567, "loc": { "start": { "line": 109, "column": 39 }, "end": { "line": 109, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 109, "column": 59 }, "end": { "line": 109, "column": 60 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2575, "end": 2577, "loc": { "start": { "line": 110, "column": 6 }, "end": { "line": 110, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2578, "end": 2579, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elapsed", "start": 2579, "end": 2586, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "column": 17 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2587, "end": 2588, "loc": { "start": { "line": 110, "column": 18 }, "end": { "line": 110, "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": 2589, "end": 2593, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2593, "end": 2594, "loc": { "start": { "line": 110, "column": 24 }, "end": { "line": 110, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 2594, "end": 2604, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2604, "end": 2605, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2606, "end": 2607, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "raf", "start": 2616, "end": 2619, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2619, "end": 2620, "loc": { "start": { "line": 111, "column": 11 }, "end": { "line": 111, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2620, "end": 2621, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2621, "end": 2630, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2630, "end": 2631, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 23 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2632, "end": 2634, "loc": { "start": { "line": 111, "column": 24 }, "end": { "line": 111, "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": 2635, "end": 2639, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2639, "end": 2640, "loc": { "start": { "line": 111, "column": 31 }, "end": { "line": 111, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginAnimation", "start": 2640, "end": 2654, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2654, "end": 2655, "loc": { "start": { "line": 111, "column": 46 }, "end": { "line": 111, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 2655, "end": 2664, "loc": { "start": { "line": 111, "column": 47 }, "end": { "line": 111, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2664, "end": 2665, "loc": { "start": { "line": 111, "column": 56 }, "end": { "line": 111, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2665, "end": 2666, "loc": { "start": { "line": 111, "column": 57 }, "end": { "line": 111, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 111, "column": 58 }, "end": { "line": 111, "column": 59 } } }, { "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": 2676, "end": 2682, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2682, "end": 2683, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2690, "end": 2691, "loc": { "start": { "line": 113, "column": 6 }, "end": { "line": 113, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2696, "end": 2697, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "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": 2703, "end": 2707, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2707, "end": 2708, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beginAnimationStart", "start": 2708, "end": 2728, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2729, "end": 2730, "loc": { "start": { "line": 116, "column": 30 }, "end": { "line": 116, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 2731, "end": 2740, "loc": { "start": { "line": 116, "column": 32 }, "end": { "line": 116, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2740, "end": 2741, "loc": { "start": { "line": 116, "column": 41 }, "end": { "line": 116, "column": 42 } } }, { "type": "CommentLine", "value": " Check if there is some text in the element, if yes start by backspacing the default message", "start": 2747, "end": 2841, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 98 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2846, "end": 2848, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2849, "end": 2850, "loc": { "start": { "line": 119, "column": 7 }, "end": { "line": 119, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2850, "end": 2851, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "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": 2851, "end": 2855, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2855, "end": 2856, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 2856, "end": 2872, "loc": { "start": { "line": 119, "column": 14 }, "end": { "line": 119, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2873, "end": 2875, "loc": { "start": { "line": 119, "column": 31 }, "end": { "line": 119, "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": 2876, "end": 2880, "loc": { "start": { "line": 119, "column": 34 }, "end": { "line": 119, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2880, "end": 2881, "loc": { "start": { "line": 119, "column": 38 }, "end": { "line": 119, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 2881, "end": 2897, "loc": { "start": { "line": 119, "column": 39 }, "end": { "line": 119, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 119, "column": 55 }, "end": { "line": 119, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2898, "end": 2904, "loc": { "start": { "line": 119, "column": 56 }, "end": { "line": 119, "column": 62 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2905, "end": 2908, "loc": { "start": { "line": 119, "column": 63 }, "end": { "line": 119, "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": 2909, "end": 2910, "loc": { "start": { "line": 119, "column": 67 }, "end": { "line": 119, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2910, "end": 2911, "loc": { "start": { "line": 119, "column": 68 }, "end": { "line": 119, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 119, "column": 70 }, "end": { "line": 119, "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": 2920, "end": 2924, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2924, "end": 2925, "loc": { "start": { "line": 120, "column": 10 }, "end": { "line": 120, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 2925, "end": 2934, "loc": { "start": { "line": 120, "column": 11 }, "end": { "line": 120, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2934, "end": 2935, "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "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": 2935, "end": 2939, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2939, "end": 2940, "loc": { "start": { "line": 120, "column": 25 }, "end": { "line": 120, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2940, "end": 2947, "loc": { "start": { "line": 120, "column": 26 }, "end": { "line": 120, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2947, "end": 2948, "loc": { "start": { "line": 120, "column": 33 }, "end": { "line": 120, "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": 2948, "end": 2952, "loc": { "start": { "line": 120, "column": 34 }, "end": { "line": 120, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2952, "end": 2953, "loc": { "start": { "line": 120, "column": 38 }, "end": { "line": 120, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 2953, "end": 2961, "loc": { "start": { "line": 120, "column": 39 }, "end": { "line": 120, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2961, "end": 2962, "loc": { "start": { "line": 120, "column": 47 }, "end": { "line": 120, "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": 2962, "end": 2966, "loc": { "start": { "line": 120, "column": 48 }, "end": { "line": 120, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2966, "end": 2967, "loc": { "start": { "line": 120, "column": 52 }, "end": { "line": 120, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2967, "end": 2975, "loc": { "start": { "line": 120, "column": 53 }, "end": { "line": 120, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2975, "end": 2976, "loc": { "start": { "line": 120, "column": 61 }, "end": { "line": 120, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2976, "end": 2977, "loc": { "start": { "line": 120, "column": 62 }, "end": { "line": 120, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2977, "end": 2978, "loc": { "start": { "line": 120, "column": 63 }, "end": { "line": 120, "column": 64 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2979, "end": 2983, "loc": { "start": { "line": 120, "column": 65 }, "end": { "line": 120, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 120, "column": 69 }, "end": { "line": 120, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 2984, "end": 2990, "loc": { "start": { "line": 120, "column": 70 }, "end": { "line": 120, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2990, "end": 2991, "loc": { "start": { "line": 120, "column": 76 }, "end": { "line": 120, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2991, "end": 2992, "loc": { "start": { "line": 120, "column": 77 }, "end": { "line": 120, "column": 78 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2997, "end": 2998, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 5 } } }, { "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": 2999, "end": 3003, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3004, "end": 3005, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 12 } } }, { "type": "CommentLine", "value": " Start typing", "start": 3012, "end": 3027, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "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": 3034, "end": 3038, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3038, "end": 3039, "loc": { "start": { "line": 123, "column": 10 }, "end": { "line": 123, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 3039, "end": 3048, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3048, "end": 3049, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "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": 3049, "end": 3053, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3053, "end": 3054, "loc": { "start": { "line": 123, "column": 25 }, "end": { "line": 123, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3054, "end": 3070, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3070, "end": 3071, "loc": { "start": { "line": 123, "column": 42 }, "end": { "line": 123, "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": 3072, "end": 3076, "loc": { "start": { "line": 123, "column": 44 }, "end": { "line": 123, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3076, "end": 3077, "loc": { "start": { "line": 123, "column": 48 }, "end": { "line": 123, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentElContent", "start": 3077, "end": 3093, "loc": { "start": { "line": 123, "column": 49 }, "end": { "line": 123, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3093, "end": 3094, "loc": { "start": { "line": 123, "column": 65 }, "end": { "line": 123, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3094, "end": 3100, "loc": { "start": { "line": 123, "column": 66 }, "end": { "line": 123, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3100, "end": 3101, "loc": { "start": { "line": 123, "column": 72 }, "end": { "line": 123, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3101, "end": 3102, "loc": { "start": { "line": 123, "column": 73 }, "end": { "line": 123, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3107, "end": 3108, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3111, "end": 3112, "loc": { "start": { "line": 125, "column": 2 }, "end": { "line": 125, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 3116, "end": 3316, "loc": { "start": { "line": 127, "column": 2 }, "end": { "line": 132, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 3319, "end": 3328, "loc": { "start": { "line": 133, "column": 2 }, "end": { "line": 133, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3328, "end": 3329, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3329, "end": 3338, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3338, "end": 3339, "loc": { "start": { "line": 133, "column": 21 }, "end": { "line": 133, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3340, "end": 3349, "loc": { "start": { "line": 133, "column": 23 }, "end": { "line": 133, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3349, "end": 3350, "loc": { "start": { "line": 133, "column": 32 }, "end": { "line": 133, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3351, "end": 3352, "loc": { "start": { "line": 133, "column": 34 }, "end": { "line": 133, "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": 3357, "end": 3359, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3360, "end": 3361, "loc": { "start": { "line": 134, "column": 7 }, "end": { "line": 134, "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": 3361, "end": 3365, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 3366, "end": 3373, "loc": { "start": { "line": 134, "column": 13 }, "end": { "line": 134, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3374, "end": 3376, "loc": { "start": { "line": 134, "column": 21 }, "end": { "line": 134, "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": 3377, "end": 3381, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3381, "end": 3382, "loc": { "start": { "line": 134, "column": 28 }, "end": { "line": 134, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 3382, "end": 3384, "loc": { "start": { "line": 134, "column": 29 }, "end": { "line": 134, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3384, "end": 3385, "loc": { "start": { "line": 134, "column": 31 }, "end": { "line": 134, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 3385, "end": 3394, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3394, "end": 3395, "loc": { "start": { "line": 134, "column": 41 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contains", "start": 3395, "end": 3403, "loc": { "start": { "line": 134, "column": 42 }, "end": { "line": 134, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3403, "end": 3404, "loc": { "start": { "line": 134, "column": 50 }, "end": { "line": 134, "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": 3404, "end": 3408, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3408, "end": 3409, "loc": { "start": { "line": 134, "column": 55 }, "end": { "line": 134, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 3409, "end": 3421, "loc": { "start": { "line": 134, "column": 56 }, "end": { "line": 134, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3421, "end": 3422, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3422, "end": 3423, "loc": { "start": { "line": 134, "column": 69 }, "end": { "line": 134, "column": 70 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3424, "end": 3425, "loc": { "start": { "line": 134, "column": 71 }, "end": { "line": 134, "column": 72 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3432, "end": 3436, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3436, "end": 3437, "loc": { "start": { "line": 135, "column": 10 }, "end": { "line": 135, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 3437, "end": 3439, "loc": { "start": { "line": 135, "column": 11 }, "end": { "line": 135, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3439, "end": 3440, "loc": { "start": { "line": 135, "column": 13 }, "end": { "line": 135, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 3440, "end": 3449, "loc": { "start": { "line": 135, "column": 14 }, "end": { "line": 135, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3449, "end": 3450, "loc": { "start": { "line": 135, "column": 23 }, "end": { "line": 135, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 3450, "end": 3456, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3456, "end": 3457, "loc": { "start": { "line": 135, "column": 30 }, "end": { "line": 135, "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": 3457, "end": 3461, "loc": { "start": { "line": 135, "column": 31 }, "end": { "line": 135, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3461, "end": 3462, "loc": { "start": { "line": 135, "column": 35 }, "end": { "line": 135, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 3462, "end": 3474, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3474, "end": 3475, "loc": { "start": { "line": 135, "column": 48 }, "end": { "line": 135, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3475, "end": 3476, "loc": { "start": { "line": 135, "column": 49 }, "end": { "line": 135, "column": 50 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3483, "end": 3485, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3486, "end": 3487, "loc": { "start": { "line": 136, "column": 9 }, "end": { "line": 136, "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": 3487, "end": 3491, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3491, "end": 3492, "loc": { "start": { "line": 136, "column": 14 }, "end": { "line": 136, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 3492, "end": 3498, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3498, "end": 3499, "loc": { "start": { "line": 136, "column": 21 }, "end": { "line": 136, "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": 3500, "end": 3504, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3504, "end": 3505, "loc": { "start": { "line": 136, "column": 27 }, "end": { "line": 136, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 3505, "end": 3511, "loc": { "start": { "line": 136, "column": 28 }, "end": { "line": 136, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3511, "end": 3512, "loc": { "start": { "line": 136, "column": 34 }, "end": { "line": 136, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 3512, "end": 3521, "loc": { "start": { "line": 136, "column": 35 }, "end": { "line": 136, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3521, "end": 3522, "loc": { "start": { "line": 136, "column": 44 }, "end": { "line": 136, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 3522, "end": 3528, "loc": { "start": { "line": 136, "column": 45 }, "end": { "line": 136, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3528, "end": 3529, "loc": { "start": { "line": 136, "column": 51 }, "end": { "line": 136, "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": 3529, "end": 3533, "loc": { "start": { "line": 136, "column": 52 }, "end": { "line": 136, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3533, "end": 3534, "loc": { "start": { "line": 136, "column": 56 }, "end": { "line": 136, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 3534, "end": 3546, "loc": { "start": { "line": 136, "column": 57 }, "end": { "line": 136, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3546, "end": 3547, "loc": { "start": { "line": 136, "column": 69 }, "end": { "line": 136, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3547, "end": 3548, "loc": { "start": { "line": 136, "column": 70 }, "end": { "line": 136, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3553, "end": 3554, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "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": 3560, "end": 3562, "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": 3563, "end": 3564, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 139, "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": 3564, "end": 3568, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3568, "end": 3569, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 3569, "end": 3574, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3574, "end": 3575, "loc": { "start": { "line": 139, "column": 18 }, "end": { "line": 139, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 3575, "end": 3581, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3582, "end": 3585, "loc": { "start": { "line": 139, "column": 26 }, "end": { "line": 139, "column": 29 } } }, { "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": 3586, "end": 3590, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3590, "end": 3591, "loc": { "start": { "line": 139, "column": 34 }, "end": { "line": 139, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3592, "end": 3593, "loc": { "start": { "line": 139, "column": 36 }, "end": { "line": 139, "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": 3600, "end": 3604, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3604, "end": 3605, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPauseStatus", "start": 3605, "end": 3619, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3619, "end": 3620, "loc": { "start": { "line": 140, "column": 25 }, "end": { "line": 140, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3620, "end": 3629, "loc": { "start": { "line": 140, "column": 26 }, "end": { "line": 140, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3629, "end": 3630, "loc": { "start": { "line": 140, "column": 35 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3631, "end": 3640, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3640, "end": 3641, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 47 } } }, { "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": 3642, "end": 3646, "loc": { "start": { "line": 140, "column": 48 }, "end": { "line": 140, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 140, "column": 52 }, "end": { "line": 140, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3647, "end": 3648, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 54 } } }, { "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": 3655, "end": 3661, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3661, "end": 3662, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3667, "end": 3668, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "raf", "start": 3674, "end": 3677, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3677, "end": 3678, "loc": { "start": { "line": 144, "column": 7 }, "end": { "line": 144, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3678, "end": 3679, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 3679, "end": 3688, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3688, "end": 3689, "loc": { "start": { "line": 144, "column": 18 }, "end": { "line": 144, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3690, "end": 3692, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3693, "end": 3697, "loc": { "start": { "line": 144, "column": 23 }, "end": { "line": 144, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3697, "end": 3698, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewriteStep", "start": 3698, "end": 3711, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3711, "end": 3712, "loc": { "start": { "line": 144, "column": 41 }, "end": { "line": 144, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3712, "end": 3721, "loc": { "start": { "line": 144, "column": 42 }, "end": { "line": 144, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3721, "end": 3722, "loc": { "start": { "line": 144, "column": 51 }, "end": { "line": 144, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3723, "end": 3732, "loc": { "start": { "line": 144, "column": 53 }, "end": { "line": 144, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3732, "end": 3733, "loc": { "start": { "line": 144, "column": 62 }, "end": { "line": 144, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 3734, "end": 3743, "loc": { "start": { "line": 144, "column": 64 }, "end": { "line": 144, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3743, "end": 3744, "loc": { "start": { "line": 144, "column": 73 }, "end": { "line": 144, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3744, "end": 3745, "loc": { "start": { "line": 144, "column": 74 }, "end": { "line": 144, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3745, "end": 3746, "loc": { "start": { "line": 144, "column": 75 }, "end": { "line": 144, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3749, "end": 3750, "loc": { "start": { "line": 145, "column": 2 }, "end": { "line": 145, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewriteStep", "start": 3754, "end": 3767, "loc": { "start": { "line": 147, "column": 2 }, "end": { "line": 147, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3767, "end": 3768, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3768, "end": 3777, "loc": { "start": { "line": 147, "column": 16 }, "end": { "line": 147, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3777, "end": 3778, "loc": { "start": { "line": 147, "column": 25 }, "end": { "line": 147, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3779, "end": 3788, "loc": { "start": { "line": 147, "column": 27 }, "end": { "line": 147, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3788, "end": 3789, "loc": { "start": { "line": 147, "column": 36 }, "end": { "line": 147, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 3790, "end": 3799, "loc": { "start": { "line": 147, "column": 38 }, "end": { "line": 147, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3799, "end": 3800, "loc": { "start": { "line": 147, "column": 47 }, "end": { "line": 147, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3801, "end": 3802, "loc": { "start": { "line": 147, "column": 49 }, "end": { "line": 147, "column": 50 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3807, "end": 3812, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 3813, "end": 3821, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3822, "end": 3823, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "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": 3824, "end": 3828, "loc": { "start": { "line": 148, "column": 21 }, "end": { "line": 148, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3828, "end": 3829, "loc": { "start": { "line": 148, "column": 25 }, "end": { "line": 148, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 3829, "end": 3838, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3838, "end": 3839, "loc": { "start": { "line": 148, "column": 35 }, "end": { "line": 148, "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": 3839, "end": 3843, "loc": { "start": { "line": 148, "column": 36 }, "end": { "line": 148, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3843, "end": 3844, "loc": { "start": { "line": 148, "column": 40 }, "end": { "line": 148, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeSpeed", "start": 3844, "end": 3853, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3853, "end": 3854, "loc": { "start": { "line": 148, "column": 50 }, "end": { "line": 148, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3854, "end": 3855, "loc": { "start": { "line": 148, "column": 51 }, "end": { "line": 148, "column": 52 } } }, { "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": 3860, "end": 3863, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 3864, "end": 3872, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3873, "end": 3874, "loc": { "start": { "line": 149, "column": 17 }, "end": { "line": 149, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3875, "end": 3876, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3876, "end": 3877, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "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": 3883, "end": 3885, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3886, "end": 3887, "loc": { "start": { "line": 151, "column": 7 }, "end": { "line": 151, "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": 3887, "end": 3891, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3891, "end": 3892, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typewriteStart", "start": 3892, "end": 3907, "loc": { "start": { "line": 151, "column": 13 }, "end": { "line": 151, "column": 28 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3908, "end": 3911, "loc": { "start": { "line": 151, "column": 29 }, "end": { "line": 151, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 3912, "end": 3921, "loc": { "start": { "line": 151, "column": 33 }, "end": { "line": 151, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3921, "end": 3922, "loc": { "start": { "line": 151, "column": 42 }, "end": { "line": 151, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3923, "end": 3924, "loc": { "start": { "line": 151, "column": 44 }, "end": { "line": 151, "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": 3931, "end": 3935, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3935, "end": 3936, "loc": { "start": { "line": 152, "column": 10 }, "end": { "line": 152, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typewriteStart", "start": 3936, "end": 3951, "loc": { "start": { "line": 152, "column": 11 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3952, "end": 3953, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 3954, "end": 3963, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 152, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3963, "end": 3964, "loc": { "start": { "line": 152, "column": 38 }, "end": { "line": 152, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3969, "end": 3970, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "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": 3976, "end": 3978, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 155, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3979, "end": 3980, "loc": { "start": { "line": 155, "column": 7 }, "end": { "line": 155, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 3980, "end": 3988, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 16 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3989, "end": 3990, "loc": { "start": { "line": 155, "column": 17 }, "end": { "line": 155, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3991, "end": 3992, "loc": { "start": { "line": 155, "column": 19 }, "end": { "line": 155, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3992, "end": 3993, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3994, "end": 3995, "loc": { "start": { "line": 155, "column": 22 }, "end": { "line": 155, "column": 23 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4002, "end": 4007, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elapsed", "start": 4008, "end": 4015, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4016, "end": 4017, "loc": { "start": { "line": 156, "column": 20 }, "end": { "line": 156, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timestamp", "start": 4018, "end": 4027, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 31 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4028, "end": 4029, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "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": 4030, "end": 4034, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4034, "end": 4035, "loc": { "start": { "line": 156, "column": 38 }, "end": { "line": 156, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typewriteStart", "start": 4035, "end": 4050, "loc": { "start": { "line": 156, "column": 39 }, "end": { "line": 156, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4050, "end": 4051, "loc": { "start": { "line": 156, "column": 54 }, "end": { "line": 156, "column": 55 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4058, "end": 4060, "loc": { "start": { "line": 157, "column": 6 }, "end": { "line": 157, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4061, "end": 4062, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 157, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elapsed", "start": 4062, "end": 4069, "loc": { "start": { "line": 157, "column": 10 }, "end": { "line": 157, "column": 17 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 4070, "end": 4072, "loc": { "start": { "line": 157, "column": 18 }, "end": { "line": 157, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 4073, "end": 4081, "loc": { "start": { "line": 157, "column": 21 }, "end": { "line": 157, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4081, "end": 4082, "loc": { "start": { "line": 157, "column": 29 }, "end": { "line": 157, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4083, "end": 4084, "loc": { "start": { "line": 157, "column": 31 }, "end": { "line": 157, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "raf", "start": 4093, "end": 4096, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4096, "end": 4097, "loc": { "start": { "line": 158, "column": 11 }, "end": { "line": 158, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4097, "end": 4098, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "t", "start": 4098, "end": 4099, "loc": { "start": { "line": 158, "column": 13 }, "end": { "line": 158, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4099, "end": 4100, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4101, "end": 4103, "loc": { "start": { "line": 158, "column": 16 }, "end": { "line": 158, "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": 4104, "end": 4108, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 158, "column": 23 }, "end": { "line": 158, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewriteStep", "start": 4109, "end": 4122, "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4122, "end": 4123, "loc": { "start": { "line": 158, "column": 37 }, "end": { "line": 158, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4123, "end": 4132, "loc": { "start": { "line": 158, "column": 38 }, "end": { "line": 158, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4132, "end": 4133, "loc": { "start": { "line": 158, "column": 47 }, "end": { "line": 158, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4134, "end": 4143, "loc": { "start": { "line": 158, "column": 49 }, "end": { "line": 158, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4143, "end": 4144, "loc": { "start": { "line": 158, "column": 58 }, "end": { "line": 158, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "t", "start": 4145, "end": 4146, "loc": { "start": { "line": 158, "column": 60 }, "end": { "line": 158, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4146, "end": 4147, "loc": { "start": { "line": 158, "column": 61 }, "end": { "line": 158, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4147, "end": 4148, "loc": { "start": { "line": 158, "column": 62 }, "end": { "line": 158, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4148, "end": 4149, "loc": { "start": { "line": 158, "column": 63 }, "end": { "line": 158, "column": 64 } } }, { "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": 4158, "end": 4164, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4164, "end": 4165, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4172, "end": 4173, "loc": { "start": { "line": 160, "column": 6 }, "end": { "line": 160, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4178, "end": 4179, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "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": 4185, "end": 4189, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4189, "end": 4190, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typewriteStart", "start": 4190, "end": 4205, "loc": { "start": { "line": 163, "column": 9 }, "end": { "line": 163, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4206, "end": 4207, "loc": { "start": { "line": 163, "column": 25 }, "end": { "line": 163, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 4208, "end": 4217, "loc": { "start": { "line": 163, "column": 27 }, "end": { "line": 163, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4217, "end": 4218, "loc": { "start": { "line": 163, "column": 36 }, "end": { "line": 163, "column": 37 } } }, { "type": "CommentLine", "value": " skip over any HTML chars", "start": 4224, "end": 4251, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4256, "end": 4265, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4266, "end": 4267, "loc": { "start": { "line": 166, "column": 14 }, "end": { "line": 166, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 4268, "end": 4278, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 166, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4278, "end": 4279, "loc": { "start": { "line": 166, "column": 26 }, "end": { "line": 166, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeHtmlChars", "start": 4279, "end": 4292, "loc": { "start": { "line": 166, "column": 27 }, "end": { "line": 166, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4292, "end": 4293, "loc": { "start": { "line": 166, "column": 40 }, "end": { "line": 166, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4293, "end": 4302, "loc": { "start": { "line": 166, "column": 41 }, "end": { "line": 166, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4302, "end": 4303, "loc": { "start": { "line": 166, "column": 50 }, "end": { "line": 166, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4304, "end": 4313, "loc": { "start": { "line": 166, "column": 52 }, "end": { "line": 166, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4313, "end": 4314, "loc": { "start": { "line": 166, "column": 61 }, "end": { "line": 166, "column": 62 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4315, "end": 4319, "loc": { "start": { "line": 166, "column": 63 }, "end": { "line": 166, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4319, "end": 4320, "loc": { "start": { "line": 166, "column": 67 }, "end": { "line": 166, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4320, "end": 4321, "loc": { "start": { "line": 166, "column": 68 }, "end": { "line": 166, "column": 69 } } }, { "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": 4327, "end": 4330, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 4331, "end": 4340, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4341, "end": 4342, "loc": { "start": { "line": 168, "column": 18 }, "end": { "line": 168, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4343, "end": 4344, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4344, "end": 4345, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 22 } } }, { "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": 4350, "end": 4353, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4354, "end": 4360, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4361, "end": 4362, "loc": { "start": { "line": 169, "column": 15 }, "end": { "line": 169, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4363, "end": 4372, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4372, "end": 4373, "loc": { "start": { "line": 169, "column": 26 }, "end": { "line": 169, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4373, "end": 4382, "loc": { "start": { "line": 169, "column": 27 }, "end": { "line": 169, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4382, "end": 4383, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4383, "end": 4392, "loc": { "start": { "line": 169, "column": 37 }, "end": { "line": 169, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4392, "end": 4393, "loc": { "start": { "line": 169, "column": 46 }, "end": { "line": 169, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4393, "end": 4394, "loc": { "start": { "line": 169, "column": 47 }, "end": { "line": 169, "column": 48 } } }, { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 4399, "end": 4452, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 57 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 4457, "end": 4532, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 79 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 4537, "end": 4572, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4577, "end": 4579, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4580, "end": 4581, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4581, "end": 4587, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4587, "end": 4588, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 4588, "end": 4594, "loc": { "start": { "line": 173, "column": 15 }, "end": { "line": 173, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4594, "end": 4595, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4595, "end": 4596, "loc": { "start": { "line": 173, "column": 22 }, "end": { "line": 173, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4596, "end": 4597, "loc": { "start": { "line": 173, "column": 23 }, "end": { "line": 173, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4598, "end": 4601, "loc": { "start": { "line": 173, "column": 25 }, "end": { "line": 173, "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": 4602, "end": 4605, "loc": { "start": { "line": 173, "column": 29 }, "end": { "line": 173, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4605, "end": 4606, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4607, "end": 4608, "loc": { "start": { "line": 173, "column": 34 }, "end": { "line": 173, "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": 4615, "end": 4617, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4618, "end": 4619, "loc": { "start": { "line": 174, "column": 9 }, "end": { "line": 174, "column": 10 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "^\\^\\d+", "flags": "" }, "start": 4619, "end": 4627, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4627, "end": 4628, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 174, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "test", "start": 4628, "end": 4632, "loc": { "start": { "line": 174, "column": 19 }, "end": { "line": 174, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4632, "end": 4633, "loc": { "start": { "line": 174, "column": 23 }, "end": { "line": 174, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4633, "end": 4639, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4639, "end": 4640, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4640, "end": 4641, "loc": { "start": { "line": 174, "column": 31 }, "end": { "line": 174, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4642, "end": 4643, "loc": { "start": { "line": 174, "column": 33 }, "end": { "line": 174, "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": 4652, "end": 4655, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 4656, "end": 4660, "loc": { "start": { "line": 175, "column": 12 }, "end": { "line": 175, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4661, "end": 4662, "loc": { "start": { "line": 175, "column": 17 }, "end": { "line": 175, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4663, "end": 4664, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4664, "end": 4665, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "column": 21 } } }, { "type": "CommentLine", "value": " skip at least 1", "start": 4666, "end": 4684, "loc": { "start": { "line": 175, "column": 22 }, "end": { "line": 175, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4693, "end": 4699, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4700, "end": 4701, "loc": { "start": { "line": 176, "column": 15 }, "end": { "line": 176, "column": 16 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "\\d+", "flags": "" }, "start": 4702, "end": 4707, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4707, "end": 4708, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "exec", "start": 4708, "end": 4712, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4712, "end": 4713, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4713, "end": 4719, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4719, "end": 4720, "loc": { "start": { "line": 176, "column": 34 }, "end": { "line": 176, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4720, "end": 4721, "loc": { "start": { "line": 176, "column": 35 }, "end": { "line": 176, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4721, "end": 4722, "loc": { "start": { "line": 176, "column": 36 }, "end": { "line": 176, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4722, "end": 4723, "loc": { "start": { "line": 176, "column": 37 }, "end": { "line": 176, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4723, "end": 4724, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 4733, "end": 4737, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 12 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 4738, "end": 4740, "loc": { "start": { "line": 177, "column": 13 }, "end": { "line": 177, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4741, "end": 4747, "loc": { "start": { "line": 177, "column": 16 }, "end": { "line": 177, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4747, "end": 4748, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4748, "end": 4754, "loc": { "start": { "line": 177, "column": 23 }, "end": { "line": 177, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4754, "end": 4755, "loc": { "start": { "line": 177, "column": 29 }, "end": { "line": 177, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 4764, "end": 4773, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4774, "end": 4775, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parseInt", "start": 4776, "end": 4784, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4784, "end": 4785, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4785, "end": 4791, "loc": { "start": { "line": 178, "column": 29 }, "end": { "line": 178, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4791, "end": 4792, "loc": { "start": { "line": 178, "column": 35 }, "end": { "line": 178, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4792, "end": 4793, "loc": { "start": { "line": 178, "column": 36 }, "end": { "line": 178, "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": 4802, "end": 4806, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4806, "end": 4807, "loc": { "start": { "line": 179, "column": 12 }, "end": { "line": 179, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 4807, "end": 4821, "loc": { "start": { "line": 179, "column": 13 }, "end": { "line": 179, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4822, "end": 4823, "loc": { "start": { "line": 179, "column": 28 }, "end": { "line": 179, "column": 29 } } }, { "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": 4824, "end": 4828, "loc": { "start": { "line": 179, "column": 30 }, "end": { "line": 179, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4828, "end": 4829, "loc": { "start": { "line": 179, "column": 34 }, "end": { "line": 179, "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": 4838, "end": 4842, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4842, "end": 4843, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4843, "end": 4850, "loc": { "start": { "line": 180, "column": 13 }, "end": { "line": 180, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4850, "end": 4851, "loc": { "start": { "line": 180, "column": 20 }, "end": { "line": 180, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingPaused", "start": 4851, "end": 4865, "loc": { "start": { "line": 180, "column": 21 }, "end": { "line": 180, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4865, "end": 4866, "loc": { "start": { "line": 180, "column": 35 }, "end": { "line": 180, "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": 4866, "end": 4870, "loc": { "start": { "line": 180, "column": 36 }, "end": { "line": 180, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4870, "end": 4871, "loc": { "start": { "line": 180, "column": 40 }, "end": { "line": 180, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 4871, "end": 4879, "loc": { "start": { "line": 180, "column": 41 }, "end": { "line": 180, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4879, "end": 4880, "loc": { "start": { "line": 180, "column": 49 }, "end": { "line": 180, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4881, "end": 4885, "loc": { "start": { "line": 180, "column": 51 }, "end": { "line": 180, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4885, "end": 4886, "loc": { "start": { "line": 180, "column": 55 }, "end": { "line": 180, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4886, "end": 4887, "loc": { "start": { "line": 180, "column": 56 }, "end": { "line": 180, "column": 57 } } }, { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4896, "end": 4968, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4977, "end": 4986, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4987, "end": 4988, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4999, "end": 5008, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5008, "end": 5009, "loc": { "start": { "line": 183, "column": 19 }, "end": { "line": 183, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5009, "end": 5018, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5018, "end": 5019, "loc": { "start": { "line": 183, "column": 29 }, "end": { "line": 183, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5019, "end": 5020, "loc": { "start": { "line": 183, "column": 30 }, "end": { "line": 183, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5020, "end": 5021, "loc": { "start": { "line": 183, "column": 31 }, "end": { "line": 183, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5022, "end": 5031, "loc": { "start": { "line": 183, "column": 33 }, "end": { "line": 183, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5031, "end": 5032, "loc": { "start": { "line": 183, "column": 42 }, "end": { "line": 183, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5033, "end": 5034, "loc": { "start": { "line": 183, "column": 44 }, "end": { "line": 183, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5045, "end": 5054, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5054, "end": 5055, "loc": { "start": { "line": 184, "column": 19 }, "end": { "line": 184, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5055, "end": 5064, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5064, "end": 5065, "loc": { "start": { "line": 184, "column": 29 }, "end": { "line": 184, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5065, "end": 5074, "loc": { "start": { "line": 184, "column": 30 }, "end": { "line": 184, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5075, "end": 5076, "loc": { "start": { "line": 184, "column": 40 }, "end": { "line": 184, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 5077, "end": 5081, "loc": { "start": { "line": 184, "column": 42 }, "end": { "line": 184, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5081, "end": 5082, "loc": { "start": { "line": 184, "column": 46 }, "end": { "line": 184, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5082, "end": 5083, "loc": { "start": { "line": 184, "column": 47 }, "end": { "line": 184, "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": 5092, "end": 5096, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5096, "end": 5097, "loc": { "start": { "line": 185, "column": 12 }, "end": { "line": 185, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 5097, "end": 5111, "loc": { "start": { "line": 185, "column": 13 }, "end": { "line": 185, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5111, "end": 5112, "loc": { "start": { "line": 185, "column": 27 }, "end": { "line": 185, "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": 5112, "end": 5116, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5116, "end": 5117, "loc": { "start": { "line": 185, "column": 32 }, "end": { "line": 185, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5117, "end": 5118, "loc": { "start": { "line": 185, "column": 33 }, "end": { "line": 185, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5125, "end": 5126, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 186, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5131, "end": 5132, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 5 } } }, { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 5138, "end": 5179, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 45 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 5184, "end": 5224, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "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": 5229, "end": 5231, "loc": { "start": { "line": 191, "column": 4 }, "end": { "line": 191, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5232, "end": 5233, "loc": { "start": { "line": 191, "column": 7 }, "end": { "line": 191, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 5233, "end": 5239, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 14 } } }, { "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": 191, "column": 14 }, "end": { "line": 191, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 5240, "end": 5246, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5246, "end": 5247, "loc": { "start": { "line": 191, "column": 21 }, "end": { "line": 191, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5247, "end": 5248, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5248, "end": 5249, "loc": { "start": { "line": 191, "column": 23 }, "end": { "line": 191, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 5250, "end": 5253, "loc": { "start": { "line": 191, "column": 25 }, "end": { "line": 191, "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": 5254, "end": 5257, "loc": { "start": { "line": 191, "column": 29 }, "end": { "line": 191, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5257, "end": 5258, "loc": { "start": { "line": 191, "column": 32 }, "end": { "line": 191, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5259, "end": 5260, "loc": { "start": { "line": 191, "column": 34 }, "end": { "line": 191, "column": 35 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 5267, "end": 5272, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 192, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5273, "end": 5274, "loc": { "start": { "line": 192, "column": 12 }, "end": { "line": 192, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5274, "end": 5283, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5283, "end": 5284, "loc": { "start": { "line": 192, "column": 22 }, "end": { "line": 192, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5284, "end": 5293, "loc": { "start": { "line": 192, "column": 23 }, "end": { "line": 192, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5293, "end": 5294, "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 192, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5294, "end": 5303, "loc": { "start": { "line": 192, "column": 33 }, "end": { "line": 192, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5304, "end": 5305, "loc": { "start": { "line": 192, "column": 43 }, "end": { "line": 192, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5306, "end": 5314, "loc": { "start": { "line": 192, "column": 45 }, "end": { "line": 192, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5314, "end": 5315, "loc": { "start": { "line": 192, "column": 53 }, "end": { "line": 192, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5315, "end": 5316, "loc": { "start": { "line": 192, "column": 54 }, "end": { "line": 192, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 5316, "end": 5322, "loc": { "start": { "line": 192, "column": 55 }, "end": { "line": 192, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5322, "end": 5323, "loc": { "start": { "line": 192, "column": 61 }, "end": { "line": 192, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5323, "end": 5324, "loc": { "start": { "line": 192, "column": 62 }, "end": { "line": 192, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5324, "end": 5325, "loc": { "start": { "line": 192, "column": 63 }, "end": { "line": 192, "column": 64 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 5326, "end": 5329, "loc": { "start": { "line": 192, "column": 65 }, "end": { "line": 192, "column": 68 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "`", "start": 5330, "end": 5333, "loc": { "start": { "line": 192, "column": 69 }, "end": { "line": 192, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5333, "end": 5334, "loc": { "start": { "line": 192, "column": 72 }, "end": { "line": 192, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5335, "end": 5336, "loc": { "start": { "line": 192, "column": 74 }, "end": { "line": 192, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5345, "end": 5353, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 16 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5353, "end": 5355, "loc": { "start": { "line": 193, "column": 16 }, "end": { "line": 193, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5355, "end": 5356, "loc": { "start": { "line": 193, "column": 18 }, "end": { "line": 193, "column": 19 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5365, "end": 5367, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5368, "end": 5369, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5369, "end": 5378, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 21 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5379, "end": 5380, "loc": { "start": { "line": 194, "column": 22 }, "end": { "line": 194, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5381, "end": 5389, "loc": { "start": { "line": 194, "column": 24 }, "end": { "line": 194, "column": 32 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5390, "end": 5391, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5392, "end": 5401, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5401, "end": 5402, "loc": { "start": { "line": 194, "column": 44 }, "end": { "line": 194, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5402, "end": 5408, "loc": { "start": { "line": 194, "column": 45 }, "end": { "line": 194, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5408, "end": 5409, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "column": 52 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 5410, "end": 5415, "loc": { "start": { "line": 194, "column": 53 }, "end": { "line": 194, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5415, "end": 5416, "loc": { "start": { "line": 194, "column": 58 }, "end": { "line": 194, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5423, "end": 5424, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 7 } } }, { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 5431, "end": 5502, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 196, "column": 77 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5509, "end": 5514, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 5515, "end": 5531, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5532, "end": 5533, "loc": { "start": { "line": 197, "column": 29 }, "end": { "line": 197, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5534, "end": 5543, "loc": { "start": { "line": 197, "column": 31 }, "end": { "line": 197, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5543, "end": 5544, "loc": { "start": { "line": 197, "column": 40 }, "end": { "line": 197, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5544, "end": 5553, "loc": { "start": { "line": 197, "column": 41 }, "end": { "line": 197, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5553, "end": 5554, "loc": { "start": { "line": 197, "column": 50 }, "end": { "line": 197, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5554, "end": 5555, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5555, "end": 5556, "loc": { "start": { "line": 197, "column": 52 }, "end": { "line": 197, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5557, "end": 5566, "loc": { "start": { "line": 197, "column": 54 }, "end": { "line": 197, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5566, "end": 5567, "loc": { "start": { "line": 197, "column": 63 }, "end": { "line": 197, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5567, "end": 5568, "loc": { "start": { "line": 197, "column": 64 }, "end": { "line": 197, "column": 65 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5575, "end": 5580, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 198, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringSkipped", "start": 5581, "end": 5594, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5595, "end": 5596, "loc": { "start": { "line": 198, "column": 26 }, "end": { "line": 198, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5597, "end": 5606, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5606, "end": 5607, "loc": { "start": { "line": 198, "column": 37 }, "end": { "line": 198, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5607, "end": 5616, "loc": { "start": { "line": 198, "column": 38 }, "end": { "line": 198, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5616, "end": 5617, "loc": { "start": { "line": 198, "column": 47 }, "end": { "line": 198, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 5626, "end": 5642, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5642, "end": 5643, "loc": { "start": { "line": 199, "column": 24 }, "end": { "line": 199, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5643, "end": 5649, "loc": { "start": { "line": 199, "column": 25 }, "end": { "line": 199, "column": 31 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5650, "end": 5651, "loc": { "start": { "line": 199, "column": 32 }, "end": { "line": 199, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5652, "end": 5653, "loc": { "start": { "line": 199, "column": 34 }, "end": { "line": 199, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5653, "end": 5654, "loc": { "start": { "line": 199, "column": 35 }, "end": { "line": 199, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5663, "end": 5672, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 17 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5673, "end": 5674, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5675, "end": 5683, "loc": { "start": { "line": 200, "column": 20 }, "end": { "line": 200, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5690, "end": 5691, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 7 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5691, "end": 5692, "loc": { "start": { "line": 201, "column": 7 }, "end": { "line": 201, "column": 8 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5699, "end": 5704, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringAfterSkip", "start": 5705, "end": 5720, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5721, "end": 5722, "loc": { "start": { "line": 202, "column": 28 }, "end": { "line": 202, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5723, "end": 5732, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5732, "end": 5733, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 202, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 5733, "end": 5742, "loc": { "start": { "line": 202, "column": 40 }, "end": { "line": 202, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5742, "end": 5743, "loc": { "start": { "line": 202, "column": 49 }, "end": { "line": 202, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5743, "end": 5752, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5753, "end": 5754, "loc": { "start": { "line": 202, "column": 60 }, "end": { "line": 202, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5755, "end": 5763, "loc": { "start": { "line": 202, "column": 62 }, "end": { "line": 202, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5764, "end": 5765, "loc": { "start": { "line": 202, "column": 71 }, "end": { "line": 202, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5766, "end": 5767, "loc": { "start": { "line": 202, "column": 73 }, "end": { "line": 202, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5767, "end": 5768, "loc": { "start": { "line": 202, "column": 74 }, "end": { "line": 202, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5768, "end": 5769, "loc": { "start": { "line": 202, "column": 75 }, "end": { "line": 202, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5776, "end": 5785, "loc": { "start": { "line": 203, "column": 6 }, "end": { "line": 203, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5786, "end": 5787, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 5788, "end": 5804, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5805, "end": 5806, "loc": { "start": { "line": 203, "column": 35 }, "end": { "line": 203, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringSkipped", "start": 5807, "end": 5820, "loc": { "start": { "line": 203, "column": 37 }, "end": { "line": 203, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5821, "end": 5822, "loc": { "start": { "line": 203, "column": 51 }, "end": { "line": 203, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringAfterSkip", "start": 5823, "end": 5838, "loc": { "start": { "line": 203, "column": 53 }, "end": { "line": 203, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5838, "end": 5839, "loc": { "start": { "line": 203, "column": 68 }, "end": { "line": 203, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5846, "end": 5854, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 14 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 5854, "end": 5856, "loc": { "start": { "line": 204, "column": 14 }, "end": { "line": 204, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5856, "end": 5857, "loc": { "start": { "line": 204, "column": 16 }, "end": { "line": 204, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5862, "end": 5863, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 5 } } }, { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5869, "end": 5911, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "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": 5916, "end": 5920, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5920, "end": 5921, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 5921, "end": 5928, "loc": { "start": { "line": 208, "column": 9 }, "end": { "line": 208, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5929, "end": 5930, "loc": { "start": { "line": 208, "column": 17 }, "end": { "line": 208, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 5931, "end": 5941, "loc": { "start": { "line": 208, "column": 19 }, "end": { "line": 208, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5941, "end": 5942, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5942, "end": 5943, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5943, "end": 5944, "loc": { "start": { "line": 208, "column": 31 }, "end": { "line": 208, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5945, "end": 5947, "loc": { "start": { "line": 208, "column": 33 }, "end": { "line": 208, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5948, "end": 5949, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 208, "column": 37 } } }, { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5956, "end": 5993, "loc": { "start": { "line": 209, "column": 6 }, "end": { "line": 209, "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": 6000, "end": 6004, "loc": { "start": { "line": 210, "column": 6 }, "end": { "line": 210, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6004, "end": 6005, "loc": { "start": { "line": 210, "column": 10 }, "end": { "line": 210, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 6005, "end": 6019, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6019, "end": 6020, "loc": { "start": { "line": 210, "column": 25 }, "end": { "line": 210, "column": 26 } } }, { "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": 6020, "end": 6025, "loc": { "start": { "line": 210, "column": 26 }, "end": { "line": 210, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6025, "end": 6026, "loc": { "start": { "line": 210, "column": 31 }, "end": { "line": 210, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6026, "end": 6027, "loc": { "start": { "line": 210, "column": 32 }, "end": { "line": 210, "column": 33 } } }, { "type": "CommentLine", "value": " We're done with this sentence!", "start": 6035, "end": 6068, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6075, "end": 6077, "loc": { "start": { "line": 213, "column": 6 }, "end": { "line": 213, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6078, "end": 6079, "loc": { "start": { "line": 213, "column": 9 }, "end": { "line": 213, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6079, "end": 6088, "loc": { "start": { "line": 213, "column": 10 }, "end": { "line": 213, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 6089, "end": 6091, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6092, "end": 6101, "loc": { "start": { "line": 213, "column": 23 }, "end": { "line": 213, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6101, "end": 6102, "loc": { "start": { "line": 213, "column": 32 }, "end": { "line": 213, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6102, "end": 6108, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6108, "end": 6109, "loc": { "start": { "line": 213, "column": 39 }, "end": { "line": 213, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6110, "end": 6111, "loc": { "start": { "line": 213, "column": 41 }, "end": { "line": 213, "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": 6120, "end": 6124, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6124, "end": 6125, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doneTyping", "start": 6125, "end": 6135, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6135, "end": 6136, "loc": { "start": { "line": 214, "column": 23 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6136, "end": 6145, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6145, "end": 6146, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6147, "end": 6156, "loc": { "start": { "line": 214, "column": 35 }, "end": { "line": 214, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6156, "end": 6157, "loc": { "start": { "line": 214, "column": 44 }, "end": { "line": 214, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6157, "end": 6158, "loc": { "start": { "line": 214, "column": 45 }, "end": { "line": 214, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6165, "end": 6166, "loc": { "start": { "line": 215, "column": 6 }, "end": { "line": 215, "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": 6167, "end": 6171, "loc": { "start": { "line": 215, "column": 8 }, "end": { "line": 215, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6172, "end": 6173, "loc": { "start": { "line": 215, "column": 13 }, "end": { "line": 215, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6182, "end": 6186, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6186, "end": 6187, "loc": { "start": { "line": 216, "column": 12 }, "end": { "line": 216, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keepTyping", "start": 6187, "end": 6197, "loc": { "start": { "line": 216, "column": 13 }, "end": { "line": 216, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6197, "end": 6198, "loc": { "start": { "line": 216, "column": 23 }, "end": { "line": 216, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6198, "end": 6207, "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6207, "end": 6208, "loc": { "start": { "line": 216, "column": 33 }, "end": { "line": 216, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6209, "end": 6218, "loc": { "start": { "line": 216, "column": 35 }, "end": { "line": 216, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6218, "end": 6219, "loc": { "start": { "line": 216, "column": 44 }, "end": { "line": 216, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 6220, "end": 6228, "loc": { "start": { "line": 216, "column": 46 }, "end": { "line": 216, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6228, "end": 6229, "loc": { "start": { "line": 216, "column": 54 }, "end": { "line": 216, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6229, "end": 6230, "loc": { "start": { "line": 216, "column": 55 }, "end": { "line": 216, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6237, "end": 6238, "loc": { "start": { "line": 217, "column": 6 }, "end": { "line": 217, "column": 7 } } }, { "type": "CommentLine", "value": " end of character pause", "start": 6245, "end": 6270, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "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": 6277, "end": 6279, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6280, "end": 6281, "loc": { "start": { "line": 219, "column": 9 }, "end": { "line": 219, "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": 6281, "end": 6285, "loc": { "start": { "line": 219, "column": 10 }, "end": { "line": 219, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6285, "end": 6286, "loc": { "start": { "line": 219, "column": 14 }, "end": { "line": 219, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 6286, "end": 6300, "loc": { "start": { "line": 219, "column": 15 }, "end": { "line": 219, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6300, "end": 6301, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6302, "end": 6303, "loc": { "start": { "line": 219, "column": 31 }, "end": { "line": 219, "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": 6312, "end": 6316, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6316, "end": 6317, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 6317, "end": 6331, "loc": { "start": { "line": 220, "column": 13 }, "end": { "line": 220, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6332, "end": 6333, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 29 } } }, { "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": 6334, "end": 6339, "loc": { "start": { "line": 220, "column": 30 }, "end": { "line": 220, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6339, "end": 6340, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "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": 6349, "end": 6353, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6353, "end": 6354, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6354, "end": 6361, "loc": { "start": { "line": 221, "column": 13 }, "end": { "line": 221, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6361, "end": 6362, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingResumed", "start": 6362, "end": 6377, "loc": { "start": { "line": 221, "column": 21 }, "end": { "line": 221, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6377, "end": 6378, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "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": 6378, "end": 6382, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 221, "column": 41 }, "end": { "line": 221, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 6383, "end": 6391, "loc": { "start": { "line": 221, "column": 42 }, "end": { "line": 221, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6391, "end": 6392, "loc": { "start": { "line": 221, "column": 50 }, "end": { "line": 221, "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": 6393, "end": 6397, "loc": { "start": { "line": 221, "column": 52 }, "end": { "line": 221, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6397, "end": 6398, "loc": { "start": { "line": 221, "column": 56 }, "end": { "line": 221, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6398, "end": 6399, "loc": { "start": { "line": 221, "column": 57 }, "end": { "line": 221, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6406, "end": 6407, "loc": { "start": { "line": 222, "column": 6 }, "end": { "line": 222, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6412, "end": 6413, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6413, "end": 6414, "loc": { "start": { "line": 223, "column": 5 }, "end": { "line": 223, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 6415, "end": 6424, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6424, "end": 6425, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6425, "end": 6426, "loc": { "start": { "line": 223, "column": 17 }, "end": { "line": 223, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6429, "end": 6430, "loc": { "start": { "line": 224, "column": 2 }, "end": { "line": 224, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6434, "end": 6645, "loc": { "start": { "line": 226, "column": 2 }, "end": { "line": 231, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keepTyping", "start": 6648, "end": 6658, "loc": { "start": { "line": 232, "column": 2 }, "end": { "line": 232, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6658, "end": 6659, "loc": { "start": { "line": 232, "column": 12 }, "end": { "line": 232, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6659, "end": 6668, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6668, "end": 6669, "loc": { "start": { "line": 232, "column": 22 }, "end": { "line": 232, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6670, "end": 6679, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6679, "end": 6680, "loc": { "start": { "line": 232, "column": 33 }, "end": { "line": 232, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 6681, "end": 6689, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6689, "end": 6690, "loc": { "start": { "line": 232, "column": 43 }, "end": { "line": 232, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6691, "end": 6692, "loc": { "start": { "line": 232, "column": 45 }, "end": { "line": 232, "column": 46 } } }, { "type": "CommentLine", "value": " call before functions if applicable", "start": 6697, "end": 6735, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "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": 6740, "end": 6742, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6743, "end": 6744, "loc": { "start": { "line": 234, "column": 7 }, "end": { "line": 234, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6744, "end": 6753, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6754, "end": 6757, "loc": { "start": { "line": 234, "column": 18 }, "end": { "line": 234, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6758, "end": 6759, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6759, "end": 6760, "loc": { "start": { "line": 234, "column": 23 }, "end": { "line": 234, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6761, "end": 6762, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 234, "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": 6769, "end": 6773, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6773, "end": 6774, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 6774, "end": 6788, "loc": { "start": { "line": 235, "column": 11 }, "end": { "line": 235, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6788, "end": 6789, "loc": { "start": { "line": 235, "column": 25 }, "end": { "line": 235, "column": 26 } } }, { "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": 6789, "end": 6794, "loc": { "start": { "line": 235, "column": 26 }, "end": { "line": 235, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6794, "end": 6795, "loc": { "start": { "line": 235, "column": 31 }, "end": { "line": 235, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6795, "end": 6796, "loc": { "start": { "line": 235, "column": 32 }, "end": { "line": 235, "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": 6803, "end": 6807, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6807, "end": 6808, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6808, "end": 6815, "loc": { "start": { "line": 236, "column": 11 }, "end": { "line": 236, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6815, "end": 6816, "loc": { "start": { "line": 236, "column": 18 }, "end": { "line": 236, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preStringTyped", "start": 6816, "end": 6830, "loc": { "start": { "line": 236, "column": 19 }, "end": { "line": 236, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6830, "end": 6831, "loc": { "start": { "line": 236, "column": 33 }, "end": { "line": 236, "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": 6831, "end": 6835, "loc": { "start": { "line": 236, "column": 34 }, "end": { "line": 236, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6835, "end": 6836, "loc": { "start": { "line": 236, "column": 38 }, "end": { "line": 236, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 6836, "end": 6844, "loc": { "start": { "line": 236, "column": 39 }, "end": { "line": 236, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6844, "end": 6845, "loc": { "start": { "line": 236, "column": 47 }, "end": { "line": 236, "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": 6846, "end": 6850, "loc": { "start": { "line": 236, "column": 49 }, "end": { "line": 236, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6850, "end": 6851, "loc": { "start": { "line": 236, "column": 53 }, "end": { "line": 236, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6851, "end": 6852, "loc": { "start": { "line": 236, "column": 54 }, "end": { "line": 236, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6857, "end": 6858, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 237, "column": 5 } } }, { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6863, "end": 6913, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6918, "end": 6979, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6984, "end": 6993, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 13 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 6994, "end": 6996, "loc": { "start": { "line": 240, "column": 14 }, "end": { "line": 240, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 6997, "end": 7005, "loc": { "start": { "line": 240, "column": 17 }, "end": { "line": 240, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7005, "end": 7006, "loc": { "start": { "line": 240, "column": 25 }, "end": { "line": 240, "column": 26 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7011, "end": 7016, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 7017, "end": 7027, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7028, "end": 7029, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7030, "end": 7039, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7039, "end": 7040, "loc": { "start": { "line": 241, "column": 32 }, "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": "substring", "start": 7040, "end": 7049, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7049, "end": 7050, "loc": { "start": { "line": 241, "column": 42 }, "end": { "line": 241, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7050, "end": 7051, "loc": { "start": { "line": 241, "column": 43 }, "end": { "line": 241, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7051, "end": 7052, "loc": { "start": { "line": 241, "column": 44 }, "end": { "line": 241, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7053, "end": 7062, "loc": { "start": { "line": 241, "column": 46 }, "end": { "line": 241, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7062, "end": 7063, "loc": { "start": { "line": 241, "column": 55 }, "end": { "line": 241, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7063, "end": 7064, "loc": { "start": { "line": 241, "column": 56 }, "end": { "line": 241, "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": 7069, "end": 7073, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7073, "end": 7074, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 7074, "end": 7085, "loc": { "start": { "line": 242, "column": 9 }, "end": { "line": 242, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7085, "end": 7086, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 7086, "end": 7096, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7096, "end": 7097, "loc": { "start": { "line": 242, "column": 31 }, "end": { "line": 242, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7097, "end": 7098, "loc": { "start": { "line": 242, "column": 32 }, "end": { "line": 242, "column": 33 } } }, { "type": "CommentLine", "value": " loop the function", "start": 7103, "end": 7123, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "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": 7128, "end": 7132, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7132, "end": 7133, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 7133, "end": 7142, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7142, "end": 7143, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7143, "end": 7152, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7152, "end": 7153, "loc": { "start": { "line": 244, "column": 28 }, "end": { "line": 244, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7154, "end": 7163, "loc": { "start": { "line": 244, "column": 30 }, "end": { "line": 244, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7163, "end": 7164, "loc": { "start": { "line": 244, "column": 39 }, "end": { "line": 244, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7164, "end": 7165, "loc": { "start": { "line": 244, "column": 40 }, "end": { "line": 244, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7168, "end": 7169, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 245, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7173, "end": 7378, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 252, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doneTyping", "start": 7381, "end": 7391, "loc": { "start": { "line": 253, "column": 2 }, "end": { "line": 253, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7391, "end": 7392, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7392, "end": 7401, "loc": { "start": { "line": 253, "column": 13 }, "end": { "line": 253, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7401, "end": 7402, "loc": { "start": { "line": 253, "column": 22 }, "end": { "line": 253, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7403, "end": 7412, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7412, "end": 7413, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7414, "end": 7415, "loc": { "start": { "line": 253, "column": 35 }, "end": { "line": 253, "column": 36 } } }, { "type": "CommentLine", "value": " fires callback function", "start": 7420, "end": 7446, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "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": 7451, "end": 7455, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7455, "end": 7456, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7456, "end": 7463, "loc": { "start": { "line": 255, "column": 9 }, "end": { "line": 255, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7463, "end": 7464, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStringTyped", "start": 7464, "end": 7477, "loc": { "start": { "line": 255, "column": 17 }, "end": { "line": 255, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7477, "end": 7478, "loc": { "start": { "line": 255, "column": 30 }, "end": { "line": 255, "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": 7478, "end": 7482, "loc": { "start": { "line": 255, "column": 31 }, "end": { "line": 255, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7482, "end": 7483, "loc": { "start": { "line": 255, "column": 35 }, "end": { "line": 255, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 7483, "end": 7491, "loc": { "start": { "line": 255, "column": 36 }, "end": { "line": 255, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7491, "end": 7492, "loc": { "start": { "line": 255, "column": 44 }, "end": { "line": 255, "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": 7493, "end": 7497, "loc": { "start": { "line": 255, "column": 46 }, "end": { "line": 255, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7497, "end": 7498, "loc": { "start": { "line": 255, "column": 50 }, "end": { "line": 255, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7498, "end": 7499, "loc": { "start": { "line": 255, "column": 51 }, "end": { "line": 255, "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": 7504, "end": 7508, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7508, "end": 7509, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 7509, "end": 7523, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7523, "end": 7524, "loc": { "start": { "line": 256, "column": 23 }, "end": { "line": 256, "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": 7524, "end": 7528, "loc": { "start": { "line": 256, "column": 24 }, "end": { "line": 256, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7528, "end": 7529, "loc": { "start": { "line": 256, "column": 28 }, "end": { "line": 256, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7529, "end": 7530, "loc": { "start": { "line": 256, "column": 29 }, "end": { "line": 256, "column": 30 } } }, { "type": "CommentLine", "value": " is this the final string", "start": 7535, "end": 7562, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "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": 7567, "end": 7569, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7570, "end": 7571, "loc": { "start": { "line": 258, "column": 7 }, "end": { "line": 258, "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": 7571, "end": 7575, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7575, "end": 7576, "loc": { "start": { "line": 258, "column": 12 }, "end": { "line": 258, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 7576, "end": 7584, "loc": { "start": { "line": 258, "column": 13 }, "end": { "line": 258, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7585, "end": 7588, "loc": { "start": { "line": 258, "column": 22 }, "end": { "line": 258, "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": 7589, "end": 7593, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7593, "end": 7594, "loc": { "start": { "line": 258, "column": 30 }, "end": { "line": 258, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 7594, "end": 7601, "loc": { "start": { "line": 258, "column": 31 }, "end": { "line": 258, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7601, "end": 7602, "loc": { "start": { "line": 258, "column": 38 }, "end": { "line": 258, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 7602, "end": 7608, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 45 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7609, "end": 7610, "loc": { "start": { "line": 258, "column": 46 }, "end": { "line": 258, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7611, "end": 7612, "loc": { "start": { "line": 258, "column": 48 }, "end": { "line": 258, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7612, "end": 7613, "loc": { "start": { "line": 258, "column": 49 }, "end": { "line": 258, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7614, "end": 7615, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 258, "column": 52 } } }, { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 7622, "end": 7670, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7677, "end": 7681, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7681, "end": 7682, "loc": { "start": { "line": 260, "column": 10 }, "end": { "line": 260, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "complete", "start": 7682, "end": 7690, "loc": { "start": { "line": 260, "column": 11 }, "end": { "line": 260, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7690, "end": 7691, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 260, "column": 20 }, "end": { "line": 260, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7692, "end": 7693, "loc": { "start": { "line": 260, "column": 21 }, "end": { "line": 260, "column": 22 } } }, { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7700, "end": 7728, "loc": { "start": { "line": 261, "column": 6 }, "end": { "line": 261, "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": 7735, "end": 7737, "loc": { "start": { "line": 262, "column": 6 }, "end": { "line": 262, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7738, "end": 7739, "loc": { "start": { "line": 262, "column": 9 }, "end": { "line": 262, "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": 7739, "end": 7743, "loc": { "start": { "line": 262, "column": 10 }, "end": { "line": 262, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7743, "end": 7744, "loc": { "start": { "line": 262, "column": 14 }, "end": { "line": 262, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 7744, "end": 7748, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7749, "end": 7752, "loc": { "start": { "line": 262, "column": 20 }, "end": { "line": 262, "column": 23 } } }, { "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": 7753, "end": 7758, "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7759, "end": 7761, "loc": { "start": { "line": 262, "column": 30 }, "end": { "line": 262, "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": 7762, "end": 7766, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7766, "end": 7767, "loc": { "start": { "line": 262, "column": 37 }, "end": { "line": 262, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curLoop", "start": 7767, "end": 7774, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7775, "end": 7778, "loc": { "start": { "line": 262, "column": 46 }, "end": { "line": 262, "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": 7779, "end": 7783, "loc": { "start": { "line": 262, "column": 50 }, "end": { "line": 262, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7783, "end": 7784, "loc": { "start": { "line": 262, "column": 54 }, "end": { "line": 262, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loopCount", "start": 7784, "end": 7793, "loc": { "start": { "line": 262, "column": 55 }, "end": { "line": 262, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7793, "end": 7794, "loc": { "start": { "line": 262, "column": 64 }, "end": { "line": 262, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7795, "end": 7796, "loc": { "start": { "line": 262, "column": 66 }, "end": { "line": 262, "column": 67 } } }, { "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": 7805, "end": 7811, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7811, "end": 7812, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7819, "end": 7820, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7825, "end": 7826, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "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": 7831, "end": 7835, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7835, "end": 7836, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 7836, "end": 7843, "loc": { "start": { "line": 266, "column": 9 }, "end": { "line": 266, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7844, "end": 7845, "loc": { "start": { "line": 266, "column": 17 }, "end": { "line": 266, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 7846, "end": 7856, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 266, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7856, "end": 7857, "loc": { "start": { "line": 266, "column": 29 }, "end": { "line": 266, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7857, "end": 7858, "loc": { "start": { "line": 266, "column": 30 }, "end": { "line": 266, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7858, "end": 7859, "loc": { "start": { "line": 266, "column": 31 }, "end": { "line": 266, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7860, "end": 7862, "loc": { "start": { "line": 266, "column": 33 }, "end": { "line": 266, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7863, "end": 7864, "loc": { "start": { "line": 266, "column": 36 }, "end": { "line": 266, "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": 7871, "end": 7875, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7875, "end": 7876, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 7876, "end": 7885, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7885, "end": 7886, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7886, "end": 7895, "loc": { "start": { "line": 267, "column": 21 }, "end": { "line": 267, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7895, "end": 7896, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7897, "end": 7906, "loc": { "start": { "line": 267, "column": 32 }, "end": { "line": 267, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7906, "end": 7907, "loc": { "start": { "line": 267, "column": 41 }, "end": { "line": 267, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7907, "end": 7908, "loc": { "start": { "line": 267, "column": 42 }, "end": { "line": 267, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7913, "end": 7914, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7914, "end": 7915, "loc": { "start": { "line": 268, "column": 5 }, "end": { "line": 268, "column": 6 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7916, "end": 7920, "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": 7920, "end": 7921, "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": "backDelay", "start": 7921, "end": 7930, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7930, "end": 7931, "loc": { "start": { "line": 268, "column": 21 }, "end": { "line": 268, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7931, "end": 7932, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7935, "end": 7936, "loc": { "start": { "line": 269, "column": 2 }, "end": { "line": 269, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7940, "end": 8141, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 8144, "end": 8153, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8153, "end": 8154, "loc": { "start": { "line": 277, "column": 11 }, "end": { "line": 277, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 8154, "end": 8163, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8163, "end": 8164, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8165, "end": 8174, "loc": { "start": { "line": 277, "column": 23 }, "end": { "line": 277, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8174, "end": 8175, "loc": { "start": { "line": 277, "column": 32 }, "end": { "line": 277, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8176, "end": 8177, "loc": { "start": { "line": 277, "column": 34 }, "end": { "line": 277, "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": 8182, "end": 8184, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8185, "end": 8186, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "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": 8186, "end": 8190, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8190, "end": 8191, "loc": { "start": { "line": 278, "column": 12 }, "end": { "line": 278, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 8191, "end": 8196, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 278, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8196, "end": 8197, "loc": { "start": { "line": 278, "column": 18 }, "end": { "line": 278, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 8197, "end": 8203, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8204, "end": 8207, "loc": { "start": { "line": 278, "column": 26 }, "end": { "line": 278, "column": 29 } } }, { "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": 8208, "end": 8212, "loc": { "start": { "line": 278, "column": 30 }, "end": { "line": 278, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8212, "end": 8213, "loc": { "start": { "line": 278, "column": 34 }, "end": { "line": 278, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8214, "end": 8215, "loc": { "start": { "line": 278, "column": 36 }, "end": { "line": 278, "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": 8222, "end": 8226, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8226, "end": 8227, "loc": { "start": { "line": 279, "column": 10 }, "end": { "line": 279, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPauseStatus", "start": 8227, "end": 8241, "loc": { "start": { "line": 279, "column": 11 }, "end": { "line": 279, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8241, "end": 8242, "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": "curString", "start": 8242, "end": 8251, "loc": { "start": { "line": 279, "column": 26 }, "end": { "line": 279, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8251, "end": 8252, "loc": { "start": { "line": 279, "column": 35 }, "end": { "line": 279, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8253, "end": 8262, "loc": { "start": { "line": 279, "column": 37 }, "end": { "line": 279, "column": 46 } } }, { "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": 279, "column": 46 }, "end": { "line": 279, "column": 47 } } }, { "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": 8264, "end": 8269, "loc": { "start": { "line": 279, "column": 48 }, "end": { "line": 279, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8269, "end": 8270, "loc": { "start": { "line": 279, "column": 53 }, "end": { "line": 279, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8270, "end": 8271, "loc": { "start": { "line": 279, "column": 54 }, "end": { "line": 279, "column": 55 } } }, { "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": 8278, "end": 8284, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8284, "end": 8285, "loc": { "start": { "line": 280, "column": 12 }, "end": { "line": 280, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8290, "end": 8291, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "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": 8296, "end": 8298, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 282, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8299, "end": 8300, "loc": { "start": { "line": 282, "column": 7 }, "end": { "line": 282, "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": 8300, "end": 8304, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8304, "end": 8305, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 8305, "end": 8312, "loc": { "start": { "line": 282, "column": 13 }, "end": { "line": 282, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8312, "end": 8313, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 21 } } }, { "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": 8314, "end": 8320, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "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": 8321, "end": 8325, "loc": { "start": { "line": 282, "column": 29 }, "end": { "line": 282, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8325, "end": 8326, "loc": { "start": { "line": 282, "column": 33 }, "end": { "line": 282, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initFadeOut", "start": 8326, "end": 8337, "loc": { "start": { "line": 282, "column": 34 }, "end": { "line": 282, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8337, "end": 8338, "loc": { "start": { "line": 282, "column": 45 }, "end": { "line": 282, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8338, "end": 8339, "loc": { "start": { "line": 282, "column": 46 }, "end": { "line": 282, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8339, "end": 8340, "loc": { "start": { "line": 282, "column": 47 }, "end": { "line": 282, "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": 8346, "end": 8350, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8350, "end": 8351, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 8351, "end": 8365, "loc": { "start": { "line": 284, "column": 9 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 24 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 8366, "end": 8371, "loc": { "start": { "line": 284, "column": 24 }, "end": { "line": 284, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8371, "end": 8372, "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8372, "end": 8373, "loc": { "start": { "line": 284, "column": 30 }, "end": { "line": 284, "column": 31 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8378, "end": 8383, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 8384, "end": 8392, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8393, "end": 8394, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 285, "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": 8395, "end": 8399, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8399, "end": 8400, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 8400, "end": 8409, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8409, "end": 8410, "loc": { "start": { "line": 285, "column": 35 }, "end": { "line": 285, "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": 8410, "end": 8414, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8414, "end": 8415, "loc": { "start": { "line": 285, "column": 40 }, "end": { "line": 285, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpeed", "start": 8415, "end": 8424, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8424, "end": 8425, "loc": { "start": { "line": 285, "column": 50 }, "end": { "line": 285, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8425, "end": 8426, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 285, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8432, "end": 8436, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 287, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8436, "end": 8437, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 8437, "end": 8444, "loc": { "start": { "line": 287, "column": 9 }, "end": { "line": 287, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8445, "end": 8446, "loc": { "start": { "line": 287, "column": 17 }, "end": { "line": 287, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 8447, "end": 8457, "loc": { "start": { "line": 287, "column": 19 }, "end": { "line": 287, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8457, "end": 8458, "loc": { "start": { "line": 287, "column": 29 }, "end": { "line": 287, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8458, "end": 8459, "loc": { "start": { "line": 287, "column": 30 }, "end": { "line": 287, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8459, "end": 8460, "loc": { "start": { "line": 287, "column": 31 }, "end": { "line": 287, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8461, "end": 8463, "loc": { "start": { "line": 287, "column": 33 }, "end": { "line": 287, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8464, "end": 8465, "loc": { "start": { "line": 287, "column": 36 }, "end": { "line": 287, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8472, "end": 8481, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8482, "end": 8483, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 8484, "end": 8494, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8494, "end": 8495, "loc": { "start": { "line": 288, "column": 28 }, "end": { "line": 288, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpaceHtmlChars", "start": 8495, "end": 8513, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8513, "end": 8514, "loc": { "start": { "line": 288, "column": 47 }, "end": { "line": 288, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 8514, "end": 8523, "loc": { "start": { "line": 288, "column": 48 }, "end": { "line": 288, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8523, "end": 8524, "loc": { "start": { "line": 288, "column": 57 }, "end": { "line": 288, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8525, "end": 8534, "loc": { "start": { "line": 288, "column": 59 }, "end": { "line": 288, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8534, "end": 8535, "loc": { "start": { "line": 288, "column": 68 }, "end": { "line": 288, "column": 69 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8536, "end": 8540, "loc": { "start": { "line": 288, "column": 70 }, "end": { "line": 288, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8540, "end": 8541, "loc": { "start": { "line": 288, "column": 74 }, "end": { "line": 288, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8541, "end": 8542, "loc": { "start": { "line": 288, "column": 75 }, "end": { "line": 288, "column": 76 } } }, { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 8549, "end": 8598, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 55 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8605, "end": 8610, "loc": { "start": { "line": 290, "column": 6 }, "end": { "line": 290, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 8611, "end": 8630, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8631, "end": 8632, "loc": { "start": { "line": 290, "column": 32 }, "end": { "line": 290, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 8633, "end": 8642, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8642, "end": 8643, "loc": { "start": { "line": 290, "column": 43 }, "end": { "line": 290, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 8643, "end": 8652, "loc": { "start": { "line": 290, "column": 44 }, "end": { "line": 290, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8652, "end": 8653, "loc": { "start": { "line": 290, "column": 53 }, "end": { "line": 290, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8653, "end": 8654, "loc": { "start": { "line": 290, "column": 54 }, "end": { "line": 290, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8654, "end": 8655, "loc": { "start": { "line": 290, "column": 55 }, "end": { "line": 290, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8656, "end": 8665, "loc": { "start": { "line": 290, "column": 57 }, "end": { "line": 290, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8665, "end": 8666, "loc": { "start": { "line": 290, "column": 66 }, "end": { "line": 290, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8666, "end": 8667, "loc": { "start": { "line": 290, "column": 67 }, "end": { "line": 290, "column": 68 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8674, "end": 8678, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8678, "end": 8679, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 8679, "end": 8690, "loc": { "start": { "line": 291, "column": 11 }, "end": { "line": 291, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8690, "end": 8691, "loc": { "start": { "line": 291, "column": 22 }, "end": { "line": 291, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 8691, "end": 8710, "loc": { "start": { "line": 291, "column": 23 }, "end": { "line": 291, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8710, "end": 8711, "loc": { "start": { "line": 291, "column": 42 }, "end": { "line": 291, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8711, "end": 8712, "loc": { "start": { "line": 291, "column": 43 }, "end": { "line": 291, "column": 44 } } }, { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8720, "end": 8746, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "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": 8753, "end": 8755, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8756, "end": 8757, "loc": { "start": { "line": 294, "column": 9 }, "end": { "line": 294, "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": 8757, "end": 8761, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8761, "end": 8762, "loc": { "start": { "line": 294, "column": 14 }, "end": { "line": 294, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smartBackspace", "start": 8762, "end": 8776, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8776, "end": 8777, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8778, "end": 8779, "loc": { "start": { "line": 294, "column": 31 }, "end": { "line": 294, "column": 32 } } }, { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8788, "end": 8875, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 295, "column": 95 } } }, { "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": 8884, "end": 8887, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 8888, "end": 8898, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8899, "end": 8900, "loc": { "start": { "line": 296, "column": 23 }, "end": { "line": 296, "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": 8901, "end": 8905, "loc": { "start": { "line": 296, "column": 25 }, "end": { "line": 296, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8905, "end": 8906, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 8906, "end": 8913, "loc": { "start": { "line": 296, "column": 30 }, "end": { "line": 296, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8913, "end": 8914, "loc": { "start": { "line": 296, "column": 37 }, "end": { "line": 296, "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": 8914, "end": 8918, "loc": { "start": { "line": 296, "column": 38 }, "end": { "line": 296, "column": 42 } } }, { "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": 296, "column": 42 }, "end": { "line": 296, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 8919, "end": 8927, "loc": { "start": { "line": 296, "column": 43 }, "end": { "line": 296, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8928, "end": 8929, "loc": { "start": { "line": 296, "column": 52 }, "end": { "line": 296, "column": 53 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 8930, "end": 8931, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8931, "end": 8932, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8932, "end": 8933, "loc": { "start": { "line": 296, "column": 56 }, "end": { "line": 296, "column": 57 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8942, "end": 8944, "loc": { "start": { "line": 297, "column": 8 }, "end": { "line": 297, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8945, "end": 8946, "loc": { "start": { "line": 297, "column": 11 }, "end": { "line": 297, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 8957, "end": 8967, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8968, "end": 8970, "loc": { "start": { "line": 298, "column": 21 }, "end": { "line": 298, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 8981, "end": 9000, "loc": { "start": { "line": 299, "column": 10 }, "end": { "line": 299, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9001, "end": 9004, "loc": { "start": { "line": 299, "column": 30 }, "end": { "line": 299, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 9005, "end": 9015, "loc": { "start": { "line": 299, "column": 34 }, "end": { "line": 299, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9015, "end": 9016, "loc": { "start": { "line": 299, "column": 44 }, "end": { "line": 299, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 9016, "end": 9025, "loc": { "start": { "line": 299, "column": 45 }, "end": { "line": 299, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9025, "end": 9026, "loc": { "start": { "line": 299, "column": 54 }, "end": { "line": 299, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9026, "end": 9027, "loc": { "start": { "line": 299, "column": 55 }, "end": { "line": 299, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9027, "end": 9028, "loc": { "start": { "line": 299, "column": 56 }, "end": { "line": 299, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9029, "end": 9038, "loc": { "start": { "line": 299, "column": 58 }, "end": { "line": 299, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9038, "end": 9039, "loc": { "start": { "line": 299, "column": 67 }, "end": { "line": 299, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9048, "end": 9049, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9050, "end": 9051, "loc": { "start": { "line": 300, "column": 10 }, "end": { "line": 300, "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": 9062, "end": 9066, "loc": { "start": { "line": 301, "column": 10 }, "end": { "line": 301, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9066, "end": 9067, "loc": { "start": { "line": 301, "column": 14 }, "end": { "line": 301, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 9067, "end": 9074, "loc": { "start": { "line": 301, "column": 15 }, "end": { "line": 301, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9075, "end": 9076, "loc": { "start": { "line": 301, "column": 23 }, "end": { "line": 301, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9077, "end": 9086, "loc": { "start": { "line": 301, "column": 25 }, "end": { "line": 301, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9086, "end": 9087, "loc": { "start": { "line": 301, "column": 34 }, "end": { "line": 301, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9096, "end": 9097, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "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": 9098, "end": 9102, "loc": { "start": { "line": 302, "column": 10 }, "end": { "line": 302, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9103, "end": 9104, "loc": { "start": { "line": 302, "column": 15 }, "end": { "line": 302, "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": 9115, "end": 9119, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9119, "end": 9120, "loc": { "start": { "line": 303, "column": 14 }, "end": { "line": 303, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 9120, "end": 9127, "loc": { "start": { "line": 303, "column": 15 }, "end": { "line": 303, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9128, "end": 9129, "loc": { "start": { "line": 303, "column": 23 }, "end": { "line": 303, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9130, "end": 9131, "loc": { "start": { "line": 303, "column": 25 }, "end": { "line": 303, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9131, "end": 9132, "loc": { "start": { "line": 303, "column": 26 }, "end": { "line": 303, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9141, "end": 9142, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9149, "end": 9150, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 7 } } }, { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 9158, "end": 9213, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 9220, "end": 9260, "loc": { "start": { "line": 308, "column": 6 }, "end": { "line": 308, "column": 46 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9267, "end": 9269, "loc": { "start": { "line": 309, "column": 6 }, "end": { "line": 309, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9270, "end": 9271, "loc": { "start": { "line": 309, "column": 9 }, "end": { "line": 309, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9271, "end": 9280, "loc": { "start": { "line": 309, "column": 10 }, "end": { "line": 309, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 9281, "end": 9282, "loc": { "start": { "line": 309, "column": 20 }, "end": { "line": 309, "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": 9283, "end": 9287, "loc": { "start": { "line": 309, "column": 22 }, "end": { "line": 309, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9287, "end": 9288, "loc": { "start": { "line": 309, "column": 26 }, "end": { "line": 309, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 9288, "end": 9295, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9295, "end": 9296, "loc": { "start": { "line": 309, "column": 34 }, "end": { "line": 309, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9297, "end": 9298, "loc": { "start": { "line": 309, "column": 36 }, "end": { "line": 309, "column": 37 } } }, { "type": "CommentLine", "value": " subtract characters one by one", "start": 9307, "end": 9340, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9349, "end": 9358, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 17 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 9358, "end": 9360, "loc": { "start": { "line": 311, "column": 17 }, "end": { "line": 311, "column": 19 } } }, { "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": 311, "column": 19 }, "end": { "line": 311, "column": 20 } } }, { "type": "CommentLine", "value": " loop the function", "start": 9370, "end": 9390, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "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": 9399, "end": 9403, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9403, "end": 9404, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 9404, "end": 9413, "loc": { "start": { "line": 313, "column": 13 }, "end": { "line": 313, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9413, "end": 9414, "loc": { "start": { "line": 313, "column": 22 }, "end": { "line": 313, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 9414, "end": 9423, "loc": { "start": { "line": 313, "column": 23 }, "end": { "line": 313, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9423, "end": 9424, "loc": { "start": { "line": 313, "column": 32 }, "end": { "line": 313, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9425, "end": 9434, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9434, "end": 9435, "loc": { "start": { "line": 313, "column": 43 }, "end": { "line": 313, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9435, "end": 9436, "loc": { "start": { "line": 313, "column": 44 }, "end": { "line": 313, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9443, "end": 9444, "loc": { "start": { "line": 314, "column": 6 }, "end": { "line": 314, "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": 9445, "end": 9449, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9450, "end": 9452, "loc": { "start": { "line": 314, "column": 13 }, "end": { "line": 314, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9453, "end": 9454, "loc": { "start": { "line": 314, "column": 16 }, "end": { "line": 314, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9454, "end": 9463, "loc": { "start": { "line": 314, "column": 17 }, "end": { "line": 314, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 9464, "end": 9466, "loc": { "start": { "line": 314, "column": 27 }, "end": { "line": 314, "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": 9467, "end": 9471, "loc": { "start": { "line": 314, "column": 30 }, "end": { "line": 314, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9471, "end": 9472, "loc": { "start": { "line": 314, "column": 34 }, "end": { "line": 314, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 9472, "end": 9479, "loc": { "start": { "line": 314, "column": 35 }, "end": { "line": 314, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9479, "end": 9480, "loc": { "start": { "line": 314, "column": 42 }, "end": { "line": 314, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9481, "end": 9482, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 314, "column": 45 } } }, { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 9491, "end": 9539, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 9548, "end": 9580, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "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": 9589, "end": 9593, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9593, "end": 9594, "loc": { "start": { "line": 317, "column": 12 }, "end": { "line": 317, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9594, "end": 9602, "loc": { "start": { "line": 317, "column": 13 }, "end": { "line": 317, "column": 21 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 9602, "end": 9604, "loc": { "start": { "line": 317, "column": 21 }, "end": { "line": 317, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9604, "end": 9605, "loc": { "start": { "line": 317, "column": 23 }, "end": { "line": 317, "column": 24 } } }, { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 9614, "end": 9678, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "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": 9687, "end": 9689, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9690, "end": 9691, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "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": 9691, "end": 9695, "loc": { "start": { "line": 319, "column": 12 }, "end": { "line": 319, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9695, "end": 9696, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9696, "end": 9704, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9705, "end": 9708, "loc": { "start": { "line": 319, "column": 26 }, "end": { "line": 319, "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": 9709, "end": 9713, "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": 9713, "end": 9714, "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": "strings", "start": 9714, "end": 9721, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9721, "end": 9722, "loc": { "start": { "line": 319, "column": 42 }, "end": { "line": 319, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9722, "end": 9728, "loc": { "start": { "line": 319, "column": 43 }, "end": { "line": 319, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9728, "end": 9729, "loc": { "start": { "line": 319, "column": 49 }, "end": { "line": 319, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9730, "end": 9731, "loc": { "start": { "line": 319, "column": 51 }, "end": { "line": 319, "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": 9742, "end": 9746, "loc": { "start": { "line": 320, "column": 10 }, "end": { "line": 320, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9746, "end": 9747, "loc": { "start": { "line": 320, "column": 14 }, "end": { "line": 320, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9747, "end": 9755, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9756, "end": 9757, "loc": { "start": { "line": 320, "column": 24 }, "end": { "line": 320, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9758, "end": 9759, "loc": { "start": { "line": 320, "column": 26 }, "end": { "line": 320, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9759, "end": 9760, "loc": { "start": { "line": 320, "column": 27 }, "end": { "line": 320, "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": 9771, "end": 9775, "loc": { "start": { "line": 321, "column": 10 }, "end": { "line": 321, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9775, "end": 9776, "loc": { "start": { "line": 321, "column": 14 }, "end": { "line": 321, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9776, "end": 9783, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9783, "end": 9784, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onLastStringBackspaced", "start": 9784, "end": 9806, "loc": { "start": { "line": 321, "column": 23 }, "end": { "line": 321, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9806, "end": 9807, "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": 9807, "end": 9808, "loc": { "start": { "line": 321, "column": 46 }, "end": { "line": 321, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9808, "end": 9809, "loc": { "start": { "line": 321, "column": 47 }, "end": { "line": 321, "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": 9820, "end": 9824, "loc": { "start": { "line": 322, "column": 10 }, "end": { "line": 322, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9824, "end": 9825, "loc": { "start": { "line": 322, "column": 14 }, "end": { "line": 322, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffleStringsIfNeeded", "start": 9825, "end": 9847, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9847, "end": 9848, "loc": { "start": { "line": 322, "column": 37 }, "end": { "line": 322, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9848, "end": 9849, "loc": { "start": { "line": 322, "column": 38 }, "end": { "line": 322, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9849, "end": 9850, "loc": { "start": { "line": 322, "column": 39 }, "end": { "line": 322, "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": 9861, "end": 9865, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9865, "end": 9866, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 9866, "end": 9871, "loc": { "start": { "line": 323, "column": 15 }, "end": { "line": 323, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9871, "end": 9872, "loc": { "start": { "line": 323, "column": 20 }, "end": { "line": 323, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9872, "end": 9873, "loc": { "start": { "line": 323, "column": 21 }, "end": { "line": 323, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9873, "end": 9874, "loc": { "start": { "line": 323, "column": 22 }, "end": { "line": 323, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9883, "end": 9884, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "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": 9885, "end": 9889, "loc": { "start": { "line": 324, "column": 10 }, "end": { "line": 324, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9890, "end": 9891, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "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": 9902, "end": 9906, "loc": { "start": { "line": 325, "column": 10 }, "end": { "line": 325, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9906, "end": 9907, "loc": { "start": { "line": 325, "column": 14 }, "end": { "line": 325, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 9907, "end": 9916, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9916, "end": 9917, "loc": { "start": { "line": 325, "column": 24 }, "end": { "line": 325, "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": 9917, "end": 9921, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9921, "end": 9922, "loc": { "start": { "line": 325, "column": 29 }, "end": { "line": 325, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 9922, "end": 9929, "loc": { "start": { "line": 325, "column": 30 }, "end": { "line": 325, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9929, "end": 9930, "loc": { "start": { "line": 325, "column": 37 }, "end": { "line": 325, "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": 9930, "end": 9934, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9934, "end": 9935, "loc": { "start": { "line": 325, "column": 42 }, "end": { "line": 325, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 9935, "end": 9943, "loc": { "start": { "line": 325, "column": 43 }, "end": { "line": 325, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9943, "end": 9944, "loc": { "start": { "line": 325, "column": 51 }, "end": { "line": 325, "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": 9944, "end": 9948, "loc": { "start": { "line": 325, "column": 52 }, "end": { "line": 325, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9948, "end": 9949, "loc": { "start": { "line": 325, "column": 56 }, "end": { "line": 325, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9949, "end": 9957, "loc": { "start": { "line": 325, "column": 57 }, "end": { "line": 325, "column": 65 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9957, "end": 9958, "loc": { "start": { "line": 325, "column": 65 }, "end": { "line": 325, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9958, "end": 9959, "loc": { "start": { "line": 325, "column": 66 }, "end": { "line": 325, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9959, "end": 9960, "loc": { "start": { "line": 325, "column": 67 }, "end": { "line": 325, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9961, "end": 9970, "loc": { "start": { "line": 325, "column": 69 }, "end": { "line": 325, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9970, "end": 9971, "loc": { "start": { "line": 325, "column": 78 }, "end": { "line": 325, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9971, "end": 9972, "loc": { "start": { "line": 325, "column": 79 }, "end": { "line": 325, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9981, "end": 9982, "loc": { "start": { "line": 326, "column": 8 }, "end": { "line": 326, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9989, "end": 9990, "loc": { "start": { "line": 327, "column": 6 }, "end": { "line": 327, "column": 7 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 9997, "end": 10026, "loc": { "start": { "line": 328, "column": 6 }, "end": { "line": 328, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10031, "end": 10032, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10032, "end": 10033, "loc": { "start": { "line": 329, "column": 5 }, "end": { "line": 329, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 10034, "end": 10042, "loc": { "start": { "line": 329, "column": 7 }, "end": { "line": 329, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10042, "end": 10043, "loc": { "start": { "line": 329, "column": 15 }, "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": 10043, "end": 10044, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10047, "end": 10048, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 330, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 10052, "end": 10107, "loc": { "start": { "line": 332, "column": 2 }, "end": { "line": 335, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "complete", "start": 10110, "end": 10118, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10118, "end": 10119, "loc": { "start": { "line": 336, "column": 10 }, "end": { "line": 336, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10119, "end": 10120, "loc": { "start": { "line": 336, "column": 11 }, "end": { "line": 336, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10121, "end": 10122, "loc": { "start": { "line": 336, "column": 13 }, "end": { "line": 336, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10127, "end": 10131, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10131, "end": 10132, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10132, "end": 10139, "loc": { "start": { "line": 337, "column": 9 }, "end": { "line": 337, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10139, "end": 10140, "loc": { "start": { "line": 337, "column": 16 }, "end": { "line": 337, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onComplete", "start": 10140, "end": 10150, "loc": { "start": { "line": 337, "column": 17 }, "end": { "line": 337, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10150, "end": 10151, "loc": { "start": { "line": 337, "column": 27 }, "end": { "line": 337, "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": 10151, "end": 10155, "loc": { "start": { "line": 337, "column": 28 }, "end": { "line": 337, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10155, "end": 10156, "loc": { "start": { "line": 337, "column": 32 }, "end": { "line": 337, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10156, "end": 10157, "loc": { "start": { "line": 337, "column": 33 }, "end": { "line": 337, "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": 10162, "end": 10164, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10165, "end": 10166, "loc": { "start": { "line": 338, "column": 7 }, "end": { "line": 338, "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": 10166, "end": 10170, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10170, "end": 10171, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 10171, "end": 10175, "loc": { "start": { "line": 338, "column": 13 }, "end": { "line": 338, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10175, "end": 10176, "loc": { "start": { "line": 338, "column": 17 }, "end": { "line": 338, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10177, "end": 10178, "loc": { "start": { "line": 338, "column": 19 }, "end": { "line": 338, "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": 10185, "end": 10189, "loc": { "start": { "line": 339, "column": 6 }, "end": { "line": 339, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10189, "end": 10190, "loc": { "start": { "line": 339, "column": 10 }, "end": { "line": 339, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curLoop", "start": 10190, "end": 10197, "loc": { "start": { "line": 339, "column": 11 }, "end": { "line": 339, "column": 18 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10197, "end": 10199, "loc": { "start": { "line": 339, "column": 18 }, "end": { "line": 339, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10199, "end": 10200, "loc": { "start": { "line": 339, "column": 20 }, "end": { "line": 339, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10205, "end": 10206, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 5 } } }, { "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": 10207, "end": 10211, "loc": { "start": { "line": 340, "column": 6 }, "end": { "line": 340, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10212, "end": 10213, "loc": { "start": { "line": 340, "column": 11 }, "end": { "line": 340, "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": 10220, "end": 10224, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10224, "end": 10225, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 10225, "end": 10239, "loc": { "start": { "line": 341, "column": 11 }, "end": { "line": 341, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10240, "end": 10241, "loc": { "start": { "line": 341, "column": 26 }, "end": { "line": 341, "column": 27 } } }, { "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": 10242, "end": 10246, "loc": { "start": { "line": 341, "column": 28 }, "end": { "line": 341, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10246, "end": 10247, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10252, "end": 10253, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10256, "end": 10257, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 343, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 10261, "end": 10488, "loc": { "start": { "line": 345, "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": "setPauseStatus", "start": 10491, "end": 10505, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10505, "end": 10506, "loc": { "start": { "line": 352, "column": 16 }, "end": { "line": 352, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 10506, "end": 10515, "loc": { "start": { "line": 352, "column": 17 }, "end": { "line": 352, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10515, "end": 10516, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 10517, "end": 10526, "loc": { "start": { "line": 352, "column": 28 }, "end": { "line": 352, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10526, "end": 10527, "loc": { "start": { "line": 352, "column": 37 }, "end": { "line": 352, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTyping", "start": 10528, "end": 10536, "loc": { "start": { "line": 352, "column": 39 }, "end": { "line": 352, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10536, "end": 10537, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10538, "end": 10539, "loc": { "start": { "line": 352, "column": 49 }, "end": { "line": 352, "column": 50 } } }, { "type": { "label": "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": 353, "column": 4 }, "end": { "line": 353, "column": 8 } } }, { "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": 353, "column": 8 }, "end": { "line": 353, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 10549, "end": 10554, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10554, "end": 10555, "loc": { "start": { "line": 353, "column": 14 }, "end": { "line": 353, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 10555, "end": 10564, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10565, "end": 10566, "loc": { "start": { "line": 353, "column": 25 }, "end": { "line": 353, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTyping", "start": 10567, "end": 10575, "loc": { "start": { "line": 353, "column": 27 }, "end": { "line": 353, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10575, "end": 10576, "loc": { "start": { "line": 353, "column": 35 }, "end": { "line": 353, "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": 10581, "end": 10585, "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": 10585, "end": 10586, "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": "pause", "start": 10586, "end": 10591, "loc": { "start": { "line": 354, "column": 9 }, "end": { "line": 354, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10591, "end": 10592, "loc": { "start": { "line": 354, "column": 14 }, "end": { "line": 354, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 10592, "end": 10601, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10602, "end": 10603, "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": "curString", "start": 10604, "end": 10613, "loc": { "start": { "line": 354, "column": 27 }, "end": { "line": 354, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10613, "end": 10614, "loc": { "start": { "line": 354, "column": 36 }, "end": { "line": 354, "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": 10619, "end": 10623, "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": 10623, "end": 10624, "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": "pause", "start": 10624, "end": 10629, "loc": { "start": { "line": 355, "column": 9 }, "end": { "line": 355, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10629, "end": 10630, "loc": { "start": { "line": 355, "column": 14 }, "end": { "line": 355, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 10630, "end": 10639, "loc": { "start": { "line": 355, "column": 15 }, "end": { "line": 355, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10640, "end": 10641, "loc": { "start": { "line": 355, "column": 25 }, "end": { "line": 355, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 10642, "end": 10651, "loc": { "start": { "line": 355, "column": 27 }, "end": { "line": 355, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10651, "end": 10652, "loc": { "start": { "line": 355, "column": 36 }, "end": { "line": 355, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10655, "end": 10656, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 356, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 10660, "end": 10748, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 10751, "end": 10765, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 363, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10765, "end": 10766, "loc": { "start": { "line": 363, "column": 16 }, "end": { "line": 363, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10766, "end": 10776, "loc": { "start": { "line": 363, "column": 17 }, "end": { "line": 363, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10776, "end": 10777, "loc": { "start": { "line": 363, "column": 27 }, "end": { "line": 363, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10778, "end": 10779, "loc": { "start": { "line": 363, "column": 29 }, "end": { "line": 363, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10784, "end": 10786, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10787, "end": 10788, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10788, "end": 10789, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "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": 10789, "end": 10793, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10793, "end": 10794, "loc": { "start": { "line": 364, "column": 13 }, "end": { "line": 364, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 10794, "end": 10800, "loc": { "start": { "line": 364, "column": 14 }, "end": { "line": 364, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10800, "end": 10801, "loc": { "start": { "line": 364, "column": 20 }, "end": { "line": 364, "column": 21 } } }, { "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": 10802, "end": 10808, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10808, "end": 10809, "loc": { "start": { "line": 364, "column": 28 }, "end": { "line": 364, "column": 29 } } }, { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10814, "end": 10869, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 59 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10874, "end": 10876, "loc": { "start": { "line": 366, "column": 4 }, "end": { "line": 366, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10877, "end": 10878, "loc": { "start": { "line": 366, "column": 7 }, "end": { "line": 366, "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": 10878, "end": 10882, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10882, "end": 10883, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 10883, "end": 10888, "loc": { "start": { "line": 366, "column": 13 }, "end": { "line": 366, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10888, "end": 10889, "loc": { "start": { "line": 366, "column": 18 }, "end": { "line": 366, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 10889, "end": 10895, "loc": { "start": { "line": 366, "column": 19 }, "end": { "line": 366, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10895, "end": 10896, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "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": 10897, "end": 10903, "loc": { "start": { "line": 366, "column": 27 }, "end": { "line": 366, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10903, "end": 10904, "loc": { "start": { "line": 366, "column": 33 }, "end": { "line": 366, "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": 10909, "end": 10911, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10912, "end": 10913, "loc": { "start": { "line": 367, "column": 7 }, "end": { "line": 367, "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": 10913, "end": 10917, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10917, "end": 10918, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorBlinking", "start": 10918, "end": 10932, "loc": { "start": { "line": 367, "column": 13 }, "end": { "line": 367, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 10933, "end": 10936, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 367, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10937, "end": 10947, "loc": { "start": { "line": 367, "column": 32 }, "end": { "line": 367, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10947, "end": 10948, "loc": { "start": { "line": 367, "column": 42 }, "end": { "line": 367, "column": 43 } } }, { "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": 10949, "end": 10955, "loc": { "start": { "line": 367, "column": 44 }, "end": { "line": 367, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10955, "end": 10956, "loc": { "start": { "line": 367, "column": 50 }, "end": { "line": 367, "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": 10961, "end": 10965, "loc": { "start": { "line": 368, "column": 4 }, "end": { "line": 368, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10965, "end": 10966, "loc": { "start": { "line": 368, "column": 8 }, "end": { "line": 368, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorBlinking", "start": 10966, "end": 10980, "loc": { "start": { "line": 368, "column": 9 }, "end": { "line": 368, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10981, "end": 10982, "loc": { "start": { "line": 368, "column": 24 }, "end": { "line": 368, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10983, "end": 10993, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10993, "end": 10994, "loc": { "start": { "line": 368, "column": 36 }, "end": { "line": 368, "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": 10999, "end": 11001, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 369, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11002, "end": 11003, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 11003, "end": 11013, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11013, "end": 11014, "loc": { "start": { "line": 369, "column": 18 }, "end": { "line": 369, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11015, "end": 11016, "loc": { "start": { "line": 369, "column": 20 }, "end": { "line": 369, "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": 11023, "end": 11027, "loc": { "start": { "line": 370, "column": 6 }, "end": { "line": 370, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11027, "end": 11028, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 11028, "end": 11034, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11034, "end": 11035, "loc": { "start": { "line": 370, "column": 17 }, "end": { "line": 370, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 11035, "end": 11044, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11044, "end": 11045, "loc": { "start": { "line": 370, "column": 27 }, "end": { "line": 370, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11045, "end": 11048, "loc": { "start": { "line": 370, "column": 28 }, "end": { "line": 370, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11048, "end": 11049, "loc": { "start": { "line": 370, "column": 31 }, "end": { "line": 370, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor--blink", "start": 11049, "end": 11070, "loc": { "start": { "line": 370, "column": 32 }, "end": { "line": 370, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11070, "end": 11071, "loc": { "start": { "line": 370, "column": 53 }, "end": { "line": 370, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11071, "end": 11072, "loc": { "start": { "line": 370, "column": 54 }, "end": { "line": 370, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11077, "end": 11078, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 371, "column": 5 } } }, { "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": 11079, "end": 11083, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11084, "end": 11085, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "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": 11092, "end": 11096, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11096, "end": 11097, "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": "cursor", "start": 11097, "end": 11103, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11103, "end": 11104, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 11104, "end": 11113, "loc": { "start": { "line": 372, "column": 18 }, "end": { "line": 372, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11113, "end": 11114, "loc": { "start": { "line": 372, "column": 27 }, "end": { "line": 372, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 11114, "end": 11120, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11120, "end": 11121, "loc": { "start": { "line": 372, "column": 34 }, "end": { "line": 372, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor--blink", "start": 11121, "end": 11142, "loc": { "start": { "line": 372, "column": 35 }, "end": { "line": 372, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11142, "end": 11143, "loc": { "start": { "line": 372, "column": 56 }, "end": { "line": 372, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11143, "end": 11144, "loc": { "start": { "line": 372, "column": 57 }, "end": { "line": 372, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11149, "end": 11150, "loc": { "start": { "line": 373, "column": 4 }, "end": { "line": 373, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11153, "end": 11154, "loc": { "start": { "line": 374, "column": 2 }, "end": { "line": 374, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 11158, "end": 11233, "loc": { "start": { "line": 376, "column": 2 }, "end": { "line": 380, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 11236, "end": 11245, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 381, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11245, "end": 11246, "loc": { "start": { "line": 381, "column": 11 }, "end": { "line": 381, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 11246, "end": 11251, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11251, "end": 11252, "loc": { "start": { "line": 381, "column": 17 }, "end": { "line": 381, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11253, "end": 11254, "loc": { "start": { "line": 381, "column": 19 }, "end": { "line": 381, "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": 11259, "end": 11265, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 11266, "end": 11270, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11270, "end": 11271, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 11271, "end": 11276, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11276, "end": 11277, "loc": { "start": { "line": 382, "column": 21 }, "end": { "line": 382, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11277, "end": 11278, "loc": { "start": { "line": 382, "column": 22 }, "end": { "line": 382, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 11278, "end": 11282, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11282, "end": 11283, "loc": { "start": { "line": 382, "column": 27 }, "end": { "line": 382, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 11283, "end": 11289, "loc": { "start": { "line": 382, "column": 28 }, "end": { "line": 382, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11289, "end": 11290, "loc": { "start": { "line": 382, "column": 34 }, "end": { "line": 382, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11290, "end": 11291, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 36 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 11292, "end": 11293, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 11294, "end": 11299, "loc": { "start": { "line": 382, "column": 39 }, "end": { "line": 382, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11299, "end": 11300, "loc": { "start": { "line": 382, "column": 44 }, "end": { "line": 382, "column": 45 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 11301, "end": 11302, "loc": { "start": { "line": 382, "column": 46 }, "end": { "line": 382, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 11303, "end": 11304, "loc": { "start": { "line": 382, "column": 48 }, "end": { "line": 382, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11304, "end": 11305, "loc": { "start": { "line": 382, "column": 49 }, "end": { "line": 382, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 11306, "end": 11307, "loc": { "start": { "line": 382, "column": 51 }, "end": { "line": 382, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 11308, "end": 11313, "loc": { "start": { "line": 382, "column": 53 }, "end": { "line": 382, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11313, "end": 11314, "loc": { "start": { "line": 382, "column": 58 }, "end": { "line": 382, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11317, "end": 11318, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 383, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 11322, "end": 11392, "loc": { "start": { "line": 385, "column": 2 }, "end": { "line": 388, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffleStringsIfNeeded", "start": 11395, "end": 11417, "loc": { "start": { "line": 389, "column": 2 }, "end": { "line": 389, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11417, "end": 11418, "loc": { "start": { "line": 389, "column": 24 }, "end": { "line": 389, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11418, "end": 11419, "loc": { "start": { "line": 389, "column": 25 }, "end": { "line": 389, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11420, "end": 11421, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 389, "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": 11426, "end": 11428, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11429, "end": 11430, "loc": { "start": { "line": 390, "column": 7 }, "end": { "line": 390, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 11430, "end": 11431, "loc": { "start": { "line": 390, "column": 8 }, "end": { "line": 390, "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": 11431, "end": 11435, "loc": { "start": { "line": 390, "column": 9 }, "end": { "line": 390, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11435, "end": 11436, "loc": { "start": { "line": 390, "column": 13 }, "end": { "line": 390, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffle", "start": 11436, "end": 11443, "loc": { "start": { "line": 390, "column": 14 }, "end": { "line": 390, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11443, "end": 11444, "loc": { "start": { "line": 390, "column": 21 }, "end": { "line": 390, "column": 22 } } }, { "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": 11445, "end": 11451, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11451, "end": 11452, "loc": { "start": { "line": 390, "column": 29 }, "end": { "line": 390, "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": 11457, "end": 11461, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11461, "end": 11462, "loc": { "start": { "line": 391, "column": 8 }, "end": { "line": 391, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 11462, "end": 11470, "loc": { "start": { "line": 391, "column": 9 }, "end": { "line": 391, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11471, "end": 11472, "loc": { "start": { "line": 391, "column": 18 }, "end": { "line": 391, "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": 11473, "end": 11477, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11477, "end": 11478, "loc": { "start": { "line": 391, "column": 24 }, "end": { "line": 391, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 11478, "end": 11486, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11486, "end": 11487, "loc": { "start": { "line": 391, "column": 33 }, "end": { "line": 391, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sort", "start": 11487, "end": 11491, "loc": { "start": { "line": 391, "column": 34 }, "end": { "line": 391, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11491, "end": 11492, "loc": { "start": { "line": 391, "column": 38 }, "end": { "line": 391, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11492, "end": 11493, "loc": { "start": { "line": 391, "column": 39 }, "end": { "line": 391, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11493, "end": 11494, "loc": { "start": { "line": 391, "column": 40 }, "end": { "line": 391, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11495, "end": 11497, "loc": { "start": { "line": 391, "column": 42 }, "end": { "line": 391, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 11498, "end": 11502, "loc": { "start": { "line": 391, "column": 45 }, "end": { "line": 391, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 391, "column": 49 }, "end": { "line": 391, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 11503, "end": 11509, "loc": { "start": { "line": 391, "column": 50 }, "end": { "line": 391, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11509, "end": 11510, "loc": { "start": { "line": 391, "column": 56 }, "end": { "line": 391, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11510, "end": 11511, "loc": { "start": { "line": 391, "column": 57 }, "end": { "line": 391, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 11512, "end": 11513, "loc": { "start": { "line": 391, "column": 59 }, "end": { "line": 391, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 11514, "end": 11517, "loc": { "start": { "line": 391, "column": 61 }, "end": { "line": 391, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11517, "end": 11518, "loc": { "start": { "line": 391, "column": 64 }, "end": { "line": 391, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11518, "end": 11519, "loc": { "start": { "line": 391, "column": 65 }, "end": { "line": 391, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11522, "end": 11523, "loc": { "start": { "line": 392, "column": 2 }, "end": { "line": 392, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 11527, "end": 11599, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 397, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initFadeOut", "start": 11602, "end": 11613, "loc": { "start": { "line": 398, "column": 2 }, "end": { "line": 398, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11613, "end": 11614, "loc": { "start": { "line": 398, "column": 13 }, "end": { "line": 398, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11614, "end": 11615, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11616, "end": 11617, "loc": { "start": { "line": 398, "column": 16 }, "end": { "line": 398, "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": 11622, "end": 11626, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11626, "end": 11627, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 399, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 11627, "end": 11629, "loc": { "start": { "line": 399, "column": 9 }, "end": { "line": 399, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11629, "end": 11630, "loc": { "start": { "line": 399, "column": 11 }, "end": { "line": 399, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 11630, "end": 11639, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "column": 21 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 11640, "end": 11642, "loc": { "start": { "line": 399, "column": 22 }, "end": { "line": 399, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11643, "end": 11644, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11644, "end": 11645, "loc": { "start": { "line": 399, "column": 26 }, "end": { "line": 399, "column": 27 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11645, "end": 11647, "loc": { "start": { "line": 399, "column": 27 }, "end": { "line": 399, "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": 11647, "end": 11651, "loc": { "start": { "line": 399, "column": 29 }, "end": { "line": 399, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11651, "end": 11652, "loc": { "start": { "line": 399, "column": 33 }, "end": { "line": 399, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 11652, "end": 11664, "loc": { "start": { "line": 399, "column": 34 }, "end": { "line": 399, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11664, "end": 11665, "loc": { "start": { "line": 399, "column": 46 }, "end": { "line": 399, "column": 47 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11665, "end": 11665, "loc": { "start": { "line": 399, "column": 47 }, "end": { "line": 399, "column": 47 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11665, "end": 11666, "loc": { "start": { "line": 399, "column": 47 }, "end": { "line": 399, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11666, "end": 11667, "loc": { "start": { "line": 399, "column": 48 }, "end": { "line": 399, "column": 49 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11672, "end": 11674, "loc": { "start": { "line": 400, "column": 4 }, "end": { "line": 400, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11675, "end": 11676, "loc": { "start": { "line": 400, "column": 7 }, "end": { "line": 400, "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": 11676, "end": 11680, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 11681, "end": 11687, "loc": { "start": { "line": 400, "column": 13 }, "end": { "line": 400, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11687, "end": 11688, "loc": { "start": { "line": 400, "column": 19 }, "end": { "line": 400, "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": 11689, "end": 11693, "loc": { "start": { "line": 400, "column": 21 }, "end": { "line": 400, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11693, "end": 11694, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 11694, "end": 11700, "loc": { "start": { "line": 400, "column": 26 }, "end": { "line": 400, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11700, "end": 11701, "loc": { "start": { "line": 400, "column": 32 }, "end": { "line": 400, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 11701, "end": 11710, "loc": { "start": { "line": 400, "column": 33 }, "end": { "line": 400, "column": 42 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 11711, "end": 11713, "loc": { "start": { "line": 400, "column": 43 }, "end": { "line": 400, "column": 45 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11714, "end": 11715, "loc": { "start": { "line": 400, "column": 46 }, "end": { "line": 400, "column": 47 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11715, "end": 11716, "loc": { "start": { "line": 400, "column": 47 }, "end": { "line": 400, "column": 48 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11716, "end": 11718, "loc": { "start": { "line": 400, "column": 48 }, "end": { "line": 400, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11718, "end": 11722, "loc": { "start": { "line": 400, "column": 50 }, "end": { "line": 400, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11722, "end": 11723, "loc": { "start": { "line": 400, "column": 54 }, "end": { "line": 400, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 11723, "end": 11735, "loc": { "start": { "line": 400, "column": 55 }, "end": { "line": 400, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11735, "end": 11736, "loc": { "start": { "line": 400, "column": 67 }, "end": { "line": 400, "column": 68 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11736, "end": 11736, "loc": { "start": { "line": 400, "column": 68 }, "end": { "line": 400, "column": 68 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11736, "end": 11737, "loc": { "start": { "line": 400, "column": 68 }, "end": { "line": 400, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11737, "end": 11738, "loc": { "start": { "line": 400, "column": 69 }, "end": { "line": 400, "column": 70 } } }, { "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": 11743, "end": 11749, "loc": { "start": { "line": 401, "column": 4 }, "end": { "line": 401, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 11750, "end": 11760, "loc": { "start": { "line": 401, "column": 11 }, "end": { "line": 401, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11760, "end": 11761, "loc": { "start": { "line": 401, "column": 21 }, "end": { "line": 401, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11761, "end": 11762, "loc": { "start": { "line": 401, "column": 22 }, "end": { "line": 401, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11762, "end": 11763, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11764, "end": 11766, "loc": { "start": { "line": 401, "column": 25 }, "end": { "line": 401, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11767, "end": 11768, "loc": { "start": { "line": 401, "column": 28 }, "end": { "line": 401, "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": 11775, "end": 11779, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11779, "end": 11780, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 402, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11780, "end": 11788, "loc": { "start": { "line": 402, "column": 11 }, "end": { "line": 402, "column": 19 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 11788, "end": 11790, "loc": { "start": { "line": 402, "column": 19 }, "end": { "line": 402, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11790, "end": 11791, "loc": { "start": { "line": 402, "column": 21 }, "end": { "line": 402, "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": 11798, "end": 11802, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11802, "end": 11803, "loc": { "start": { "line": 403, "column": 10 }, "end": { "line": 403, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 11803, "end": 11814, "loc": { "start": { "line": 403, "column": 11 }, "end": { "line": 403, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11814, "end": 11815, "loc": { "start": { "line": 403, "column": 22 }, "end": { "line": 403, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11815, "end": 11817, "loc": { "start": { "line": 403, "column": 23 }, "end": { "line": 403, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11817, "end": 11818, "loc": { "start": { "line": 403, "column": 25 }, "end": { "line": 403, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11818, "end": 11819, "loc": { "start": { "line": 403, "column": 26 }, "end": { "line": 403, "column": 27 } } }, { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11827, "end": 11874, "loc": { "start": { "line": 405, "column": 6 }, "end": { "line": 405, "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": 11881, "end": 11883, "loc": { "start": { "line": 406, "column": 6 }, "end": { "line": 406, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11884, "end": 11885, "loc": { "start": { "line": 406, "column": 9 }, "end": { "line": 406, "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": 11885, "end": 11889, "loc": { "start": { "line": 406, "column": 10 }, "end": { "line": 406, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11889, "end": 11890, "loc": { "start": { "line": 406, "column": 14 }, "end": { "line": 406, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 11890, "end": 11897, "loc": { "start": { "line": 406, "column": 15 }, "end": { "line": 406, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11897, "end": 11898, "loc": { "start": { "line": 406, "column": 22 }, "end": { "line": 406, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 11898, "end": 11904, "loc": { "start": { "line": 406, "column": 23 }, "end": { "line": 406, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 11905, "end": 11906, "loc": { "start": { "line": 406, "column": 30 }, "end": { "line": 406, "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": 11907, "end": 11911, "loc": { "start": { "line": 406, "column": 32 }, "end": { "line": 406, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11911, "end": 11912, "loc": { "start": { "line": 406, "column": 36 }, "end": { "line": 406, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11912, "end": 11920, "loc": { "start": { "line": 406, "column": 37 }, "end": { "line": 406, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11920, "end": 11921, "loc": { "start": { "line": 406, "column": 45 }, "end": { "line": 406, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11922, "end": 11923, "loc": { "start": { "line": 406, "column": 47 }, "end": { "line": 406, "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": 11932, "end": 11936, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11936, "end": 11937, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 11937, "end": 11946, "loc": { "start": { "line": 407, "column": 13 }, "end": { "line": 407, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11946, "end": 11947, "loc": { "start": { "line": 407, "column": 22 }, "end": { "line": 407, "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": 11947, "end": 11951, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11951, "end": 11952, "loc": { "start": { "line": 407, "column": 27 }, "end": { "line": 407, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 11952, "end": 11959, "loc": { "start": { "line": 407, "column": 28 }, "end": { "line": 407, "column": 35 } } }, { "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": 407, "column": 35 }, "end": { "line": 407, "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": 11960, "end": 11964, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 40 } } }, { "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": 407, "column": 40 }, "end": { "line": 407, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 11965, "end": 11973, "loc": { "start": { "line": 407, "column": 41 }, "end": { "line": 407, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11973, "end": 11974, "loc": { "start": { "line": 407, "column": 49 }, "end": { "line": 407, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11974, "end": 11978, "loc": { "start": { "line": 407, "column": 50 }, "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": 11978, "end": 11979, "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": "arrayPos", "start": 11979, "end": 11987, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11987, "end": 11988, "loc": { "start": { "line": 407, "column": 63 }, "end": { "line": 407, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11988, "end": 11989, "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": 11989, "end": 11990, "loc": { "start": { "line": 407, "column": 65 }, "end": { "line": 407, "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": 11991, "end": 11992, "loc": { "start": { "line": 407, "column": 67 }, "end": { "line": 407, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11992, "end": 11993, "loc": { "start": { "line": 407, "column": 68 }, "end": { "line": 407, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11993, "end": 11994, "loc": { "start": { "line": 407, "column": 69 }, "end": { "line": 407, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12001, "end": 12002, "loc": { "start": { "line": 408, "column": 6 }, "end": { "line": 408, "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": 12003, "end": 12007, "loc": { "start": { "line": 408, "column": 8 }, "end": { "line": 408, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12008, "end": 12009, "loc": { "start": { "line": 408, "column": 13 }, "end": { "line": 408, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12018, "end": 12022, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12022, "end": 12023, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 12023, "end": 12032, "loc": { "start": { "line": 409, "column": 13 }, "end": { "line": 409, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12032, "end": 12033, "loc": { "start": { "line": 409, "column": 22 }, "end": { "line": 409, "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": 12033, "end": 12037, "loc": { "start": { "line": 409, "column": 23 }, "end": { "line": 409, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12037, "end": 12038, "loc": { "start": { "line": 409, "column": 27 }, "end": { "line": 409, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 12038, "end": 12045, "loc": { "start": { "line": 409, "column": 28 }, "end": { "line": 409, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12045, "end": 12046, "loc": { "start": { "line": 409, "column": 35 }, "end": { "line": 409, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12046, "end": 12047, "loc": { "start": { "line": 409, "column": 36 }, "end": { "line": 409, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12047, "end": 12048, "loc": { "start": { "line": 409, "column": 37 }, "end": { "line": 409, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12048, "end": 12049, "loc": { "start": { "line": 409, "column": 38 }, "end": { "line": 409, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12050, "end": 12051, "loc": { "start": { "line": 409, "column": 40 }, "end": { "line": 409, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12051, "end": 12052, "loc": { "start": { "line": 409, "column": 41 }, "end": { "line": 409, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12052, "end": 12053, "loc": { "start": { "line": 409, "column": 42 }, "end": { "line": 409, "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": 12062, "end": 12066, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12066, "end": 12067, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 12067, "end": 12075, "loc": { "start": { "line": 410, "column": 13 }, "end": { "line": 410, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12076, "end": 12077, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 410, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12078, "end": 12079, "loc": { "start": { "line": 410, "column": 24 }, "end": { "line": 410, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12079, "end": 12080, "loc": { "start": { "line": 410, "column": 25 }, "end": { "line": 410, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12087, "end": 12088, "loc": { "start": { "line": 411, "column": 6 }, "end": { "line": 411, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12093, "end": 12094, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12094, "end": 12095, "loc": { "start": { "line": 412, "column": 5 }, "end": { "line": 412, "column": 6 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12096, "end": 12100, "loc": { "start": { "line": 412, "column": 7 }, "end": { "line": 412, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12100, "end": 12101, "loc": { "start": { "line": 412, "column": 11 }, "end": { "line": 412, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutDelay", "start": 12101, "end": 12113, "loc": { "start": { "line": 412, "column": 12 }, "end": { "line": 412, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12113, "end": 12114, "loc": { "start": { "line": 412, "column": 24 }, "end": { "line": 412, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12114, "end": 12115, "loc": { "start": { "line": 412, "column": 25 }, "end": { "line": 412, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12118, "end": 12119, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 413, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 12123, "end": 12249, "loc": { "start": { "line": 415, "column": 2 }, "end": { "line": 420, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 12252, "end": 12263, "loc": { "start": { "line": 421, "column": 2 }, "end": { "line": 421, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12263, "end": 12264, "loc": { "start": { "line": 421, "column": 13 }, "end": { "line": 421, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 12264, "end": 12267, "loc": { "start": { "line": 421, "column": 14 }, "end": { "line": 421, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12267, "end": 12268, "loc": { "start": { "line": 421, "column": 17 }, "end": { "line": 421, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12269, "end": 12270, "loc": { "start": { "line": 421, "column": 19 }, "end": { "line": 421, "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": 12275, "end": 12277, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 422, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12278, "end": 12279, "loc": { "start": { "line": 422, "column": 7 }, "end": { "line": 422, "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": 12279, "end": 12283, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12283, "end": 12284, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 12284, "end": 12288, "loc": { "start": { "line": 422, "column": 13 }, "end": { "line": 422, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12288, "end": 12289, "loc": { "start": { "line": 422, "column": 17 }, "end": { "line": 422, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12290, "end": 12291, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "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": 12298, "end": 12302, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12302, "end": 12303, "loc": { "start": { "line": 423, "column": 10 }, "end": { "line": 423, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12303, "end": 12305, "loc": { "start": { "line": 423, "column": 11 }, "end": { "line": 423, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12305, "end": 12306, "loc": { "start": { "line": 423, "column": 13 }, "end": { "line": 423, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 12306, "end": 12318, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12318, "end": 12319, "loc": { "start": { "line": 423, "column": 26 }, "end": { "line": 423, "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": 12319, "end": 12323, "loc": { "start": { "line": 423, "column": 27 }, "end": { "line": 423, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12323, "end": 12324, "loc": { "start": { "line": 423, "column": 31 }, "end": { "line": 423, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 12324, "end": 12328, "loc": { "start": { "line": 423, "column": 32 }, "end": { "line": 423, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12328, "end": 12329, "loc": { "start": { "line": 423, "column": 36 }, "end": { "line": 423, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 12330, "end": 12333, "loc": { "start": { "line": 423, "column": 38 }, "end": { "line": 423, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12333, "end": 12334, "loc": { "start": { "line": 423, "column": 41 }, "end": { "line": 423, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12334, "end": 12335, "loc": { "start": { "line": 423, "column": 42 }, "end": { "line": 423, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12340, "end": 12341, "loc": { "start": { "line": 424, "column": 4 }, "end": { "line": 424, "column": 5 } } }, { "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": 12342, "end": 12346, "loc": { "start": { "line": 424, "column": 6 }, "end": { "line": 424, "column": 10 } } }, { "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": 424, "column": 11 }, "end": { "line": 424, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12355, "end": 12357, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12358, "end": 12359, "loc": { "start": { "line": 425, "column": 9 }, "end": { "line": 425, "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": 12359, "end": 12363, "loc": { "start": { "line": 425, "column": 10 }, "end": { "line": 425, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12363, "end": 12364, "loc": { "start": { "line": 425, "column": 14 }, "end": { "line": 425, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 12364, "end": 12371, "loc": { "start": { "line": 425, "column": 15 }, "end": { "line": 425, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12371, "end": 12372, "loc": { "start": { "line": 425, "column": 22 }, "end": { "line": 425, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12373, "end": 12374, "loc": { "start": { "line": 425, "column": 24 }, "end": { "line": 425, "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": 12383, "end": 12387, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12387, "end": 12388, "loc": { "start": { "line": 426, "column": 12 }, "end": { "line": 426, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12388, "end": 12390, "loc": { "start": { "line": 426, "column": 13 }, "end": { "line": 426, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12390, "end": 12391, "loc": { "start": { "line": 426, "column": 15 }, "end": { "line": 426, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 12391, "end": 12396, "loc": { "start": { "line": 426, "column": 16 }, "end": { "line": 426, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12397, "end": 12398, "loc": { "start": { "line": 426, "column": 22 }, "end": { "line": 426, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 12399, "end": 12402, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12402, "end": 12403, "loc": { "start": { "line": 426, "column": 27 }, "end": { "line": 426, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12410, "end": 12411, "loc": { "start": { "line": 427, "column": 6 }, "end": { "line": 427, "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": 12412, "end": 12416, "loc": { "start": { "line": 427, "column": 8 }, "end": { "line": 427, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12417, "end": 12419, "loc": { "start": { "line": 427, "column": 13 }, "end": { "line": 427, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12420, "end": 12421, "loc": { "start": { "line": 427, "column": 16 }, "end": { "line": 427, "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": 12421, "end": 12425, "loc": { "start": { "line": 427, "column": 17 }, "end": { "line": 427, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12425, "end": 12426, "loc": { "start": { "line": 427, "column": 21 }, "end": { "line": 427, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 12426, "end": 12437, "loc": { "start": { "line": 427, "column": 22 }, "end": { "line": 427, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12438, "end": 12441, "loc": { "start": { "line": 427, "column": 34 }, "end": { "line": 427, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 12442, "end": 12448, "loc": { "start": { "line": 427, "column": 38 }, "end": { "line": 427, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12448, "end": 12449, "loc": { "start": { "line": 427, "column": 44 }, "end": { "line": 427, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12450, "end": 12451, "loc": { "start": { "line": 427, "column": 46 }, "end": { "line": 427, "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": 12460, "end": 12464, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12464, "end": 12465, "loc": { "start": { "line": 428, "column": 12 }, "end": { "line": 428, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12465, "end": 12467, "loc": { "start": { "line": 428, "column": 13 }, "end": { "line": 428, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12467, "end": 12468, "loc": { "start": { "line": 428, "column": 15 }, "end": { "line": 428, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12468, "end": 12477, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12478, "end": 12479, "loc": { "start": { "line": 428, "column": 26 }, "end": { "line": 428, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 12480, "end": 12483, "loc": { "start": { "line": 428, "column": 28 }, "end": { "line": 428, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12483, "end": 12484, "loc": { "start": { "line": 428, "column": 31 }, "end": { "line": 428, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12491, "end": 12492, "loc": { "start": { "line": 429, "column": 6 }, "end": { "line": 429, "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": 12493, "end": 12497, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12498, "end": 12499, "loc": { "start": { "line": 429, "column": 13 }, "end": { "line": 429, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12508, "end": 12512, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12512, "end": 12513, "loc": { "start": { "line": 430, "column": 12 }, "end": { "line": 430, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12513, "end": 12515, "loc": { "start": { "line": 430, "column": 13 }, "end": { "line": 430, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12515, "end": 12516, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textContent", "start": 12516, "end": 12527, "loc": { "start": { "line": 430, "column": 16 }, "end": { "line": 430, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12528, "end": 12529, "loc": { "start": { "line": 430, "column": 28 }, "end": { "line": 430, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 12530, "end": 12533, "loc": { "start": { "line": 430, "column": 30 }, "end": { "line": 430, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12533, "end": 12534, "loc": { "start": { "line": 430, "column": 33 }, "end": { "line": 430, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12541, "end": 12542, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12547, "end": 12548, "loc": { "start": { "line": 432, "column": 4 }, "end": { "line": 432, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12551, "end": 12552, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 433, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 12556, "end": 12666, "loc": { "start": { "line": 435, "column": 2 }, "end": { "line": 439, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindFocusEvents", "start": 12669, "end": 12684, "loc": { "start": { "line": 440, "column": 2 }, "end": { "line": 440, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12684, "end": 12685, "loc": { "start": { "line": 440, "column": 17 }, "end": { "line": 440, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12685, "end": 12686, "loc": { "start": { "line": 440, "column": 18 }, "end": { "line": 440, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12687, "end": 12688, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "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": 12693, "end": 12695, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 441, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12696, "end": 12697, "loc": { "start": { "line": 441, "column": 7 }, "end": { "line": 441, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12697, "end": 12698, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "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": 12698, "end": 12702, "loc": { "start": { "line": 441, "column": 9 }, "end": { "line": 441, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12702, "end": 12703, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 12703, "end": 12710, "loc": { "start": { "line": 441, "column": 14 }, "end": { "line": 441, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12710, "end": 12711, "loc": { "start": { "line": 441, "column": 21 }, "end": { "line": 441, "column": 22 } } }, { "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": 12712, "end": 12718, "loc": { "start": { "line": 441, "column": 23 }, "end": { "line": 441, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12718, "end": 12719, "loc": { "start": { "line": 441, "column": 29 }, "end": { "line": 441, "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": 12724, "end": 12728, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12728, "end": 12729, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12729, "end": 12731, "loc": { "start": { "line": 442, "column": 9 }, "end": { "line": 442, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12731, "end": 12732, "loc": { "start": { "line": 442, "column": 11 }, "end": { "line": 442, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 12732, "end": 12748, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12748, "end": 12749, "loc": { "start": { "line": 442, "column": 28 }, "end": { "line": 442, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "focus", "start": 12749, "end": 12756, "loc": { "start": { "line": 442, "column": 29 }, "end": { "line": 442, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12756, "end": 12757, "loc": { "start": { "line": 442, "column": 36 }, "end": { "line": 442, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12758, "end": 12759, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 12759, "end": 12760, "loc": { "start": { "line": 442, "column": 39 }, "end": { "line": 442, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12760, "end": 12761, "loc": { "start": { "line": 442, "column": 40 }, "end": { "line": 442, "column": 41 } } }, { "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": 442, "column": 42 }, "end": { "line": 442, "column": 44 } } }, { "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": 442, "column": 45 }, "end": { "line": 442, "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": 12773, "end": 12777, "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": 12777, "end": 12778, "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": "stop", "start": 12778, "end": 12782, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12782, "end": 12783, "loc": { "start": { "line": 443, "column": 15 }, "end": { "line": 443, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12783, "end": 12784, "loc": { "start": { "line": 443, "column": 16 }, "end": { "line": 443, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12784, "end": 12785, "loc": { "start": { "line": 443, "column": 17 }, "end": { "line": 443, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12790, "end": 12791, "loc": { "start": { "line": 444, "column": 4 }, "end": { "line": 444, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12791, "end": 12792, "loc": { "start": { "line": 444, "column": 5 }, "end": { "line": 444, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12792, "end": 12793, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "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": 12798, "end": 12802, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12802, "end": 12803, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12803, "end": 12805, "loc": { "start": { "line": 445, "column": 9 }, "end": { "line": 445, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12805, "end": 12806, "loc": { "start": { "line": 445, "column": 11 }, "end": { "line": 445, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 12806, "end": 12822, "loc": { "start": { "line": 445, "column": 12 }, "end": { "line": 445, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12822, "end": 12823, "loc": { "start": { "line": 445, "column": 28 }, "end": { "line": 445, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "blur", "start": 12823, "end": 12829, "loc": { "start": { "line": 445, "column": 29 }, "end": { "line": 445, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12829, "end": 12830, "loc": { "start": { "line": 445, "column": 35 }, "end": { "line": 445, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12831, "end": 12832, "loc": { "start": { "line": 445, "column": 37 }, "end": { "line": 445, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 12832, "end": 12833, "loc": { "start": { "line": 445, "column": 38 }, "end": { "line": 445, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12833, "end": 12834, "loc": { "start": { "line": 445, "column": 39 }, "end": { "line": 445, "column": 40 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12835, "end": 12837, "loc": { "start": { "line": 445, "column": 41 }, "end": { "line": 445, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12838, "end": 12839, "loc": { "start": { "line": 445, "column": 44 }, "end": { "line": 445, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12846, "end": 12848, "loc": { "start": { "line": 446, "column": 6 }, "end": { "line": 446, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12849, "end": 12850, "loc": { "start": { "line": 446, "column": 9 }, "end": { "line": 446, "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": 12850, "end": 12854, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12854, "end": 12855, "loc": { "start": { "line": 446, "column": 14 }, "end": { "line": 446, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12855, "end": 12857, "loc": { "start": { "line": 446, "column": 15 }, "end": { "line": 446, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12857, "end": 12858, "loc": { "start": { "line": 446, "column": 17 }, "end": { "line": 446, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 12858, "end": 12863, "loc": { "start": { "line": 446, "column": 18 }, "end": { "line": 446, "column": 23 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12864, "end": 12866, "loc": { "start": { "line": 446, "column": 24 }, "end": { "line": 446, "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": 12867, "end": 12871, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12871, "end": 12872, "loc": { "start": { "line": 446, "column": 31 }, "end": { "line": 446, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12872, "end": 12874, "loc": { "start": { "line": 446, "column": 32 }, "end": { "line": 446, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12874, "end": 12875, "loc": { "start": { "line": 446, "column": 34 }, "end": { "line": 446, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 12875, "end": 12880, "loc": { "start": { "line": 446, "column": 35 }, "end": { "line": 446, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12880, "end": 12881, "loc": { "start": { "line": 446, "column": 40 }, "end": { "line": 446, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12881, "end": 12887, "loc": { "start": { "line": 446, "column": 41 }, "end": { "line": 446, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12888, "end": 12891, "loc": { "start": { "line": 446, "column": 48 }, "end": { "line": 446, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12892, "end": 12893, "loc": { "start": { "line": 446, "column": 52 }, "end": { "line": 446, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12893, "end": 12894, "loc": { "start": { "line": 446, "column": 53 }, "end": { "line": 446, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12895, "end": 12896, "loc": { "start": { "line": 446, "column": 55 }, "end": { "line": 446, "column": 56 } } }, { "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": 12905, "end": 12911, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12911, "end": 12912, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12919, "end": 12920, "loc": { "start": { "line": 448, "column": 6 }, "end": { "line": 448, "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": 12927, "end": 12931, "loc": { "start": { "line": 449, "column": 6 }, "end": { "line": 449, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12931, "end": 12932, "loc": { "start": { "line": 449, "column": 10 }, "end": { "line": 449, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 12932, "end": 12937, "loc": { "start": { "line": 449, "column": 11 }, "end": { "line": 449, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12937, "end": 12938, "loc": { "start": { "line": 449, "column": 16 }, "end": { "line": 449, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12938, "end": 12939, "loc": { "start": { "line": 449, "column": 17 }, "end": { "line": 449, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12939, "end": 12940, "loc": { "start": { "line": 449, "column": 18 }, "end": { "line": 449, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12945, "end": 12946, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 450, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12946, "end": 12947, "loc": { "start": { "line": 450, "column": 5 }, "end": { "line": 450, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12947, "end": 12948, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12951, "end": 12952, "loc": { "start": { "line": 451, "column": 2 }, "end": { "line": 451, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12956, "end": 13019, "loc": { "start": { "line": 453, "column": 2 }, "end": { "line": 456, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertCursor", "start": 13022, "end": 13034, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13034, "end": 13035, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13035, "end": 13036, "loc": { "start": { "line": 457, "column": 15 }, "end": { "line": 457, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13037, "end": 13038, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 457, "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": 13043, "end": 13045, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 458, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13046, "end": 13047, "loc": { "start": { "line": 458, "column": 7 }, "end": { "line": 458, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13047, "end": 13048, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "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": 13048, "end": 13052, "loc": { "start": { "line": 458, "column": 9 }, "end": { "line": 458, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13052, "end": 13053, "loc": { "start": { "line": 458, "column": 13 }, "end": { "line": 458, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 13053, "end": 13063, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13063, "end": 13064, "loc": { "start": { "line": 458, "column": 24 }, "end": { "line": 458, "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": 13065, "end": 13071, "loc": { "start": { "line": 458, "column": 26 }, "end": { "line": 458, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13071, "end": 13072, "loc": { "start": { "line": 458, "column": 32 }, "end": { "line": 458, "column": 33 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13077, "end": 13079, "loc": { "start": { "line": 459, "column": 4 }, "end": { "line": 459, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13080, "end": 13081, "loc": { "start": { "line": 459, "column": 7 }, "end": { "line": 459, "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": 13081, "end": 13085, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13085, "end": 13086, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 459, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13086, "end": 13092, "loc": { "start": { "line": 459, "column": 13 }, "end": { "line": 459, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13092, "end": 13093, "loc": { "start": { "line": 459, "column": 19 }, "end": { "line": 459, "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": 13094, "end": 13100, "loc": { "start": { "line": 459, "column": 21 }, "end": { "line": 459, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13100, "end": 13101, "loc": { "start": { "line": 459, "column": 27 }, "end": { "line": 459, "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": 13106, "end": 13110, "loc": { "start": { "line": 460, "column": 4 }, "end": { "line": 460, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13110, "end": 13111, "loc": { "start": { "line": 460, "column": 8 }, "end": { "line": 460, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13111, "end": 13117, "loc": { "start": { "line": 460, "column": 9 }, "end": { "line": 460, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13118, "end": 13119, "loc": { "start": { "line": 460, "column": 16 }, "end": { "line": 460, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 13120, "end": 13128, "loc": { "start": { "line": 460, "column": 18 }, "end": { "line": 460, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13128, "end": 13129, "loc": { "start": { "line": 460, "column": 26 }, "end": { "line": 460, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 13129, "end": 13142, "loc": { "start": { "line": 460, "column": 27 }, "end": { "line": 460, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13142, "end": 13143, "loc": { "start": { "line": 460, "column": 40 }, "end": { "line": 460, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "span", "start": 13143, "end": 13149, "loc": { "start": { "line": 460, "column": 41 }, "end": { "line": 460, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13149, "end": 13150, "loc": { "start": { "line": 460, "column": 47 }, "end": { "line": 460, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13150, "end": 13151, "loc": { "start": { "line": 460, "column": 48 }, "end": { "line": 460, "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": 13156, "end": 13160, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13160, "end": 13161, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13161, "end": 13167, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13167, "end": 13168, "loc": { "start": { "line": 461, "column": 15 }, "end": { "line": 461, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13168, "end": 13177, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13178, "end": 13179, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor", "start": 13180, "end": 13194, "loc": { "start": { "line": 461, "column": 28 }, "end": { "line": 461, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13194, "end": 13195, "loc": { "start": { "line": 461, "column": 42 }, "end": { "line": 461, "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": 13200, "end": 13204, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13204, "end": 13205, "loc": { "start": { "line": 462, "column": 8 }, "end": { "line": 462, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13205, "end": 13211, "loc": { "start": { "line": 462, "column": 9 }, "end": { "line": 462, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13211, "end": 13212, "loc": { "start": { "line": 462, "column": 15 }, "end": { "line": 462, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 13212, "end": 13224, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13224, "end": 13225, "loc": { "start": { "line": 462, "column": 28 }, "end": { "line": 462, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "aria-hidden", "start": 13225, "end": 13238, "loc": { "start": { "line": 462, "column": 29 }, "end": { "line": 462, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13238, "end": 13239, "loc": { "start": { "line": 462, "column": 42 }, "end": { "line": 462, "column": 43 } } }, { "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": 13240, "end": 13244, "loc": { "start": { "line": 462, "column": 44 }, "end": { "line": 462, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13244, "end": 13245, "loc": { "start": { "line": 462, "column": 48 }, "end": { "line": 462, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13245, "end": 13246, "loc": { "start": { "line": 462, "column": 49 }, "end": { "line": 462, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13251, "end": 13255, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13255, "end": 13256, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13256, "end": 13262, "loc": { "start": { "line": 463, "column": 9 }, "end": { "line": 463, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13262, "end": 13263, "loc": { "start": { "line": 463, "column": 15 }, "end": { "line": 463, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 13263, "end": 13272, "loc": { "start": { "line": 463, "column": 16 }, "end": { "line": 463, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13273, "end": 13274, "loc": { "start": { "line": 463, "column": 26 }, "end": { "line": 463, "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": 13275, "end": 13279, "loc": { "start": { "line": 463, "column": 28 }, "end": { "line": 463, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13279, "end": 13280, "loc": { "start": { "line": 463, "column": 32 }, "end": { "line": 463, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorChar", "start": 13280, "end": 13290, "loc": { "start": { "line": 463, "column": 33 }, "end": { "line": 463, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13290, "end": 13291, "loc": { "start": { "line": 463, "column": 43 }, "end": { "line": 463, "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": 13296, "end": 13300, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13300, "end": 13301, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 13301, "end": 13303, "loc": { "start": { "line": 464, "column": 9 }, "end": { "line": 464, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13303, "end": 13304, "loc": { "start": { "line": 464, "column": 11 }, "end": { "line": 464, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 13304, "end": 13314, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 13315, "end": 13317, "loc": { "start": { "line": 464, "column": 23 }, "end": { "line": 464, "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": 13324, "end": 13328, "loc": { "start": { "line": 465, "column": 6 }, "end": { "line": 465, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13328, "end": 13329, "loc": { "start": { "line": 465, "column": 10 }, "end": { "line": 465, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 13329, "end": 13331, "loc": { "start": { "line": 465, "column": 11 }, "end": { "line": 465, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13331, "end": 13332, "loc": { "start": { "line": 465, "column": 13 }, "end": { "line": 465, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 13332, "end": 13342, "loc": { "start": { "line": 465, "column": 14 }, "end": { "line": 465, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13342, "end": 13343, "loc": { "start": { "line": 465, "column": 24 }, "end": { "line": 465, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertBefore", "start": 13343, "end": 13355, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13355, "end": 13356, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "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": 13356, "end": 13360, "loc": { "start": { "line": 465, "column": 38 }, "end": { "line": 465, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13360, "end": 13361, "loc": { "start": { "line": 465, "column": 42 }, "end": { "line": 465, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 13361, "end": 13367, "loc": { "start": { "line": 465, "column": 43 }, "end": { "line": 465, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13367, "end": 13368, "loc": { "start": { "line": 465, "column": 49 }, "end": { "line": 465, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13369, "end": 13373, "loc": { "start": { "line": 465, "column": 51 }, "end": { "line": 465, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13373, "end": 13374, "loc": { "start": { "line": 465, "column": 55 }, "end": { "line": 465, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 13374, "end": 13376, "loc": { "start": { "line": 465, "column": 56 }, "end": { "line": 465, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13376, "end": 13377, "loc": { "start": { "line": 465, "column": 58 }, "end": { "line": 465, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSibling", "start": 13377, "end": 13388, "loc": { "start": { "line": 465, "column": 59 }, "end": { "line": 465, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13388, "end": 13389, "loc": { "start": { "line": 465, "column": 70 }, "end": { "line": 465, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13389, "end": 13390, "loc": { "start": { "line": 465, "column": 71 }, "end": { "line": 465, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13393, "end": 13394, "loc": { "start": { "line": 466, "column": 2 }, "end": { "line": 466, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13395, "end": 13396, "loc": { "start": { "line": 467, "column": 0 }, "end": { "line": 467, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13397, "end": 13397, "loc": { "start": { "line": 468, "column": 0 }, "end": { "line": 468, "column": 0 } } } ] } ================================================ FILE: docs/ast/source/typed.js.json ================================================ { "type": "File", "start": 0, "end": 12719, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 434, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 12719, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 434, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 47, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } }, "imported": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "initializer" }, "name": "initializer" }, "local": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "initializer" }, "name": "initializer" } } ], "source": { "type": "StringLiteral", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } }, "extra": { "rawValue": "./initializer.js", "raw": "'./initializer.js'" }, "value": "./initializer.js" } }, { "type": "ImportDeclaration", "start": 48, "end": 94, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 57, "end": 67, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 19 } }, "imported": { "type": "Identifier", "start": 57, "end": 67, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 19 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "local": { "type": "Identifier", "start": 57, "end": 67, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 19 }, "identifierName": "htmlParser" }, "name": "htmlParser" } } ], "source": { "type": "StringLiteral", "start": 75, "end": 93, "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "./html-parser.js", "raw": "'./html-parser.js'" }, "value": "./html-parser.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 96, "end": 272, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 9, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 273, "end": 12718, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 433, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 288, "end": 12718, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 433, "column": 1 } }, "id": { "type": "Identifier", "start": 294, "end": 299, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 26 }, "identifierName": "Typed" }, "name": "Typed", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 300, "end": 12718, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 433, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 304, "end": 454, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 16, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 304, "end": 315, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 13 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 316, "end": 325, "loc": { "start": { "line": 11, "column": 14 }, "end": { "line": 11, "column": 23 }, "identifierName": "elementId" }, "name": "elementId" }, { "type": "Identifier", "start": 327, "end": 334, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 32 }, "identifierName": "options" }, "name": "options" } ], "body": { "type": "BlockStatement", "start": 336, "end": 454, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 16, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 366, "end": 409, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 47 } }, "expression": { "type": "CallExpression", "start": 366, "end": 408, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 366, "end": 382, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 20 } }, "object": { "type": "Identifier", "start": 366, "end": 377, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 15 }, "identifierName": "initializer" }, "name": "initializer", "leadingComments": null }, "property": { "type": "Identifier", "start": 378, "end": 382, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 20 }, "identifierName": "load" }, "name": "load" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ThisExpression", "start": 383, "end": 387, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 25 } } }, { "type": "Identifier", "start": 389, "end": 396, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 34 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 398, "end": 407, "loc": { "start": { "line": 13, "column": 36 }, "end": { "line": 13, "column": 45 }, "identifierName": "elementId" }, "name": "elementId" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Initialize it up", "start": 342, "end": 361, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 23 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " All systems go!", "start": 414, "end": 432, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 22 } } } ] }, { "type": "ExpressionStatement", "start": 437, "end": 450, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 17 } }, "expression": { "type": "CallExpression", "start": 437, "end": 449, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 437, "end": 447, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 14 } }, "object": { "type": "ThisExpression", "start": 437, "end": 441, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 442, "end": 447, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 14 }, "identifierName": "begin" }, "name": "begin" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " All systems go!", "start": 414, "end": 432, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 22 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 458, "end": 533, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 21, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 536, "end": 602, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 24, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 536, "end": 542, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 8 }, "identifierName": "toggle" }, "name": "toggle", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 545, "end": 602, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 24, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 551, "end": 598, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 51 } }, "expression": { "type": "ConditionalExpression", "start": 551, "end": 597, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 50 } }, "test": { "type": "MemberExpression", "start": 551, "end": 568, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 21 } }, "object": { "type": "MemberExpression", "start": 551, "end": 561, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 14 } }, "object": { "type": "ThisExpression", "start": 551, "end": 555, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, "property": { "type": "Identifier", "start": 556, "end": 561, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 562, "end": 568, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "consequent": { "type": "CallExpression", "start": 571, "end": 583, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 571, "end": 581, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 34 } }, "object": { "type": "ThisExpression", "start": 571, "end": 575, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 28 } } }, "property": { "type": "Identifier", "start": 576, "end": 581, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 34 }, "identifierName": "start" }, "name": "start" }, "computed": false }, "arguments": [] }, "alternate": { "type": "CallExpression", "start": 586, "end": 597, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 586, "end": 595, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 48 } }, "object": { "type": "ThisExpression", "start": 586, "end": 590, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 43 } } }, "property": { "type": "Identifier", "start": 591, "end": 595, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "column": 48 }, "identifierName": "stop" }, "name": "stop" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 458, "end": 533, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 21, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 606, "end": 686, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 29, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 689, "end": 880, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 36, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 689, "end": 693, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 6 }, "identifierName": "stop" }, "name": "stop", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 696, "end": 880, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 36, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 702, "end": 734, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 36 } }, "test": { "type": "MemberExpression", "start": 706, "end": 725, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 27 } }, "object": { "type": "ThisExpression", "start": 706, "end": 710, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 12 } } }, "property": { "type": "Identifier", "start": 711, "end": 725, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 27 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 727, "end": 734, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 36 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 739, "end": 769, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 34 } }, "test": { "type": "MemberExpression", "start": 743, "end": 760, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 25 } }, "object": { "type": "MemberExpression", "start": 743, "end": 753, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 18 } }, "object": { "type": "ThisExpression", "start": 743, "end": 747, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, "property": { "type": "Identifier", "start": 748, "end": 753, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 754, "end": 760, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 762, "end": 769, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 34 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 774, "end": 800, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 30 } }, "expression": { "type": "CallExpression", "start": 774, "end": 799, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 774, "end": 793, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 23 } }, "object": { "type": "ThisExpression", "start": 774, "end": 778, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 8 } } }, "property": { "type": "Identifier", "start": 779, "end": 793, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 794, "end": 798, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 28 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 805, "end": 830, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 805, "end": 829, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 805, "end": 822, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 21 } }, "object": { "type": "MemberExpression", "start": 805, "end": 815, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 14 } }, "object": { "type": "ThisExpression", "start": 805, "end": 809, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, "property": { "type": "Identifier", "start": 810, "end": 815, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 816, "end": 822, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 825, "end": 829, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 28 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 835, "end": 876, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 45 } }, "expression": { "type": "CallExpression", "start": 835, "end": 875, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 835, "end": 854, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 23 } }, "object": { "type": "MemberExpression", "start": 835, "end": 847, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 16 } }, "object": { "type": "ThisExpression", "start": 835, "end": 839, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, "property": { "type": "Identifier", "start": 840, "end": 847, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 848, "end": 854, "loc": { "start": { "line": 35, "column": 17 }, "end": { "line": 35, "column": 23 }, "identifierName": "onStop" }, "name": "onStop" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 855, "end": 868, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 37 } }, "object": { "type": "ThisExpression", "start": 855, "end": 859, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 28 } } }, "property": { "type": "Identifier", "start": 860, "end": 868, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 35, "column": 37 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 870, "end": 874, "loc": { "start": { "line": 35, "column": 39 }, "end": { "line": 35, "column": 43 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 606, "end": 686, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 29, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 884, "end": 958, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 41, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 961, "end": 1308, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 52, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 961, "end": 966, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 7 }, "identifierName": "start" }, "name": "start", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 969, "end": 1308, "loc": { "start": { "line": 42, "column": 10 }, "end": { "line": 52, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 975, "end": 1007, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 36 } }, "test": { "type": "MemberExpression", "start": 979, "end": 998, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 27 } }, "object": { "type": "ThisExpression", "start": 979, "end": 983, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 12 } } }, "property": { "type": "Identifier", "start": 984, "end": 998, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 27 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 1000, "end": 1007, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 36 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 1012, "end": 1043, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 35 } }, "test": { "type": "UnaryExpression", "start": 1016, "end": 1034, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1017, "end": 1034, "loc": { "start": { "line": 44, "column": 9 }, "end": { "line": 44, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1017, "end": 1027, "loc": { "start": { "line": 44, "column": 9 }, "end": { "line": 44, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1017, "end": 1021, "loc": { "start": { "line": 44, "column": 9 }, "end": { "line": 44, "column": 13 } } }, "property": { "type": "Identifier", "start": 1022, "end": 1027, "loc": { "start": { "line": 44, "column": 14 }, "end": { "line": 44, "column": 19 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1028, "end": 1034, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 26 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 1036, "end": 1043, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 35 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 1048, "end": 1074, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 1048, "end": 1073, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1048, "end": 1065, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 21 } }, "object": { "type": "MemberExpression", "start": 1048, "end": 1058, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1048, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } } }, "property": { "type": "Identifier", "start": 1053, "end": 1058, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1059, "end": 1065, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 21 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1068, "end": 1073, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 29 } }, "value": false } } }, { "type": "IfStatement", "start": 1079, "end": 1257, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 50, "column": 5 } }, "test": { "type": "MemberExpression", "start": 1083, "end": 1103, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1083, "end": 1093, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1083, "end": 1087, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } } }, "property": { "type": "Identifier", "start": 1088, "end": 1093, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1094, "end": 1103, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 28 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 1105, "end": 1178, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 48, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1113, "end": 1172, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 65 } }, "expression": { "type": "CallExpression", "start": 1113, "end": 1171, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1113, "end": 1127, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1113, "end": 1117, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 10 } } }, "property": { "type": "Identifier", "start": 1118, "end": 1127, "loc": { "start": { "line": 47, "column": 11 }, "end": { "line": 47, "column": 20 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1128, "end": 1148, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1128, "end": 1138, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1128, "end": 1132, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 } } }, "property": { "type": "Identifier", "start": 1133, "end": 1138, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 31 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1139, "end": 1148, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 41 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, { "type": "MemberExpression", "start": 1150, "end": 1170, "loc": { "start": { "line": 47, "column": 43 }, "end": { "line": 47, "column": 63 } }, "object": { "type": "MemberExpression", "start": 1150, "end": 1160, "loc": { "start": { "line": 47, "column": 43 }, "end": { "line": 47, "column": 53 } }, "object": { "type": "ThisExpression", "start": 1150, "end": 1154, "loc": { "start": { "line": 47, "column": 43 }, "end": { "line": 47, "column": 47 } } }, "property": { "type": "Identifier", "start": 1155, "end": 1160, "loc": { "start": { "line": 47, "column": 48 }, "end": { "line": 47, "column": 53 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1161, "end": 1170, "loc": { "start": { "line": 47, "column": 54 }, "end": { "line": 47, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1184, "end": 1257, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 50, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1192, "end": 1251, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 65 } }, "expression": { "type": "CallExpression", "start": 1192, "end": 1250, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1192, "end": 1206, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1192, "end": 1196, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 10 } } }, "property": { "type": "Identifier", "start": 1197, "end": 1206, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "column": 20 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1207, "end": 1227, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1207, "end": 1217, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1207, "end": 1211, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 25 } } }, "property": { "type": "Identifier", "start": 1212, "end": 1217, "loc": { "start": { "line": 49, "column": 26 }, "end": { "line": 49, "column": 31 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1218, "end": 1227, "loc": { "start": { "line": 49, "column": 32 }, "end": { "line": 49, "column": 41 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, { "type": "MemberExpression", "start": 1229, "end": 1249, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 63 } }, "object": { "type": "MemberExpression", "start": 1229, "end": 1239, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 53 } }, "object": { "type": "ThisExpression", "start": 1229, "end": 1233, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 47 } } }, "property": { "type": "Identifier", "start": 1234, "end": 1239, "loc": { "start": { "line": 49, "column": 48 }, "end": { "line": 49, "column": 53 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 1240, "end": 1249, "loc": { "start": { "line": 49, "column": 54 }, "end": { "line": 49, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 1262, "end": 1304, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 46 } }, "expression": { "type": "CallExpression", "start": 1262, "end": 1303, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 1262, "end": 1282, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 24 } }, "object": { "type": "MemberExpression", "start": 1262, "end": 1274, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1262, "end": 1266, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, "property": { "type": "Identifier", "start": 1267, "end": 1274, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1275, "end": 1282, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 24 }, "identifierName": "onStart" }, "name": "onStart" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1283, "end": 1296, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 38 } }, "object": { "type": "ThisExpression", "start": 1283, "end": 1287, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 29 } } }, "property": { "type": "Identifier", "start": 1288, "end": 1296, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 51, "column": 38 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 1298, "end": 1302, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 44 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 884, "end": 958, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 41, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1312, "end": 1370, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 57, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 1373, "end": 1445, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 61, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1373, "end": 1380, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 58, "column": 9 }, "identifierName": "destroy" }, "name": "destroy", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1383, "end": 1445, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 61, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1389, "end": 1407, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 22 } }, "expression": { "type": "CallExpression", "start": 1389, "end": 1406, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 1389, "end": 1399, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1389, "end": 1393, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 8 } } }, "property": { "type": "Identifier", "start": 1394, "end": 1399, "loc": { "start": { "line": 59, "column": 9 }, "end": { "line": 59, "column": 14 }, "identifierName": "reset" }, "name": "reset" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 1400, "end": 1405, "loc": { "start": { "line": 59, "column": 15 }, "end": { "line": 59, "column": 20 } }, "value": false } ] } }, { "type": "ExpressionStatement", "start": 1412, "end": 1441, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 33 } }, "expression": { "type": "CallExpression", "start": 1412, "end": 1440, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1412, "end": 1434, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1412, "end": 1424, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1412, "end": 1416, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, "property": { "type": "Identifier", "start": 1417, "end": 1424, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1425, "end": 1434, "loc": { "start": { "line": 60, "column": 17 }, "end": { "line": 60, "column": 26 }, "identifierName": "onDestroy" }, "name": "onDestroy" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1435, "end": 1439, "loc": { "start": { "line": 60, "column": 27 }, "end": { "line": 60, "column": 31 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1312, "end": 1370, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 57, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1449, "end": 1542, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 67, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 1545, "end": 1939, "loc": { "start": { "line": 68, "column": 2 }, "end": { "line": 83, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1545, "end": 1550, "loc": { "start": { "line": 68, "column": 2 }, "end": { "line": 68, "column": 7 }, "identifierName": "reset" }, "name": "reset", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 1551, "end": 1565, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 22 } }, "left": { "type": "Identifier", "start": 1551, "end": 1558, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 15 }, "identifierName": "restart" }, "name": "restart" }, "right": { "type": "BooleanLiteral", "start": 1561, "end": 1565, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 22 } }, "value": true } } ], "body": { "type": "BlockStatement", "start": 1567, "end": 1939, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 83, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1573, "end": 1601, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 32 } }, "expression": { "type": "CallExpression", "start": 1573, "end": 1600, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 31 } }, "callee": { "type": "Identifier", "start": 1573, "end": 1586, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 17 }, "identifierName": "clearInterval" }, "name": "clearInterval" }, "arguments": [ { "type": "MemberExpression", "start": 1587, "end": 1599, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1587, "end": 1591, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 22 } } }, "property": { "type": "Identifier", "start": 1592, "end": 1599, "loc": { "start": { "line": 69, "column": 23 }, "end": { "line": 69, "column": 30 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1606, "end": 1627, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1606, "end": 1626, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 1606, "end": 1622, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1606, "end": 1610, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, "property": { "type": "Identifier", "start": 1611, "end": 1622, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 20 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1623, "end": 1625, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 23 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] } }, { "type": "IfStatement", "start": 1632, "end": 1763, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 74, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1636, "end": 1673, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 45 } }, "left": { "type": "MemberExpression", "start": 1636, "end": 1647, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1636, "end": 1640, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 12 } } }, "property": { "type": "Identifier", "start": 1641, "end": 1647, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 1651, "end": 1673, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 45 } }, "object": { "type": "MemberExpression", "start": 1651, "end": 1662, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1651, "end": 1655, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 27 } } }, "property": { "type": "Identifier", "start": 1656, "end": 1662, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 34 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 1663, "end": 1673, "loc": { "start": { "line": 71, "column": 35 }, "end": { "line": 71, "column": 45 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 1675, "end": 1763, "loc": { "start": { "line": 71, "column": 47 }, "end": { "line": 74, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1683, "end": 1731, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 54 } }, "expression": { "type": "CallExpression", "start": 1683, "end": 1730, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 1683, "end": 1717, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 40 } }, "object": { "type": "MemberExpression", "start": 1683, "end": 1705, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1683, "end": 1694, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1683, "end": 1687, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 10 } } }, "property": { "type": "Identifier", "start": 1688, "end": 1694, "loc": { "start": { "line": 72, "column": 11 }, "end": { "line": 72, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 1695, "end": 1705, "loc": { "start": { "line": 72, "column": 18 }, "end": { "line": 72, "column": 28 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "property": { "type": "Identifier", "start": 1706, "end": 1717, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 40 }, "identifierName": "removeChild" }, "name": "removeChild" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1718, "end": 1729, "loc": { "start": { "line": 72, "column": 41 }, "end": { "line": 72, "column": 52 } }, "object": { "type": "ThisExpression", "start": 1718, "end": 1722, "loc": { "start": { "line": 72, "column": 41 }, "end": { "line": 72, "column": 45 } } }, "property": { "type": "Identifier", "start": 1723, "end": 1729, "loc": { "start": { "line": 72, "column": 46 }, "end": { "line": 72, "column": 52 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1738, "end": 1757, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1738, "end": 1756, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1738, "end": 1749, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1738, "end": 1742, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 10 } } }, "property": { "type": "Identifier", "start": 1743, "end": 1749, "loc": { "start": { "line": 73, "column": 11 }, "end": { "line": 73, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1752, "end": 1756, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1768, "end": 1784, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 1768, "end": 1783, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1768, "end": 1779, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 15 } }, "object": { "type": "ThisExpression", "start": 1768, "end": 1772, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 1773, "end": 1779, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 15 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1782, "end": 1783, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 19 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1789, "end": 1807, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 1789, "end": 1806, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1789, "end": 1802, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1789, "end": 1793, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 1794, "end": 1802, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1805, "end": 1806, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1812, "end": 1829, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 1812, "end": 1828, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1812, "end": 1824, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1812, "end": 1816, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 1817, "end": 1824, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 16 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1827, "end": 1828, "loc": { "start": { "line": 77, "column": 19 }, "end": { "line": 77, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "IfStatement", "start": 1834, "end": 1935, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 82, "column": 5 } }, "test": { "type": "Identifier", "start": 1838, "end": 1845, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 15 }, "identifierName": "restart" }, "name": "restart" }, "consequent": { "type": "BlockStatement", "start": 1847, "end": 1935, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 82, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1855, "end": 1875, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 26 } }, "expression": { "type": "CallExpression", "start": 1855, "end": 1874, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 1855, "end": 1872, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1855, "end": 1859, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 10 } } }, "property": { "type": "Identifier", "start": 1860, "end": 1872, "loc": { "start": { "line": 79, "column": 11 }, "end": { "line": 79, "column": 23 }, "identifierName": "insertCursor" }, "name": "insertCursor" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 1882, "end": 1909, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 33 } }, "expression": { "type": "CallExpression", "start": 1882, "end": 1908, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1882, "end": 1902, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 26 } }, "object": { "type": "MemberExpression", "start": 1882, "end": 1894, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1882, "end": 1886, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 10 } } }, "property": { "type": "Identifier", "start": 1887, "end": 1894, "loc": { "start": { "line": 80, "column": 11 }, "end": { "line": 80, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 1895, "end": 1902, "loc": { "start": { "line": 80, "column": 19 }, "end": { "line": 80, "column": 26 }, "identifierName": "onReset" }, "name": "onReset" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1903, "end": 1907, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 31 } } } ] } }, { "type": "ExpressionStatement", "start": 1916, "end": 1929, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 19 } }, "expression": { "type": "CallExpression", "start": 1916, "end": 1928, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 1916, "end": 1926, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 16 } }, "object": { "type": "ThisExpression", "start": 1916, "end": 1920, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, "property": { "type": "Identifier", "start": 1921, "end": 1926, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 16 }, "identifierName": "begin" }, "name": "begin" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1449, "end": 1542, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 67, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 1943, "end": 1999, "loc": { "start": { "line": 85, "column": 2 }, "end": { "line": 88, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 2002, "end": 2644, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 104, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2002, "end": 2007, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 7 }, "identifierName": "begin" }, "name": "begin", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2010, "end": 2644, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 104, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 2016, "end": 2043, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 31 } }, "expression": { "type": "CallExpression", "start": 2016, "end": 2042, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 2016, "end": 2036, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 24 } }, "object": { "type": "MemberExpression", "start": 2016, "end": 2028, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 16 } }, "object": { "type": "ThisExpression", "start": 2016, "end": 2020, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 2021, "end": 2028, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 2029, "end": 2036, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 24 }, "identifierName": "onBegin" }, "name": "onBegin" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2037, "end": 2041, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 29 } } } ] } }, { "type": "ExpressionStatement", "start": 2048, "end": 2076, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2048, "end": 2075, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2048, "end": 2067, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2048, "end": 2052, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 2053, "end": 2067, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2070, "end": 2075, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "column": 31 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 2081, "end": 2115, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 38 } }, "expression": { "type": "CallExpression", "start": 2081, "end": 2114, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 2081, "end": 2108, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2081, "end": 2085, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 2086, "end": 2108, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 31 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2109, "end": 2113, "loc": { "start": { "line": 92, "column": 32 }, "end": { "line": 92, "column": 36 } } } ] } }, { "type": "ExpressionStatement", "start": 2120, "end": 2140, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 24 } }, "expression": { "type": "CallExpression", "start": 2120, "end": 2139, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 2120, "end": 2137, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2120, "end": 2124, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 2125, "end": 2137, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 21 }, "identifierName": "insertCursor" }, "name": "insertCursor" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 2145, "end": 2199, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 58 } }, "test": { "type": "MemberExpression", "start": 2149, "end": 2174, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 33 } }, "object": { "type": "ThisExpression", "start": 2149, "end": 2153, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 12 } } }, "property": { "type": "Identifier", "start": 2154, "end": 2174, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 94, "column": 33 }, "identifierName": "bindInputFocusEvents" }, "name": "bindInputFocusEvents" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 2176, "end": 2199, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 58 } }, "expression": { "type": "CallExpression", "start": 2176, "end": 2198, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2176, "end": 2196, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2176, "end": 2180, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 39 } } }, "property": { "type": "Identifier", "start": 2181, "end": 2196, "loc": { "start": { "line": 94, "column": 40 }, "end": { "line": 94, "column": 55 }, "identifierName": "bindFocusEvents" }, "name": "bindFocusEvents" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 2204, "end": 2640, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 103, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 2204, "end": 2639, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 103, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2204, "end": 2216, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 16 } }, "object": { "type": "ThisExpression", "start": 2204, "end": 2208, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 8 } } }, "property": { "type": "Identifier", "start": 2209, "end": 2216, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false }, "right": { "type": "CallExpression", "start": 2219, "end": 2639, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 103, "column": 23 } }, "callee": { "type": "Identifier", "start": 2219, "end": 2229, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2230, "end": 2621, "loc": { "start": { "line": 95, "column": 30 }, "end": { "line": 103, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2236, "end": 2621, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 103, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2406, "end": 2615, "loc": { "start": { "line": 98, "column": 6 }, "end": { "line": 102, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 2410, "end": 2427, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 98, "column": 27 } }, "left": { "type": "MemberExpression", "start": 2410, "end": 2421, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 98, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2410, "end": 2414, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 98, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2415, "end": 2421, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 21 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 2426, "end": 2427, "loc": { "start": { "line": 98, "column": 26 }, "end": { "line": 98, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2429, "end": 2519, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 100, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2439, "end": 2511, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 80 } }, "expression": { "type": "CallExpression", "start": 2439, "end": 2510, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 2439, "end": 2453, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2439, "end": 2443, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } } }, "property": { "type": "Identifier", "start": 2444, "end": 2453, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 22 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2454, "end": 2496, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2454, "end": 2466, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 35 } }, "object": { "type": "ThisExpression", "start": 2454, "end": 2458, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 27 } } }, "property": { "type": "Identifier", "start": 2459, "end": 2466, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2467, "end": 2495, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2467, "end": 2480, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 49 } }, "object": { "type": "ThisExpression", "start": 2467, "end": 2471, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 40 } } }, "property": { "type": "Identifier", "start": 2472, "end": 2480, "loc": { "start": { "line": 99, "column": 41 }, "end": { "line": 99, "column": 49 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2481, "end": 2494, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 63 } }, "object": { "type": "ThisExpression", "start": 2481, "end": 2485, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 54 } } }, "property": { "type": "Identifier", "start": 2486, "end": 2494, "loc": { "start": { "line": 99, "column": 55 }, "end": { "line": 99, "column": 63 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "MemberExpression", "start": 2498, "end": 2509, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 78 } }, "object": { "type": "ThisExpression", "start": 2498, "end": 2502, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 71 } } }, "property": { "type": "Identifier", "start": 2503, "end": 2509, "loc": { "start": { "line": 99, "column": 72 }, "end": { "line": 99, "column": 78 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2525, "end": 2615, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 102, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2535, "end": 2607, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 80 } }, "expression": { "type": "CallExpression", "start": 2535, "end": 2606, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 2535, "end": 2549, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2535, "end": 2539, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, "property": { "type": "Identifier", "start": 2540, "end": 2549, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 22 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2550, "end": 2592, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2550, "end": 2562, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 35 } }, "object": { "type": "ThisExpression", "start": 2550, "end": 2554, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 27 } } }, "property": { "type": "Identifier", "start": 2555, "end": 2562, "loc": { "start": { "line": 101, "column": 28 }, "end": { "line": 101, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2563, "end": 2591, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2563, "end": 2576, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 49 } }, "object": { "type": "ThisExpression", "start": 2563, "end": 2567, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 40 } } }, "property": { "type": "Identifier", "start": 2568, "end": 2576, "loc": { "start": { "line": 101, "column": 41 }, "end": { "line": 101, "column": 49 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 2577, "end": 2590, "loc": { "start": { "line": 101, "column": 50 }, "end": { "line": 101, "column": 63 } }, "object": { "type": "ThisExpression", "start": 2577, "end": 2581, "loc": { "start": { "line": 101, "column": 50 }, "end": { "line": 101, "column": 54 } } }, "property": { "type": "Identifier", "start": 2582, "end": 2590, "loc": { "start": { "line": 101, "column": 55 }, "end": { "line": 101, "column": 63 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "MemberExpression", "start": 2594, "end": 2605, "loc": { "start": { "line": 101, "column": 67 }, "end": { "line": 101, "column": 78 } }, "object": { "type": "ThisExpression", "start": 2594, "end": 2598, "loc": { "start": { "line": 101, "column": 67 }, "end": { "line": 101, "column": 71 } } }, "property": { "type": "Identifier", "start": 2599, "end": 2605, "loc": { "start": { "line": 101, "column": 72 }, "end": { "line": 101, "column": 78 }, "identifierName": "strPos" }, "name": "strPos" }, "computed": false } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the strPos is 0, we're starting from the beginning of a string", "start": 2244, "end": 2312, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 74 } } }, { "type": "CommentLine", "value": " else, we're starting with a previous string that needs to be backspaced first", "start": 2319, "end": 2399, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 86 } } } ] } ], "directives": [] } }, { "type": "MemberExpression", "start": 2623, "end": 2638, "loc": { "start": { "line": 103, "column": 7 }, "end": { "line": 103, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2623, "end": 2627, "loc": { "start": { "line": 103, "column": 7 }, "end": { "line": 103, "column": 11 } } }, "property": { "type": "Identifier", "start": 2628, "end": 2638, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 22 }, "identifierName": "startDelay" }, "name": "startDelay" }, "computed": false } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 1943, "end": 1999, "loc": { "start": { "line": 85, "column": 2 }, "end": { "line": 88, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 2648, "end": 2848, "loc": { "start": { "line": 106, "column": 2 }, "end": { "line": 111, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 2851, "end": 5752, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 190, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2851, "end": 2860, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 11 }, "identifierName": "typewrite" }, "name": "typewrite", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2861, "end": 2870, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 2872, "end": 2881, "loc": { "start": { "line": 112, "column": 23 }, "end": { "line": 112, "column": 32 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 2883, "end": 5752, "loc": { "start": { "line": 112, "column": 34 }, "end": { "line": 190, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2889, "end": 3086, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 2893, "end": 2954, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 69 } }, "left": { "type": "MemberExpression", "start": 2893, "end": 2905, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 20 } }, "object": { "type": "ThisExpression", "start": 2893, "end": 2897, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 12 } } }, "property": { "type": "Identifier", "start": 2898, "end": 2905, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 20 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "operator": "&&", "right": { "type": "CallExpression", "start": 2909, "end": 2954, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 2909, "end": 2935, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 50 } }, "object": { "type": "MemberExpression", "start": 2909, "end": 2926, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 41 } }, "object": { "type": "MemberExpression", "start": 2909, "end": 2916, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2909, "end": 2913, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 28 } } }, "property": { "type": "Identifier", "start": 2914, "end": 2916, "loc": { "start": { "line": 113, "column": 29 }, "end": { "line": 113, "column": 31 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 2917, "end": 2926, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 41 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 2927, "end": 2935, "loc": { "start": { "line": 113, "column": 42 }, "end": { "line": 113, "column": 50 }, "identifierName": "contains" }, "name": "contains" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2936, "end": 2953, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 113, "column": 68 } }, "object": { "type": "ThisExpression", "start": 2936, "end": 2940, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 113, "column": 55 } } }, "property": { "type": "Identifier", "start": 2941, "end": 2953, "loc": { "start": { "line": 113, "column": 56 }, "end": { "line": 113, "column": 68 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, "consequent": { "type": "BlockStatement", "start": 2956, "end": 3086, "loc": { "start": { "line": 113, "column": 71 }, "end": { "line": 116, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2964, "end": 3008, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 50 } }, "expression": { "type": "CallExpression", "start": 2964, "end": 3007, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 2964, "end": 2988, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 30 } }, "object": { "type": "MemberExpression", "start": 2964, "end": 2981, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 23 } }, "object": { "type": "MemberExpression", "start": 2964, "end": 2971, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 13 } }, "object": { "type": "ThisExpression", "start": 2964, "end": 2968, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 10 } } }, "property": { "type": "Identifier", "start": 2969, "end": 2971, "loc": { "start": { "line": 114, "column": 11 }, "end": { "line": 114, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 2972, "end": 2981, "loc": { "start": { "line": 114, "column": 14 }, "end": { "line": 114, "column": 23 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 2982, "end": 2988, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 30 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2989, "end": 3006, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 48 } }, "object": { "type": "ThisExpression", "start": 2989, "end": 2993, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 35 } } }, "property": { "type": "Identifier", "start": 2994, "end": 3006, "loc": { "start": { "line": 114, "column": 36 }, "end": { "line": 114, "column": 48 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, { "type": "IfStatement", "start": 3015, "end": 3080, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 71 } }, "test": { "type": "MemberExpression", "start": 3019, "end": 3030, "loc": { "start": { "line": 115, "column": 10 }, "end": { "line": 115, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3019, "end": 3023, "loc": { "start": { "line": 115, "column": 10 }, "end": { "line": 115, "column": 14 } } }, "property": { "type": "Identifier", "start": 3024, "end": 3030, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 21 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 3032, "end": 3080, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 71 } }, "expression": { "type": "CallExpression", "start": 3032, "end": 3079, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3032, "end": 3060, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3032, "end": 3053, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 44 } }, "object": { "type": "MemberExpression", "start": 3032, "end": 3043, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3032, "end": 3036, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 27 } } }, "property": { "type": "Identifier", "start": 3037, "end": 3043, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 34 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 3044, "end": 3053, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 44 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3054, "end": 3060, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 51 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3061, "end": 3078, "loc": { "start": { "line": 115, "column": 52 }, "end": { "line": 115, "column": 69 } }, "object": { "type": "ThisExpression", "start": 3061, "end": 3065, "loc": { "start": { "line": 115, "column": 52 }, "end": { "line": 115, "column": 56 } } }, "property": { "type": "Identifier", "start": 3066, "end": 3078, "loc": { "start": { "line": 115, "column": 57 }, "end": { "line": 115, "column": 69 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ] } }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3092, "end": 3140, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3098, "end": 3139, "loc": { "start": { "line": 118, "column": 10 }, "end": { "line": 118, "column": 51 } }, "id": { "type": "Identifier", "start": 3098, "end": 3106, "loc": { "start": { "line": 118, "column": 10 }, "end": { "line": 118, "column": 18 }, "identifierName": "humanize" }, "name": "humanize" }, "init": { "type": "CallExpression", "start": 3109, "end": 3139, "loc": { "start": { "line": 118, "column": 21 }, "end": { "line": 118, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 3109, "end": 3123, "loc": { "start": { "line": 118, "column": 21 }, "end": { "line": 118, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3109, "end": 3113, "loc": { "start": { "line": 118, "column": 21 }, "end": { "line": 118, "column": 25 } } }, "property": { "type": "Identifier", "start": 3114, "end": 3123, "loc": { "start": { "line": 118, "column": 26 }, "end": { "line": 118, "column": 35 }, "identifierName": "humanizer" }, "name": "humanizer" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3124, "end": 3138, "loc": { "start": { "line": 118, "column": 36 }, "end": { "line": 118, "column": 50 } }, "object": { "type": "ThisExpression", "start": 3124, "end": 3128, "loc": { "start": { "line": 118, "column": 36 }, "end": { "line": 118, "column": 40 } } }, "property": { "type": "Identifier", "start": 3129, "end": 3138, "loc": { "start": { "line": 118, "column": 41 }, "end": { "line": 118, "column": 50 }, "identifierName": "typeSpeed" }, "name": "typeSpeed" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3145, "end": 3162, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3149, "end": 3161, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 20 } }, "id": { "type": "Identifier", "start": 3149, "end": 3157, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 16 }, "identifierName": "numChars" }, "name": "numChars" }, "init": { "type": "NumericLiteral", "start": 3160, "end": 3161, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 20 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let" }, { "type": "IfStatement", "start": 3168, "end": 3276, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 124, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3172, "end": 3198, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 34 } }, "left": { "type": "MemberExpression", "start": 3172, "end": 3189, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 25 } }, "object": { "type": "MemberExpression", "start": 3172, "end": 3182, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 18 } }, "object": { "type": "ThisExpression", "start": 3172, "end": 3176, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 12 } } }, "property": { "type": "Identifier", "start": 3177, "end": 3182, "loc": { "start": { "line": 121, "column": 13 }, "end": { "line": 121, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 3183, "end": 3189, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 3194, "end": 3198, "loc": { "start": { "line": 121, "column": 30 }, "end": { "line": 121, "column": 34 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 3200, "end": 3276, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 124, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3208, "end": 3256, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 54 } }, "expression": { "type": "CallExpression", "start": 3208, "end": 3255, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3208, "end": 3227, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3208, "end": 3212, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 10 } } }, "property": { "type": "Identifier", "start": 3213, "end": 3227, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 25 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3228, "end": 3237, "loc": { "start": { "line": 122, "column": 26 }, "end": { "line": 122, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3239, "end": 3248, "loc": { "start": { "line": 122, "column": 37 }, "end": { "line": 122, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "BooleanLiteral", "start": 3250, "end": 3254, "loc": { "start": { "line": 122, "column": 48 }, "end": { "line": 122, "column": 52 } }, "value": true } ] } }, { "type": "ReturnStatement", "start": 3263, "end": 3270, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " contain typing function in a timeout humanize'd delay", "start": 3282, "end": 3338, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 60 } } } ] }, { "type": "ExpressionStatement", "start": 3343, "end": 5748, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 189, "column": 17 } }, "expression": { "type": "AssignmentExpression", "start": 3343, "end": 5747, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 189, "column": 16 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3343, "end": 3355, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3343, "end": 3347, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3348, "end": 3355, "loc": { "start": { "line": 127, "column": 9 }, "end": { "line": 127, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 3358, "end": 5747, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 189, "column": 16 } }, "callee": { "type": "Identifier", "start": 3358, "end": 3368, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3369, "end": 5736, "loc": { "start": { "line": 127, "column": 30 }, "end": { "line": 189, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3375, "end": 5736, "loc": { "start": { "line": 127, "column": 36 }, "end": { "line": 189, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3417, "end": 3482, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 3417, "end": 3481, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 70 } }, "operator": "=", "left": { "type": "Identifier", "start": 3417, "end": 3426, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "right": { "type": "CallExpression", "start": 3429, "end": 3481, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3429, "end": 3453, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 42 } }, "object": { "type": "Identifier", "start": 3429, "end": 3439, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 28 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "property": { "type": "Identifier", "start": 3440, "end": 3453, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 42 }, "identifierName": "typeHtmlChars" }, "name": "typeHtmlChars" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3454, "end": 3463, "loc": { "start": { "line": 129, "column": 43 }, "end": { "line": 129, "column": 52 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 3465, "end": 3474, "loc": { "start": { "line": 129, "column": 54 }, "end": { "line": 129, "column": 63 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "ThisExpression", "start": 3476, "end": 3480, "loc": { "start": { "line": 129, "column": 65 }, "end": { "line": 129, "column": 69 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " skip over any HTML chars", "start": 3383, "end": 3410, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 33 } } } ] }, { "type": "VariableDeclaration", "start": 3490, "end": 3508, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3494, "end": 3507, "loc": { "start": { "line": 131, "column": 10 }, "end": { "line": 131, "column": 23 } }, "id": { "type": "Identifier", "start": 3494, "end": 3503, "loc": { "start": { "line": 131, "column": 10 }, "end": { "line": 131, "column": 19 }, "identifierName": "pauseTime" }, "name": "pauseTime" }, "init": { "type": "NumericLiteral", "start": 3506, "end": 3507, "loc": { "start": { "line": 131, "column": 22 }, "end": { "line": 131, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 3515, "end": 3559, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3519, "end": 3558, "loc": { "start": { "line": 132, "column": 10 }, "end": { "line": 132, "column": 49 } }, "id": { "type": "Identifier", "start": 3519, "end": 3525, "loc": { "start": { "line": 132, "column": 10 }, "end": { "line": 132, "column": 16 }, "identifierName": "substr" }, "name": "substr" }, "init": { "type": "CallExpression", "start": 3528, "end": 3558, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3528, "end": 3547, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 38 } }, "object": { "type": "Identifier", "start": 3528, "end": 3537, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 28 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 3538, "end": 3547, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 38 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3548, "end": 3557, "loc": { "start": { "line": 132, "column": 39 }, "end": { "line": 132, "column": 48 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 3566, "end": 3619, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 59 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 3626, "end": 3701, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 81 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 3708, "end": 3743, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 41 } } } ] }, { "type": "IfStatement", "start": 3750, "end": 4333, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 150, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 3754, "end": 3778, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 34 } }, "left": { "type": "CallExpression", "start": 3754, "end": 3770, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 3754, "end": 3767, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 23 } }, "object": { "type": "Identifier", "start": 3754, "end": 3760, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 16 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "property": { "type": "Identifier", "start": 3761, "end": 3767, "loc": { "start": { "line": 136, "column": 17 }, "end": { "line": 136, "column": 23 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "NumericLiteral", "start": 3768, "end": 3769, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 3775, "end": 3778, "loc": { "start": { "line": 136, "column": 31 }, "end": { "line": 136, "column": 34 } }, "extra": { "rawValue": "^", "raw": "'^'" }, "value": "^" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 3780, "end": 4333, "loc": { "start": { "line": 136, "column": 36 }, "end": { "line": 150, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 3790, "end": 4325, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 149, "column": 9 } }, "test": { "type": "CallExpression", "start": 3794, "end": 3815, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 3794, "end": 3807, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 25 } }, "object": { "type": "RegExpLiteral", "start": 3794, "end": 3802, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 20 } }, "extra": { "raw": "/^\\^\\d+/" }, "pattern": "^\\^\\d+", "flags": "" }, "property": { "type": "Identifier", "start": 3803, "end": 3807, "loc": { "start": { "line": 137, "column": 21 }, "end": { "line": 137, "column": 25 }, "identifierName": "test" }, "name": "test" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3808, "end": 3814, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 32 }, "identifierName": "substr" }, "name": "substr" } ] }, "consequent": { "type": "BlockStatement", "start": 3817, "end": 4325, "loc": { "start": { "line": 137, "column": 35 }, "end": { "line": 149, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3829, "end": 3842, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 138, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3833, "end": 3841, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 22 } }, "id": { "type": "Identifier", "start": 3833, "end": 3837, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 18 }, "identifierName": "skip" }, "name": "skip" }, "init": { "type": "NumericLiteral", "start": 3840, "end": 3841, "loc": { "start": { "line": 138, "column": 21 }, "end": { "line": 138, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " skip at least 1", "start": 3843, "end": 3861, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 3872, "end": 3903, "loc": { "start": { "line": 139, "column": 10 }, "end": { "line": 139, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 3872, "end": 3902, "loc": { "start": { "line": 139, "column": 10 }, "end": { "line": 139, "column": 40 } }, "operator": "=", "left": { "type": "Identifier", "start": 3872, "end": 3878, "loc": { "start": { "line": 139, "column": 10 }, "end": { "line": 139, "column": 16 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3881, "end": 3902, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 40 } }, "object": { "type": "CallExpression", "start": 3881, "end": 3899, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 3881, "end": 3891, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 29 } }, "object": { "type": "RegExpLiteral", "start": 3881, "end": 3886, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 24 } }, "extra": { "raw": "/\\d+/" }, "pattern": "\\d+", "flags": "" }, "property": { "type": "Identifier", "start": 3887, "end": 3891, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 29 }, "identifierName": "exec" }, "name": "exec" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3892, "end": 3898, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 36 }, "identifierName": "substr" }, "name": "substr" } ] }, "property": { "type": "NumericLiteral", "start": 3900, "end": 3901, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 39 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " skip at least 1", "start": 3843, "end": 3861, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 3914, "end": 3936, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3914, "end": 3935, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 31 } }, "operator": "+=", "left": { "type": "Identifier", "start": 3914, "end": 3918, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 14 }, "identifierName": "skip" }, "name": "skip" }, "right": { "type": "MemberExpression", "start": 3922, "end": 3935, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 31 } }, "object": { "type": "Identifier", "start": 3922, "end": 3928, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 24 }, "identifierName": "substr" }, "name": "substr" }, "property": { "type": "Identifier", "start": 3929, "end": 3935, "loc": { "start": { "line": 140, "column": 25 }, "end": { "line": 140, "column": 31 }, "identifierName": "length" }, "name": "length" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 3947, "end": 3976, "loc": { "start": { "line": 141, "column": 10 }, "end": { "line": 141, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 3947, "end": 3975, "loc": { "start": { "line": 141, "column": 10 }, "end": { "line": 141, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", "start": 3947, "end": 3956, "loc": { "start": { "line": 141, "column": 10 }, "end": { "line": 141, "column": 19 }, "identifierName": "pauseTime" }, "name": "pauseTime" }, "right": { "type": "CallExpression", "start": 3959, "end": 3975, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 38 } }, "callee": { "type": "Identifier", "start": 3959, "end": 3967, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 30 }, "identifierName": "parseInt" }, "name": "parseInt" }, "arguments": [ { "type": "Identifier", "start": 3968, "end": 3974, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 37 }, "identifierName": "substr" }, "name": "substr" } ] } } }, { "type": "ExpressionStatement", "start": 3987, "end": 4014, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 3987, "end": 4013, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3987, "end": 4006, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 29 } }, "object": { "type": "ThisExpression", "start": 3987, "end": 3991, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 14 } } }, "property": { "type": "Identifier", "start": 3992, "end": 4006, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 29 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 4009, "end": 4013, "loc": { "start": { "line": 142, "column": 32 }, "end": { "line": 142, "column": 36 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 4025, "end": 4074, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 59 } }, "expression": { "type": "CallExpression", "start": 4025, "end": 4073, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 4025, "end": 4052, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4025, "end": 4037, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 22 } }, "object": { "type": "ThisExpression", "start": 4025, "end": 4029, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 14 } } }, "property": { "type": "Identifier", "start": 4030, "end": 4037, "loc": { "start": { "line": 143, "column": 15 }, "end": { "line": 143, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4038, "end": 4052, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 37 }, "identifierName": "onTypingPaused" }, "name": "onTypingPaused" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4053, "end": 4066, "loc": { "start": { "line": 143, "column": 38 }, "end": { "line": 143, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4053, "end": 4057, "loc": { "start": { "line": 143, "column": 38 }, "end": { "line": 143, "column": 42 } } }, "property": { "type": "Identifier", "start": 4058, "end": 4066, "loc": { "start": { "line": 143, "column": 43 }, "end": { "line": 143, "column": 51 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 4068, "end": 4072, "loc": { "start": { "line": 143, "column": 53 }, "end": { "line": 143, "column": 57 } } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4085, "end": 4157, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 82 } } } ] }, { "type": "ExpressionStatement", "start": 4168, "end": 4278, "loc": { "start": { "line": 145, "column": 10 }, "end": { "line": 147, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 4168, "end": 4277, "loc": { "start": { "line": 145, "column": 10 }, "end": { "line": 147, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", "start": 4168, "end": 4177, "loc": { "start": { "line": 145, "column": 10 }, "end": { "line": 145, "column": 19 }, "identifierName": "curString" }, "name": "curString", "leadingComments": null }, "right": { "type": "BinaryExpression", "start": 4192, "end": 4277, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 147, "column": 49 } }, "left": { "type": "CallExpression", "start": 4192, "end": 4225, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4192, "end": 4211, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 31 } }, "object": { "type": "Identifier", "start": 4192, "end": 4201, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4202, "end": 4211, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4212, "end": 4213, "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 4215, "end": 4224, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 44 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 4240, "end": 4277, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 4240, "end": 4259, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 31 } }, "object": { "type": "Identifier", "start": 4240, "end": 4249, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4250, "end": 4259, "loc": { "start": { "line": 147, "column": 22 }, "end": { "line": 147, "column": 31 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 4260, "end": 4276, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 48 } }, "left": { "type": "Identifier", "start": 4260, "end": 4269, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 41 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 4272, "end": 4276, "loc": { "start": { "line": 147, "column": 44 }, "end": { "line": 147, "column": 48 }, "identifierName": "skip" }, "name": "skip" } } ] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4085, "end": 4157, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 82 } } } ] }, { "type": "ExpressionStatement", "start": 4289, "end": 4315, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 36 } }, "expression": { "type": "CallExpression", "start": 4289, "end": 4314, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 4289, "end": 4308, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4289, "end": 4293, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 14 } } }, "property": { "type": "Identifier", "start": 4294, "end": 4308, "loc": { "start": { "line": 148, "column": 15 }, "end": { "line": 148, "column": 29 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 4309, "end": 4313, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 34 } }, "value": true } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 3566, "end": 3619, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 59 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 3626, "end": 3701, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 81 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 3708, "end": 3743, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 4341, "end": 4382, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 47 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 4389, "end": 4429, "loc": { "start": { "line": 153, "column": 6 }, "end": { "line": 153, "column": 46 } } } ] }, { "type": "IfStatement", "start": 4436, "end": 5098, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 168, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 4440, "end": 4464, "loc": { "start": { "line": 154, "column": 10 }, "end": { "line": 154, "column": 34 } }, "left": { "type": "CallExpression", "start": 4440, "end": 4456, "loc": { "start": { "line": 154, "column": 10 }, "end": { "line": 154, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 4440, "end": 4453, "loc": { "start": { "line": 154, "column": 10 }, "end": { "line": 154, "column": 23 } }, "object": { "type": "Identifier", "start": 4440, "end": 4446, "loc": { "start": { "line": 154, "column": 10 }, "end": { "line": 154, "column": 16 }, "identifierName": "substr" }, "name": "substr", "leadingComments": null }, "property": { "type": "Identifier", "start": 4447, "end": 4453, "loc": { "start": { "line": 154, "column": 17 }, "end": { "line": 154, "column": 23 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "NumericLiteral", "start": 4454, "end": 4455, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 4461, "end": 4464, "loc": { "start": { "line": 154, "column": 31 }, "end": { "line": 154, "column": 34 } }, "extra": { "rawValue": "`", "raw": "'`'" }, "value": "`" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 4466, "end": 5098, "loc": { "start": { "line": 154, "column": 36 }, "end": { "line": 168, "column": 7 } }, "body": [ { "type": "WhileStatement", "start": 4476, "end": 4639, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 158, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 4483, "end": 4542, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 74 } }, "left": { "type": "CallExpression", "start": 4483, "end": 4534, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4483, "end": 4531, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 63 } }, "object": { "type": "CallExpression", "start": 4483, "end": 4524, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4483, "end": 4502, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 34 } }, "object": { "type": "Identifier", "start": 4483, "end": 4492, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 24 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4493, "end": 4502, "loc": { "start": { "line": 155, "column": 25 }, "end": { "line": 155, "column": 34 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 4503, "end": 4523, "loc": { "start": { "line": 155, "column": 35 }, "end": { "line": 155, "column": 55 } }, "left": { "type": "Identifier", "start": 4503, "end": 4512, "loc": { "start": { "line": 155, "column": 35 }, "end": { "line": 155, "column": 44 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 4515, "end": 4523, "loc": { "start": { "line": 155, "column": 47 }, "end": { "line": 155, "column": 55 }, "identifierName": "numChars" }, "name": "numChars" } } ] }, "property": { "type": "Identifier", "start": 4525, "end": 4531, "loc": { "start": { "line": 155, "column": 57 }, "end": { "line": 155, "column": 63 }, "identifierName": "charAt" }, "name": "charAt" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4532, "end": 4533, "loc": { "start": { "line": 155, "column": 64 }, "end": { "line": 155, "column": 65 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "operator": "!==", "right": { "type": "StringLiteral", "start": 4539, "end": 4542, "loc": { "start": { "line": 155, "column": 71 }, "end": { "line": 155, "column": 74 } }, "extra": { "rawValue": "`", "raw": "'`'" }, "value": "`" } }, "body": { "type": "BlockStatement", "start": 4544, "end": 4639, "loc": { "start": { "line": 155, "column": 76 }, "end": { "line": 158, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4556, "end": 4567, "loc": { "start": { "line": 156, "column": 10 }, "end": { "line": 156, "column": 21 } }, "expression": { "type": "UpdateExpression", "start": 4556, "end": 4566, "loc": { "start": { "line": 156, "column": 10 }, "end": { "line": 156, "column": 20 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 4556, "end": 4564, "loc": { "start": { "line": 156, "column": 10 }, "end": { "line": 156, "column": 18 }, "identifierName": "numChars" }, "name": "numChars" } } }, { "type": "IfStatement", "start": 4578, "end": 4629, "loc": { "start": { "line": 157, "column": 10 }, "end": { "line": 157, "column": 61 } }, "test": { "type": "BinaryExpression", "start": 4582, "end": 4621, "loc": { "start": { "line": 157, "column": 14 }, "end": { "line": 157, "column": 53 } }, "left": { "type": "BinaryExpression", "start": 4582, "end": 4602, "loc": { "start": { "line": 157, "column": 14 }, "end": { "line": 157, "column": 34 } }, "left": { "type": "Identifier", "start": 4582, "end": 4591, "loc": { "start": { "line": 157, "column": 14 }, "end": { "line": 157, "column": 23 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 4594, "end": 4602, "loc": { "start": { "line": 157, "column": 26 }, "end": { "line": 157, "column": 34 }, "identifierName": "numChars" }, "name": "numChars" } }, "operator": ">", "right": { "type": "MemberExpression", "start": 4605, "end": 4621, "loc": { "start": { "line": 157, "column": 37 }, "end": { "line": 157, "column": 53 } }, "object": { "type": "Identifier", "start": 4605, "end": 4614, "loc": { "start": { "line": 157, "column": 37 }, "end": { "line": 157, "column": 46 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4615, "end": 4621, "loc": { "start": { "line": 157, "column": 47 }, "end": { "line": 157, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BreakStatement", "start": 4623, "end": 4629, "loc": { "start": { "line": 157, "column": 55 }, "end": { "line": 157, "column": 61 } }, "label": null }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 4648, "end": 4719, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 79 } } } ] }, { "type": "VariableDeclaration", "start": 4728, "end": 4787, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4734, "end": 4786, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 66 } }, "id": { "type": "Identifier", "start": 4734, "end": 4750, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 30 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip", "leadingComments": null }, "init": { "type": "CallExpression", "start": 4753, "end": 4786, "loc": { "start": { "line": 160, "column": 33 }, "end": { "line": 160, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4753, "end": 4772, "loc": { "start": { "line": 160, "column": 33 }, "end": { "line": 160, "column": 52 } }, "object": { "type": "Identifier", "start": 4753, "end": 4762, "loc": { "start": { "line": 160, "column": 33 }, "end": { "line": 160, "column": 42 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4763, "end": 4772, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4773, "end": 4774, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 4776, "end": 4785, "loc": { "start": { "line": 160, "column": 56 }, "end": { "line": 160, "column": 65 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 4648, "end": 4719, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 79 } } } ] }, { "type": "VariableDeclaration", "start": 4796, "end": 4919, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 164, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4802, "end": 4918, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 164, "column": 9 } }, "id": { "type": "Identifier", "start": 4802, "end": 4815, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 27 }, "identifierName": "stringSkipped" }, "name": "stringSkipped" }, "init": { "type": "CallExpression", "start": 4818, "end": 4918, "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 164, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 4818, "end": 4837, "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 49 } }, "object": { "type": "Identifier", "start": 4818, "end": 4827, "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 39 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4828, "end": 4837, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 49 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 4849, "end": 4876, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 37 } }, "left": { "type": "MemberExpression", "start": 4849, "end": 4872, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 33 } }, "object": { "type": "Identifier", "start": 4849, "end": 4865, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 26 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip" }, "property": { "type": "Identifier", "start": 4866, "end": 4872, "loc": { "start": { "line": 162, "column": 27 }, "end": { "line": 162, "column": 33 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 4875, "end": 4876, "loc": { "start": { "line": 162, "column": 36 }, "end": { "line": 162, "column": 37 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "BinaryExpression", "start": 4888, "end": 4908, "loc": { "start": { "line": 163, "column": 10 }, "end": { "line": 163, "column": 30 } }, "left": { "type": "Identifier", "start": 4888, "end": 4897, "loc": { "start": { "line": 163, "column": 10 }, "end": { "line": 163, "column": 19 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 4900, "end": 4908, "loc": { "start": { "line": 163, "column": 22 }, "end": { "line": 163, "column": 30 }, "identifierName": "numChars" }, "name": "numChars" } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4928, "end": 4998, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4934, "end": 4997, "loc": { "start": { "line": 165, "column": 14 }, "end": { "line": 165, "column": 77 } }, "id": { "type": "Identifier", "start": 4934, "end": 4949, "loc": { "start": { "line": 165, "column": 14 }, "end": { "line": 165, "column": 29 }, "identifierName": "stringAfterSkip" }, "name": "stringAfterSkip" }, "init": { "type": "CallExpression", "start": 4952, "end": 4997, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 4952, "end": 4971, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 51 } }, "object": { "type": "Identifier", "start": 4952, "end": 4961, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 41 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 4962, "end": 4971, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 51 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 4972, "end": 4996, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 76 } }, "left": { "type": "BinaryExpression", "start": 4972, "end": 4992, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 72 } }, "left": { "type": "Identifier", "start": 4972, "end": 4981, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 61 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "+", "right": { "type": "Identifier", "start": 4984, "end": 4992, "loc": { "start": { "line": 165, "column": 64 }, "end": { "line": 165, "column": 72 }, "identifierName": "numChars" }, "name": "numChars" } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 4995, "end": 4996, "loc": { "start": { "line": 165, "column": 75 }, "end": { "line": 165, "column": 76 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5007, "end": 5070, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5007, "end": 5069, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "column": 70 } }, "operator": "=", "left": { "type": "Identifier", "start": 5007, "end": 5016, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "column": 17 }, "identifierName": "curString" }, "name": "curString" }, "right": { "type": "BinaryExpression", "start": 5019, "end": 5069, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 70 } }, "left": { "type": "BinaryExpression", "start": 5019, "end": 5051, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 52 } }, "left": { "type": "Identifier", "start": 5019, "end": 5035, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 36 }, "identifierName": "stringBeforeSkip" }, "name": "stringBeforeSkip" }, "operator": "+", "right": { "type": "Identifier", "start": 5038, "end": 5051, "loc": { "start": { "line": 166, "column": 39 }, "end": { "line": 166, "column": 52 }, "identifierName": "stringSkipped" }, "name": "stringSkipped" } }, "operator": "+", "right": { "type": "Identifier", "start": 5054, "end": 5069, "loc": { "start": { "line": 166, "column": 55 }, "end": { "line": 166, "column": 70 }, "identifierName": "stringAfterSkip" }, "name": "stringAfterSkip" } } } }, { "type": "ExpressionStatement", "start": 5079, "end": 5090, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 19 } }, "expression": { "type": "UpdateExpression", "start": 5079, "end": 5089, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 18 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 5079, "end": 5087, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 16 }, "identifierName": "numChars" }, "name": "numChars" } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 4341, "end": 4382, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 47 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 4389, "end": 4429, "loc": { "start": { "line": 153, "column": 6 }, "end": { "line": 153, "column": 46 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5106, "end": 5148, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 5155, "end": 5693, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 186, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 5155, "end": 5692, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 186, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5155, "end": 5167, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 18 } }, "object": { "type": "ThisExpression", "start": 5155, "end": 5159, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5160, "end": 5167, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5170, "end": 5692, "loc": { "start": { "line": 171, "column": 21 }, "end": { "line": 186, "column": 19 } }, "callee": { "type": "Identifier", "start": 5170, "end": 5180, "loc": { "start": { "line": 171, "column": 21 }, "end": { "line": 171, "column": 31 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 5181, "end": 5680, "loc": { "start": { "line": 171, "column": 32 }, "end": { "line": 186, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5187, "end": 5680, "loc": { "start": { "line": 171, "column": 38 }, "end": { "line": 186, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 5243, "end": 5270, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 35 } }, "expression": { "type": "CallExpression", "start": 5243, "end": 5269, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 5243, "end": 5262, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 27 } }, "object": { "type": "ThisExpression", "start": 5243, "end": 5247, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5248, "end": 5262, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 27 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "BooleanLiteral", "start": 5263, "end": 5268, "loc": { "start": { "line": 173, "column": 28 }, "end": { "line": 173, "column": 33 } }, "value": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5197, "end": 5234, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 45 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " We're done with this sentence!", "start": 5280, "end": 5313, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 41 } } } ] }, { "type": "IfStatement", "start": 5322, "end": 5493, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 180, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 5326, "end": 5355, "loc": { "start": { "line": 176, "column": 12 }, "end": { "line": 176, "column": 41 } }, "left": { "type": "Identifier", "start": 5326, "end": 5335, "loc": { "start": { "line": 176, "column": 12 }, "end": { "line": 176, "column": 21 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": ">=", "right": { "type": "MemberExpression", "start": 5339, "end": 5355, "loc": { "start": { "line": 176, "column": 25 }, "end": { "line": 176, "column": 41 } }, "object": { "type": "Identifier", "start": 5339, "end": 5348, "loc": { "start": { "line": 176, "column": 25 }, "end": { "line": 176, "column": 34 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 5349, "end": 5355, "loc": { "start": { "line": 176, "column": 35 }, "end": { "line": 176, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5357, "end": 5417, "loc": { "start": { "line": 176, "column": 43 }, "end": { "line": 178, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5369, "end": 5407, "loc": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 48 } }, "expression": { "type": "CallExpression", "start": 5369, "end": 5406, "loc": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 5369, "end": 5384, "loc": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5369, "end": 5373, "loc": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 14 } } }, "property": { "type": "Identifier", "start": 5374, "end": 5384, "loc": { "start": { "line": 177, "column": 15 }, "end": { "line": 177, "column": 25 }, "identifierName": "doneTyping" }, "name": "doneTyping" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5385, "end": 5394, "loc": { "start": { "line": 177, "column": 26 }, "end": { "line": 177, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 5396, "end": 5405, "loc": { "start": { "line": 177, "column": 37 }, "end": { "line": 177, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 5423, "end": 5493, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 180, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5435, "end": 5483, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 58 } }, "expression": { "type": "CallExpression", "start": 5435, "end": 5482, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 5435, "end": 5450, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5435, "end": 5439, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 14 } } }, "property": { "type": "Identifier", "start": 5440, "end": 5450, "loc": { "start": { "line": 179, "column": 15 }, "end": { "line": 179, "column": 25 }, "identifierName": "keepTyping" }, "name": "keepTyping" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5451, "end": 5460, "loc": { "start": { "line": 179, "column": 26 }, "end": { "line": 179, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 5462, "end": 5471, "loc": { "start": { "line": 179, "column": 37 }, "end": { "line": 179, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 5473, "end": 5481, "loc": { "start": { "line": 179, "column": 48 }, "end": { "line": 179, "column": 56 }, "identifierName": "numChars" }, "name": "numChars" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We're done with this sentence!", "start": 5280, "end": 5313, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " end of character pause", "start": 5502, "end": 5527, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 33 } } } ] }, { "type": "IfStatement", "start": 5536, "end": 5672, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 185, "column": 9 } }, "test": { "type": "MemberExpression", "start": 5540, "end": 5559, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 31 } }, "object": { "type": "ThisExpression", "start": 5540, "end": 5544, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5545, "end": 5559, "loc": { "start": { "line": 182, "column": 17 }, "end": { "line": 182, "column": 31 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5561, "end": 5672, "loc": { "start": { "line": 182, "column": 33 }, "end": { "line": 185, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5573, "end": 5601, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 5573, "end": 5600, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5573, "end": 5592, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5573, "end": 5577, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 14 } } }, "property": { "type": "Identifier", "start": 5578, "end": 5592, "loc": { "start": { "line": 183, "column": 15 }, "end": { "line": 183, "column": 29 }, "identifierName": "temporaryPause" }, "name": "temporaryPause" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 5595, "end": 5600, "loc": { "start": { "line": 183, "column": 32 }, "end": { "line": 183, "column": 37 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 5612, "end": 5662, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 60 } }, "expression": { "type": "CallExpression", "start": 5612, "end": 5661, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 5612, "end": 5640, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5612, "end": 5624, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 22 } }, "object": { "type": "ThisExpression", "start": 5612, "end": 5616, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 14 } } }, "property": { "type": "Identifier", "start": 5617, "end": 5624, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 5625, "end": 5640, "loc": { "start": { "line": 184, "column": 23 }, "end": { "line": 184, "column": 38 }, "identifierName": "onTypingResumed" }, "name": "onTypingResumed" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5641, "end": 5654, "loc": { "start": { "line": 184, "column": 39 }, "end": { "line": 184, "column": 52 } }, "object": { "type": "ThisExpression", "start": 5641, "end": 5645, "loc": { "start": { "line": 184, "column": 39 }, "end": { "line": 184, "column": 43 } } }, "property": { "type": "Identifier", "start": 5646, "end": 5654, "loc": { "start": { "line": 184, "column": 44 }, "end": { "line": 184, "column": 52 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 5656, "end": 5660, "loc": { "start": { "line": 184, "column": 54 }, "end": { "line": 184, "column": 58 } } } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " end of character pause", "start": 5502, "end": 5527, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 33 } } } ] } ], "directives": [] } }, { "type": "Identifier", "start": 5682, "end": 5691, "loc": { "start": { "line": 186, "column": 9 }, "end": { "line": 186, "column": 18 }, "identifierName": "pauseTime" }, "name": "pauseTime" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5106, "end": 5148, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 48 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " humanized value for typing", "start": 5701, "end": 5730, "loc": { "start": { "line": 188, "column": 6 }, "end": { "line": 188, "column": 35 } } } ] } ], "directives": [] } }, { "type": "Identifier", "start": 5738, "end": 5746, "loc": { "start": { "line": 189, "column": 7 }, "end": { "line": 189, "column": 15 }, "identifierName": "humanize" }, "name": "humanize" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " contain typing function in a timeout humanize'd delay", "start": 3282, "end": 3338, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 60 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 2648, "end": 2848, "loc": { "start": { "line": 106, "column": 2 }, "end": { "line": 111, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 5756, "end": 5967, "loc": { "start": { "line": 192, "column": 2 }, "end": { "line": 197, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 5970, "end": 6491, "loc": { "start": { "line": 198, "column": 2 }, "end": { "line": 211, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5970, "end": 5980, "loc": { "start": { "line": 198, "column": 2 }, "end": { "line": 198, "column": 12 }, "identifierName": "keepTyping" }, "name": "keepTyping", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5981, "end": 5990, "loc": { "start": { "line": 198, "column": 13 }, "end": { "line": 198, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 5992, "end": 6001, "loc": { "start": { "line": 198, "column": 24 }, "end": { "line": 198, "column": 33 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 6003, "end": 6011, "loc": { "start": { "line": 198, "column": 35 }, "end": { "line": 198, "column": 43 }, "identifierName": "numChars" }, "name": "numChars" } ], "body": { "type": "BlockStatement", "start": 6013, "end": 6491, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 211, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 6062, "end": 6180, "loc": { "start": { "line": 200, "column": 4 }, "end": { "line": 203, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6066, "end": 6081, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 23 } }, "left": { "type": "Identifier", "start": 6066, "end": 6075, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 6080, "end": 6081, "loc": { "start": { "line": 200, "column": 22 }, "end": { "line": 200, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6083, "end": 6180, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 203, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6091, "end": 6118, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 33 } }, "expression": { "type": "CallExpression", "start": 6091, "end": 6117, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 6091, "end": 6110, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6091, "end": 6095, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 10 } } }, "property": { "type": "Identifier", "start": 6096, "end": 6110, "loc": { "start": { "line": 201, "column": 11 }, "end": { "line": 201, "column": 25 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 6111, "end": 6116, "loc": { "start": { "line": 201, "column": 26 }, "end": { "line": 201, "column": 31 } }, "value": false } ] } }, { "type": "ExpressionStatement", "start": 6125, "end": 6174, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 55 } }, "expression": { "type": "CallExpression", "start": 6125, "end": 6173, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 6125, "end": 6152, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 33 } }, "object": { "type": "MemberExpression", "start": 6125, "end": 6137, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6125, "end": 6129, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 10 } } }, "property": { "type": "Identifier", "start": 6130, "end": 6137, "loc": { "start": { "line": 202, "column": 11 }, "end": { "line": 202, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6138, "end": 6152, "loc": { "start": { "line": 202, "column": 19 }, "end": { "line": 202, "column": 33 }, "identifierName": "preStringTyped" }, "name": "preStringTyped" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6153, "end": 6166, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 47 } }, "object": { "type": "ThisExpression", "start": 6153, "end": 6157, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 38 } } }, "property": { "type": "Identifier", "start": 6158, "end": 6166, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 202, "column": 47 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 6168, "end": 6172, "loc": { "start": { "line": 202, "column": 49 }, "end": { "line": 202, "column": 53 } } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " call before functions if applicable", "start": 6019, "end": 6057, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6185, "end": 6235, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 204, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6240, "end": 6301, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 6306, "end": 6328, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 6306, "end": 6327, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 25 } }, "operator": "+=", "left": { "type": "Identifier", "start": 6306, "end": 6315, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 13 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "right": { "type": "Identifier", "start": 6319, "end": 6327, "loc": { "start": { "line": 206, "column": 17 }, "end": { "line": 206, "column": 25 }, "identifierName": "numChars" }, "name": "numChars" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6185, "end": 6235, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 204, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6240, "end": 6301, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 65 } } } ] }, { "type": "VariableDeclaration", "start": 6333, "end": 6386, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6339, "end": 6385, "loc": { "start": { "line": 207, "column": 10 }, "end": { "line": 207, "column": 56 } }, "id": { "type": "Identifier", "start": 6339, "end": 6349, "loc": { "start": { "line": 207, "column": 10 }, "end": { "line": 207, "column": 20 }, "identifierName": "nextString" }, "name": "nextString" }, "init": { "type": "CallExpression", "start": 6352, "end": 6385, "loc": { "start": { "line": 207, "column": 23 }, "end": { "line": 207, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 6352, "end": 6371, "loc": { "start": { "line": 207, "column": 23 }, "end": { "line": 207, "column": 42 } }, "object": { "type": "Identifier", "start": 6352, "end": 6361, "loc": { "start": { "line": 207, "column": 23 }, "end": { "line": 207, "column": 32 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 6362, "end": 6371, "loc": { "start": { "line": 207, "column": 33 }, "end": { "line": 207, "column": 42 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 6372, "end": 6373, "loc": { "start": { "line": 207, "column": 43 }, "end": { "line": 207, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 6375, "end": 6384, "loc": { "start": { "line": 207, "column": 46 }, "end": { "line": 207, "column": 55 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6391, "end": 6420, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 33 } }, "expression": { "type": "CallExpression", "start": 6391, "end": 6419, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 6391, "end": 6407, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 20 } }, "object": { "type": "ThisExpression", "start": 6391, "end": 6395, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 8 } } }, "property": { "type": "Identifier", "start": 6396, "end": 6407, "loc": { "start": { "line": 208, "column": 9 }, "end": { "line": 208, "column": 20 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6408, "end": 6418, "loc": { "start": { "line": 208, "column": 21 }, "end": { "line": 208, "column": 31 }, "identifierName": "nextString" }, "name": "nextString" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 6425, "end": 6445, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 6450, "end": 6487, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 41 } }, "expression": { "type": "CallExpression", "start": 6450, "end": 6486, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6450, "end": 6464, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6450, "end": 6454, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6455, "end": 6464, "loc": { "start": { "line": 210, "column": 9 }, "end": { "line": 210, "column": 18 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 6465, "end": 6474, "loc": { "start": { "line": 210, "column": 19 }, "end": { "line": 210, "column": 28 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 6476, "end": 6485, "loc": { "start": { "line": 210, "column": 30 }, "end": { "line": 210, "column": 39 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 6425, "end": 6445, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "column": 24 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 5756, "end": 5967, "loc": { "start": { "line": 192, "column": 2 }, "end": { "line": 197, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6495, "end": 6700, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 218, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6703, "end": 7258, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 235, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6703, "end": 6713, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 12 }, "identifierName": "doneTyping" }, "name": "doneTyping", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6714, "end": 6723, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 22 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 6725, "end": 6734, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 33 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 6736, "end": 7258, "loc": { "start": { "line": 219, "column": 35 }, "end": { "line": 235, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 6773, "end": 6821, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 52 } }, "expression": { "type": "CallExpression", "start": 6773, "end": 6820, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 6773, "end": 6799, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 30 } }, "object": { "type": "MemberExpression", "start": 6773, "end": 6785, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6773, "end": 6777, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6778, "end": 6785, "loc": { "start": { "line": 221, "column": 9 }, "end": { "line": 221, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6786, "end": 6799, "loc": { "start": { "line": 221, "column": 17 }, "end": { "line": 221, "column": 30 }, "identifierName": "onStringTyped" }, "name": "onStringTyped" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 6800, "end": 6813, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 44 } }, "object": { "type": "ThisExpression", "start": 6800, "end": 6804, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 35 } } }, "property": { "type": "Identifier", "start": 6805, "end": 6813, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 44 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, { "type": "ThisExpression", "start": 6815, "end": 6819, "loc": { "start": { "line": 221, "column": 46 }, "end": { "line": 221, "column": 50 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " fires callback function", "start": 6742, "end": 6768, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 30 } } } ] }, { "type": "ExpressionStatement", "start": 6826, "end": 6852, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 30 } }, "expression": { "type": "CallExpression", "start": 6826, "end": 6851, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 6826, "end": 6845, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6826, "end": 6830, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 8 } } }, "property": { "type": "Identifier", "start": 6831, "end": 6845, "loc": { "start": { "line": 222, "column": 9 }, "end": { "line": 222, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 6846, "end": 6850, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "column": 28 } }, "value": true } ] }, "trailingComments": [ { "type": "CommentLine", "value": " is this the final string", "start": 6857, "end": 6884, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 31 } } } ] }, { "type": "IfStatement", "start": 6889, "end": 7148, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 231, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6893, "end": 6934, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 49 } }, "left": { "type": "MemberExpression", "start": 6893, "end": 6906, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6893, "end": 6897, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6898, "end": 6906, "loc": { "start": { "line": 224, "column": 13 }, "end": { "line": 224, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "BinaryExpression", "start": 6911, "end": 6934, "loc": { "start": { "line": 224, "column": 26 }, "end": { "line": 224, "column": 49 } }, "left": { "type": "MemberExpression", "start": 6911, "end": 6930, "loc": { "start": { "line": 224, "column": 26 }, "end": { "line": 224, "column": 45 } }, "object": { "type": "MemberExpression", "start": 6911, "end": 6923, "loc": { "start": { "line": 224, "column": 26 }, "end": { "line": 224, "column": 38 } }, "object": { "type": "ThisExpression", "start": 6911, "end": 6915, "loc": { "start": { "line": 224, "column": 26 }, "end": { "line": 224, "column": 30 } } }, "property": { "type": "Identifier", "start": 6916, "end": 6923, "loc": { "start": { "line": 224, "column": 31 }, "end": { "line": 224, "column": 38 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 6924, "end": 6930, "loc": { "start": { "line": 224, "column": 39 }, "end": { "line": 224, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 6933, "end": 6934, "loc": { "start": { "line": 224, "column": 48 }, "end": { "line": 224, "column": 49 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6936, "end": 7148, "loc": { "start": { "line": 224, "column": 51 }, "end": { "line": 231, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6999, "end": 7015, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 22 } }, "expression": { "type": "CallExpression", "start": 6999, "end": 7014, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 6999, "end": 7012, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 19 } }, "object": { "type": "ThisExpression", "start": 6999, "end": 7003, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7004, "end": 7012, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 19 }, "identifierName": "complete" }, "name": "complete" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 6944, "end": 6992, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 54 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7022, "end": 7050, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 34 } } } ] }, { "type": "IfStatement", "start": 7057, "end": 7142, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 230, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 7061, "end": 7115, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 64 } }, "left": { "type": "BinaryExpression", "start": 7061, "end": 7080, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 29 } }, "left": { "type": "MemberExpression", "start": 7061, "end": 7070, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 19 } }, "object": { "type": "ThisExpression", "start": 7061, "end": 7065, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7066, "end": 7070, "loc": { "start": { "line": 228, "column": 15 }, "end": { "line": 228, "column": 19 }, "identifierName": "loop" }, "name": "loop" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 7075, "end": 7080, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 29 } }, "value": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7084, "end": 7115, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 228, "column": 64 } }, "left": { "type": "MemberExpression", "start": 7084, "end": 7096, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 228, "column": 45 } }, "object": { "type": "ThisExpression", "start": 7084, "end": 7088, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 228, "column": 37 } } }, "property": { "type": "Identifier", "start": 7089, "end": 7096, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 45 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 7101, "end": 7115, "loc": { "start": { "line": 228, "column": 50 }, "end": { "line": 228, "column": 64 } }, "object": { "type": "ThisExpression", "start": 7101, "end": 7105, "loc": { "start": { "line": 228, "column": 50 }, "end": { "line": 228, "column": 54 } } }, "property": { "type": "Identifier", "start": 7106, "end": 7115, "loc": { "start": { "line": 228, "column": 55 }, "end": { "line": 228, "column": 64 }, "identifierName": "loopCount" }, "name": "loopCount" }, "computed": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7117, "end": 7142, "loc": { "start": { "line": 228, "column": 66 }, "end": { "line": 230, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 7127, "end": 7134, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7022, "end": 7050, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 34 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " is this the final string", "start": 6857, "end": 6884, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 7153, "end": 7254, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 7153, "end": 7253, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7153, "end": 7165, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 232, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7153, "end": 7157, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 232, "column": 8 } } }, "property": { "type": "Identifier", "start": 7158, "end": 7165, "loc": { "start": { "line": 232, "column": 9 }, "end": { "line": 232, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false }, "right": { "type": "CallExpression", "start": 7168, "end": 7253, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 234, "column": 22 } }, "callee": { "type": "Identifier", "start": 7168, "end": 7178, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7179, "end": 7236, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 234, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7185, "end": 7236, "loc": { "start": { "line": 232, "column": 36 }, "end": { "line": 234, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7193, "end": 7230, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 43 } }, "expression": { "type": "CallExpression", "start": 7193, "end": 7229, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 7193, "end": 7207, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7193, "end": 7197, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 10 } } }, "property": { "type": "Identifier", "start": 7198, "end": 7207, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 20 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7208, "end": 7217, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 30 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7219, "end": 7228, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 41 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] } }, { "type": "MemberExpression", "start": 7238, "end": 7252, "loc": { "start": { "line": 234, "column": 7 }, "end": { "line": 234, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7238, "end": 7242, "loc": { "start": { "line": 234, "column": 7 }, "end": { "line": 234, "column": 11 } } }, "property": { "type": "Identifier", "start": 7243, "end": 7252, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 21 }, "identifierName": "backDelay" }, "name": "backDelay" }, "computed": false } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6495, "end": 6700, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 218, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7262, "end": 7463, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 242, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7466, "end": 9370, "loc": { "start": { "line": 243, "column": 2 }, "end": { "line": 296, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7466, "end": 7475, "loc": { "start": { "line": 243, "column": 2 }, "end": { "line": 243, "column": 11 }, "identifierName": "backspace" }, "name": "backspace", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7476, "end": 7485, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 21 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7487, "end": 7496, "loc": { "start": { "line": 243, "column": 23 }, "end": { "line": 243, "column": 32 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "body": { "type": "BlockStatement", "start": 7498, "end": 9370, "loc": { "start": { "line": 243, "column": 34 }, "end": { "line": 296, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 7504, "end": 7613, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 247, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7508, "end": 7534, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 34 } }, "left": { "type": "MemberExpression", "start": 7508, "end": 7525, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 25 } }, "object": { "type": "MemberExpression", "start": 7508, "end": 7518, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7508, "end": 7512, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 12 } } }, "property": { "type": "Identifier", "start": 7513, "end": 7518, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 7519, "end": 7525, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 7530, "end": 7534, "loc": { "start": { "line": 244, "column": 30 }, "end": { "line": 244, "column": 34 } }, "value": true } }, "consequent": { "type": "BlockStatement", "start": 7536, "end": 7613, "loc": { "start": { "line": 244, "column": 36 }, "end": { "line": 247, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7544, "end": 7593, "loc": { "start": { "line": 245, "column": 6 }, "end": { "line": 245, "column": 55 } }, "expression": { "type": "CallExpression", "start": 7544, "end": 7592, "loc": { "start": { "line": 245, "column": 6 }, "end": { "line": 245, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 7544, "end": 7563, "loc": { "start": { "line": 245, "column": 6 }, "end": { "line": 245, "column": 25 } }, "object": { "type": "ThisExpression", "start": 7544, "end": 7548, "loc": { "start": { "line": 245, "column": 6 }, "end": { "line": 245, "column": 10 } } }, "property": { "type": "Identifier", "start": 7549, "end": 7563, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 25 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7564, "end": 7573, "loc": { "start": { "line": 245, "column": 26 }, "end": { "line": 245, "column": 35 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7575, "end": 7584, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 46 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "BooleanLiteral", "start": 7586, "end": 7591, "loc": { "start": { "line": 245, "column": 48 }, "end": { "line": 245, "column": 53 } }, "value": false } ] } }, { "type": "ReturnStatement", "start": 7600, "end": 7607, "loc": { "start": { "line": 246, "column": 6 }, "end": { "line": 246, "column": 13 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7618, "end": 7662, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 48 } }, "test": { "type": "MemberExpression", "start": 7622, "end": 7634, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7622, "end": 7626, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, "property": { "type": "Identifier", "start": 7627, "end": 7634, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 20 }, "identifierName": "fadeOut" }, "name": "fadeOut" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 7636, "end": 7662, "loc": { "start": { "line": 248, "column": 22 }, "end": { "line": 248, "column": 48 } }, "argument": { "type": "CallExpression", "start": 7643, "end": 7661, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 7643, "end": 7659, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 45 } }, "object": { "type": "ThisExpression", "start": 7643, "end": 7647, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 33 } } }, "property": { "type": "Identifier", "start": 7648, "end": 7659, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 45 }, "identifierName": "initFadeOut" }, "name": "initFadeOut" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 7668, "end": 7695, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 31 } }, "expression": { "type": "CallExpression", "start": 7668, "end": 7694, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 7668, "end": 7687, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 23 } }, "object": { "type": "ThisExpression", "start": 7668, "end": 7672, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 8 } } }, "property": { "type": "Identifier", "start": 7673, "end": 7687, "loc": { "start": { "line": 250, "column": 9 }, "end": { "line": 250, "column": 23 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 7688, "end": 7693, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 29 } }, "value": false } ] } }, { "type": "VariableDeclaration", "start": 7700, "end": 7748, "loc": { "start": { "line": 251, "column": 4 }, "end": { "line": 251, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7706, "end": 7747, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 51 } }, "id": { "type": "Identifier", "start": 7706, "end": 7714, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 18 }, "identifierName": "humanize" }, "name": "humanize" }, "init": { "type": "CallExpression", "start": 7717, "end": 7747, "loc": { "start": { "line": 251, "column": 21 }, "end": { "line": 251, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 7717, "end": 7731, "loc": { "start": { "line": 251, "column": 21 }, "end": { "line": 251, "column": 35 } }, "object": { "type": "ThisExpression", "start": 7717, "end": 7721, "loc": { "start": { "line": 251, "column": 21 }, "end": { "line": 251, "column": 25 } } }, "property": { "type": "Identifier", "start": 7722, "end": 7731, "loc": { "start": { "line": 251, "column": 26 }, "end": { "line": 251, "column": 35 }, "identifierName": "humanizer" }, "name": "humanizer" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7732, "end": 7746, "loc": { "start": { "line": 251, "column": 36 }, "end": { "line": 251, "column": 50 } }, "object": { "type": "ThisExpression", "start": 7732, "end": 7736, "loc": { "start": { "line": 251, "column": 36 }, "end": { "line": 251, "column": 40 } } }, "property": { "type": "Identifier", "start": 7737, "end": 7746, "loc": { "start": { "line": 251, "column": 41 }, "end": { "line": 251, "column": 50 }, "identifierName": "backSpeed" }, "name": "backSpeed" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 7754, "end": 9366, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 295, "column": 17 } }, "expression": { "type": "AssignmentExpression", "start": 7754, "end": 9365, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 295, "column": 16 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7754, "end": 7766, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7754, "end": 7758, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, "property": { "type": "Identifier", "start": 7759, "end": 7766, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 16 }, "identifierName": "timeout" }, "name": "timeout" }, "computed": false }, "right": { "type": "CallExpression", "start": 7769, "end": 9365, "loc": { "start": { "line": 253, "column": 19 }, "end": { "line": 295, "column": 16 } }, "callee": { "type": "Identifier", "start": 7769, "end": 7779, "loc": { "start": { "line": 253, "column": 19 }, "end": { "line": 253, "column": 29 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7780, "end": 9354, "loc": { "start": { "line": 253, "column": 30 }, "end": { "line": 295, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7786, "end": 9354, "loc": { "start": { "line": 253, "column": 36 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7794, "end": 7864, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 7794, "end": 7863, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 7794, "end": 7803, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 15 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "right": { "type": "CallExpression", "start": 7806, "end": 7863, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 7806, "end": 7835, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 47 } }, "object": { "type": "Identifier", "start": 7806, "end": 7816, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 28 }, "identifierName": "htmlParser" }, "name": "htmlParser" }, "property": { "type": "Identifier", "start": 7817, "end": 7835, "loc": { "start": { "line": 254, "column": 29 }, "end": { "line": 254, "column": 47 }, "identifierName": "backSpaceHtmlChars" }, "name": "backSpaceHtmlChars" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7836, "end": 7845, "loc": { "start": { "line": 254, "column": 48 }, "end": { "line": 254, "column": 57 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 7847, "end": 7856, "loc": { "start": { "line": 254, "column": 59 }, "end": { "line": 254, "column": 68 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "ThisExpression", "start": 7858, "end": 7862, "loc": { "start": { "line": 254, "column": 70 }, "end": { "line": 254, "column": 74 } } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 7871, "end": 7920, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 55 } } } ] }, { "type": "VariableDeclaration", "start": 7927, "end": 7989, "loc": { "start": { "line": 256, "column": 6 }, "end": { "line": 256, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7933, "end": 7988, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "column": 67 } }, "id": { "type": "Identifier", "start": 7933, "end": 7952, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "column": 31 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition", "leadingComments": null }, "init": { "type": "CallExpression", "start": 7955, "end": 7988, "loc": { "start": { "line": 256, "column": 34 }, "end": { "line": 256, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 7955, "end": 7974, "loc": { "start": { "line": 256, "column": 34 }, "end": { "line": 256, "column": 53 } }, "object": { "type": "Identifier", "start": 7955, "end": 7964, "loc": { "start": { "line": 256, "column": 34 }, "end": { "line": 256, "column": 43 }, "identifierName": "curString" }, "name": "curString" }, "property": { "type": "Identifier", "start": 7965, "end": 7974, "loc": { "start": { "line": 256, "column": 44 }, "end": { "line": 256, "column": 53 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7975, "end": 7976, "loc": { "start": { "line": 256, "column": 54 }, "end": { "line": 256, "column": 55 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 7978, "end": 7987, "loc": { "start": { "line": 256, "column": 57 }, "end": { "line": 256, "column": 66 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 7871, "end": 7920, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 55 } } } ] }, { "type": "ExpressionStatement", "start": 7996, "end": 8034, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7996, "end": 8033, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7996, "end": 8012, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7996, "end": 8000, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 10 } } }, "property": { "type": "Identifier", "start": 8001, "end": 8012, "loc": { "start": { "line": 257, "column": 11 }, "end": { "line": 257, "column": 22 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8013, "end": 8032, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "column": 42 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8042, "end": 8068, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 32 } } } ] }, { "type": "IfStatement", "start": 8075, "end": 8472, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 271, "column": 7 } }, "test": { "type": "MemberExpression", "start": 8079, "end": 8098, "loc": { "start": { "line": 260, "column": 10 }, "end": { "line": 260, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8079, "end": 8083, "loc": { "start": { "line": 260, "column": 10 }, "end": { "line": 260, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8084, "end": 8098, "loc": { "start": { "line": 260, "column": 15 }, "end": { "line": 260, "column": 29 }, "identifierName": "smartBackspace" }, "name": "smartBackspace" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8100, "end": 8472, "loc": { "start": { "line": 260, "column": 31 }, "end": { "line": 271, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 8206, "end": 8255, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8210, "end": 8254, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 56 } }, "id": { "type": "Identifier", "start": 8210, "end": 8220, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 22 }, "identifierName": "nextString" }, "name": "nextString", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 8223, "end": 8254, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 56 } }, "object": { "type": "MemberExpression", "start": 8223, "end": 8235, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8223, "end": 8227, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 29 } } }, "property": { "type": "Identifier", "start": 8228, "end": 8235, "loc": { "start": { "line": 262, "column": 30 }, "end": { "line": 262, "column": 37 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 8236, "end": 8253, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 55 } }, "left": { "type": "MemberExpression", "start": 8236, "end": 8249, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 51 } }, "object": { "type": "ThisExpression", "start": 8236, "end": 8240, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 42 } } }, "property": { "type": "Identifier", "start": 8241, "end": 8249, "loc": { "start": { "line": 262, "column": 43 }, "end": { "line": 262, "column": 51 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 8252, "end": 8253, "loc": { "start": { "line": 262, "column": 54 }, "end": { "line": 262, "column": 55 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8110, "end": 8197, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 95 } } } ] }, { "type": "IfStatement", "start": 8264, "end": 8464, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 270, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 8279, "end": 8361, "loc": { "start": { "line": 264, "column": 10 }, "end": { "line": 265, "column": 68 } }, "left": { "type": "Identifier", "start": 8279, "end": 8289, "loc": { "start": { "line": 264, "column": 10 }, "end": { "line": 264, "column": 20 }, "identifierName": "nextString" }, "name": "nextString" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 8303, "end": 8361, "loc": { "start": { "line": 265, "column": 10 }, "end": { "line": 265, "column": 68 } }, "left": { "type": "Identifier", "start": 8303, "end": 8322, "loc": { "start": { "line": 265, "column": 10 }, "end": { "line": 265, "column": 29 }, "identifierName": "curStringAtPosition" }, "name": "curStringAtPosition" }, "operator": "===", "right": { "type": "CallExpression", "start": 8327, "end": 8361, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 8327, "end": 8347, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 54 } }, "object": { "type": "Identifier", "start": 8327, "end": 8337, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 44 }, "identifierName": "nextString" }, "name": "nextString" }, "property": { "type": "Identifier", "start": 8338, "end": 8347, "loc": { "start": { "line": 265, "column": 45 }, "end": { "line": 265, "column": 54 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 8348, "end": 8349, "loc": { "start": { "line": 265, "column": 55 }, "end": { "line": 265, "column": 56 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 8351, "end": 8360, "loc": { "start": { "line": 265, "column": 58 }, "end": { "line": 265, "column": 67 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } }, "consequent": { "type": "BlockStatement", "start": 8372, "end": 8419, "loc": { "start": { "line": 266, "column": 10 }, "end": { "line": 268, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8384, "end": 8409, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 8384, "end": 8408, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8384, "end": 8396, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8384, "end": 8388, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 14 } } }, "property": { "type": "Identifier", "start": 8389, "end": 8396, "loc": { "start": { "line": 267, "column": 15 }, "end": { "line": 267, "column": 22 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "right": { "type": "Identifier", "start": 8399, "end": 8408, "loc": { "start": { "line": 267, "column": 25 }, "end": { "line": 267, "column": 34 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8425, "end": 8464, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 270, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8437, "end": 8454, "loc": { "start": { "line": 269, "column": 10 }, "end": { "line": 269, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 8437, "end": 8453, "loc": { "start": { "line": 269, "column": 10 }, "end": { "line": 269, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8437, "end": 8449, "loc": { "start": { "line": 269, "column": 10 }, "end": { "line": 269, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8437, "end": 8441, "loc": { "start": { "line": 269, "column": 10 }, "end": { "line": 269, "column": 14 } } }, "property": { "type": "Identifier", "start": 8442, "end": 8449, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 22 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 8452, "end": 8453, "loc": { "start": { "line": 269, "column": 25 }, "end": { "line": 269, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8042, "end": 8068, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 32 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 8480, "end": 8535, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 8542, "end": 8582, "loc": { "start": { "line": 274, "column": 6 }, "end": { "line": 274, "column": 46 } } } ] }, { "type": "IfStatement", "start": 8589, "end": 9312, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 293, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 8593, "end": 8617, "loc": { "start": { "line": 275, "column": 10 }, "end": { "line": 275, "column": 34 } }, "left": { "type": "Identifier", "start": 8593, "end": 8602, "loc": { "start": { "line": 275, "column": 10 }, "end": { "line": 275, "column": 19 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "operator": ">", "right": { "type": "MemberExpression", "start": 8605, "end": 8617, "loc": { "start": { "line": 275, "column": 22 }, "end": { "line": 275, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8605, "end": 8609, "loc": { "start": { "line": 275, "column": 22 }, "end": { "line": 275, "column": 26 } } }, "property": { "type": "Identifier", "start": 8610, "end": 8617, "loc": { "start": { "line": 275, "column": 27 }, "end": { "line": 275, "column": 34 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8619, "end": 8766, "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 280, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8671, "end": 8683, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 20 } }, "expression": { "type": "UpdateExpression", "start": 8671, "end": 8682, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 19 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 8671, "end": 8680, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 17 }, "identifierName": "curStrPos" }, "name": "curStrPos", "leadingComments": null }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " subtract characters one by one", "start": 8629, "end": 8662, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 8692, "end": 8712, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 8721, "end": 8758, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 45 } }, "expression": { "type": "CallExpression", "start": 8721, "end": 8757, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 8721, "end": 8735, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8721, "end": 8725, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8726, "end": 8735, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 22 }, "identifierName": "backspace" }, "name": "backspace" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 8736, "end": 8745, "loc": { "start": { "line": 279, "column": 23 }, "end": { "line": 279, "column": 32 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 8747, "end": 8756, "loc": { "start": { "line": 279, "column": 34 }, "end": { "line": 279, "column": 43 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " loop the function", "start": 8692, "end": 8712, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 28 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 8772, "end": 9312, "loc": { "start": { "line": 280, "column": 13 }, "end": { "line": 293, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 8776, "end": 8801, "loc": { "start": { "line": 280, "column": 17 }, "end": { "line": 280, "column": 42 } }, "left": { "type": "Identifier", "start": 8776, "end": 8785, "loc": { "start": { "line": 280, "column": 17 }, "end": { "line": 280, "column": 26 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "operator": "<=", "right": { "type": "MemberExpression", "start": 8789, "end": 8801, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8789, "end": 8793, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, "property": { "type": "Identifier", "start": 8794, "end": 8801, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 42 }, "identifierName": "stopNum" }, "name": "stopNum" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 8803, "end": 9312, "loc": { "start": { "line": 280, "column": 44 }, "end": { "line": 293, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8911, "end": 8927, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 24 } }, "expression": { "type": "UpdateExpression", "start": 8911, "end": 8926, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 23 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 8911, "end": 8924, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8911, "end": 8915, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8916, "end": 8924, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 8813, "end": 8861, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 281, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 8870, "end": 8902, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 8936, "end": 9000, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 72 } } } ] }, { "type": "IfStatement", "start": 9009, "end": 9304, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 292, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 9013, "end": 9050, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 49 } }, "left": { "type": "MemberExpression", "start": 9013, "end": 9026, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 25 } }, "object": { "type": "ThisExpression", "start": 9013, "end": 9017, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9018, "end": 9026, "loc": { "start": { "line": 285, "column": 17 }, "end": { "line": 285, "column": 25 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "MemberExpression", "start": 9031, "end": 9050, "loc": { "start": { "line": 285, "column": 30 }, "end": { "line": 285, "column": 49 } }, "object": { "type": "MemberExpression", "start": 9031, "end": 9043, "loc": { "start": { "line": 285, "column": 30 }, "end": { "line": 285, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9031, "end": 9035, "loc": { "start": { "line": 285, "column": 30 }, "end": { "line": 285, "column": 34 } } }, "property": { "type": "Identifier", "start": 9036, "end": 9043, "loc": { "start": { "line": 285, "column": 35 }, "end": { "line": 285, "column": 42 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "Identifier", "start": 9044, "end": 9050, "loc": { "start": { "line": 285, "column": 43 }, "end": { "line": 285, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9052, "end": 9206, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 290, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9064, "end": 9082, "loc": { "start": { "line": 286, "column": 10 }, "end": { "line": 286, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9064, "end": 9081, "loc": { "start": { "line": 286, "column": 10 }, "end": { "line": 286, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9064, "end": 9077, "loc": { "start": { "line": 286, "column": 10 }, "end": { "line": 286, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9064, "end": 9068, "loc": { "start": { "line": 286, "column": 10 }, "end": { "line": 286, "column": 14 } } }, "property": { "type": "Identifier", "start": 9069, "end": 9077, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 23 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 9080, "end": 9081, "loc": { "start": { "line": 286, "column": 26 }, "end": { "line": 286, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 9093, "end": 9131, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9093, "end": 9130, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 9093, "end": 9128, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9093, "end": 9105, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 22 } }, "object": { "type": "ThisExpression", "start": 9093, "end": 9097, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 14 } } }, "property": { "type": "Identifier", "start": 9098, "end": 9105, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9106, "end": 9128, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 45 }, "identifierName": "onLastStringBackspaced" }, "name": "onLastStringBackspaced" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 9142, "end": 9172, "loc": { "start": { "line": 288, "column": 10 }, "end": { "line": 288, "column": 40 } }, "expression": { "type": "CallExpression", "start": 9142, "end": 9171, "loc": { "start": { "line": 288, "column": 10 }, "end": { "line": 288, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 9142, "end": 9169, "loc": { "start": { "line": 288, "column": 10 }, "end": { "line": 288, "column": 37 } }, "object": { "type": "ThisExpression", "start": 9142, "end": 9146, "loc": { "start": { "line": 288, "column": 10 }, "end": { "line": 288, "column": 14 } } }, "property": { "type": "Identifier", "start": 9147, "end": 9169, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 37 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 9183, "end": 9196, "loc": { "start": { "line": 289, "column": 10 }, "end": { "line": 289, "column": 23 } }, "expression": { "type": "CallExpression", "start": 9183, "end": 9195, "loc": { "start": { "line": 289, "column": 10 }, "end": { "line": 289, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 9183, "end": 9193, "loc": { "start": { "line": 289, "column": 10 }, "end": { "line": 289, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9183, "end": 9187, "loc": { "start": { "line": 289, "column": 10 }, "end": { "line": 289, "column": 14 } } }, "property": { "type": "Identifier", "start": 9188, "end": 9193, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 20 }, "identifierName": "begin" }, "name": "begin" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9212, "end": 9304, "loc": { "start": { "line": 290, "column": 15 }, "end": { "line": 292, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9224, "end": 9294, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 80 } }, "expression": { "type": "CallExpression", "start": 9224, "end": 9293, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 9224, "end": 9238, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9224, "end": 9228, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 14 } } }, "property": { "type": "Identifier", "start": 9229, "end": 9238, "loc": { "start": { "line": 291, "column": 15 }, "end": { "line": 291, "column": 24 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9239, "end": 9281, "loc": { "start": { "line": 291, "column": 25 }, "end": { "line": 291, "column": 67 } }, "object": { "type": "MemberExpression", "start": 9239, "end": 9251, "loc": { "start": { "line": 291, "column": 25 }, "end": { "line": 291, "column": 37 } }, "object": { "type": "ThisExpression", "start": 9239, "end": 9243, "loc": { "start": { "line": 291, "column": 25 }, "end": { "line": 291, "column": 29 } } }, "property": { "type": "Identifier", "start": 9244, "end": 9251, "loc": { "start": { "line": 291, "column": 30 }, "end": { "line": 291, "column": 37 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9252, "end": 9280, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "column": 66 } }, "object": { "type": "MemberExpression", "start": 9252, "end": 9265, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "column": 51 } }, "object": { "type": "ThisExpression", "start": 9252, "end": 9256, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "column": 42 } } }, "property": { "type": "Identifier", "start": 9257, "end": 9265, "loc": { "start": { "line": 291, "column": 43 }, "end": { "line": 291, "column": 51 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9266, "end": 9279, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 291, "column": 65 } }, "object": { "type": "ThisExpression", "start": 9266, "end": 9270, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 291, "column": 56 } } }, "property": { "type": "Identifier", "start": 9271, "end": 9279, "loc": { "start": { "line": 291, "column": 57 }, "end": { "line": 291, "column": 65 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "Identifier", "start": 9283, "end": 9292, "loc": { "start": { "line": 291, "column": 69 }, "end": { "line": 291, "column": 78 }, "identifierName": "curStrPos" }, "name": "curStrPos" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 8936, "end": 9000, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 72 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 8480, "end": 8535, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 8542, "end": 8582, "loc": { "start": { "line": 274, "column": 6 }, "end": { "line": 274, "column": 46 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " humanized value for typing", "start": 9319, "end": 9348, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 35 } } } ] } ], "directives": [] } }, { "type": "Identifier", "start": 9356, "end": 9364, "loc": { "start": { "line": 295, "column": 7 }, "end": { "line": 295, "column": 15 }, "identifierName": "humanize" }, "name": "humanize" } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7262, "end": 7463, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 242, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 9374, "end": 9429, "loc": { "start": { "line": 298, "column": 2 }, "end": { "line": 301, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9432, "end": 9579, "loc": { "start": { "line": 302, "column": 2 }, "end": { "line": 309, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9432, "end": 9440, "loc": { "start": { "line": 302, "column": 2 }, "end": { "line": 302, "column": 10 }, "identifierName": "complete" }, "name": "complete", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9443, "end": 9579, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 309, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9449, "end": 9479, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 34 } }, "expression": { "type": "CallExpression", "start": 9449, "end": 9478, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 9449, "end": 9472, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 27 } }, "object": { "type": "MemberExpression", "start": 9449, "end": 9461, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 16 } }, "object": { "type": "ThisExpression", "start": 9449, "end": 9453, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 8 } } }, "property": { "type": "Identifier", "start": 9454, "end": 9461, "loc": { "start": { "line": 303, "column": 9 }, "end": { "line": 303, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9462, "end": 9472, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 27 }, "identifierName": "onComplete" }, "name": "onComplete" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 9473, "end": 9477, "loc": { "start": { "line": 303, "column": 28 }, "end": { "line": 303, "column": 32 } } } ] } }, { "type": "IfStatement", "start": 9484, "end": 9575, "loc": { "start": { "line": 304, "column": 4 }, "end": { "line": 308, "column": 5 } }, "test": { "type": "MemberExpression", "start": 9488, "end": 9497, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 17 } }, "object": { "type": "ThisExpression", "start": 9488, "end": 9492, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 12 } } }, "property": { "type": "Identifier", "start": 9493, "end": 9497, "loc": { "start": { "line": 304, "column": 13 }, "end": { "line": 304, "column": 17 }, "identifierName": "loop" }, "name": "loop" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 9499, "end": 9528, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 306, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9507, "end": 9522, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 21 } }, "expression": { "type": "UpdateExpression", "start": 9507, "end": 9521, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 20 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 9507, "end": 9519, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 18 } }, "object": { "type": "ThisExpression", "start": 9507, "end": 9511, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 10 } } }, "property": { "type": "Identifier", "start": 9512, "end": 9519, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 18 }, "identifierName": "curLoop" }, "name": "curLoop" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9534, "end": 9575, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 308, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9542, "end": 9569, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 9542, "end": 9568, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9542, "end": 9561, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 25 } }, "object": { "type": "ThisExpression", "start": 9542, "end": 9546, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 10 } } }, "property": { "type": "Identifier", "start": 9547, "end": 9561, "loc": { "start": { "line": 307, "column": 11 }, "end": { "line": 307, "column": 25 }, "identifierName": "typingComplete" }, "name": "typingComplete" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9564, "end": 9568, "loc": { "start": { "line": 307, "column": 28 }, "end": { "line": 307, "column": 32 } }, "value": true } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 9374, "end": 9429, "loc": { "start": { "line": 298, "column": 2 }, "end": { "line": 301, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 9583, "end": 9810, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 317, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9813, "end": 9978, "loc": { "start": { "line": 318, "column": 2 }, "end": { "line": 322, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9813, "end": 9827, "loc": { "start": { "line": 318, "column": 2 }, "end": { "line": 318, "column": 16 }, "identifierName": "setPauseStatus" }, "name": "setPauseStatus", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9828, "end": 9837, "loc": { "start": { "line": 318, "column": 17 }, "end": { "line": 318, "column": 26 }, "identifierName": "curString" }, "name": "curString" }, { "type": "Identifier", "start": 9839, "end": 9848, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 37 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, { "type": "Identifier", "start": 9850, "end": 9858, "loc": { "start": { "line": 318, "column": 39 }, "end": { "line": 318, "column": 47 }, "identifierName": "isTyping" }, "name": "isTyping" } ], "body": { "type": "BlockStatement", "start": 9860, "end": 9978, "loc": { "start": { "line": 318, "column": 49 }, "end": { "line": 322, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9866, "end": 9898, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9866, "end": 9897, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9866, "end": 9886, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9866, "end": 9876, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9866, "end": 9870, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, "property": { "type": "Identifier", "start": 9871, "end": 9876, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 9877, "end": 9886, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 24 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "right": { "type": "Identifier", "start": 9889, "end": 9897, "loc": { "start": { "line": 319, "column": 27 }, "end": { "line": 319, "column": 35 }, "identifierName": "isTyping" }, "name": "isTyping" } } }, { "type": "ExpressionStatement", "start": 9903, "end": 9936, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 9903, "end": 9935, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9903, "end": 9923, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9903, "end": 9913, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9903, "end": 9907, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, "property": { "type": "Identifier", "start": 9908, "end": 9913, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 9914, "end": 9923, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 24 }, "identifierName": "curString" }, "name": "curString" }, "computed": false }, "right": { "type": "Identifier", "start": 9926, "end": 9935, "loc": { "start": { "line": 320, "column": 27 }, "end": { "line": 320, "column": 36 }, "identifierName": "curString" }, "name": "curString" } } }, { "type": "ExpressionStatement", "start": 9941, "end": 9974, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 9941, "end": 9973, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9941, "end": 9961, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9941, "end": 9951, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9941, "end": 9945, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 8 } } }, "property": { "type": "Identifier", "start": 9946, "end": 9951, "loc": { "start": { "line": 321, "column": 9 }, "end": { "line": 321, "column": 14 }, "identifierName": "pause" }, "name": "pause" }, "computed": false }, "property": { "type": "Identifier", "start": 9952, "end": 9961, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 24 }, "identifierName": "curStrPos" }, "name": "curStrPos" }, "computed": false }, "right": { "type": "Identifier", "start": 9964, "end": 9973, "loc": { "start": { "line": 321, "column": 27 }, "end": { "line": 321, "column": 36 }, "identifierName": "curStrPos" }, "name": "curStrPos" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 9583, "end": 9810, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 317, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 9982, "end": 10070, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10073, "end": 10476, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 340, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10073, "end": 10087, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 329, "column": 16 }, "identifierName": "toggleBlinking" }, "name": "toggleBlinking", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10088, "end": 10098, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 27 }, "identifierName": "isBlinking" }, "name": "isBlinking" } ], "body": { "type": "BlockStatement", "start": 10100, "end": 10476, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 340, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10106, "end": 10131, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 29 } }, "test": { "type": "UnaryExpression", "start": 10110, "end": 10122, "loc": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "column": 20 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10111, "end": 10122, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10111, "end": 10115, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 13 } } }, "property": { "type": "Identifier", "start": 10116, "end": 10122, "loc": { "start": { "line": 330, "column": 14 }, "end": { "line": 330, "column": 20 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 10124, "end": 10131, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 29 } }, "argument": null, "leadingComments": null, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10136, "end": 10191, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 59 } } } ] }, { "type": "IfStatement", "start": 10196, "end": 10226, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 34 } }, "test": { "type": "MemberExpression", "start": 10200, "end": 10217, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 25 } }, "object": { "type": "MemberExpression", "start": 10200, "end": 10210, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 18 } }, "object": { "type": "ThisExpression", "start": 10200, "end": 10204, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10205, "end": 10210, "loc": { "start": { "line": 332, "column": 13 }, "end": { "line": 332, "column": 18 }, "identifierName": "pause" }, "name": "pause" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10211, "end": 10217, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 25 }, "identifierName": "status" }, "name": "status" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 10219, "end": 10226, "loc": { "start": { "line": 332, "column": 27 }, "end": { "line": 332, "column": 34 } }, "argument": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10136, "end": 10191, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 59 } } } ] }, { "type": "IfStatement", "start": 10231, "end": 10278, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 333, "column": 51 } }, "test": { "type": "BinaryExpression", "start": 10235, "end": 10269, "loc": { "start": { "line": 333, "column": 8 }, "end": { "line": 333, "column": 42 } }, "left": { "type": "MemberExpression", "start": 10235, "end": 10254, "loc": { "start": { "line": 333, "column": 8 }, "end": { "line": 333, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10235, "end": 10239, "loc": { "start": { "line": 333, "column": 8 }, "end": { "line": 333, "column": 12 } } }, "property": { "type": "Identifier", "start": 10240, "end": 10254, "loc": { "start": { "line": 333, "column": 13 }, "end": { "line": 333, "column": 27 }, "identifierName": "cursorBlinking" }, "name": "cursorBlinking" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 10259, "end": 10269, "loc": { "start": { "line": 333, "column": 32 }, "end": { "line": 333, "column": 42 }, "identifierName": "isBlinking" }, "name": "isBlinking" } }, "consequent": { "type": "ReturnStatement", "start": 10271, "end": 10278, "loc": { "start": { "line": 333, "column": 44 }, "end": { "line": 333, "column": 51 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 10283, "end": 10316, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 10283, "end": 10315, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10283, "end": 10302, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 23 } }, "object": { "type": "ThisExpression", "start": 10283, "end": 10287, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 8 } } }, "property": { "type": "Identifier", "start": 10288, "end": 10302, "loc": { "start": { "line": 334, "column": 9 }, "end": { "line": 334, "column": 23 }, "identifierName": "cursorBlinking" }, "name": "cursorBlinking" }, "computed": false }, "right": { "type": "Identifier", "start": 10305, "end": 10315, "loc": { "start": { "line": 334, "column": 26 }, "end": { "line": 334, "column": 36 }, "identifierName": "isBlinking" }, "name": "isBlinking" } } }, { "type": "IfStatement", "start": 10321, "end": 10472, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 339, "column": 5 } }, "test": { "type": "Identifier", "start": 10325, "end": 10335, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 18 }, "identifierName": "isBlinking" }, "name": "isBlinking" }, "consequent": { "type": "BlockStatement", "start": 10337, "end": 10400, "loc": { "start": { "line": 335, "column": 20 }, "end": { "line": 337, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10345, "end": 10394, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 55 } }, "expression": { "type": "CallExpression", "start": 10345, "end": 10393, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 10345, "end": 10370, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 31 } }, "object": { "type": "MemberExpression", "start": 10345, "end": 10366, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 27 } }, "object": { "type": "MemberExpression", "start": 10345, "end": 10356, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10345, "end": 10349, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 10 } } }, "property": { "type": "Identifier", "start": 10350, "end": 10356, "loc": { "start": { "line": 336, "column": 11 }, "end": { "line": 336, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 10357, "end": 10366, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 27 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 10367, "end": 10370, "loc": { "start": { "line": 336, "column": 28 }, "end": { "line": 336, "column": 31 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10371, "end": 10392, "loc": { "start": { "line": 336, "column": 32 }, "end": { "line": 336, "column": 53 } }, "extra": { "rawValue": "typed-cursor--blink", "raw": "'typed-cursor--blink'" }, "value": "typed-cursor--blink" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10406, "end": 10472, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 339, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10414, "end": 10466, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 58 } }, "expression": { "type": "CallExpression", "start": 10414, "end": 10465, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 10414, "end": 10442, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 34 } }, "object": { "type": "MemberExpression", "start": 10414, "end": 10435, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 27 } }, "object": { "type": "MemberExpression", "start": 10414, "end": 10425, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10414, "end": 10418, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 10 } } }, "property": { "type": "Identifier", "start": 10419, "end": 10425, "loc": { "start": { "line": 338, "column": 11 }, "end": { "line": 338, "column": 17 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 10426, "end": 10435, "loc": { "start": { "line": 338, "column": 18 }, "end": { "line": 338, "column": 27 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 10436, "end": 10442, "loc": { "start": { "line": 338, "column": 28 }, "end": { "line": 338, "column": 34 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10443, "end": 10464, "loc": { "start": { "line": 338, "column": 35 }, "end": { "line": 338, "column": 56 } }, "extra": { "rawValue": "typed-cursor--blink", "raw": "'typed-cursor--blink'" }, "value": "typed-cursor--blink" } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 9982, "end": 10070, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 10480, "end": 10555, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10558, "end": 10640, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 349, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10558, "end": 10567, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 347, "column": 11 }, "identifierName": "humanizer" }, "name": "humanizer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10568, "end": 10573, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 17 }, "identifierName": "speed" }, "name": "speed" } ], "body": { "type": "BlockStatement", "start": 10575, "end": 10640, "loc": { "start": { "line": 347, "column": 19 }, "end": { "line": 349, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 10581, "end": 10636, "loc": { "start": { "line": 348, "column": 4 }, "end": { "line": 348, "column": 59 } }, "argument": { "type": "BinaryExpression", "start": 10588, "end": 10635, "loc": { "start": { "line": 348, "column": 11 }, "end": { "line": 348, "column": 58 } }, "left": { "type": "CallExpression", "start": 10588, "end": 10627, "loc": { "start": { "line": 348, "column": 11 }, "end": { "line": 348, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 10588, "end": 10598, "loc": { "start": { "line": 348, "column": 11 }, "end": { "line": 348, "column": 21 } }, "object": { "type": "Identifier", "start": 10588, "end": 10592, "loc": { "start": { "line": 348, "column": 11 }, "end": { "line": 348, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 10593, "end": 10598, "loc": { "start": { "line": 348, "column": 16 }, "end": { "line": 348, "column": 21 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 10599, "end": 10626, "loc": { "start": { "line": 348, "column": 22 }, "end": { "line": 348, "column": 49 } }, "left": { "type": "BinaryExpression", "start": 10600, "end": 10621, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 44 } }, "left": { "type": "CallExpression", "start": 10600, "end": 10613, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 10600, "end": 10611, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 34 } }, "object": { "type": "Identifier", "start": 10600, "end": 10604, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 27 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 10605, "end": 10611, "loc": { "start": { "line": 348, "column": 28 }, "end": { "line": 348, "column": 34 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "Identifier", "start": 10616, "end": 10621, "loc": { "start": { "line": 348, "column": 39 }, "end": { "line": 348, "column": 44 }, "identifierName": "speed" }, "name": "speed" }, "extra": { "parenthesized": true, "parenStart": 10599 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 10625, "end": 10626, "loc": { "start": { "line": 348, "column": 48 }, "end": { "line": 348, "column": 49 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] }, "operator": "+", "right": { "type": "Identifier", "start": 10630, "end": 10635, "loc": { "start": { "line": 348, "column": 53 }, "end": { "line": 348, "column": 58 }, "identifierName": "speed" }, "name": "speed" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 10480, "end": 10555, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 10644, "end": 10714, "loc": { "start": { "line": 351, "column": 2 }, "end": { "line": 354, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10717, "end": 10845, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10717, "end": 10739, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 355, "column": 24 }, "identifierName": "shuffleStringsIfNeeded" }, "name": "shuffleStringsIfNeeded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10742, "end": 10845, "loc": { "start": { "line": 355, "column": 27 }, "end": { "line": 358, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10748, "end": 10774, "loc": { "start": { "line": 356, "column": 4 }, "end": { "line": 356, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 10752, "end": 10765, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10753, "end": 10765, "loc": { "start": { "line": 356, "column": 9 }, "end": { "line": 356, "column": 21 } }, "object": { "type": "ThisExpression", "start": 10753, "end": 10757, "loc": { "start": { "line": 356, "column": 9 }, "end": { "line": 356, "column": 13 } } }, "property": { "type": "Identifier", "start": 10758, "end": 10765, "loc": { "start": { "line": 356, "column": 14 }, "end": { "line": 356, "column": 21 }, "identifierName": "shuffle" }, "name": "shuffle" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 10767, "end": 10774, "loc": { "start": { "line": 356, "column": 23 }, "end": { "line": 356, "column": 30 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 10779, "end": 10841, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 10779, "end": 10840, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10779, "end": 10792, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10779, "end": 10783, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 8 } } }, "property": { "type": "Identifier", "start": 10784, "end": 10792, "loc": { "start": { "line": 357, "column": 9 }, "end": { "line": 357, "column": 17 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "right": { "type": "CallExpression", "start": 10795, "end": 10840, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 10795, "end": 10813, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10795, "end": 10808, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 33 } }, "object": { "type": "ThisExpression", "start": 10795, "end": 10799, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 24 } } }, "property": { "type": "Identifier", "start": 10800, "end": 10808, "loc": { "start": { "line": 357, "column": 25 }, "end": { "line": 357, "column": 33 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "Identifier", "start": 10809, "end": 10813, "loc": { "start": { "line": 357, "column": 34 }, "end": { "line": 357, "column": 38 }, "identifierName": "sort" }, "name": "sort" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10814, "end": 10839, "loc": { "start": { "line": 357, "column": 39 }, "end": { "line": 357, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "BinaryExpression", "start": 10820, "end": 10839, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 64 } }, "left": { "type": "CallExpression", "start": 10820, "end": 10833, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 10820, "end": 10831, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 56 } }, "object": { "type": "Identifier", "start": 10820, "end": 10824, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 49 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 10825, "end": 10831, "loc": { "start": { "line": 357, "column": 50 }, "end": { "line": 357, "column": 56 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "NumericLiteral", "start": 10836, "end": 10839, "loc": { "start": { "line": 357, "column": 61 }, "end": { "line": 357, "column": 64 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 10644, "end": 10714, "loc": { "start": { "line": 351, "column": 2 }, "end": { "line": 354, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 10849, "end": 10921, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 363, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10924, "end": 11441, "loc": { "start": { "line": 364, "column": 2 }, "end": { "line": 379, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10924, "end": 10935, "loc": { "start": { "line": 364, "column": 2 }, "end": { "line": 364, "column": 13 }, "identifierName": "initFadeOut" }, "name": "initFadeOut", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10938, "end": 11441, "loc": { "start": { "line": 364, "column": 16 }, "end": { "line": 379, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10944, "end": 10989, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 10944, "end": 10988, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 48 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 10944, "end": 10961, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 21 } }, "object": { "type": "MemberExpression", "start": 10944, "end": 10951, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 11 } }, "object": { "type": "ThisExpression", "start": 10944, "end": 10948, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 8 } } }, "property": { "type": "Identifier", "start": 10949, "end": 10951, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 10952, "end": 10961, "loc": { "start": { "line": 365, "column": 12 }, "end": { "line": 365, "column": 21 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 10965, "end": 10988, "loc": { "start": { "line": 365, "column": 25 }, "end": { "line": 365, "column": 48 } }, "expressions": [ { "type": "MemberExpression", "start": 10969, "end": 10986, "loc": { "start": { "line": 365, "column": 29 }, "end": { "line": 365, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10969, "end": 10973, "loc": { "start": { "line": 365, "column": 29 }, "end": { "line": 365, "column": 33 } } }, "property": { "type": "Identifier", "start": 10974, "end": 10986, "loc": { "start": { "line": 365, "column": 34 }, "end": { "line": 365, "column": 46 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 10966, "end": 10967, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "column": 27 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 10987, "end": 10987, "loc": { "start": { "line": 365, "column": 47 }, "end": { "line": 365, "column": 47 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 10994, "end": 11060, "loc": { "start": { "line": 366, "column": 4 }, "end": { "line": 366, "column": 70 } }, "test": { "type": "MemberExpression", "start": 10998, "end": 11009, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10998, "end": 11002, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 12 } } }, "property": { "type": "Identifier", "start": 11003, "end": 11009, "loc": { "start": { "line": 366, "column": 13 }, "end": { "line": 366, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 11011, "end": 11060, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 11011, "end": 11059, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 69 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 11011, "end": 11032, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 42 } }, "object": { "type": "MemberExpression", "start": 11011, "end": 11022, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 32 } }, "object": { "type": "ThisExpression", "start": 11011, "end": 11015, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 25 } } }, "property": { "type": "Identifier", "start": 11016, "end": 11022, "loc": { "start": { "line": 366, "column": 26 }, "end": { "line": 366, "column": 32 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 11023, "end": 11032, "loc": { "start": { "line": 366, "column": 33 }, "end": { "line": 366, "column": 42 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 11036, "end": 11059, "loc": { "start": { "line": 366, "column": 46 }, "end": { "line": 366, "column": 69 } }, "expressions": [ { "type": "MemberExpression", "start": 11040, "end": 11057, "loc": { "start": { "line": 366, "column": 50 }, "end": { "line": 366, "column": 67 } }, "object": { "type": "ThisExpression", "start": 11040, "end": 11044, "loc": { "start": { "line": 366, "column": 50 }, "end": { "line": 366, "column": 54 } } }, "property": { "type": "Identifier", "start": 11045, "end": 11057, "loc": { "start": { "line": 366, "column": 55 }, "end": { "line": 366, "column": 67 }, "identifierName": "fadeOutClass" }, "name": "fadeOutClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 11037, "end": 11038, "loc": { "start": { "line": 366, "column": 47 }, "end": { "line": 366, "column": 48 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 11058, "end": 11058, "loc": { "start": { "line": 366, "column": 68 }, "end": { "line": 366, "column": 68 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, "alternate": null }, { "type": "ReturnStatement", "start": 11065, "end": 11437, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 378, "column": 26 } }, "argument": { "type": "CallExpression", "start": 11072, "end": 11436, "loc": { "start": { "line": 367, "column": 11 }, "end": { "line": 378, "column": 25 } }, "callee": { "type": "Identifier", "start": 11072, "end": 11082, "loc": { "start": { "line": 367, "column": 11 }, "end": { "line": 367, "column": 21 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11083, "end": 11416, "loc": { "start": { "line": 367, "column": 22 }, "end": { "line": 378, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11089, "end": 11416, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 378, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11097, "end": 11113, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 22 } }, "expression": { "type": "UpdateExpression", "start": 11097, "end": 11112, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 21 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 11097, "end": 11110, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11097, "end": 11101, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 10 } } }, "property": { "type": "Identifier", "start": 11102, "end": 11110, "loc": { "start": { "line": 368, "column": 11 }, "end": { "line": 368, "column": 19 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 11120, "end": 11141, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 27 } }, "expression": { "type": "CallExpression", "start": 11120, "end": 11140, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 11120, "end": 11136, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11120, "end": 11124, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 10 } } }, "property": { "type": "Identifier", "start": 11125, "end": 11136, "loc": { "start": { "line": 369, "column": 11 }, "end": { "line": 369, "column": 22 }, "identifierName": "replaceText" }, "name": "replaceText" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11137, "end": 11139, "loc": { "start": { "line": 369, "column": 23 }, "end": { "line": 369, "column": 25 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11149, "end": 11196, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 53 } } } ] }, { "type": "IfStatement", "start": 11203, "end": 11410, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 377, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 11207, "end": 11242, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 45 } }, "left": { "type": "MemberExpression", "start": 11207, "end": 11226, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 29 } }, "object": { "type": "MemberExpression", "start": 11207, "end": 11219, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11207, "end": 11211, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11212, "end": 11219, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 22 }, "identifierName": "strings" }, "name": "strings" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11220, "end": 11226, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "MemberExpression", "start": 11229, "end": 11242, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11229, "end": 11233, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 36 } } }, "property": { "type": "Identifier", "start": 11234, "end": 11242, "loc": { "start": { "line": 372, "column": 37 }, "end": { "line": 372, "column": 45 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11244, "end": 11324, "loc": { "start": { "line": 372, "column": 47 }, "end": { "line": 374, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11254, "end": 11316, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 70 } }, "expression": { "type": "CallExpression", "start": 11254, "end": 11315, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 11254, "end": 11268, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11254, "end": 11258, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 12 } } }, "property": { "type": "Identifier", "start": 11259, "end": 11268, "loc": { "start": { "line": 373, "column": 13 }, "end": { "line": 373, "column": 22 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11269, "end": 11311, "loc": { "start": { "line": 373, "column": 23 }, "end": { "line": 373, "column": 65 } }, "object": { "type": "MemberExpression", "start": 11269, "end": 11281, "loc": { "start": { "line": 373, "column": 23 }, "end": { "line": 373, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11269, "end": 11273, "loc": { "start": { "line": 373, "column": 23 }, "end": { "line": 373, "column": 27 } } }, "property": { "type": "Identifier", "start": 11274, "end": 11281, "loc": { "start": { "line": 373, "column": 28 }, "end": { "line": 373, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11282, "end": 11310, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 64 } }, "object": { "type": "MemberExpression", "start": 11282, "end": 11295, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 49 } }, "object": { "type": "ThisExpression", "start": 11282, "end": 11286, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 40 } } }, "property": { "type": "Identifier", "start": 11287, "end": 11295, "loc": { "start": { "line": 373, "column": 41 }, "end": { "line": 373, "column": 49 }, "identifierName": "sequence" }, "name": "sequence" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11296, "end": 11309, "loc": { "start": { "line": 373, "column": 50 }, "end": { "line": 373, "column": 63 } }, "object": { "type": "ThisExpression", "start": 11296, "end": 11300, "loc": { "start": { "line": 373, "column": 50 }, "end": { "line": 373, "column": 54 } } }, "property": { "type": "Identifier", "start": 11301, "end": 11309, "loc": { "start": { "line": 373, "column": 55 }, "end": { "line": 373, "column": 63 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "computed": true }, "computed": true }, { "type": "NumericLiteral", "start": 11313, "end": 11314, "loc": { "start": { "line": 373, "column": 67 }, "end": { "line": 373, "column": 68 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 11330, "end": 11410, "loc": { "start": { "line": 374, "column": 13 }, "end": { "line": 377, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11340, "end": 11375, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 43 } }, "expression": { "type": "CallExpression", "start": 11340, "end": 11374, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 11340, "end": 11354, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11340, "end": 11344, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 12 } } }, "property": { "type": "Identifier", "start": 11345, "end": 11354, "loc": { "start": { "line": 375, "column": 13 }, "end": { "line": 375, "column": 22 }, "identifierName": "typewrite" }, "name": "typewrite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11355, "end": 11370, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11355, "end": 11367, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11355, "end": 11359, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 27 } } }, "property": { "type": "Identifier", "start": 11360, "end": 11367, "loc": { "start": { "line": 375, "column": 28 }, "end": { "line": 375, "column": 35 }, "identifierName": "strings" }, "name": "strings" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 11368, "end": 11369, "loc": { "start": { "line": 375, "column": 36 }, "end": { "line": 375, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "NumericLiteral", "start": 11372, "end": 11373, "loc": { "start": { "line": 375, "column": 40 }, "end": { "line": 375, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } }, { "type": "ExpressionStatement", "start": 11384, "end": 11402, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11384, "end": 11401, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11384, "end": 11397, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11384, "end": 11388, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 12 } } }, "property": { "type": "Identifier", "start": 11389, "end": 11397, "loc": { "start": { "line": 376, "column": 13 }, "end": { "line": 376, "column": 21 }, "identifierName": "arrayPos" }, "name": "arrayPos" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 11400, "end": 11401, "loc": { "start": { "line": 376, "column": 24 }, "end": { "line": 376, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11149, "end": 11196, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 53 } } } ] } ], "directives": [] } }, { "type": "MemberExpression", "start": 11418, "end": 11435, "loc": { "start": { "line": 378, "column": 7 }, "end": { "line": 378, "column": 24 } }, "object": { "type": "ThisExpression", "start": 11418, "end": 11422, "loc": { "start": { "line": 378, "column": 7 }, "end": { "line": 378, "column": 11 } } }, "property": { "type": "Identifier", "start": 11423, "end": 11435, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 24 }, "identifierName": "fadeOutDelay" }, "name": "fadeOutDelay" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 10849, "end": 10921, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 363, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 11445, "end": 11571, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 386, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11574, "end": 11874, "loc": { "start": { "line": 387, "column": 2 }, "end": { "line": 399, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11574, "end": 11585, "loc": { "start": { "line": 387, "column": 2 }, "end": { "line": 387, "column": 13 }, "identifierName": "replaceText" }, "name": "replaceText", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11586, "end": 11589, "loc": { "start": { "line": 387, "column": 14 }, "end": { "line": 387, "column": 17 }, "identifierName": "str" }, "name": "str" } ], "body": { "type": "BlockStatement", "start": 11591, "end": 11874, "loc": { "start": { "line": 387, "column": 19 }, "end": { "line": 399, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 11597, "end": 11870, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 398, "column": 5 } }, "test": { "type": "MemberExpression", "start": 11601, "end": 11610, "loc": { "start": { "line": 388, "column": 8 }, "end": { "line": 388, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11601, "end": 11605, "loc": { "start": { "line": 388, "column": 8 }, "end": { "line": 388, "column": 12 } } }, "property": { "type": "Identifier", "start": 11606, "end": 11610, "loc": { "start": { "line": 388, "column": 13 }, "end": { "line": 388, "column": 17 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 11612, "end": 11663, "loc": { "start": { "line": 388, "column": 19 }, "end": { "line": 390, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11620, "end": 11657, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 43 } }, "expression": { "type": "CallExpression", "start": 11620, "end": 11656, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 11620, "end": 11640, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 26 } }, "object": { "type": "MemberExpression", "start": 11620, "end": 11627, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 13 } }, "object": { "type": "ThisExpression", "start": 11620, "end": 11624, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 10 } } }, "property": { "type": "Identifier", "start": 11625, "end": 11627, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 11628, "end": 11640, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 26 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11641, "end": 11650, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 389, "column": 36 } }, "object": { "type": "ThisExpression", "start": 11641, "end": 11645, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 389, "column": 31 } } }, "property": { "type": "Identifier", "start": 11646, "end": 11650, "loc": { "start": { "line": 389, "column": 32 }, "end": { "line": 389, "column": 36 }, "identifierName": "attr" }, "name": "attr" }, "computed": false }, { "type": "Identifier", "start": 11652, "end": 11655, "loc": { "start": { "line": 389, "column": 38 }, "end": { "line": 389, "column": 41 }, "identifierName": "str" }, "name": "str" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 11669, "end": 11870, "loc": { "start": { "line": 390, "column": 11 }, "end": { "line": 398, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 11677, "end": 11864, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 397, "column": 7 } }, "test": { "type": "MemberExpression", "start": 11681, "end": 11693, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 391, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11681, "end": 11685, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 391, "column": 14 } } }, "property": { "type": "Identifier", "start": 11686, "end": 11693, "loc": { "start": { "line": 391, "column": 15 }, "end": { "line": 391, "column": 22 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 11695, "end": 11733, "loc": { "start": { "line": 391, "column": 24 }, "end": { "line": 393, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11705, "end": 11725, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 11705, "end": 11724, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11705, "end": 11718, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 21 } }, "object": { "type": "MemberExpression", "start": 11705, "end": 11712, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11705, "end": 11709, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 12 } } }, "property": { "type": "Identifier", "start": 11710, "end": 11712, "loc": { "start": { "line": 392, "column": 13 }, "end": { "line": 392, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 11713, "end": 11718, "loc": { "start": { "line": 392, "column": 16 }, "end": { "line": 392, "column": 21 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "right": { "type": "Identifier", "start": 11721, "end": 11724, "loc": { "start": { "line": 392, "column": 24 }, "end": { "line": 392, "column": 27 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 11739, "end": 11864, "loc": { "start": { "line": 393, "column": 13 }, "end": { "line": 397, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 11743, "end": 11770, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 44 } }, "left": { "type": "MemberExpression", "start": 11743, "end": 11759, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 33 } }, "object": { "type": "ThisExpression", "start": 11743, "end": 11747, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 21 } } }, "property": { "type": "Identifier", "start": 11748, "end": 11759, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 33 }, "identifierName": "contentType" }, "name": "contentType" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 11764, "end": 11770, "loc": { "start": { "line": 393, "column": 38 }, "end": { "line": 393, "column": 44 } }, "extra": { "rawValue": "html", "raw": "'html'" }, "value": "html" } }, "consequent": { "type": "BlockStatement", "start": 11772, "end": 11814, "loc": { "start": { "line": 393, "column": 46 }, "end": { "line": 395, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11782, "end": 11806, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 11782, "end": 11805, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11782, "end": 11799, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11782, "end": 11789, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11782, "end": 11786, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 12 } } }, "property": { "type": "Identifier", "start": 11787, "end": 11789, "loc": { "start": { "line": 394, "column": 13 }, "end": { "line": 394, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 11790, "end": 11799, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 25 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 11802, "end": 11805, "loc": { "start": { "line": 394, "column": 28 }, "end": { "line": 394, "column": 31 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 11820, "end": 11864, "loc": { "start": { "line": 395, "column": 13 }, "end": { "line": 397, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 11830, "end": 11856, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11830, "end": 11855, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11830, "end": 11849, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 27 } }, "object": { "type": "MemberExpression", "start": 11830, "end": 11837, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11830, "end": 11834, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 12 } } }, "property": { "type": "Identifier", "start": 11835, "end": 11837, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 15 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 11838, "end": 11849, "loc": { "start": { "line": 396, "column": 16 }, "end": { "line": 396, "column": 27 }, "identifierName": "textContent" }, "name": "textContent" }, "computed": false }, "right": { "type": "Identifier", "start": 11852, "end": 11855, "loc": { "start": { "line": 396, "column": 30 }, "end": { "line": 396, "column": 33 }, "identifierName": "str" }, "name": "str" } } } ], "directives": [] } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 11445, "end": 11571, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 386, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 11878, "end": 11988, "loc": { "start": { "line": 401, "column": 2 }, "end": { "line": 405, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11991, "end": 12274, "loc": { "start": { "line": 406, "column": 2 }, "end": { "line": 417, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11991, "end": 12006, "loc": { "start": { "line": 406, "column": 2 }, "end": { "line": 406, "column": 17 }, "identifierName": "bindFocusEvents" }, "name": "bindFocusEvents", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12009, "end": 12274, "loc": { "start": { "line": 406, "column": 20 }, "end": { "line": 417, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12015, "end": 12041, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 12019, "end": 12032, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12020, "end": 12032, "loc": { "start": { "line": 407, "column": 9 }, "end": { "line": 407, "column": 21 } }, "object": { "type": "ThisExpression", "start": 12020, "end": 12024, "loc": { "start": { "line": 407, "column": 9 }, "end": { "line": 407, "column": 13 } } }, "property": { "type": "Identifier", "start": 12025, "end": 12032, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 21 }, "identifierName": "isInput" }, "name": "isInput" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 12034, "end": 12041, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 30 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 12046, "end": 12115, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 7 } }, "expression": { "type": "CallExpression", "start": 12046, "end": 12114, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12046, "end": 12070, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 28 } }, "object": { "type": "MemberExpression", "start": 12046, "end": 12053, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 11 } }, "object": { "type": "ThisExpression", "start": 12046, "end": 12050, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 8 } } }, "property": { "type": "Identifier", "start": 12051, "end": 12053, "loc": { "start": { "line": 408, "column": 9 }, "end": { "line": 408, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12054, "end": 12070, "loc": { "start": { "line": 408, "column": 12 }, "end": { "line": 408, "column": 28 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12071, "end": 12078, "loc": { "start": { "line": 408, "column": 29 }, "end": { "line": 408, "column": 36 } }, "extra": { "rawValue": "focus", "raw": "'focus'" }, "value": "focus" }, { "type": "ArrowFunctionExpression", "start": 12080, "end": 12113, "loc": { "start": { "line": 408, "column": 38 }, "end": { "line": 410, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12081, "end": 12082, "loc": { "start": { "line": 408, "column": 39 }, "end": { "line": 408, "column": 40 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 12087, "end": 12113, "loc": { "start": { "line": 408, "column": 45 }, "end": { "line": 410, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12095, "end": 12107, "loc": { "start": { "line": 409, "column": 6 }, "end": { "line": 409, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12095, "end": 12106, "loc": { "start": { "line": 409, "column": 6 }, "end": { "line": 409, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12095, "end": 12104, "loc": { "start": { "line": 409, "column": 6 }, "end": { "line": 409, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12095, "end": 12099, "loc": { "start": { "line": 409, "column": 6 }, "end": { "line": 409, "column": 10 } } }, "property": { "type": "Identifier", "start": 12100, "end": 12104, "loc": { "start": { "line": 409, "column": 11 }, "end": { "line": 409, "column": 15 }, "identifierName": "stop" }, "name": "stop" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 12120, "end": 12270, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 416, "column": 7 } }, "expression": { "type": "CallExpression", "start": 12120, "end": 12269, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 416, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12120, "end": 12144, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 28 } }, "object": { "type": "MemberExpression", "start": 12120, "end": 12127, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 11 } }, "object": { "type": "ThisExpression", "start": 12120, "end": 12124, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 8 } } }, "property": { "type": "Identifier", "start": 12125, "end": 12127, "loc": { "start": { "line": 411, "column": 9 }, "end": { "line": 411, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12128, "end": 12144, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 28 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12145, "end": 12151, "loc": { "start": { "line": 411, "column": 29 }, "end": { "line": 411, "column": 35 } }, "extra": { "rawValue": "blur", "raw": "'blur'" }, "value": "blur" }, { "type": "ArrowFunctionExpression", "start": 12153, "end": 12268, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 416, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12154, "end": 12155, "loc": { "start": { "line": 411, "column": 38 }, "end": { "line": 411, "column": 39 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 12160, "end": 12268, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 416, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 12168, "end": 12242, "loc": { "start": { "line": 412, "column": 6 }, "end": { "line": 414, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 12172, "end": 12215, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 53 } }, "left": { "type": "MemberExpression", "start": 12172, "end": 12185, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 23 } }, "object": { "type": "MemberExpression", "start": 12172, "end": 12179, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12172, "end": 12176, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 14 } } }, "property": { "type": "Identifier", "start": 12177, "end": 12179, "loc": { "start": { "line": 412, "column": 15 }, "end": { "line": 412, "column": 17 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12180, "end": 12185, "loc": { "start": { "line": 412, "column": 18 }, "end": { "line": 412, "column": 23 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 12189, "end": 12215, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 53 } }, "left": { "type": "MemberExpression", "start": 12189, "end": 12209, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 47 } }, "object": { "type": "MemberExpression", "start": 12189, "end": 12202, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 40 } }, "object": { "type": "MemberExpression", "start": 12189, "end": 12196, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 34 } }, "object": { "type": "ThisExpression", "start": 12189, "end": 12193, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 31 } } }, "property": { "type": "Identifier", "start": 12194, "end": 12196, "loc": { "start": { "line": 412, "column": 32 }, "end": { "line": 412, "column": 34 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12197, "end": 12202, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 40 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "property": { "type": "Identifier", "start": 12203, "end": 12209, "loc": { "start": { "line": 412, "column": 41 }, "end": { "line": 412, "column": 47 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 12214, "end": 12215, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 12217, "end": 12242, "loc": { "start": { "line": 412, "column": 55 }, "end": { "line": 414, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 12227, "end": 12234, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 12249, "end": 12262, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 } }, "expression": { "type": "CallExpression", "start": 12249, "end": 12261, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 12249, "end": 12259, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12249, "end": 12253, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 10 } } }, "property": { "type": "Identifier", "start": 12254, "end": 12259, "loc": { "start": { "line": 415, "column": 11 }, "end": { "line": 415, "column": 16 }, "identifierName": "start" }, "name": "start" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 11878, "end": 11988, "loc": { "start": { "line": 401, "column": 2 }, "end": { "line": 405, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12278, "end": 12341, "loc": { "start": { "line": 419, "column": 2 }, "end": { "line": 422, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12344, "end": 12716, "loc": { "start": { "line": 423, "column": 2 }, "end": { "line": 432, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12344, "end": 12356, "loc": { "start": { "line": 423, "column": 2 }, "end": { "line": 423, "column": 14 }, "identifierName": "insertCursor" }, "name": "insertCursor", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12359, "end": 12716, "loc": { "start": { "line": 423, "column": 17 }, "end": { "line": 432, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12365, "end": 12394, "loc": { "start": { "line": 424, "column": 4 }, "end": { "line": 424, "column": 33 } }, "test": { "type": "UnaryExpression", "start": 12369, "end": 12385, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12370, "end": 12385, "loc": { "start": { "line": 424, "column": 9 }, "end": { "line": 424, "column": 24 } }, "object": { "type": "ThisExpression", "start": 12370, "end": 12374, "loc": { "start": { "line": 424, "column": 9 }, "end": { "line": 424, "column": 13 } } }, "property": { "type": "Identifier", "start": 12375, "end": 12385, "loc": { "start": { "line": 424, "column": 14 }, "end": { "line": 424, "column": 24 }, "identifierName": "showCursor" }, "name": "showCursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 12387, "end": 12394, "loc": { "start": { "line": 424, "column": 26 }, "end": { "line": 424, "column": 33 } }, "argument": null }, "alternate": null }, { "type": "IfStatement", "start": 12399, "end": 12423, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 425, "column": 28 } }, "test": { "type": "MemberExpression", "start": 12403, "end": 12414, "loc": { "start": { "line": 425, "column": 8 }, "end": { "line": 425, "column": 19 } }, "object": { "type": "ThisExpression", "start": 12403, "end": 12407, "loc": { "start": { "line": 425, "column": 8 }, "end": { "line": 425, "column": 12 } } }, "property": { "type": "Identifier", "start": 12408, "end": 12414, "loc": { "start": { "line": 425, "column": 13 }, "end": { "line": 425, "column": 19 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "consequent": { "type": "ReturnStatement", "start": 12416, "end": 12423, "loc": { "start": { "line": 425, "column": 21 }, "end": { "line": 425, "column": 28 } }, "argument": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 12428, "end": 12473, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 12428, "end": 12472, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12428, "end": 12439, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12428, "end": 12432, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 8 } } }, "property": { "type": "Identifier", "start": 12433, "end": 12439, "loc": { "start": { "line": 426, "column": 9 }, "end": { "line": 426, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "right": { "type": "CallExpression", "start": 12442, "end": 12472, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 12442, "end": 12464, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 40 } }, "object": { "type": "Identifier", "start": 12442, "end": 12450, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 26 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 12451, "end": 12464, "loc": { "start": { "line": 426, "column": 27 }, "end": { "line": 426, "column": 40 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12465, "end": 12471, "loc": { "start": { "line": 426, "column": 41 }, "end": { "line": 426, "column": 47 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] } } }, { "type": "ExpressionStatement", "start": 12478, "end": 12517, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 12478, "end": 12516, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12478, "end": 12499, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12478, "end": 12489, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12478, "end": 12482, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 8 } } }, "property": { "type": "Identifier", "start": 12483, "end": 12489, "loc": { "start": { "line": 427, "column": 9 }, "end": { "line": 427, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 12490, "end": 12499, "loc": { "start": { "line": 427, "column": 16 }, "end": { "line": 427, "column": 25 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12502, "end": 12516, "loc": { "start": { "line": 427, "column": 28 }, "end": { "line": 427, "column": 42 } }, "extra": { "rawValue": "typed-cursor", "raw": "'typed-cursor'" }, "value": "typed-cursor" } } }, { "type": "ExpressionStatement", "start": 12522, "end": 12568, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 50 } }, "expression": { "type": "CallExpression", "start": 12522, "end": 12567, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 12522, "end": 12546, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 28 } }, "object": { "type": "MemberExpression", "start": 12522, "end": 12533, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12522, "end": 12526, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 8 } } }, "property": { "type": "Identifier", "start": 12527, "end": 12533, "loc": { "start": { "line": 428, "column": 9 }, "end": { "line": 428, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 12534, "end": 12546, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 28 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12547, "end": 12560, "loc": { "start": { "line": 428, "column": 29 }, "end": { "line": 428, "column": 42 } }, "extra": { "rawValue": "aria-hidden", "raw": "'aria-hidden'" }, "value": "aria-hidden" }, { "type": "BooleanLiteral", "start": 12562, "end": 12566, "loc": { "start": { "line": 428, "column": 44 }, "end": { "line": 428, "column": 48 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 12573, "end": 12613, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 12573, "end": 12612, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12573, "end": 12594, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12573, "end": 12584, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12573, "end": 12577, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 8 } } }, "property": { "type": "Identifier", "start": 12578, "end": 12584, "loc": { "start": { "line": 429, "column": 9 }, "end": { "line": 429, "column": 15 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, "property": { "type": "Identifier", "start": 12585, "end": 12594, "loc": { "start": { "line": 429, "column": 16 }, "end": { "line": 429, "column": 25 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12597, "end": 12612, "loc": { "start": { "line": 429, "column": 28 }, "end": { "line": 429, "column": 43 } }, "object": { "type": "ThisExpression", "start": 12597, "end": 12601, "loc": { "start": { "line": 429, "column": 28 }, "end": { "line": 429, "column": 32 } } }, "property": { "type": "Identifier", "start": 12602, "end": 12612, "loc": { "start": { "line": 429, "column": 33 }, "end": { "line": 429, "column": 43 }, "identifierName": "cursorChar" }, "name": "cursorChar" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12618, "end": 12712, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 431, "column": 72 } }, "expression": { "type": "LogicalExpression", "start": 12618, "end": 12711, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 431, "column": 71 } }, "left": { "type": "MemberExpression", "start": 12618, "end": 12636, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 22 } }, "object": { "type": "MemberExpression", "start": 12618, "end": 12625, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 11 } }, "object": { "type": "ThisExpression", "start": 12618, "end": 12622, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 8 } } }, "property": { "type": "Identifier", "start": 12623, "end": 12625, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 11 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12626, "end": 12636, "loc": { "start": { "line": 430, "column": 12 }, "end": { "line": 430, "column": 22 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "operator": "&&", "right": { "type": "CallExpression", "start": 12646, "end": 12711, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 12646, "end": 12677, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 37 } }, "object": { "type": "MemberExpression", "start": 12646, "end": 12664, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 24 } }, "object": { "type": "MemberExpression", "start": 12646, "end": 12653, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 13 } }, "object": { "type": "ThisExpression", "start": 12646, "end": 12650, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 10 } } }, "property": { "type": "Identifier", "start": 12651, "end": 12653, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 13 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12654, "end": 12664, "loc": { "start": { "line": 431, "column": 14 }, "end": { "line": 431, "column": 24 }, "identifierName": "parentNode" }, "name": "parentNode" }, "computed": false }, "property": { "type": "Identifier", "start": 12665, "end": 12677, "loc": { "start": { "line": 431, "column": 25 }, "end": { "line": 431, "column": 37 }, "identifierName": "insertBefore" }, "name": "insertBefore" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12678, "end": 12689, "loc": { "start": { "line": 431, "column": 38 }, "end": { "line": 431, "column": 49 } }, "object": { "type": "ThisExpression", "start": 12678, "end": 12682, "loc": { "start": { "line": 431, "column": 38 }, "end": { "line": 431, "column": 42 } } }, "property": { "type": "Identifier", "start": 12683, "end": 12689, "loc": { "start": { "line": 431, "column": 43 }, "end": { "line": 431, "column": 49 }, "identifierName": "cursor" }, "name": "cursor" }, "computed": false }, { "type": "MemberExpression", "start": 12691, "end": 12710, "loc": { "start": { "line": 431, "column": 51 }, "end": { "line": 431, "column": 70 } }, "object": { "type": "MemberExpression", "start": 12691, "end": 12698, "loc": { "start": { "line": 431, "column": 51 }, "end": { "line": 431, "column": 58 } }, "object": { "type": "ThisExpression", "start": 12691, "end": 12695, "loc": { "start": { "line": 431, "column": 51 }, "end": { "line": 431, "column": 55 } } }, "property": { "type": "Identifier", "start": 12696, "end": 12698, "loc": { "start": { "line": 431, "column": 56 }, "end": { "line": 431, "column": 58 }, "identifierName": "el" }, "name": "el" }, "computed": false }, "property": { "type": "Identifier", "start": 12699, "end": 12710, "loc": { "start": { "line": 431, "column": 59 }, "end": { "line": 431, "column": 70 }, "identifierName": "nextSibling" }, "name": "nextSibling" }, "computed": false } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12278, "end": 12341, "loc": { "start": { "line": 419, "column": 2 }, "end": { "line": 422, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 96, "end": 272, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 9, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 96, "end": 272, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 9, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 96, "end": 272, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 9, "column": 3 } } }, { "type": "CommentLine", "value": " Initialize it up", "start": 342, "end": 361, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 23 } } }, { "type": "CommentLine", "value": " All systems go!", "start": 414, "end": 432, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 22 } } }, { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 458, "end": 533, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 21, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 606, "end": 686, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 29, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 884, "end": 958, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 41, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1312, "end": 1370, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 57, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1449, "end": 1542, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 67, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 1943, "end": 1999, "loc": { "start": { "line": 85, "column": 2 }, "end": { "line": 88, "column": 5 } } }, { "type": "CommentLine", "value": " If the strPos is 0, we're starting from the beginning of a string", "start": 2244, "end": 2312, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 74 } } }, { "type": "CommentLine", "value": " else, we're starting with a previous string that needs to be backspaced first", "start": 2319, "end": 2399, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 86 } } }, { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 2648, "end": 2848, "loc": { "start": { "line": 106, "column": 2 }, "end": { "line": 111, "column": 5 } } }, { "type": "CommentLine", "value": " contain typing function in a timeout humanize'd delay", "start": 3282, "end": 3338, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 60 } } }, { "type": "CommentLine", "value": " skip over any HTML chars", "start": 3383, "end": 3410, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 33 } } }, { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 3566, "end": 3619, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 59 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 3626, "end": 3701, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 81 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 3708, "end": 3743, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 41 } } }, { "type": "CommentLine", "value": " skip at least 1", "start": 3843, "end": 3861, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 42 } } }, { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4085, "end": 4157, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 82 } } }, { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 4341, "end": 4382, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 47 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 4389, "end": 4429, "loc": { "start": { "line": 153, "column": 6 }, "end": { "line": 153, "column": 46 } } }, { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 4648, "end": 4719, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 79 } } }, { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5106, "end": 5148, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 48 } } }, { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5197, "end": 5234, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 45 } } }, { "type": "CommentLine", "value": " We're done with this sentence!", "start": 5280, "end": 5313, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 41 } } }, { "type": "CommentLine", "value": " end of character pause", "start": 5502, "end": 5527, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 33 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 5701, "end": 5730, "loc": { "start": { "line": 188, "column": 6 }, "end": { "line": 188, "column": 35 } } }, { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 5756, "end": 5967, "loc": { "start": { "line": 192, "column": 2 }, "end": { "line": 197, "column": 5 } } }, { "type": "CommentLine", "value": " call before functions if applicable", "start": 6019, "end": 6057, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 42 } } }, { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6185, "end": 6235, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 204, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6240, "end": 6301, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 65 } } }, { "type": "CommentLine", "value": " loop the function", "start": 6425, "end": 6445, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "column": 24 } } }, { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6495, "end": 6700, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentLine", "value": " fires callback function", "start": 6742, "end": 6768, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 30 } } }, { "type": "CommentLine", "value": " is this the final string", "start": 6857, "end": 6884, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 31 } } }, { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 6944, "end": 6992, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 54 } } }, { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7022, "end": 7050, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 34 } } }, { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7262, "end": 7463, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 242, "column": 5 } } }, { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 7871, "end": 7920, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 55 } } }, { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8042, "end": 8068, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 32 } } }, { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8110, "end": 8197, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 95 } } }, { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 8480, "end": 8535, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 8542, "end": 8582, "loc": { "start": { "line": 274, "column": 6 }, "end": { "line": 274, "column": 46 } } }, { "type": "CommentLine", "value": " subtract characters one by one", "start": 8629, "end": 8662, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 41 } } }, { "type": "CommentLine", "value": " loop the function", "start": 8692, "end": 8712, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 28 } } }, { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 8813, "end": 8861, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 281, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 8870, "end": 8902, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 40 } } }, { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 8936, "end": 9000, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 72 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 9319, "end": 9348, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 35 } } }, { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 9374, "end": 9429, "loc": { "start": { "line": 298, "column": 2 }, "end": { "line": 301, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 9583, "end": 9810, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 317, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 9982, "end": 10070, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } }, { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10136, "end": 10191, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 59 } } }, { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 10480, "end": 10555, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 10644, "end": 10714, "loc": { "start": { "line": 351, "column": 2 }, "end": { "line": 354, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 10849, "end": 10921, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 363, "column": 5 } } }, { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11149, "end": 11196, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 53 } } }, { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 11445, "end": 11571, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 386, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 11878, "end": 11988, "loc": { "start": { "line": 401, "column": 2 }, "end": { "line": 405, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12278, "end": 12341, "loc": { "start": { "line": 419, "column": 2 }, "end": { "line": 422, "column": 5 } } } ], "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": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializer", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21, "end": 22, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 23, "end": 27, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./initializer.js", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46, "end": 47, "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 47 } } }, { "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": 48, "end": 54, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 55, "end": 56, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 57, "end": 67, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 68, "end": 69, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 70, "end": 74, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./html-parser.js", "start": 75, "end": 93, "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 93, "end": 94, "loc": { "start": { "line": 2, "column": 45 }, "end": { "line": 2, "column": 46 } } }, { "type": "CommentBlock", "value": "*\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n ", "start": 96, "end": 272, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 9, "column": 3 } } }, { "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": 273, "end": 279, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "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": 280, "end": 287, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 14 } } }, { "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": 288, "end": 293, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Typed", "start": 294, "end": 299, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 300, "end": 301, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 304, "end": 315, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 315, "end": 316, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 316, "end": 325, "loc": { "start": { "line": 11, "column": 14 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 325, "end": 326, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 327, "end": 334, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 334, "end": 335, "loc": { "start": { "line": 11, "column": 32 }, "end": { "line": 11, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 336, "end": 337, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 11, "column": 35 } } }, { "type": "CommentLine", "value": " Initialize it up", "start": 342, "end": 361, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializer", "start": 366, "end": 377, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 377, "end": 378, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "load", "start": 378, "end": 382, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 382, "end": 383, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "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": 383, "end": 387, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 387, "end": 388, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 389, "end": 396, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 396, "end": 397, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 13, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elementId", "start": 398, "end": 407, "loc": { "start": { "line": 13, "column": 36 }, "end": { "line": 13, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 407, "end": 408, "loc": { "start": { "line": 13, "column": 45 }, "end": { "line": 13, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 408, "end": 409, "loc": { "start": { "line": 13, "column": 46 }, "end": { "line": 13, "column": 47 } } }, { "type": "CommentLine", "value": " All systems go!", "start": 414, "end": 432, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "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": 437, "end": 441, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 441, "end": 442, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 442, "end": 447, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 447, "end": 448, "loc": { "start": { "line": 15, "column": 14 }, "end": { "line": 15, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 448, "end": 449, "loc": { "start": { "line": 15, "column": 15 }, "end": { "line": 15, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 449, "end": 450, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 453, "end": 454, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Toggle start() and stop() of the Typed instance\n * @public\n ", "start": 458, "end": 533, "loc": { "start": { "line": 18, "column": 2 }, "end": { "line": 21, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 536, "end": 542, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 542, "end": 543, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 543, "end": 544, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 545, "end": 546, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "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": 551, "end": 555, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 555, "end": 556, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 556, "end": 561, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 561, "end": 562, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 562, "end": 568, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 569, "end": 570, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "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": 571, "end": 575, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 575, "end": 576, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 576, "end": 581, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 581, "end": 582, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 582, "end": 583, "loc": { "start": { "line": 23, "column": 35 }, "end": { "line": 23, "column": 36 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 584, "end": 585, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "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": 586, "end": 590, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 590, "end": 591, "loc": { "start": { "line": 23, "column": 43 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stop", "start": 591, "end": 595, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 595, "end": 596, "loc": { "start": { "line": 23, "column": 48 }, "end": { "line": 23, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 596, "end": 597, "loc": { "start": { "line": 23, "column": 49 }, "end": { "line": 23, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 597, "end": 598, "loc": { "start": { "line": 23, "column": 50 }, "end": { "line": 23, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 601, "end": 602, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Stop typing / backspacing and enable cursor blinking\n * @public\n ", "start": 606, "end": 686, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 29, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stop", "start": 689, "end": 693, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 693, "end": 694, "loc": { "start": { "line": 30, "column": 6 }, "end": { "line": 30, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 694, "end": 695, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 696, "end": 697, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 702, "end": 704, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 705, "end": 706, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "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": 706, "end": 710, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 710, "end": 711, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 711, "end": 725, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 725, "end": 726, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 28 } } }, { "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": 727, "end": 733, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 733, "end": 734, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 739, "end": 741, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 742, "end": 743, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 32, "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": 743, "end": 747, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 747, "end": 748, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 748, "end": 753, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 753, "end": 754, "loc": { "start": { "line": 32, "column": 18 }, "end": { "line": 32, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 754, "end": 760, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 760, "end": 761, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 32, "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": 762, "end": 768, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 768, "end": 769, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 32, "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": 774, "end": 778, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 778, "end": 779, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 779, "end": 793, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 793, "end": 794, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "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": 794, "end": 798, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 798, "end": 799, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 799, "end": 800, "loc": { "start": { "line": 33, "column": 29 }, "end": { "line": 33, "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": 805, "end": 809, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 809, "end": 810, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 810, "end": 815, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 815, "end": 816, "loc": { "start": { "line": 34, "column": 14 }, "end": { "line": 34, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 816, "end": 822, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 823, "end": 824, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 23 } } }, { "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": 825, "end": 829, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 829, "end": 830, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "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": 835, "end": 839, "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": 839, "end": 840, "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": "options", "start": 840, "end": 847, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 847, "end": 848, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStop", "start": 848, "end": 854, "loc": { "start": { "line": 35, "column": 17 }, "end": { "line": 35, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 854, "end": 855, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "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": 855, "end": 859, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 859, "end": 860, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 860, "end": 868, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 35, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 868, "end": 869, "loc": { "start": { "line": 35, "column": 37 }, "end": { "line": 35, "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": 870, "end": 874, "loc": { "start": { "line": 35, "column": 39 }, "end": { "line": 35, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 874, "end": 875, "loc": { "start": { "line": 35, "column": 43 }, "end": { "line": 35, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 875, "end": 876, "loc": { "start": { "line": 35, "column": 44 }, "end": { "line": 35, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 879, "end": 880, "loc": { "start": { "line": 36, "column": 2 }, "end": { "line": 36, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Start typing / backspacing after being stopped\n * @public\n ", "start": 884, "end": 958, "loc": { "start": { "line": 38, "column": 2 }, "end": { "line": 41, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 961, "end": 966, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 966, "end": 967, "loc": { "start": { "line": 42, "column": 7 }, "end": { "line": 42, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 967, "end": 968, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 969, "end": 970, "loc": { "start": { "line": 42, "column": 10 }, "end": { "line": 42, "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": 975, "end": 977, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 978, "end": 979, "loc": { "start": { "line": 43, "column": 7 }, "end": { "line": 43, "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": 979, "end": 983, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 983, "end": 984, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 984, "end": 998, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 998, "end": 999, "loc": { "start": { "line": 43, "column": 27 }, "end": { "line": 43, "column": 28 } } }, { "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": 1000, "end": 1006, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1006, "end": 1007, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1012, "end": 1014, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1015, "end": 1016, "loc": { "start": { "line": 44, "column": 7 }, "end": { "line": 44, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1016, "end": 1017, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "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": 1017, "end": 1021, "loc": { "start": { "line": 44, "column": 9 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1021, "end": 1022, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1022, "end": 1027, "loc": { "start": { "line": 44, "column": 14 }, "end": { "line": 44, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1027, "end": 1028, "loc": { "start": { "line": 44, "column": 19 }, "end": { "line": 44, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 1028, "end": 1034, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1034, "end": 1035, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "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": 1036, "end": 1042, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 44, "column": 34 }, "end": { "line": 44, "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": 1048, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1052, "end": 1053, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1053, "end": 1058, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1058, "end": 1059, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 1059, "end": 1065, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1066, "end": 1067, "loc": { "start": { "line": 45, "column": 22 }, "end": { "line": 45, "column": 23 } } }, { "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": 1068, "end": 1073, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1073, "end": 1074, "loc": { "start": { "line": 45, "column": 29 }, "end": { "line": 45, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1079, "end": 1081, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1082, "end": 1083, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 46, "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": 1083, "end": 1087, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1087, "end": 1088, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1088, "end": 1093, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1093, "end": 1094, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 1094, "end": 1103, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1103, "end": 1104, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1105, "end": 1106, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "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": 1113, "end": 1117, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1117, "end": 1118, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 1118, "end": 1127, "loc": { "start": { "line": 47, "column": 11 }, "end": { "line": 47, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1127, "end": 1128, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "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": 1128, "end": 1132, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1132, "end": 1133, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1133, "end": 1138, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1138, "end": 1139, "loc": { "start": { "line": 47, "column": 31 }, "end": { "line": 47, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1139, "end": 1148, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1148, "end": 1149, "loc": { "start": { "line": 47, "column": 41 }, "end": { "line": 47, "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": 1150, "end": 1154, "loc": { "start": { "line": 47, "column": 43 }, "end": { "line": 47, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1154, "end": 1155, "loc": { "start": { "line": 47, "column": 47 }, "end": { "line": 47, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1155, "end": 1160, "loc": { "start": { "line": 47, "column": 48 }, "end": { "line": 47, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1160, "end": 1161, "loc": { "start": { "line": 47, "column": 53 }, "end": { "line": 47, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1161, "end": 1170, "loc": { "start": { "line": 47, "column": 54 }, "end": { "line": 47, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1170, "end": 1171, "loc": { "start": { "line": 47, "column": 63 }, "end": { "line": 47, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1171, "end": 1172, "loc": { "start": { "line": 47, "column": 64 }, "end": { "line": 47, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1177, "end": 1178, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 5 } } }, { "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": 1179, "end": 1183, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1184, "end": 1185, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 48, "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": 1192, "end": 1196, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1196, "end": 1197, "loc": { "start": { "line": 49, "column": 10 }, "end": { "line": 49, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 1197, "end": 1206, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1206, "end": 1207, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "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": 1207, "end": 1211, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1211, "end": 1212, "loc": { "start": { "line": 49, "column": 25 }, "end": { "line": 49, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1212, "end": 1217, "loc": { "start": { "line": 49, "column": 26 }, "end": { "line": 49, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1217, "end": 1218, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 1218, "end": 1227, "loc": { "start": { "line": 49, "column": 32 }, "end": { "line": 49, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 49, "column": 41 }, "end": { "line": 49, "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": 1229, "end": 1233, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1233, "end": 1234, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 1234, "end": 1239, "loc": { "start": { "line": 49, "column": 48 }, "end": { "line": 49, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1239, "end": 1240, "loc": { "start": { "line": 49, "column": 53 }, "end": { "line": 49, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 1240, "end": 1249, "loc": { "start": { "line": 49, "column": 54 }, "end": { "line": 49, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1249, "end": 1250, "loc": { "start": { "line": 49, "column": 63 }, "end": { "line": 49, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1250, "end": 1251, "loc": { "start": { "line": 49, "column": 64 }, "end": { "line": 49, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "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": 1262, "end": 1266, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1266, "end": 1267, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1267, "end": 1274, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1274, "end": 1275, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStart", "start": 1275, "end": 1282, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1282, "end": 1283, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "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": 1283, "end": 1287, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 51, "column": 29 }, "end": { "line": 51, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 1288, "end": 1296, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 51, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1296, "end": 1297, "loc": { "start": { "line": 51, "column": 38 }, "end": { "line": 51, "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": 1298, "end": 1302, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1302, "end": 1303, "loc": { "start": { "line": 51, "column": 44 }, "end": { "line": 51, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1303, "end": 1304, "loc": { "start": { "line": 51, "column": 45 }, "end": { "line": 51, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1307, "end": 1308, "loc": { "start": { "line": 52, "column": 2 }, "end": { "line": 52, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Destroy this instance of Typed\n * @public\n ", "start": 1312, "end": 1370, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 57, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 1373, "end": 1380, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 58, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1380, "end": 1381, "loc": { "start": { "line": 58, "column": 9 }, "end": { "line": 58, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1381, "end": 1382, "loc": { "start": { "line": 58, "column": 10 }, "end": { "line": 58, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1383, "end": 1384, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "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": 1389, "end": 1393, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1393, "end": 1394, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reset", "start": 1394, "end": 1399, "loc": { "start": { "line": 59, "column": 9 }, "end": { "line": 59, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1399, "end": 1400, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 59, "column": 15 } } }, { "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": 1400, "end": 1405, "loc": { "start": { "line": 59, "column": 15 }, "end": { "line": 59, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1405, "end": 1406, "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1406, "end": 1407, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "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": 1412, "end": 1416, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1416, "end": 1417, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1417, "end": 1424, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 60, "column": 16 }, "end": { "line": 60, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onDestroy", "start": 1425, "end": 1434, "loc": { "start": { "line": 60, "column": 17 }, "end": { "line": 60, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "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": 1435, "end": 1439, "loc": { "start": { "line": 60, "column": 27 }, "end": { "line": 60, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1439, "end": 1440, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1440, "end": 1441, "loc": { "start": { "line": 60, "column": 32 }, "end": { "line": 60, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1444, "end": 1445, "loc": { "start": { "line": 61, "column": 2 }, "end": { "line": 61, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n ", "start": 1449, "end": 1542, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 67, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reset", "start": 1545, "end": 1550, "loc": { "start": { "line": 68, "column": 2 }, "end": { "line": 68, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1550, "end": 1551, "loc": { "start": { "line": 68, "column": 7 }, "end": { "line": 68, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restart", "start": 1551, "end": 1558, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1559, "end": 1560, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 17 } } }, { "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": 1561, "end": 1565, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1565, "end": 1566, "loc": { "start": { "line": 68, "column": 22 }, "end": { "line": 68, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInterval", "start": 1573, "end": 1586, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 69, "column": 17 }, "end": { "line": 69, "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": 1587, "end": 1591, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 69, "column": 22 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 1592, "end": 1599, "loc": { "start": { "line": 69, "column": 23 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1599, "end": 1600, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1600, "end": 1601, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "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": 1606, "end": 1610, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1610, "end": 1611, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 1611, "end": 1622, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1622, "end": 1623, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 1623, "end": 1625, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1625, "end": 1626, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1626, "end": 1627, "loc": { "start": { "line": 70, "column": 24 }, "end": { "line": 70, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1632, "end": 1634, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1635, "end": 1636, "loc": { "start": { "line": 71, "column": 7 }, "end": { "line": 71, "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": 1636, "end": 1640, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1640, "end": 1641, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1641, "end": 1647, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1648, "end": 1650, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "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": 1651, "end": 1655, "loc": { "start": { "line": 71, "column": 23 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1655, "end": 1656, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1656, "end": 1662, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1662, "end": 1663, "loc": { "start": { "line": 71, "column": 34 }, "end": { "line": 71, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 1663, "end": 1673, "loc": { "start": { "line": 71, "column": 35 }, "end": { "line": 71, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1673, "end": 1674, "loc": { "start": { "line": 71, "column": 45 }, "end": { "line": 71, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1675, "end": 1676, "loc": { "start": { "line": 71, "column": 47 }, "end": { "line": 71, "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": 1683, "end": 1687, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1687, "end": 1688, "loc": { "start": { "line": 72, "column": 10 }, "end": { "line": 72, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1688, "end": 1694, "loc": { "start": { "line": 72, "column": 11 }, "end": { "line": 72, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1694, "end": 1695, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 1695, "end": 1705, "loc": { "start": { "line": 72, "column": 18 }, "end": { "line": 72, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1705, "end": 1706, "loc": { "start": { "line": 72, "column": 28 }, "end": { "line": 72, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeChild", "start": 1706, "end": 1717, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1717, "end": 1718, "loc": { "start": { "line": 72, "column": 40 }, "end": { "line": 72, "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": 1718, "end": 1722, "loc": { "start": { "line": 72, "column": 41 }, "end": { "line": 72, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 72, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1723, "end": 1729, "loc": { "start": { "line": 72, "column": 46 }, "end": { "line": 72, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1729, "end": 1730, "loc": { "start": { "line": 72, "column": 52 }, "end": { "line": 72, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1730, "end": 1731, "loc": { "start": { "line": 72, "column": 53 }, "end": { "line": 72, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1738, "end": 1742, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1742, "end": 1743, "loc": { "start": { "line": 73, "column": 10 }, "end": { "line": 73, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 1743, "end": 1749, "loc": { "start": { "line": 73, "column": 11 }, "end": { "line": 73, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1750, "end": 1751, "loc": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "column": 19 } } }, { "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": 1752, "end": 1756, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1756, "end": 1757, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1762, "end": 1763, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "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": 1768, "end": 1772, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1772, "end": 1773, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 1773, "end": 1779, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1780, "end": 1781, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1782, "end": 1783, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1783, "end": 1784, "loc": { "start": { "line": 75, "column": 19 }, "end": { "line": 75, "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": 1789, "end": 1793, "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": 1793, "end": 1794, "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": "arrayPos", "start": 1794, "end": 1802, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1803, "end": 1804, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1805, "end": 1806, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1806, "end": 1807, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "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": 1812, "end": 1816, "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": 1816, "end": 1817, "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": "curLoop", "start": 1817, "end": 1824, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1825, "end": 1826, "loc": { "start": { "line": 77, "column": 17 }, "end": { "line": 77, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1827, "end": 1828, "loc": { "start": { "line": 77, "column": 19 }, "end": { "line": 77, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1828, "end": 1829, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "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": 1834, "end": 1836, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1837, "end": 1838, "loc": { "start": { "line": 78, "column": 7 }, "end": { "line": 78, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restart", "start": 1838, "end": 1845, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1845, "end": 1846, "loc": { "start": { "line": 78, "column": 15 }, "end": { "line": 78, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1847, "end": 1848, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 78, "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": 1855, "end": 1859, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1859, "end": 1860, "loc": { "start": { "line": 79, "column": 10 }, "end": { "line": 79, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertCursor", "start": 1860, "end": 1872, "loc": { "start": { "line": 79, "column": 11 }, "end": { "line": 79, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1872, "end": 1873, "loc": { "start": { "line": 79, "column": 23 }, "end": { "line": 79, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1873, "end": 1874, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1874, "end": 1875, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "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": 1882, "end": 1886, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1886, "end": 1887, "loc": { "start": { "line": 80, "column": 10 }, "end": { "line": 80, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 1887, "end": 1894, "loc": { "start": { "line": 80, "column": 11 }, "end": { "line": 80, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1894, "end": 1895, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onReset", "start": 1895, "end": 1902, "loc": { "start": { "line": 80, "column": 19 }, "end": { "line": 80, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1902, "end": 1903, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "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": 1903, "end": 1907, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1907, "end": 1908, "loc": { "start": { "line": 80, "column": 31 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1908, "end": 1909, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1916, "end": 1920, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1920, "end": 1921, "loc": { "start": { "line": 81, "column": 10 }, "end": { "line": 81, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 1921, "end": 1926, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1926, "end": 1927, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1927, "end": 1928, "loc": { "start": { "line": 81, "column": 17 }, "end": { "line": 81, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1928, "end": 1929, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1934, "end": 1935, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1938, "end": 1939, "loc": { "start": { "line": 83, "column": 2 }, "end": { "line": 83, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Begins the typing animation\n * @private\n ", "start": 1943, "end": 1999, "loc": { "start": { "line": 85, "column": 2 }, "end": { "line": 88, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "begin", "start": 2002, "end": 2007, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2007, "end": 2008, "loc": { "start": { "line": 89, "column": 7 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2008, "end": 2009, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2010, "end": 2011, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 89, "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": 2016, "end": 2020, "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": 2020, "end": 2021, "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": "options", "start": 2021, "end": 2028, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2028, "end": 2029, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBegin", "start": 2029, "end": 2036, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2036, "end": 2037, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "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": 2037, "end": 2041, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2041, "end": 2042, "loc": { "start": { "line": 90, "column": 29 }, "end": { "line": 90, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2042, "end": 2043, "loc": { "start": { "line": 90, "column": 30 }, "end": { "line": 90, "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": 2048, "end": 2052, "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": 2052, "end": 2053, "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": "typingComplete", "start": 2053, "end": 2067, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2068, "end": 2069, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 25 } } }, { "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": 2070, "end": 2075, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2075, "end": 2076, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "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": 2081, "end": 2085, "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": 2085, "end": 2086, "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": "shuffleStringsIfNeeded", "start": 2086, "end": 2108, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2108, "end": 2109, "loc": { "start": { "line": 92, "column": 31 }, "end": { "line": 92, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2109, "end": 2113, "loc": { "start": { "line": 92, "column": 32 }, "end": { "line": 92, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2113, "end": 2114, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2114, "end": 2115, "loc": { "start": { "line": 92, "column": 37 }, "end": { "line": 92, "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": 2120, "end": 2124, "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": 2124, "end": 2125, "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": "insertCursor", "start": 2125, "end": 2137, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2137, "end": 2138, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2138, "end": 2139, "loc": { "start": { "line": 93, "column": 22 }, "end": { "line": 93, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2139, "end": 2140, "loc": { "start": { "line": 93, "column": 23 }, "end": { "line": 93, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2145, "end": 2147, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2148, "end": 2149, "loc": { "start": { "line": 94, "column": 7 }, "end": { "line": 94, "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": 2149, "end": 2153, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2153, "end": 2154, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindInputFocusEvents", "start": 2154, "end": 2174, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 94, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2174, "end": 2175, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "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": 2176, "end": 2180, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2180, "end": 2181, "loc": { "start": { "line": 94, "column": 39 }, "end": { "line": 94, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindFocusEvents", "start": 2181, "end": 2196, "loc": { "start": { "line": 94, "column": 40 }, "end": { "line": 94, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2196, "end": 2197, "loc": { "start": { "line": 94, "column": 55 }, "end": { "line": 94, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2197, "end": 2198, "loc": { "start": { "line": 94, "column": 56 }, "end": { "line": 94, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 94, "column": 57 }, "end": { "line": 94, "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": 2204, "end": 2208, "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": 2208, "end": 2209, "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": "timeout", "start": 2209, "end": 2216, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2217, "end": 2218, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 2219, "end": 2229, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2229, "end": 2230, "loc": { "start": { "line": 95, "column": 29 }, "end": { "line": 95, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2230, "end": 2231, "loc": { "start": { "line": 95, "column": 30 }, "end": { "line": 95, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2231, "end": 2232, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 95, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2233, "end": 2235, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2236, "end": 2237, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 37 } } }, { "type": "CommentLine", "value": " If the strPos is 0, we're starting from the beginning of a string", "start": 2244, "end": 2312, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 74 } } }, { "type": "CommentLine", "value": " else, we're starting with a previous string that needs to be backspaced first", "start": 2319, "end": 2399, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 86 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2406, "end": 2408, "loc": { "start": { "line": 98, "column": 6 }, "end": { "line": 98, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2409, "end": 2410, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 98, "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": 2410, "end": 2414, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2414, "end": 2415, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 2415, "end": 2421, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2422, "end": 2425, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2426, "end": 2427, "loc": { "start": { "line": 98, "column": 26 }, "end": { "line": 98, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2427, "end": 2428, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 98, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2429, "end": 2430, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 98, "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": 2439, "end": 2443, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2443, "end": 2444, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 2444, "end": 2453, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2453, "end": 2454, "loc": { "start": { "line": 99, "column": 22 }, "end": { "line": 99, "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": 2454, "end": 2458, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 99, "column": 27 }, "end": { "line": 99, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2459, "end": 2466, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2466, "end": 2467, "loc": { "start": { "line": 99, "column": 35 }, "end": { "line": 99, "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": 2467, "end": 2471, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2471, "end": 2472, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 2472, "end": 2480, "loc": { "start": { "line": 99, "column": 41 }, "end": { "line": 99, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2480, "end": 2481, "loc": { "start": { "line": 99, "column": 49 }, "end": { "line": 99, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2481, "end": 2485, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2485, "end": 2486, "loc": { "start": { "line": 99, "column": 54 }, "end": { "line": 99, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2486, "end": 2494, "loc": { "start": { "line": 99, "column": 55 }, "end": { "line": 99, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2494, "end": 2495, "loc": { "start": { "line": 99, "column": 63 }, "end": { "line": 99, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2495, "end": 2496, "loc": { "start": { "line": 99, "column": 64 }, "end": { "line": 99, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 99, "column": 65 }, "end": { "line": 99, "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": 2498, "end": 2502, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2502, "end": 2503, "loc": { "start": { "line": 99, "column": 71 }, "end": { "line": 99, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 2503, "end": 2509, "loc": { "start": { "line": 99, "column": 72 }, "end": { "line": 99, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2509, "end": 2510, "loc": { "start": { "line": 99, "column": 78 }, "end": { "line": 99, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2510, "end": 2511, "loc": { "start": { "line": 99, "column": 79 }, "end": { "line": 99, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2518, "end": 2519, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "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": 2520, "end": 2524, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2525, "end": 2526, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 100, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2535, "end": 2539, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2539, "end": 2540, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 2540, "end": 2549, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2549, "end": 2550, "loc": { "start": { "line": 101, "column": 22 }, "end": { "line": 101, "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": 2550, "end": 2554, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2554, "end": 2555, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 2555, "end": 2562, "loc": { "start": { "line": 101, "column": 28 }, "end": { "line": 101, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2562, "end": 2563, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "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": 2563, "end": 2567, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 101, "column": 40 }, "end": { "line": 101, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 2568, "end": 2576, "loc": { "start": { "line": 101, "column": 41 }, "end": { "line": 101, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2576, "end": 2577, "loc": { "start": { "line": 101, "column": 49 }, "end": { "line": 101, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2577, "end": 2581, "loc": { "start": { "line": 101, "column": 50 }, "end": { "line": 101, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2581, "end": 2582, "loc": { "start": { "line": 101, "column": 54 }, "end": { "line": 101, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 2582, "end": 2590, "loc": { "start": { "line": 101, "column": 55 }, "end": { "line": 101, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2590, "end": 2591, "loc": { "start": { "line": 101, "column": 63 }, "end": { "line": 101, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2591, "end": 2592, "loc": { "start": { "line": 101, "column": 64 }, "end": { "line": 101, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2592, "end": 2593, "loc": { "start": { "line": 101, "column": 65 }, "end": { "line": 101, "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": 2594, "end": 2598, "loc": { "start": { "line": 101, "column": 67 }, "end": { "line": 101, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2598, "end": 2599, "loc": { "start": { "line": 101, "column": 71 }, "end": { "line": 101, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strPos", "start": 2599, "end": 2605, "loc": { "start": { "line": 101, "column": 72 }, "end": { "line": 101, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2605, "end": 2606, "loc": { "start": { "line": 101, "column": 78 }, "end": { "line": 101, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2606, "end": 2607, "loc": { "start": { "line": 101, "column": 79 }, "end": { "line": 101, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2614, "end": 2615, "loc": { "start": { "line": 102, "column": 6 }, "end": { "line": 102, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2620, "end": 2621, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 103, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2621, "end": 2622, "loc": { "start": { "line": 103, "column": 5 }, "end": { "line": 103, "column": 6 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2623, "end": 2627, "loc": { "start": { "line": 103, "column": 7 }, "end": { "line": 103, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2627, "end": 2628, "loc": { "start": { "line": 103, "column": 11 }, "end": { "line": 103, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startDelay", "start": 2628, "end": 2638, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2638, "end": 2639, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2639, "end": 2640, "loc": { "start": { "line": 103, "column": 23 }, "end": { "line": 103, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2643, "end": 2644, "loc": { "start": { "line": 104, "column": 2 }, "end": { "line": 104, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 2648, "end": 2848, "loc": { "start": { "line": 106, "column": 2 }, "end": { "line": 111, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 2851, "end": 2860, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2860, "end": 2861, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 2861, "end": 2870, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2870, "end": 2871, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 2872, "end": 2881, "loc": { "start": { "line": 112, "column": 23 }, "end": { "line": 112, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2881, "end": 2882, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2883, "end": 2884, "loc": { "start": { "line": 112, "column": 34 }, "end": { "line": 112, "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": 2889, "end": 2891, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2892, "end": 2893, "loc": { "start": { "line": 113, "column": 7 }, "end": { "line": 113, "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": 2893, "end": 2897, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOut", "start": 2898, "end": 2905, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 2906, "end": 2908, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 113, "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": 2909, "end": 2913, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2913, "end": 2914, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 2914, "end": 2916, "loc": { "start": { "line": 113, "column": 29 }, "end": { "line": 113, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2916, "end": 2917, "loc": { "start": { "line": 113, "column": 31 }, "end": { "line": 113, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 2917, "end": 2926, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2926, "end": 2927, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contains", "start": 2927, "end": 2935, "loc": { "start": { "line": 113, "column": 42 }, "end": { "line": 113, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2935, "end": 2936, "loc": { "start": { "line": 113, "column": 50 }, "end": { "line": 113, "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": 2936, "end": 2940, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 113, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2940, "end": 2941, "loc": { "start": { "line": 113, "column": 55 }, "end": { "line": 113, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 2941, "end": 2953, "loc": { "start": { "line": 113, "column": 56 }, "end": { "line": 113, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2953, "end": 2954, "loc": { "start": { "line": 113, "column": 68 }, "end": { "line": 113, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2954, "end": 2955, "loc": { "start": { "line": 113, "column": 69 }, "end": { "line": 113, "column": 70 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2956, "end": 2957, "loc": { "start": { "line": 113, "column": 71 }, "end": { "line": 113, "column": 72 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2964, "end": 2968, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2968, "end": 2969, "loc": { "start": { "line": 114, "column": 10 }, "end": { "line": 114, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 2969, "end": 2971, "loc": { "start": { "line": 114, "column": 11 }, "end": { "line": 114, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2971, "end": 2972, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 2972, "end": 2981, "loc": { "start": { "line": 114, "column": 14 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2981, "end": 2982, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 114, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 2982, "end": 2988, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2988, "end": 2989, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "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": 2989, "end": 2993, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2993, "end": 2994, "loc": { "start": { "line": 114, "column": 35 }, "end": { "line": 114, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 2994, "end": 3006, "loc": { "start": { "line": 114, "column": 36 }, "end": { "line": 114, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3006, "end": 3007, "loc": { "start": { "line": 114, "column": 48 }, "end": { "line": 114, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3007, "end": 3008, "loc": { "start": { "line": 114, "column": 49 }, "end": { "line": 114, "column": 50 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3015, "end": 3017, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3018, "end": 3019, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "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": 3019, "end": 3023, "loc": { "start": { "line": 115, "column": 10 }, "end": { "line": 115, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3023, "end": 3024, "loc": { "start": { "line": 115, "column": 14 }, "end": { "line": 115, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 3024, "end": 3030, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3030, "end": 3031, "loc": { "start": { "line": 115, "column": 21 }, "end": { "line": 115, "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": 3032, "end": 3036, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3036, "end": 3037, "loc": { "start": { "line": 115, "column": 27 }, "end": { "line": 115, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 3037, "end": 3043, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3043, "end": 3044, "loc": { "start": { "line": 115, "column": 34 }, "end": { "line": 115, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 3044, "end": 3053, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3053, "end": 3054, "loc": { "start": { "line": 115, "column": 44 }, "end": { "line": 115, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 3054, "end": 3060, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3060, "end": 3061, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 115, "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": 3061, "end": 3065, "loc": { "start": { "line": 115, "column": 52 }, "end": { "line": 115, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3065, "end": 3066, "loc": { "start": { "line": 115, "column": 56 }, "end": { "line": 115, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 3066, "end": 3078, "loc": { "start": { "line": 115, "column": 57 }, "end": { "line": 115, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3078, "end": 3079, "loc": { "start": { "line": 115, "column": 69 }, "end": { "line": 115, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3079, "end": 3080, "loc": { "start": { "line": 115, "column": 70 }, "end": { "line": 115, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3085, "end": 3086, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 5 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3092, "end": 3097, "loc": { "start": { "line": 118, "column": 4 }, "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": "humanize", "start": 3098, "end": 3106, "loc": { "start": { "line": 118, "column": 10 }, "end": { "line": 118, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3107, "end": 3108, "loc": { "start": { "line": 118, "column": 19 }, "end": { "line": 118, "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": 3109, "end": 3113, "loc": { "start": { "line": 118, "column": 21 }, "end": { "line": 118, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3113, "end": 3114, "loc": { "start": { "line": 118, "column": 25 }, "end": { "line": 118, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 3114, "end": 3123, "loc": { "start": { "line": 118, "column": 26 }, "end": { "line": 118, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3123, "end": 3124, "loc": { "start": { "line": 118, "column": 35 }, "end": { "line": 118, "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": 3124, "end": 3128, "loc": { "start": { "line": 118, "column": 36 }, "end": { "line": 118, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3128, "end": 3129, "loc": { "start": { "line": 118, "column": 40 }, "end": { "line": 118, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeSpeed", "start": 3129, "end": 3138, "loc": { "start": { "line": 118, "column": 41 }, "end": { "line": 118, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3138, "end": 3139, "loc": { "start": { "line": 118, "column": 50 }, "end": { "line": 118, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3139, "end": 3140, "loc": { "start": { "line": 118, "column": 51 }, "end": { "line": 118, "column": 52 } } }, { "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": 3145, "end": 3148, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 3149, "end": 3157, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3158, "end": 3159, "loc": { "start": { "line": 119, "column": 17 }, "end": { "line": 119, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3160, "end": 3161, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3161, "end": 3162, "loc": { "start": { "line": 119, "column": 20 }, "end": { "line": 119, "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": 3168, "end": 3170, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3171, "end": 3172, "loc": { "start": { "line": 121, "column": 7 }, "end": { "line": 121, "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": 3172, "end": 3176, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3176, "end": 3177, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 3177, "end": 3182, "loc": { "start": { "line": 121, "column": 13 }, "end": { "line": 121, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3182, "end": 3183, "loc": { "start": { "line": 121, "column": 18 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 3183, "end": 3189, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3190, "end": 3193, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 29 } } }, { "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": 3194, "end": 3198, "loc": { "start": { "line": 121, "column": 30 }, "end": { "line": 121, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3198, "end": 3199, "loc": { "start": { "line": 121, "column": 34 }, "end": { "line": 121, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3200, "end": 3201, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "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": 3208, "end": 3212, "loc": { "start": { "line": 122, "column": 6 }, "end": { "line": 122, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3212, "end": 3213, "loc": { "start": { "line": 122, "column": 10 }, "end": { "line": 122, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPauseStatus", "start": 3213, "end": 3227, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3227, "end": 3228, "loc": { "start": { "line": 122, "column": 25 }, "end": { "line": 122, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3228, "end": 3237, "loc": { "start": { "line": 122, "column": 26 }, "end": { "line": 122, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3237, "end": 3238, "loc": { "start": { "line": 122, "column": 35 }, "end": { "line": 122, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3239, "end": 3248, "loc": { "start": { "line": 122, "column": 37 }, "end": { "line": 122, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3248, "end": 3249, "loc": { "start": { "line": 122, "column": 46 }, "end": { "line": 122, "column": 47 } } }, { "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": 3250, "end": 3254, "loc": { "start": { "line": 122, "column": 48 }, "end": { "line": 122, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3254, "end": 3255, "loc": { "start": { "line": 122, "column": 52 }, "end": { "line": 122, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3255, "end": 3256, "loc": { "start": { "line": 122, "column": 53 }, "end": { "line": 122, "column": 54 } } }, { "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": 3263, "end": 3269, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3269, "end": 3270, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3275, "end": 3276, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 5 } } }, { "type": "CommentLine", "value": " contain typing function in a timeout humanize'd delay", "start": 3282, "end": 3338, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "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": 3343, "end": 3347, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3347, "end": 3348, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 3348, "end": 3355, "loc": { "start": { "line": 127, "column": 9 }, "end": { "line": 127, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3356, "end": 3357, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 3358, "end": 3368, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3368, "end": 3369, "loc": { "start": { "line": 127, "column": 29 }, "end": { "line": 127, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3369, "end": 3370, "loc": { "start": { "line": 127, "column": 30 }, "end": { "line": 127, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3370, "end": 3371, "loc": { "start": { "line": 127, "column": 31 }, "end": { "line": 127, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3372, "end": 3374, "loc": { "start": { "line": 127, "column": 33 }, "end": { "line": 127, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3375, "end": 3376, "loc": { "start": { "line": 127, "column": 36 }, "end": { "line": 127, "column": 37 } } }, { "type": "CommentLine", "value": " skip over any HTML chars", "start": 3383, "end": 3410, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3417, "end": 3426, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3427, "end": 3428, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 3429, "end": 3439, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3439, "end": 3440, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeHtmlChars", "start": 3440, "end": 3453, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3453, "end": 3454, "loc": { "start": { "line": 129, "column": 42 }, "end": { "line": 129, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3454, "end": 3463, "loc": { "start": { "line": 129, "column": 43 }, "end": { "line": 129, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3463, "end": 3464, "loc": { "start": { "line": 129, "column": 52 }, "end": { "line": 129, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3465, "end": 3474, "loc": { "start": { "line": 129, "column": 54 }, "end": { "line": 129, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3474, "end": 3475, "loc": { "start": { "line": 129, "column": 63 }, "end": { "line": 129, "column": 64 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3476, "end": 3480, "loc": { "start": { "line": 129, "column": 65 }, "end": { "line": 129, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3480, "end": 3481, "loc": { "start": { "line": 129, "column": 69 }, "end": { "line": 129, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3481, "end": 3482, "loc": { "start": { "line": 129, "column": 70 }, "end": { "line": 129, "column": 71 } } }, { "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": 3490, "end": 3493, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 3494, "end": 3503, "loc": { "start": { "line": 131, "column": 10 }, "end": { "line": 131, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3504, "end": 3505, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3506, "end": 3507, "loc": { "start": { "line": 131, "column": 22 }, "end": { "line": 131, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3507, "end": 3508, "loc": { "start": { "line": 131, "column": 23 }, "end": { "line": 131, "column": 24 } } }, { "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": 3515, "end": 3518, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3519, "end": 3525, "loc": { "start": { "line": 132, "column": 10 }, "end": { "line": 132, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3526, "end": 3527, "loc": { "start": { "line": 132, "column": 17 }, "end": { "line": 132, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 3528, "end": 3537, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3537, "end": 3538, "loc": { "start": { "line": 132, "column": 28 }, "end": { "line": 132, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 3538, "end": 3547, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3547, "end": 3548, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 3548, "end": 3557, "loc": { "start": { "line": 132, "column": 39 }, "end": { "line": 132, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3557, "end": 3558, "loc": { "start": { "line": 132, "column": 48 }, "end": { "line": 132, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3558, "end": 3559, "loc": { "start": { "line": 132, "column": 49 }, "end": { "line": 132, "column": 50 } } }, { "type": "CommentLine", "value": " check for an escape character before a pause value", "start": 3566, "end": 3619, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 59 } } }, { "type": "CommentLine", "value": " format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^", "start": 3626, "end": 3701, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 81 } } }, { "type": "CommentLine", "value": " single ^ are removed from string", "start": 3708, "end": 3743, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "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": 3750, "end": 3752, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3753, "end": 3754, "loc": { "start": { "line": 136, "column": 9 }, "end": { "line": 136, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3754, "end": 3760, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3760, "end": 3761, "loc": { "start": { "line": 136, "column": 16 }, "end": { "line": 136, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 3761, "end": 3767, "loc": { "start": { "line": 136, "column": 17 }, "end": { "line": 136, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3767, "end": 3768, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3768, "end": 3769, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3769, "end": 3770, "loc": { "start": { "line": 136, "column": 25 }, "end": { "line": 136, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3771, "end": 3774, "loc": { "start": { "line": 136, "column": 27 }, "end": { "line": 136, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "^", "start": 3775, "end": 3778, "loc": { "start": { "line": 136, "column": 31 }, "end": { "line": 136, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3778, "end": 3779, "loc": { "start": { "line": 136, "column": 34 }, "end": { "line": 136, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3780, "end": 3781, "loc": { "start": { "line": 136, "column": 36 }, "end": { "line": 136, "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": 3790, "end": 3792, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3793, "end": 3794, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 12 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "^\\^\\d+", "flags": "" }, "start": 3794, "end": 3802, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3802, "end": 3803, "loc": { "start": { "line": 137, "column": 20 }, "end": { "line": 137, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "test", "start": 3803, "end": 3807, "loc": { "start": { "line": 137, "column": 21 }, "end": { "line": 137, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3807, "end": 3808, "loc": { "start": { "line": 137, "column": 25 }, "end": { "line": 137, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3808, "end": 3814, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3814, "end": 3815, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3815, "end": 3816, "loc": { "start": { "line": 137, "column": 33 }, "end": { "line": 137, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3817, "end": 3818, "loc": { "start": { "line": 137, "column": 35 }, "end": { "line": 137, "column": 36 } } }, { "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": 3829, "end": 3832, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 138, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 3833, "end": 3837, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3838, "end": 3839, "loc": { "start": { "line": 138, "column": 19 }, "end": { "line": 138, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3840, "end": 3841, "loc": { "start": { "line": 138, "column": 21 }, "end": { "line": 138, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3841, "end": 3842, "loc": { "start": { "line": 138, "column": 22 }, "end": { "line": 138, "column": 23 } } }, { "type": "CommentLine", "value": " skip at least 1", "start": 3843, "end": 3861, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3872, "end": 3878, "loc": { "start": { "line": 139, "column": 10 }, "end": { "line": 139, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3879, "end": 3880, "loc": { "start": { "line": 139, "column": 17 }, "end": { "line": 139, "column": 18 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "\\d+", "flags": "" }, "start": 3881, "end": 3886, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3886, "end": 3887, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "exec", "start": 3887, "end": 3891, "loc": { "start": { "line": 139, "column": 25 }, "end": { "line": 139, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3891, "end": 3892, "loc": { "start": { "line": 139, "column": 29 }, "end": { "line": 139, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3892, "end": 3898, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3898, "end": 3899, "loc": { "start": { "line": 139, "column": 36 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3899, "end": 3900, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3900, "end": 3901, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3901, "end": 3902, "loc": { "start": { "line": 139, "column": 39 }, "end": { "line": 139, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3902, "end": 3903, "loc": { "start": { "line": 139, "column": 40 }, "end": { "line": 139, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 3914, "end": 3918, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 14 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 3919, "end": 3921, "loc": { "start": { "line": 140, "column": 15 }, "end": { "line": 140, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3922, "end": 3928, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3928, "end": 3929, "loc": { "start": { "line": 140, "column": 24 }, "end": { "line": 140, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3929, "end": 3935, "loc": { "start": { "line": 140, "column": 25 }, "end": { "line": 140, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3935, "end": 3936, "loc": { "start": { "line": 140, "column": 31 }, "end": { "line": 140, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 3947, "end": 3956, "loc": { "start": { "line": 141, "column": 10 }, "end": { "line": 141, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3957, "end": 3958, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parseInt", "start": 3959, "end": 3967, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3967, "end": 3968, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 3968, "end": 3974, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3974, "end": 3975, "loc": { "start": { "line": 141, "column": 37 }, "end": { "line": 141, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3975, "end": 3976, "loc": { "start": { "line": 141, "column": 38 }, "end": { "line": 141, "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": 3987, "end": 3991, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3991, "end": 3992, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 3992, "end": 4006, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4007, "end": 4008, "loc": { "start": { "line": 142, "column": 30 }, "end": { "line": 142, "column": 31 } } }, { "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": 4009, "end": 4013, "loc": { "start": { "line": 142, "column": 32 }, "end": { "line": 142, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4013, "end": 4014, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "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": 4025, "end": 4029, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4029, "end": 4030, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4030, "end": 4037, "loc": { "start": { "line": 143, "column": 15 }, "end": { "line": 143, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4037, "end": 4038, "loc": { "start": { "line": 143, "column": 22 }, "end": { "line": 143, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingPaused", "start": 4038, "end": 4052, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4052, "end": 4053, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "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": 4053, "end": 4057, "loc": { "start": { "line": 143, "column": 38 }, "end": { "line": 143, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4057, "end": 4058, "loc": { "start": { "line": 143, "column": 42 }, "end": { "line": 143, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 4058, "end": 4066, "loc": { "start": { "line": 143, "column": 43 }, "end": { "line": 143, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4066, "end": 4067, "loc": { "start": { "line": 143, "column": 51 }, "end": { "line": 143, "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": 4068, "end": 4072, "loc": { "start": { "line": 143, "column": 53 }, "end": { "line": 143, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4072, "end": 4073, "loc": { "start": { "line": 143, "column": 57 }, "end": { "line": 143, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4073, "end": 4074, "loc": { "start": { "line": 143, "column": 58 }, "end": { "line": 143, "column": 59 } } }, { "type": "CommentLine", "value": " strip out the escape character and pause value so they're not printed", "start": 4085, "end": 4157, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4168, "end": 4177, "loc": { "start": { "line": 145, "column": 10 }, "end": { "line": 145, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4178, "end": 4179, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4192, "end": 4201, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4201, "end": 4202, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4202, "end": 4211, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4211, "end": 4212, "loc": { "start": { "line": 146, "column": 31 }, "end": { "line": 146, "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": 4212, "end": 4213, "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4213, "end": 4214, "loc": { "start": { "line": 146, "column": 33 }, "end": { "line": 146, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4215, "end": 4224, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4224, "end": 4225, "loc": { "start": { "line": 146, "column": 44 }, "end": { "line": 146, "column": 45 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4226, "end": 4227, "loc": { "start": { "line": 146, "column": 46 }, "end": { "line": 146, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4240, "end": 4249, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4249, "end": 4250, "loc": { "start": { "line": 147, "column": 21 }, "end": { "line": 147, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4250, "end": 4259, "loc": { "start": { "line": 147, "column": 22 }, "end": { "line": 147, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4259, "end": 4260, "loc": { "start": { "line": 147, "column": 31 }, "end": { "line": 147, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4260, "end": 4269, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4270, "end": 4271, "loc": { "start": { "line": 147, "column": 42 }, "end": { "line": 147, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skip", "start": 4272, "end": 4276, "loc": { "start": { "line": 147, "column": 44 }, "end": { "line": 147, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4276, "end": 4277, "loc": { "start": { "line": 147, "column": 48 }, "end": { "line": 147, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4277, "end": 4278, "loc": { "start": { "line": 147, "column": 49 }, "end": { "line": 147, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4289, "end": 4293, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4293, "end": 4294, "loc": { "start": { "line": 148, "column": 14 }, "end": { "line": 148, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 4294, "end": 4308, "loc": { "start": { "line": 148, "column": 15 }, "end": { "line": 148, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4308, "end": 4309, "loc": { "start": { "line": 148, "column": 29 }, "end": { "line": 148, "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": 4309, "end": 4313, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4313, "end": 4314, "loc": { "start": { "line": 148, "column": 34 }, "end": { "line": 148, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4314, "end": 4315, "loc": { "start": { "line": 148, "column": 35 }, "end": { "line": 148, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4324, "end": 4325, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4332, "end": 4333, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 7 } } }, { "type": "CommentLine", "value": " check for skip characters formatted as", "start": 4341, "end": 4382, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 47 } } }, { "type": "CommentLine", "value": " \"this is a `string to print NOW` ...\"", "start": 4389, "end": 4429, "loc": { "start": { "line": 153, "column": 6 }, "end": { "line": 153, "column": 46 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4436, "end": 4438, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4439, "end": 4440, "loc": { "start": { "line": 154, "column": 9 }, "end": { "line": 154, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 4440, "end": 4446, "loc": { "start": { "line": 154, "column": 10 }, "end": { "line": 154, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4446, "end": 4447, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 4447, "end": 4453, "loc": { "start": { "line": 154, "column": 17 }, "end": { "line": 154, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4453, "end": 4454, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4454, "end": 4455, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4455, "end": 4456, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 154, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4457, "end": 4460, "loc": { "start": { "line": 154, "column": 27 }, "end": { "line": 154, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "`", "start": 4461, "end": 4464, "loc": { "start": { "line": 154, "column": 31 }, "end": { "line": 154, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4466, "end": 4467, "loc": { "start": { "line": 154, "column": 36 }, "end": { "line": 154, "column": 37 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 4476, "end": 4481, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4482, "end": 4483, "loc": { "start": { "line": 155, "column": 14 }, "end": { "line": 155, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4483, "end": 4492, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4492, "end": 4493, "loc": { "start": { "line": 155, "column": 24 }, "end": { "line": 155, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4493, "end": 4502, "loc": { "start": { "line": 155, "column": 25 }, "end": { "line": 155, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4502, "end": 4503, "loc": { "start": { "line": 155, "column": 34 }, "end": { "line": 155, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4503, "end": 4512, "loc": { "start": { "line": 155, "column": 35 }, "end": { "line": 155, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4513, "end": 4514, "loc": { "start": { "line": 155, "column": 45 }, "end": { "line": 155, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 4515, "end": 4523, "loc": { "start": { "line": 155, "column": 47 }, "end": { "line": 155, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4523, "end": 4524, "loc": { "start": { "line": 155, "column": 55 }, "end": { "line": 155, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4524, "end": 4525, "loc": { "start": { "line": 155, "column": 56 }, "end": { "line": 155, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "charAt", "start": 4525, "end": 4531, "loc": { "start": { "line": 155, "column": 57 }, "end": { "line": 155, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4531, "end": 4532, "loc": { "start": { "line": 155, "column": 63 }, "end": { "line": 155, "column": 64 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4532, "end": 4533, "loc": { "start": { "line": 155, "column": 64 }, "end": { "line": 155, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4533, "end": 4534, "loc": { "start": { "line": 155, "column": 65 }, "end": { "line": 155, "column": 66 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4535, "end": 4538, "loc": { "start": { "line": 155, "column": 67 }, "end": { "line": 155, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "`", "start": 4539, "end": 4542, "loc": { "start": { "line": 155, "column": 71 }, "end": { "line": 155, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4542, "end": 4543, "loc": { "start": { "line": 155, "column": 74 }, "end": { "line": 155, "column": 75 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4544, "end": 4545, "loc": { "start": { "line": 155, "column": 76 }, "end": { "line": 155, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 4556, "end": 4564, "loc": { "start": { "line": 156, "column": 10 }, "end": { "line": 156, "column": 18 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4564, "end": 4566, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4566, "end": 4567, "loc": { "start": { "line": 156, "column": 20 }, "end": { "line": 156, "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": 4578, "end": 4580, "loc": { "start": { "line": 157, "column": 10 }, "end": { "line": 157, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4581, "end": 4582, "loc": { "start": { "line": 157, "column": 13 }, "end": { "line": 157, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4582, "end": 4591, "loc": { "start": { "line": 157, "column": 14 }, "end": { "line": 157, "column": 23 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4592, "end": 4593, "loc": { "start": { "line": 157, "column": 24 }, "end": { "line": 157, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 4594, "end": 4602, "loc": { "start": { "line": 157, "column": 26 }, "end": { "line": 157, "column": 34 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 4603, "end": 4604, "loc": { "start": { "line": 157, "column": 35 }, "end": { "line": 157, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4605, "end": 4614, "loc": { "start": { "line": 157, "column": 37 }, "end": { "line": 157, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4614, "end": 4615, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4615, "end": 4621, "loc": { "start": { "line": 157, "column": 47 }, "end": { "line": 157, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4621, "end": 4622, "loc": { "start": { "line": 157, "column": 53 }, "end": { "line": 157, "column": 54 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 4623, "end": 4628, "loc": { "start": { "line": 157, "column": 55 }, "end": { "line": 157, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4628, "end": 4629, "loc": { "start": { "line": 157, "column": 60 }, "end": { "line": 157, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4638, "end": 4639, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 9 } } }, { "type": "CommentLine", "value": " strip out the escape characters and append all the string in between", "start": 4648, "end": 4719, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 79 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4728, "end": 4733, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 4734, "end": 4750, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4751, "end": 4752, "loc": { "start": { "line": 160, "column": 31 }, "end": { "line": 160, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4753, "end": 4762, "loc": { "start": { "line": 160, "column": 33 }, "end": { "line": 160, "column": 42 } } }, { "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": 160, "column": 42 }, "end": { "line": 160, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4763, "end": 4772, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4772, "end": 4773, "loc": { "start": { "line": 160, "column": 52 }, "end": { "line": 160, "column": 53 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4773, "end": 4774, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4774, "end": 4775, "loc": { "start": { "line": 160, "column": 54 }, "end": { "line": 160, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4776, "end": 4785, "loc": { "start": { "line": 160, "column": 56 }, "end": { "line": 160, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 160, "column": 65 }, "end": { "line": 160, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4786, "end": 4787, "loc": { "start": { "line": 160, "column": 66 }, "end": { "line": 160, "column": 67 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4796, "end": 4801, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringSkipped", "start": 4802, "end": 4815, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4816, "end": 4817, "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": "curString", "start": 4818, "end": 4827, "loc": { "start": { "line": 161, "column": 30 }, "end": { "line": 161, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4827, "end": 4828, "loc": { "start": { "line": 161, "column": 39 }, "end": { "line": 161, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4828, "end": 4837, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4837, "end": 4838, "loc": { "start": { "line": 161, "column": 49 }, "end": { "line": 161, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 4849, "end": 4865, "loc": { "start": { "line": 162, "column": 10 }, "end": { "line": 162, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4865, "end": 4866, "loc": { "start": { "line": 162, "column": 26 }, "end": { "line": 162, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4866, "end": 4872, "loc": { "start": { "line": 162, "column": 27 }, "end": { "line": 162, "column": 33 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4873, "end": 4874, "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4875, "end": 4876, "loc": { "start": { "line": 162, "column": 36 }, "end": { "line": 162, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4876, "end": 4877, "loc": { "start": { "line": 162, "column": 37 }, "end": { "line": 162, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4888, "end": 4897, "loc": { "start": { "line": 163, "column": 10 }, "end": { "line": 163, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4898, "end": 4899, "loc": { "start": { "line": 163, "column": 20 }, "end": { "line": 163, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 4900, "end": 4908, "loc": { "start": { "line": 163, "column": 22 }, "end": { "line": 163, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4917, "end": 4918, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4918, "end": 4919, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 10 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4928, "end": 4933, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringAfterSkip", "start": 4934, "end": 4949, "loc": { "start": { "line": 165, "column": 14 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4950, "end": 4951, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 4952, "end": 4961, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4961, "end": 4962, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 4962, "end": 4971, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4971, "end": 4972, "loc": { "start": { "line": 165, "column": 51 }, "end": { "line": 165, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 4972, "end": 4981, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4982, "end": 4983, "loc": { "start": { "line": 165, "column": 62 }, "end": { "line": 165, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 4984, "end": 4992, "loc": { "start": { "line": 165, "column": 64 }, "end": { "line": 165, "column": 72 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4993, "end": 4994, "loc": { "start": { "line": 165, "column": 73 }, "end": { "line": 165, "column": 74 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4995, "end": 4996, "loc": { "start": { "line": 165, "column": 75 }, "end": { "line": 165, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4996, "end": 4997, "loc": { "start": { "line": 165, "column": 76 }, "end": { "line": 165, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4997, "end": 4998, "loc": { "start": { "line": 165, "column": 77 }, "end": { "line": 165, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5007, "end": 5016, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5017, "end": 5018, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringBeforeSkip", "start": 5019, "end": 5035, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5036, "end": 5037, "loc": { "start": { "line": 166, "column": 37 }, "end": { "line": 166, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringSkipped", "start": 5038, "end": 5051, "loc": { "start": { "line": 166, "column": 39 }, "end": { "line": 166, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5052, "end": 5053, "loc": { "start": { "line": 166, "column": 53 }, "end": { "line": 166, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringAfterSkip", "start": 5054, "end": 5069, "loc": { "start": { "line": 166, "column": 55 }, "end": { "line": 166, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5069, "end": 5070, "loc": { "start": { "line": 166, "column": 70 }, "end": { "line": 166, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5079, "end": 5087, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 16 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 5087, "end": 5089, "loc": { "start": { "line": 167, "column": 16 }, "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": 5089, "end": 5090, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5097, "end": 5098, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 7 } } }, { "type": "CommentLine", "value": " timeout for any pause after a character", "start": 5106, "end": 5148, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "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": 5155, "end": 5159, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5159, "end": 5160, "loc": { "start": { "line": 171, "column": 10 }, "end": { "line": 171, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 5160, "end": 5167, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5168, "end": 5169, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 5170, "end": 5180, "loc": { "start": { "line": 171, "column": 21 }, "end": { "line": 171, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5180, "end": 5181, "loc": { "start": { "line": 171, "column": 31 }, "end": { "line": 171, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5181, "end": 5182, "loc": { "start": { "line": 171, "column": 32 }, "end": { "line": 171, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5182, "end": 5183, "loc": { "start": { "line": 171, "column": 33 }, "end": { "line": 171, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5184, "end": 5186, "loc": { "start": { "line": 171, "column": 35 }, "end": { "line": 171, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5187, "end": 5188, "loc": { "start": { "line": 171, "column": 38 }, "end": { "line": 171, "column": 39 } } }, { "type": "CommentLine", "value": " Accounts for blinking while paused", "start": 5197, "end": 5234, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "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": 5243, "end": 5247, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5247, "end": 5248, "loc": { "start": { "line": 173, "column": 12 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 5248, "end": 5262, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5262, "end": 5263, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "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": 5263, "end": 5268, "loc": { "start": { "line": 173, "column": 28 }, "end": { "line": 173, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5268, "end": 5269, "loc": { "start": { "line": 173, "column": 33 }, "end": { "line": 173, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5269, "end": 5270, "loc": { "start": { "line": 173, "column": 34 }, "end": { "line": 173, "column": 35 } } }, { "type": "CommentLine", "value": " We're done with this sentence!", "start": 5280, "end": 5313, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "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": 5322, "end": 5324, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5325, "end": 5326, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5326, "end": 5335, "loc": { "start": { "line": 176, "column": 12 }, "end": { "line": 176, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 5336, "end": 5338, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5339, "end": 5348, "loc": { "start": { "line": 176, "column": 25 }, "end": { "line": 176, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5348, "end": 5349, "loc": { "start": { "line": 176, "column": 34 }, "end": { "line": 176, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5349, "end": 5355, "loc": { "start": { "line": 176, "column": 35 }, "end": { "line": 176, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5355, "end": 5356, "loc": { "start": { "line": 176, "column": 41 }, "end": { "line": 176, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5357, "end": 5358, "loc": { "start": { "line": 176, "column": 43 }, "end": { "line": 176, "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": 5369, "end": 5373, "loc": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5373, "end": 5374, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doneTyping", "start": 5374, "end": 5384, "loc": { "start": { "line": 177, "column": 15 }, "end": { "line": 177, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5384, "end": 5385, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5385, "end": 5394, "loc": { "start": { "line": 177, "column": 26 }, "end": { "line": 177, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5394, "end": 5395, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5396, "end": 5405, "loc": { "start": { "line": 177, "column": 37 }, "end": { "line": 177, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5405, "end": 5406, "loc": { "start": { "line": 177, "column": 46 }, "end": { "line": 177, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5406, "end": 5407, "loc": { "start": { "line": 177, "column": 47 }, "end": { "line": 177, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5416, "end": 5417, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "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": 5418, "end": 5422, "loc": { "start": { "line": 178, "column": 10 }, "end": { "line": 178, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5423, "end": 5424, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "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": 5435, "end": 5439, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5439, "end": 5440, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keepTyping", "start": 5440, "end": 5450, "loc": { "start": { "line": 179, "column": 15 }, "end": { "line": 179, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5450, "end": 5451, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5451, "end": 5460, "loc": { "start": { "line": 179, "column": 26 }, "end": { "line": 179, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5460, "end": 5461, "loc": { "start": { "line": 179, "column": 35 }, "end": { "line": 179, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5462, "end": 5471, "loc": { "start": { "line": 179, "column": 37 }, "end": { "line": 179, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5471, "end": 5472, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 5473, "end": 5481, "loc": { "start": { "line": 179, "column": 48 }, "end": { "line": 179, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5481, "end": 5482, "loc": { "start": { "line": 179, "column": 56 }, "end": { "line": 179, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5482, "end": 5483, "loc": { "start": { "line": 179, "column": 57 }, "end": { "line": 179, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5492, "end": 5493, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 9 } } }, { "type": "CommentLine", "value": " end of character pause", "start": 5502, "end": 5527, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 33 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5536, "end": 5538, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5539, "end": 5540, "loc": { "start": { "line": 182, "column": 11 }, "end": { "line": 182, "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": 5540, "end": 5544, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5544, "end": 5545, "loc": { "start": { "line": 182, "column": 16 }, "end": { "line": 182, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 5545, "end": 5559, "loc": { "start": { "line": 182, "column": 17 }, "end": { "line": 182, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5559, "end": 5560, "loc": { "start": { "line": 182, "column": 31 }, "end": { "line": 182, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5561, "end": 5562, "loc": { "start": { "line": 182, "column": 33 }, "end": { "line": 182, "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": 5573, "end": 5577, "loc": { "start": { "line": 183, "column": 10 }, "end": { "line": 183, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5577, "end": 5578, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "temporaryPause", "start": 5578, "end": 5592, "loc": { "start": { "line": 183, "column": 15 }, "end": { "line": 183, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5593, "end": 5594, "loc": { "start": { "line": 183, "column": 30 }, "end": { "line": 183, "column": 31 } } }, { "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": 5595, "end": 5600, "loc": { "start": { "line": 183, "column": 32 }, "end": { "line": 183, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5600, "end": 5601, "loc": { "start": { "line": 183, "column": 37 }, "end": { "line": 183, "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": 5612, "end": 5616, "loc": { "start": { "line": 184, "column": 10 }, "end": { "line": 184, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5616, "end": 5617, "loc": { "start": { "line": 184, "column": 14 }, "end": { "line": 184, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 5617, "end": 5624, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5624, "end": 5625, "loc": { "start": { "line": 184, "column": 22 }, "end": { "line": 184, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTypingResumed", "start": 5625, "end": 5640, "loc": { "start": { "line": 184, "column": 23 }, "end": { "line": 184, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5640, "end": 5641, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "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": 5641, "end": 5645, "loc": { "start": { "line": 184, "column": 39 }, "end": { "line": 184, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5645, "end": 5646, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 5646, "end": 5654, "loc": { "start": { "line": 184, "column": 44 }, "end": { "line": 184, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5654, "end": 5655, "loc": { "start": { "line": 184, "column": 52 }, "end": { "line": 184, "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": 5656, "end": 5660, "loc": { "start": { "line": 184, "column": 54 }, "end": { "line": 184, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5660, "end": 5661, "loc": { "start": { "line": 184, "column": 58 }, "end": { "line": 184, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5661, "end": 5662, "loc": { "start": { "line": 184, "column": 59 }, "end": { "line": 184, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5671, "end": 5672, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5679, "end": 5680, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 186, "column": 7 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5680, "end": 5681, "loc": { "start": { "line": 186, "column": 7 }, "end": { "line": 186, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pauseTime", "start": 5682, "end": 5691, "loc": { "start": { "line": 186, "column": 9 }, "end": { "line": 186, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5691, "end": 5692, "loc": { "start": { "line": 186, "column": 18 }, "end": { "line": 186, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5692, "end": 5693, "loc": { "start": { "line": 186, "column": 19 }, "end": { "line": 186, "column": 20 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 5701, "end": 5730, "loc": { "start": { "line": 188, "column": 6 }, "end": { "line": 188, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5735, "end": 5736, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5736, "end": 5737, "loc": { "start": { "line": 189, "column": 5 }, "end": { "line": 189, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 5738, "end": 5746, "loc": { "start": { "line": 189, "column": 7 }, "end": { "line": 189, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5746, "end": 5747, "loc": { "start": { "line": 189, "column": 15 }, "end": { "line": 189, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5747, "end": 5748, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5751, "end": 5752, "loc": { "start": { "line": 190, "column": 2 }, "end": { "line": 190, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 5756, "end": 5967, "loc": { "start": { "line": 192, "column": 2 }, "end": { "line": 197, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keepTyping", "start": 5970, "end": 5980, "loc": { "start": { "line": 198, "column": 2 }, "end": { "line": 198, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5980, "end": 5981, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 5981, "end": 5990, "loc": { "start": { "line": 198, "column": 13 }, "end": { "line": 198, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5990, "end": 5991, "loc": { "start": { "line": 198, "column": 22 }, "end": { "line": 198, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 5992, "end": 6001, "loc": { "start": { "line": 198, "column": 24 }, "end": { "line": 198, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6001, "end": 6002, "loc": { "start": { "line": 198, "column": 33 }, "end": { "line": 198, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 6003, "end": 6011, "loc": { "start": { "line": 198, "column": 35 }, "end": { "line": 198, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6011, "end": 6012, "loc": { "start": { "line": 198, "column": 43 }, "end": { "line": 198, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6013, "end": 6014, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 198, "column": 46 } } }, { "type": "CommentLine", "value": " call before functions if applicable", "start": 6019, "end": 6057, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "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": 6062, "end": 6064, "loc": { "start": { "line": 200, "column": 4 }, "end": { "line": 200, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6065, "end": 6066, "loc": { "start": { "line": 200, "column": 7 }, "end": { "line": 200, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6066, "end": 6075, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6076, "end": 6079, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6080, "end": 6081, "loc": { "start": { "line": 200, "column": 22 }, "end": { "line": 200, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6081, "end": 6082, "loc": { "start": { "line": 200, "column": 23 }, "end": { "line": 200, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6083, "end": 6084, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 200, "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": 6091, "end": 6095, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6095, "end": 6096, "loc": { "start": { "line": 201, "column": 10 }, "end": { "line": 201, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 6096, "end": 6110, "loc": { "start": { "line": 201, "column": 11 }, "end": { "line": 201, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6110, "end": 6111, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 26 } } }, { "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": 6111, "end": 6116, "loc": { "start": { "line": 201, "column": 26 }, "end": { "line": 201, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6116, "end": 6117, "loc": { "start": { "line": 201, "column": 31 }, "end": { "line": 201, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6117, "end": 6118, "loc": { "start": { "line": 201, "column": 32 }, "end": { "line": 201, "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": 6125, "end": 6129, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6129, "end": 6130, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6130, "end": 6137, "loc": { "start": { "line": 202, "column": 11 }, "end": { "line": 202, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6137, "end": 6138, "loc": { "start": { "line": 202, "column": 18 }, "end": { "line": 202, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preStringTyped", "start": 6138, "end": 6152, "loc": { "start": { "line": 202, "column": 19 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6152, "end": 6153, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "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": 6153, "end": 6157, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6157, "end": 6158, "loc": { "start": { "line": 202, "column": 38 }, "end": { "line": 202, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 6158, "end": 6166, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 202, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6166, "end": 6167, "loc": { "start": { "line": 202, "column": 47 }, "end": { "line": 202, "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": 6168, "end": 6172, "loc": { "start": { "line": 202, "column": 49 }, "end": { "line": 202, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6172, "end": 6173, "loc": { "start": { "line": 202, "column": 53 }, "end": { "line": 202, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6173, "end": 6174, "loc": { "start": { "line": 202, "column": 54 }, "end": { "line": 202, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6179, "end": 6180, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 5 } } }, { "type": "CommentLine", "value": " start typing each new char into existing string", "start": 6185, "end": 6235, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 204, "column": 54 } } }, { "type": "CommentLine", "value": " curString: arg, this.el.html: original text inside element", "start": 6240, "end": 6301, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6306, "end": 6315, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 13 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 6316, "end": 6318, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numChars", "start": 6319, "end": 6327, "loc": { "start": { "line": 206, "column": 17 }, "end": { "line": 206, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6327, "end": 6328, "loc": { "start": { "line": 206, "column": 25 }, "end": { "line": 206, "column": 26 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6333, "end": 6338, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 6339, "end": 6349, "loc": { "start": { "line": 207, "column": 10 }, "end": { "line": 207, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6350, "end": 6351, "loc": { "start": { "line": 207, "column": 21 }, "end": { "line": 207, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6352, "end": 6361, "loc": { "start": { "line": 207, "column": 23 }, "end": { "line": 207, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6361, "end": 6362, "loc": { "start": { "line": 207, "column": 32 }, "end": { "line": 207, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 6362, "end": 6371, "loc": { "start": { "line": 207, "column": 33 }, "end": { "line": 207, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6371, "end": 6372, "loc": { "start": { "line": 207, "column": 42 }, "end": { "line": 207, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6372, "end": 6373, "loc": { "start": { "line": 207, "column": 43 }, "end": { "line": 207, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6373, "end": 6374, "loc": { "start": { "line": 207, "column": 44 }, "end": { "line": 207, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6375, "end": 6384, "loc": { "start": { "line": 207, "column": 46 }, "end": { "line": 207, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6384, "end": 6385, "loc": { "start": { "line": 207, "column": 55 }, "end": { "line": 207, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6385, "end": 6386, "loc": { "start": { "line": 207, "column": 56 }, "end": { "line": 207, "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": 6391, "end": 6395, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6395, "end": 6396, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 6396, "end": 6407, "loc": { "start": { "line": 208, "column": 9 }, "end": { "line": 208, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6407, "end": 6408, "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": "nextString", "start": 6408, "end": 6418, "loc": { "start": { "line": 208, "column": 21 }, "end": { "line": 208, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6418, "end": 6419, "loc": { "start": { "line": 208, "column": 31 }, "end": { "line": 208, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6419, "end": 6420, "loc": { "start": { "line": 208, "column": 32 }, "end": { "line": 208, "column": 33 } } }, { "type": "CommentLine", "value": " loop the function", "start": 6425, "end": 6445, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "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": 6450, "end": 6454, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6454, "end": 6455, "loc": { "start": { "line": 210, "column": 8 }, "end": { "line": 210, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 6455, "end": 6464, "loc": { "start": { "line": 210, "column": 9 }, "end": { "line": 210, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6464, "end": 6465, "loc": { "start": { "line": 210, "column": 18 }, "end": { "line": 210, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6465, "end": 6474, "loc": { "start": { "line": 210, "column": 19 }, "end": { "line": 210, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6474, "end": 6475, "loc": { "start": { "line": 210, "column": 28 }, "end": { "line": 210, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6476, "end": 6485, "loc": { "start": { "line": 210, "column": 30 }, "end": { "line": 210, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6485, "end": 6486, "loc": { "start": { "line": 210, "column": 39 }, "end": { "line": 210, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6486, "end": 6487, "loc": { "start": { "line": 210, "column": 40 }, "end": { "line": 210, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6490, "end": 6491, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 211, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 6495, "end": 6700, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doneTyping", "start": 6703, "end": 6713, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6713, "end": 6714, "loc": { "start": { "line": 219, "column": 12 }, "end": { "line": 219, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 6714, "end": 6723, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6723, "end": 6724, "loc": { "start": { "line": 219, "column": 22 }, "end": { "line": 219, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 6725, "end": 6734, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6734, "end": 6735, "loc": { "start": { "line": 219, "column": 33 }, "end": { "line": 219, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6736, "end": 6737, "loc": { "start": { "line": 219, "column": 35 }, "end": { "line": 219, "column": 36 } } }, { "type": "CommentLine", "value": " fires callback function", "start": 6742, "end": 6768, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "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": 6773, "end": 6777, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6777, "end": 6778, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6778, "end": 6785, "loc": { "start": { "line": 221, "column": 9 }, "end": { "line": 221, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6785, "end": 6786, "loc": { "start": { "line": 221, "column": 16 }, "end": { "line": 221, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onStringTyped", "start": 6786, "end": 6799, "loc": { "start": { "line": 221, "column": 17 }, "end": { "line": 221, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6799, "end": 6800, "loc": { "start": { "line": 221, "column": 30 }, "end": { "line": 221, "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": 6800, "end": 6804, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6804, "end": 6805, "loc": { "start": { "line": 221, "column": 35 }, "end": { "line": 221, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 6805, "end": 6813, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6813, "end": 6814, "loc": { "start": { "line": 221, "column": 44 }, "end": { "line": 221, "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": 6815, "end": 6819, "loc": { "start": { "line": 221, "column": 46 }, "end": { "line": 221, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6819, "end": 6820, "loc": { "start": { "line": 221, "column": 50 }, "end": { "line": 221, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6820, "end": 6821, "loc": { "start": { "line": 221, "column": 51 }, "end": { "line": 221, "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": 6826, "end": 6830, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6830, "end": 6831, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 6831, "end": 6845, "loc": { "start": { "line": 222, "column": 9 }, "end": { "line": 222, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6845, "end": 6846, "loc": { "start": { "line": 222, "column": 23 }, "end": { "line": 222, "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": 6846, "end": 6850, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6850, "end": 6851, "loc": { "start": { "line": 222, "column": 28 }, "end": { "line": 222, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6851, "end": 6852, "loc": { "start": { "line": 222, "column": 29 }, "end": { "line": 222, "column": 30 } } }, { "type": "CommentLine", "value": " is this the final string", "start": 6857, "end": 6884, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "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": 6889, "end": 6891, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6892, "end": 6893, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "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": 6893, "end": 6897, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6897, "end": 6898, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 6898, "end": 6906, "loc": { "start": { "line": 224, "column": 13 }, "end": { "line": 224, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6907, "end": 6910, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "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": 6911, "end": 6915, "loc": { "start": { "line": 224, "column": 26 }, "end": { "line": 224, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6915, "end": 6916, "loc": { "start": { "line": 224, "column": 30 }, "end": { "line": 224, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 6916, "end": 6923, "loc": { "start": { "line": 224, "column": 31 }, "end": { "line": 224, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6923, "end": 6924, "loc": { "start": { "line": 224, "column": 38 }, "end": { "line": 224, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6924, "end": 6930, "loc": { "start": { "line": 224, "column": 39 }, "end": { "line": 224, "column": 45 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 6931, "end": 6932, "loc": { "start": { "line": 224, "column": 46 }, "end": { "line": 224, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 6933, "end": 6934, "loc": { "start": { "line": 224, "column": 48 }, "end": { "line": 224, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6934, "end": 6935, "loc": { "start": { "line": 224, "column": 49 }, "end": { "line": 224, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6936, "end": 6937, "loc": { "start": { "line": 224, "column": 51 }, "end": { "line": 224, "column": 52 } } }, { "type": "CommentLine", "value": " callback that occurs on the last typed string", "start": 6944, "end": 6992, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6999, "end": 7003, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7003, "end": 7004, "loc": { "start": { "line": 226, "column": 10 }, "end": { "line": 226, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "complete", "start": 7004, "end": 7012, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7012, "end": 7013, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7013, "end": 7014, "loc": { "start": { "line": 226, "column": 20 }, "end": { "line": 226, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7014, "end": 7015, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 22 } } }, { "type": "CommentLine", "value": " quit if we wont loop back", "start": 7022, "end": 7050, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "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": 7057, "end": 7059, "loc": { "start": { "line": 228, "column": 6 }, "end": { "line": 228, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7060, "end": 7061, "loc": { "start": { "line": 228, "column": 9 }, "end": { "line": 228, "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": 7061, "end": 7065, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7065, "end": 7066, "loc": { "start": { "line": 228, "column": 14 }, "end": { "line": 228, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 7066, "end": 7070, "loc": { "start": { "line": 228, "column": 15 }, "end": { "line": 228, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7071, "end": 7074, "loc": { "start": { "line": 228, "column": 20 }, "end": { "line": 228, "column": 23 } } }, { "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": 7075, "end": 7080, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7081, "end": 7083, "loc": { "start": { "line": 228, "column": 30 }, "end": { "line": 228, "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": 7084, "end": 7088, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 228, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7088, "end": 7089, "loc": { "start": { "line": 228, "column": 37 }, "end": { "line": 228, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curLoop", "start": 7089, "end": 7096, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7097, "end": 7100, "loc": { "start": { "line": 228, "column": 46 }, "end": { "line": 228, "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": 7101, "end": 7105, "loc": { "start": { "line": 228, "column": 50 }, "end": { "line": 228, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7105, "end": 7106, "loc": { "start": { "line": 228, "column": 54 }, "end": { "line": 228, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loopCount", "start": 7106, "end": 7115, "loc": { "start": { "line": 228, "column": 55 }, "end": { "line": 228, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7115, "end": 7116, "loc": { "start": { "line": 228, "column": 64 }, "end": { "line": 228, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7117, "end": 7118, "loc": { "start": { "line": 228, "column": 66 }, "end": { "line": 228, "column": 67 } } }, { "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": 7127, "end": 7133, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7133, "end": 7134, "loc": { "start": { "line": 229, "column": 14 }, "end": { "line": 229, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7141, "end": 7142, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7147, "end": 7148, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "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": 7153, "end": 7157, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 232, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7157, "end": 7158, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 7158, "end": 7165, "loc": { "start": { "line": 232, "column": 9 }, "end": { "line": 232, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7166, "end": 7167, "loc": { "start": { "line": 232, "column": 17 }, "end": { "line": 232, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 7168, "end": 7178, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7178, "end": 7179, "loc": { "start": { "line": 232, "column": 29 }, "end": { "line": 232, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7179, "end": 7180, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 232, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7180, "end": 7181, "loc": { "start": { "line": 232, "column": 31 }, "end": { "line": 232, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7182, "end": 7184, "loc": { "start": { "line": 232, "column": 33 }, "end": { "line": 232, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7185, "end": 7186, "loc": { "start": { "line": 232, "column": 36 }, "end": { "line": 232, "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": 7193, "end": 7197, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7197, "end": 7198, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 233, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 7198, "end": 7207, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7207, "end": 7208, "loc": { "start": { "line": 233, "column": 20 }, "end": { "line": 233, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7208, "end": 7217, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7217, "end": 7218, "loc": { "start": { "line": 233, "column": 30 }, "end": { "line": 233, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7219, "end": 7228, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7228, "end": 7229, "loc": { "start": { "line": 233, "column": 41 }, "end": { "line": 233, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7229, "end": 7230, "loc": { "start": { "line": 233, "column": 42 }, "end": { "line": 233, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7235, "end": 7236, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7236, "end": 7237, "loc": { "start": { "line": 234, "column": 5 }, "end": { "line": 234, "column": 6 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7238, "end": 7242, "loc": { "start": { "line": 234, "column": 7 }, "end": { "line": 234, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7242, "end": 7243, "loc": { "start": { "line": 234, "column": 11 }, "end": { "line": 234, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backDelay", "start": 7243, "end": 7252, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7252, "end": 7253, "loc": { "start": { "line": 234, "column": 21 }, "end": { "line": 234, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7253, "end": 7254, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7257, "end": 7258, "loc": { "start": { "line": 235, "column": 2 }, "end": { "line": 235, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n ", "start": 7262, "end": 7463, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 242, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 7466, "end": 7475, "loc": { "start": { "line": 243, "column": 2 }, "end": { "line": 243, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7475, "end": 7476, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7476, "end": 7485, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7485, "end": 7486, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7487, "end": 7496, "loc": { "start": { "line": 243, "column": 23 }, "end": { "line": 243, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7496, "end": 7497, "loc": { "start": { "line": 243, "column": 32 }, "end": { "line": 243, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7498, "end": 7499, "loc": { "start": { "line": 243, "column": 34 }, "end": { "line": 243, "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": 7504, "end": 7506, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7507, "end": 7508, "loc": { "start": { "line": 244, "column": 7 }, "end": { "line": 244, "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": 7508, "end": 7512, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7512, "end": 7513, "loc": { "start": { "line": 244, "column": 12 }, "end": { "line": 244, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 7513, "end": 7518, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7518, "end": 7519, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 7519, "end": 7525, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7526, "end": 7529, "loc": { "start": { "line": 244, "column": 26 }, "end": { "line": 244, "column": 29 } } }, { "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": 7530, "end": 7534, "loc": { "start": { "line": 244, "column": 30 }, "end": { "line": 244, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7534, "end": 7535, "loc": { "start": { "line": 244, "column": 34 }, "end": { "line": 244, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7536, "end": 7537, "loc": { "start": { "line": 244, "column": 36 }, "end": { "line": 244, "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": 7544, "end": 7548, "loc": { "start": { "line": 245, "column": 6 }, "end": { "line": 245, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7548, "end": 7549, "loc": { "start": { "line": 245, "column": 10 }, "end": { "line": 245, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPauseStatus", "start": 7549, "end": 7563, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7563, "end": 7564, "loc": { "start": { "line": 245, "column": 25 }, "end": { "line": 245, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7564, "end": 7573, "loc": { "start": { "line": 245, "column": 26 }, "end": { "line": 245, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7573, "end": 7574, "loc": { "start": { "line": 245, "column": 35 }, "end": { "line": 245, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7575, "end": 7584, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7584, "end": 7585, "loc": { "start": { "line": 245, "column": 46 }, "end": { "line": 245, "column": 47 } } }, { "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": 7586, "end": 7591, "loc": { "start": { "line": 245, "column": 48 }, "end": { "line": 245, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7591, "end": 7592, "loc": { "start": { "line": 245, "column": 53 }, "end": { "line": 245, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7592, "end": 7593, "loc": { "start": { "line": 245, "column": 54 }, "end": { "line": 245, "column": 55 } } }, { "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": 7600, "end": 7606, "loc": { "start": { "line": 246, "column": 6 }, "end": { "line": 246, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7606, "end": 7607, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7612, "end": 7613, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 247, "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": 7618, "end": 7620, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7621, "end": 7622, "loc": { "start": { "line": 248, "column": 7 }, "end": { "line": 248, "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": 7622, "end": 7626, "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": 7626, "end": 7627, "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": "fadeOut", "start": 7627, "end": 7634, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7634, "end": 7635, "loc": { "start": { "line": 248, "column": 20 }, "end": { "line": 248, "column": 21 } } }, { "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": 7636, "end": 7642, "loc": { "start": { "line": 248, "column": 22 }, "end": { "line": 248, "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": 7643, "end": 7647, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7647, "end": 7648, "loc": { "start": { "line": 248, "column": 33 }, "end": { "line": 248, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initFadeOut", "start": 7648, "end": 7659, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7659, "end": 7660, "loc": { "start": { "line": 248, "column": 45 }, "end": { "line": 248, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7660, "end": 7661, "loc": { "start": { "line": 248, "column": 46 }, "end": { "line": 248, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7661, "end": 7662, "loc": { "start": { "line": 248, "column": 47 }, "end": { "line": 248, "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": 7668, "end": 7672, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7672, "end": 7673, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggleBlinking", "start": 7673, "end": 7687, "loc": { "start": { "line": 250, "column": 9 }, "end": { "line": 250, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7687, "end": 7688, "loc": { "start": { "line": 250, "column": 23 }, "end": { "line": 250, "column": 24 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 7688, "end": 7693, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7693, "end": 7694, "loc": { "start": { "line": 250, "column": 29 }, "end": { "line": 250, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7694, "end": 7695, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7700, "end": 7705, "loc": { "start": { "line": 251, "column": 4 }, "end": { "line": 251, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 7706, "end": 7714, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7715, "end": 7716, "loc": { "start": { "line": 251, "column": 19 }, "end": { "line": 251, "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": 7717, "end": 7721, "loc": { "start": { "line": 251, "column": 21 }, "end": { "line": 251, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7721, "end": 7722, "loc": { "start": { "line": 251, "column": 25 }, "end": { "line": 251, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 7722, "end": 7731, "loc": { "start": { "line": 251, "column": 26 }, "end": { "line": 251, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7731, "end": 7732, "loc": { "start": { "line": 251, "column": 35 }, "end": { "line": 251, "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": 7732, "end": 7736, "loc": { "start": { "line": 251, "column": 36 }, "end": { "line": 251, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7736, "end": 7737, "loc": { "start": { "line": 251, "column": 40 }, "end": { "line": 251, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpeed", "start": 7737, "end": 7746, "loc": { "start": { "line": 251, "column": 41 }, "end": { "line": 251, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7746, "end": 7747, "loc": { "start": { "line": 251, "column": 50 }, "end": { "line": 251, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7747, "end": 7748, "loc": { "start": { "line": 251, "column": 51 }, "end": { "line": 251, "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": 7754, "end": 7758, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7758, "end": 7759, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeout", "start": 7759, "end": 7766, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7767, "end": 7768, "loc": { "start": { "line": 253, "column": 17 }, "end": { "line": 253, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 7769, "end": 7779, "loc": { "start": { "line": 253, "column": 19 }, "end": { "line": 253, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7779, "end": 7780, "loc": { "start": { "line": 253, "column": 29 }, "end": { "line": 253, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7780, "end": 7781, "loc": { "start": { "line": 253, "column": 30 }, "end": { "line": 253, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7781, "end": 7782, "loc": { "start": { "line": 253, "column": 31 }, "end": { "line": 253, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7783, "end": 7785, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7786, "end": 7787, "loc": { "start": { "line": 253, "column": 36 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7794, "end": 7803, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7804, "end": 7805, "loc": { "start": { "line": 254, "column": 16 }, "end": { "line": 254, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "htmlParser", "start": 7806, "end": 7816, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7816, "end": 7817, "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backSpaceHtmlChars", "start": 7817, "end": 7835, "loc": { "start": { "line": 254, "column": 29 }, "end": { "line": 254, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7835, "end": 7836, "loc": { "start": { "line": 254, "column": 47 }, "end": { "line": 254, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7836, "end": 7845, "loc": { "start": { "line": 254, "column": 48 }, "end": { "line": 254, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7845, "end": 7846, "loc": { "start": { "line": 254, "column": 57 }, "end": { "line": 254, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7847, "end": 7856, "loc": { "start": { "line": 254, "column": 59 }, "end": { "line": 254, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7856, "end": 7857, "loc": { "start": { "line": 254, "column": 68 }, "end": { "line": 254, "column": 69 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7858, "end": 7862, "loc": { "start": { "line": 254, "column": 70 }, "end": { "line": 254, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7862, "end": 7863, "loc": { "start": { "line": 254, "column": 74 }, "end": { "line": 254, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7863, "end": 7864, "loc": { "start": { "line": 254, "column": 75 }, "end": { "line": 254, "column": 76 } } }, { "type": "CommentLine", "value": " replace text with base text + typed characters", "start": 7871, "end": 7920, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 55 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7927, "end": 7932, "loc": { "start": { "line": 256, "column": 6 }, "end": { "line": 256, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 7933, "end": 7952, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7953, "end": 7954, "loc": { "start": { "line": 256, "column": 32 }, "end": { "line": 256, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 7955, "end": 7964, "loc": { "start": { "line": 256, "column": 34 }, "end": { "line": 256, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7964, "end": 7965, "loc": { "start": { "line": 256, "column": 43 }, "end": { "line": 256, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 7965, "end": 7974, "loc": { "start": { "line": 256, "column": 44 }, "end": { "line": 256, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7974, "end": 7975, "loc": { "start": { "line": 256, "column": 53 }, "end": { "line": 256, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7975, "end": 7976, "loc": { "start": { "line": 256, "column": 54 }, "end": { "line": 256, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7976, "end": 7977, "loc": { "start": { "line": 256, "column": 55 }, "end": { "line": 256, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 7978, "end": 7987, "loc": { "start": { "line": 256, "column": 57 }, "end": { "line": 256, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7987, "end": 7988, "loc": { "start": { "line": 256, "column": 66 }, "end": { "line": 256, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7988, "end": 7989, "loc": { "start": { "line": 256, "column": 67 }, "end": { "line": 256, "column": 68 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7996, "end": 8000, "loc": { "start": { "line": 257, "column": 6 }, "end": { "line": 257, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8000, "end": 8001, "loc": { "start": { "line": 257, "column": 10 }, "end": { "line": 257, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 8001, "end": 8012, "loc": { "start": { "line": 257, "column": 11 }, "end": { "line": 257, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8012, "end": 8013, "loc": { "start": { "line": 257, "column": 22 }, "end": { "line": 257, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 8013, "end": 8032, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8032, "end": 8033, "loc": { "start": { "line": 257, "column": 42 }, "end": { "line": 257, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8033, "end": 8034, "loc": { "start": { "line": 257, "column": 43 }, "end": { "line": 257, "column": 44 } } }, { "type": "CommentLine", "value": " if smartBack is enabled", "start": 8042, "end": 8068, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "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": 8075, "end": 8077, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8078, "end": 8079, "loc": { "start": { "line": 260, "column": 9 }, "end": { "line": 260, "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": 8079, "end": 8083, "loc": { "start": { "line": 260, "column": 10 }, "end": { "line": 260, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8083, "end": 8084, "loc": { "start": { "line": 260, "column": 14 }, "end": { "line": 260, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smartBackspace", "start": 8084, "end": 8098, "loc": { "start": { "line": 260, "column": 15 }, "end": { "line": 260, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 260, "column": 29 }, "end": { "line": 260, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8100, "end": 8101, "loc": { "start": { "line": 260, "column": 31 }, "end": { "line": 260, "column": 32 } } }, { "type": "CommentLine", "value": " the remaining part of the current string is equal of the same part of the new string", "start": 8110, "end": 8197, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 95 } } }, { "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": 8206, "end": 8209, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 8210, "end": 8220, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8221, "end": 8222, "loc": { "start": { "line": 262, "column": 23 }, "end": { "line": 262, "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": 8223, "end": 8227, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8227, "end": 8228, "loc": { "start": { "line": 262, "column": 29 }, "end": { "line": 262, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 8228, "end": 8235, "loc": { "start": { "line": 262, "column": 30 }, "end": { "line": 262, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8235, "end": 8236, "loc": { "start": { "line": 262, "column": 37 }, "end": { "line": 262, "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": 8236, "end": 8240, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8240, "end": 8241, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 262, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 8241, "end": 8249, "loc": { "start": { "line": 262, "column": 43 }, "end": { "line": 262, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8250, "end": 8251, "loc": { "start": { "line": 262, "column": 52 }, "end": { "line": 262, "column": 53 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 8252, "end": 8253, "loc": { "start": { "line": 262, "column": 54 }, "end": { "line": 262, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8253, "end": 8254, "loc": { "start": { "line": 262, "column": 55 }, "end": { "line": 262, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8254, "end": 8255, "loc": { "start": { "line": 262, "column": 56 }, "end": { "line": 262, "column": 57 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8264, "end": 8266, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8267, "end": 8268, "loc": { "start": { "line": 263, "column": 11 }, "end": { "line": 263, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 8279, "end": 8289, "loc": { "start": { "line": 264, "column": 10 }, "end": { "line": 264, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8290, "end": 8292, "loc": { "start": { "line": 264, "column": 21 }, "end": { "line": 264, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStringAtPosition", "start": 8303, "end": 8322, "loc": { "start": { "line": 265, "column": 10 }, "end": { "line": 265, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8323, "end": 8326, "loc": { "start": { "line": 265, "column": 30 }, "end": { "line": 265, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextString", "start": 8327, "end": 8337, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8337, "end": 8338, "loc": { "start": { "line": 265, "column": 44 }, "end": { "line": 265, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 8338, "end": 8347, "loc": { "start": { "line": 265, "column": 45 }, "end": { "line": 265, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8347, "end": 8348, "loc": { "start": { "line": 265, "column": 54 }, "end": { "line": 265, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8348, "end": 8349, "loc": { "start": { "line": 265, "column": 55 }, "end": { "line": 265, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8349, "end": 8350, "loc": { "start": { "line": 265, "column": 56 }, "end": { "line": 265, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8351, "end": 8360, "loc": { "start": { "line": 265, "column": 58 }, "end": { "line": 265, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8360, "end": 8361, "loc": { "start": { "line": 265, "column": 67 }, "end": { "line": 265, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8370, "end": 8371, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8372, "end": 8373, "loc": { "start": { "line": 266, "column": 10 }, "end": { "line": 266, "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": 8384, "end": 8388, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8388, "end": 8389, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 8389, "end": 8396, "loc": { "start": { "line": 267, "column": 15 }, "end": { "line": 267, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8397, "end": 8398, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8399, "end": 8408, "loc": { "start": { "line": 267, "column": 25 }, "end": { "line": 267, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8408, "end": 8409, "loc": { "start": { "line": 267, "column": 34 }, "end": { "line": 267, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8418, "end": 8419, "loc": { "start": { "line": 268, "column": 8 }, "end": { "line": 268, "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": 8420, "end": 8424, "loc": { "start": { "line": 268, "column": 10 }, "end": { "line": 268, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8425, "end": 8426, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "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": 8437, "end": 8441, "loc": { "start": { "line": 269, "column": 10 }, "end": { "line": 269, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8441, "end": 8442, "loc": { "start": { "line": 269, "column": 14 }, "end": { "line": 269, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 8442, "end": 8449, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8450, "end": 8451, "loc": { "start": { "line": 269, "column": 23 }, "end": { "line": 269, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8452, "end": 8453, "loc": { "start": { "line": 269, "column": 25 }, "end": { "line": 269, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8453, "end": 8454, "loc": { "start": { "line": 269, "column": 26 }, "end": { "line": 269, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8463, "end": 8464, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8471, "end": 8472, "loc": { "start": { "line": 271, "column": 6 }, "end": { "line": 271, "column": 7 } } }, { "type": "CommentLine", "value": " if the number (id of character in current string) is", "start": 8480, "end": 8535, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 61 } } }, { "type": "CommentLine", "value": " less than the stop number, keep going", "start": 8542, "end": 8582, "loc": { "start": { "line": 274, "column": 6 }, "end": { "line": 274, "column": 46 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8589, "end": 8591, "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": 8592, "end": 8593, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8593, "end": 8602, "loc": { "start": { "line": 275, "column": 10 }, "end": { "line": 275, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 8603, "end": 8604, "loc": { "start": { "line": 275, "column": 20 }, "end": { "line": 275, "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": 8605, "end": 8609, "loc": { "start": { "line": 275, "column": 22 }, "end": { "line": 275, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8609, "end": 8610, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 275, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 8610, "end": 8617, "loc": { "start": { "line": 275, "column": 27 }, "end": { "line": 275, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8617, "end": 8618, "loc": { "start": { "line": 275, "column": 34 }, "end": { "line": 275, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8619, "end": 8620, "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 37 } } }, { "type": "CommentLine", "value": " subtract characters one by one", "start": 8629, "end": 8662, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8671, "end": 8680, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 17 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 8680, "end": 8682, "loc": { "start": { "line": 277, "column": 17 }, "end": { "line": 277, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8682, "end": 8683, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 277, "column": 20 } } }, { "type": "CommentLine", "value": " loop the function", "start": 8692, "end": 8712, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "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": 8721, "end": 8725, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8725, "end": 8726, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backspace", "start": 8726, "end": 8735, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8735, "end": 8736, "loc": { "start": { "line": 279, "column": 22 }, "end": { "line": 279, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 8736, "end": 8745, "loc": { "start": { "line": 279, "column": 23 }, "end": { "line": 279, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8745, "end": 8746, "loc": { "start": { "line": 279, "column": 32 }, "end": { "line": 279, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8747, "end": 8756, "loc": { "start": { "line": 279, "column": 34 }, "end": { "line": 279, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8756, "end": 8757, "loc": { "start": { "line": 279, "column": 43 }, "end": { "line": 279, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8757, "end": 8758, "loc": { "start": { "line": 279, "column": 44 }, "end": { "line": 279, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8765, "end": 8766, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "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": 8767, "end": 8771, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8772, "end": 8774, "loc": { "start": { "line": 280, "column": 13 }, "end": { "line": 280, "column": 15 } } }, { "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": 280, "column": 16 }, "end": { "line": 280, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 8776, "end": 8785, "loc": { "start": { "line": 280, "column": 17 }, "end": { "line": 280, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 8786, "end": 8788, "loc": { "start": { "line": 280, "column": 27 }, "end": { "line": 280, "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": 8789, "end": 8793, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8793, "end": 8794, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stopNum", "start": 8794, "end": 8801, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8801, "end": 8802, "loc": { "start": { "line": 280, "column": 42 }, "end": { "line": 280, "column": 43 } } }, { "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": 280, "column": 44 }, "end": { "line": 280, "column": 45 } } }, { "type": "CommentLine", "value": " if the stop number has been reached, increase", "start": 8813, "end": 8861, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 281, "column": 56 } } }, { "type": "CommentLine", "value": " array position to next string", "start": 8870, "end": 8902, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "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": 8911, "end": 8915, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8915, "end": 8916, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 8916, "end": 8924, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 21 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8924, "end": 8926, "loc": { "start": { "line": 283, "column": 21 }, "end": { "line": 283, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8926, "end": 8927, "loc": { "start": { "line": 283, "column": 23 }, "end": { "line": 283, "column": 24 } } }, { "type": "CommentLine", "value": " When looping, begin at the beginning after backspace complete", "start": 8936, "end": 9000, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "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": 9009, "end": 9011, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9012, "end": 9013, "loc": { "start": { "line": 285, "column": 11 }, "end": { "line": 285, "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": 9013, "end": 9017, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9017, "end": 9018, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9018, "end": 9026, "loc": { "start": { "line": 285, "column": 17 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9027, "end": 9030, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "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": 9031, "end": 9035, "loc": { "start": { "line": 285, "column": 30 }, "end": { "line": 285, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9035, "end": 9036, "loc": { "start": { "line": 285, "column": 34 }, "end": { "line": 285, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 9036, "end": 9043, "loc": { "start": { "line": 285, "column": 35 }, "end": { "line": 285, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9043, "end": 9044, "loc": { "start": { "line": 285, "column": 42 }, "end": { "line": 285, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9044, "end": 9050, "loc": { "start": { "line": 285, "column": 43 }, "end": { "line": 285, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9050, "end": 9051, "loc": { "start": { "line": 285, "column": 49 }, "end": { "line": 285, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9052, "end": 9053, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 285, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9064, "end": 9068, "loc": { "start": { "line": 286, "column": 10 }, "end": { "line": 286, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9068, "end": 9069, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9069, "end": 9077, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9078, "end": 9079, "loc": { "start": { "line": 286, "column": 24 }, "end": { "line": 286, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9080, "end": 9081, "loc": { "start": { "line": 286, "column": 26 }, "end": { "line": 286, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9081, "end": 9082, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "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": 9093, "end": 9097, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9097, "end": 9098, "loc": { "start": { "line": 287, "column": 14 }, "end": { "line": 287, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9098, "end": 9105, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9105, "end": 9106, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onLastStringBackspaced", "start": 9106, "end": 9128, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9128, "end": 9129, "loc": { "start": { "line": 287, "column": 45 }, "end": { "line": 287, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9129, "end": 9130, "loc": { "start": { "line": 287, "column": 46 }, "end": { "line": 287, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9130, "end": 9131, "loc": { "start": { "line": 287, "column": 47 }, "end": { "line": 287, "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": 9142, "end": 9146, "loc": { "start": { "line": 288, "column": 10 }, "end": { "line": 288, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9146, "end": 9147, "loc": { "start": { "line": 288, "column": 14 }, "end": { "line": 288, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffleStringsIfNeeded", "start": 9147, "end": 9169, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9169, "end": 9170, "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9170, "end": 9171, "loc": { "start": { "line": 288, "column": 38 }, "end": { "line": 288, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9171, "end": 9172, "loc": { "start": { "line": 288, "column": 39 }, "end": { "line": 288, "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": 9183, "end": 9187, "loc": { "start": { "line": 289, "column": 10 }, "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": 9187, "end": 9188, "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": "begin", "start": 9188, "end": 9193, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9193, "end": 9194, "loc": { "start": { "line": 289, "column": 20 }, "end": { "line": 289, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9194, "end": 9195, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9195, "end": 9196, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9205, "end": 9206, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "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": 9207, "end": 9211, "loc": { "start": { "line": 290, "column": 10 }, "end": { "line": 290, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9212, "end": 9213, "loc": { "start": { "line": 290, "column": 15 }, "end": { "line": 290, "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": 9224, "end": 9228, "loc": { "start": { "line": 291, "column": 10 }, "end": { "line": 291, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9228, "end": 9229, "loc": { "start": { "line": 291, "column": 14 }, "end": { "line": 291, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 9229, "end": 9238, "loc": { "start": { "line": 291, "column": 15 }, "end": { "line": 291, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9238, "end": 9239, "loc": { "start": { "line": 291, "column": 24 }, "end": { "line": 291, "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": 9239, "end": 9243, "loc": { "start": { "line": 291, "column": 25 }, "end": { "line": 291, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9243, "end": 9244, "loc": { "start": { "line": 291, "column": 29 }, "end": { "line": 291, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 9244, "end": 9251, "loc": { "start": { "line": 291, "column": 30 }, "end": { "line": 291, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9251, "end": 9252, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "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": 9252, "end": 9256, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9256, "end": 9257, "loc": { "start": { "line": 291, "column": 42 }, "end": { "line": 291, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 9257, "end": 9265, "loc": { "start": { "line": 291, "column": 43 }, "end": { "line": 291, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9265, "end": 9266, "loc": { "start": { "line": 291, "column": 51 }, "end": { "line": 291, "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": 9266, "end": 9270, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 291, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9270, "end": 9271, "loc": { "start": { "line": 291, "column": 56 }, "end": { "line": 291, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 9271, "end": 9279, "loc": { "start": { "line": 291, "column": 57 }, "end": { "line": 291, "column": 65 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9279, "end": 9280, "loc": { "start": { "line": 291, "column": 65 }, "end": { "line": 291, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9280, "end": 9281, "loc": { "start": { "line": 291, "column": 66 }, "end": { "line": 291, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9281, "end": 9282, "loc": { "start": { "line": 291, "column": 67 }, "end": { "line": 291, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9283, "end": 9292, "loc": { "start": { "line": 291, "column": 69 }, "end": { "line": 291, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9292, "end": 9293, "loc": { "start": { "line": 291, "column": 78 }, "end": { "line": 291, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9293, "end": 9294, "loc": { "start": { "line": 291, "column": 79 }, "end": { "line": 291, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9303, "end": 9304, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9311, "end": 9312, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "column": 7 } } }, { "type": "CommentLine", "value": " humanized value for typing", "start": 9319, "end": 9348, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9353, "end": 9354, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9354, "end": 9355, "loc": { "start": { "line": 295, "column": 5 }, "end": { "line": 295, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanize", "start": 9356, "end": 9364, "loc": { "start": { "line": 295, "column": 7 }, "end": { "line": 295, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9364, "end": 9365, "loc": { "start": { "line": 295, "column": 15 }, "end": { "line": 295, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9365, "end": 9366, "loc": { "start": { "line": 295, "column": 16 }, "end": { "line": 295, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9369, "end": 9370, "loc": { "start": { "line": 296, "column": 2 }, "end": { "line": 296, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Full animation is complete\n * @private\n ", "start": 9374, "end": 9429, "loc": { "start": { "line": 298, "column": 2 }, "end": { "line": 301, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "complete", "start": 9432, "end": 9440, "loc": { "start": { "line": 302, "column": 2 }, "end": { "line": 302, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9440, "end": 9441, "loc": { "start": { "line": 302, "column": 10 }, "end": { "line": 302, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9441, "end": 9442, "loc": { "start": { "line": 302, "column": 11 }, "end": { "line": 302, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9443, "end": 9444, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9449, "end": 9453, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9453, "end": 9454, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9454, "end": 9461, "loc": { "start": { "line": 303, "column": 9 }, "end": { "line": 303, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9461, "end": 9462, "loc": { "start": { "line": 303, "column": 16 }, "end": { "line": 303, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onComplete", "start": 9462, "end": 9472, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9472, "end": 9473, "loc": { "start": { "line": 303, "column": 27 }, "end": { "line": 303, "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": 9473, "end": 9477, "loc": { "start": { "line": 303, "column": 28 }, "end": { "line": 303, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9477, "end": 9478, "loc": { "start": { "line": 303, "column": 32 }, "end": { "line": 303, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9478, "end": 9479, "loc": { "start": { "line": 303, "column": 33 }, "end": { "line": 303, "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": 9484, "end": 9486, "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": 9487, "end": 9488, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "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": 9488, "end": 9492, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9492, "end": 9493, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loop", "start": 9493, "end": 9497, "loc": { "start": { "line": 304, "column": 13 }, "end": { "line": 304, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9497, "end": 9498, "loc": { "start": { "line": 304, "column": 17 }, "end": { "line": 304, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9499, "end": 9500, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 304, "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": 9507, "end": 9511, "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": 9511, "end": 9512, "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": "curLoop", "start": 9512, "end": 9519, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 18 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 9519, "end": 9521, "loc": { "start": { "line": 305, "column": 18 }, "end": { "line": 305, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9521, "end": 9522, "loc": { "start": { "line": 305, "column": 20 }, "end": { "line": 305, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9527, "end": 9528, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 5 } } }, { "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": 9529, "end": 9533, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9534, "end": 9535, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 306, "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": 9542, "end": 9546, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9546, "end": 9547, "loc": { "start": { "line": 307, "column": 10 }, "end": { "line": 307, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typingComplete", "start": 9547, "end": 9561, "loc": { "start": { "line": 307, "column": 11 }, "end": { "line": 307, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9562, "end": 9563, "loc": { "start": { "line": 307, "column": 26 }, "end": { "line": 307, "column": 27 } } }, { "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": 9564, "end": 9568, "loc": { "start": { "line": 307, "column": 28 }, "end": { "line": 307, "column": 32 } } }, { "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": 307, "column": 32 }, "end": { "line": 307, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9574, "end": 9575, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 308, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9578, "end": 9579, "loc": { "start": { "line": 309, "column": 2 }, "end": { "line": 309, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n ", "start": 9583, "end": 9810, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 317, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPauseStatus", "start": 9813, "end": 9827, "loc": { "start": { "line": 318, "column": 2 }, "end": { "line": 318, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9827, "end": 9828, "loc": { "start": { "line": 318, "column": 16 }, "end": { "line": 318, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 9828, "end": 9837, "loc": { "start": { "line": 318, "column": 17 }, "end": { "line": 318, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9837, "end": 9838, "loc": { "start": { "line": 318, "column": 26 }, "end": { "line": 318, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9839, "end": 9848, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9848, "end": 9849, "loc": { "start": { "line": 318, "column": 37 }, "end": { "line": 318, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTyping", "start": 9850, "end": 9858, "loc": { "start": { "line": 318, "column": 39 }, "end": { "line": 318, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9858, "end": 9859, "loc": { "start": { "line": 318, "column": 47 }, "end": { "line": 318, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9860, "end": 9861, "loc": { "start": { "line": 318, "column": 49 }, "end": { "line": 318, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9866, "end": 9870, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9870, "end": 9871, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 9871, "end": 9876, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9876, "end": 9877, "loc": { "start": { "line": 319, "column": 14 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 9877, "end": 9886, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9887, "end": 9888, "loc": { "start": { "line": 319, "column": 25 }, "end": { "line": 319, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTyping", "start": 9889, "end": 9897, "loc": { "start": { "line": 319, "column": 27 }, "end": { "line": 319, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9897, "end": 9898, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "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": 9903, "end": 9907, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9907, "end": 9908, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 9908, "end": 9913, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9913, "end": 9914, "loc": { "start": { "line": 320, "column": 14 }, "end": { "line": 320, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 9914, "end": 9923, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9924, "end": 9925, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curString", "start": 9926, "end": 9935, "loc": { "start": { "line": 320, "column": 27 }, "end": { "line": 320, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9935, "end": 9936, "loc": { "start": { "line": 320, "column": 36 }, "end": { "line": 320, "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": 9941, "end": 9945, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9945, "end": 9946, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 9946, "end": 9951, "loc": { "start": { "line": 321, "column": 9 }, "end": { "line": 321, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9951, "end": 9952, "loc": { "start": { "line": 321, "column": 14 }, "end": { "line": 321, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9952, "end": 9961, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9962, "end": 9963, "loc": { "start": { "line": 321, "column": 25 }, "end": { "line": 321, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "curStrPos", "start": 9964, "end": 9973, "loc": { "start": { "line": 321, "column": 27 }, "end": { "line": 321, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9973, "end": 9974, "loc": { "start": { "line": 321, "column": 36 }, "end": { "line": 321, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9977, "end": 9978, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 322, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n ", "start": 9982, "end": 10070, "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": "toggleBlinking", "start": 10073, "end": 10087, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 329, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10087, "end": 10088, "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": "isBlinking", "start": 10088, "end": 10098, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10098, "end": 10099, "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": 10100, "end": 10101, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 329, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10106, "end": 10108, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10109, "end": 10110, "loc": { "start": { "line": 330, "column": 7 }, "end": { "line": 330, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10110, "end": 10111, "loc": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "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": 10111, "end": 10115, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10115, "end": 10116, "loc": { "start": { "line": 330, "column": 13 }, "end": { "line": 330, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 10116, "end": 10122, "loc": { "start": { "line": 330, "column": 14 }, "end": { "line": 330, "column": 20 } } }, { "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": 330, "column": 20 }, "end": { "line": 330, "column": 21 } } }, { "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": 10124, "end": 10130, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10130, "end": 10131, "loc": { "start": { "line": 330, "column": 28 }, "end": { "line": 330, "column": 29 } } }, { "type": "CommentLine", "value": " if in paused state, don't toggle blinking a 2nd time", "start": 10136, "end": 10191, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 59 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10196, "end": 10198, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10199, "end": 10200, "loc": { "start": { "line": 332, "column": 7 }, "end": { "line": 332, "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": 10200, "end": 10204, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10204, "end": 10205, "loc": { "start": { "line": 332, "column": 12 }, "end": { "line": 332, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pause", "start": 10205, "end": 10210, "loc": { "start": { "line": 332, "column": 13 }, "end": { "line": 332, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10210, "end": 10211, "loc": { "start": { "line": 332, "column": 18 }, "end": { "line": 332, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "status", "start": 10211, "end": 10217, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10217, "end": 10218, "loc": { "start": { "line": 332, "column": 25 }, "end": { "line": 332, "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": 10219, "end": 10225, "loc": { "start": { "line": 332, "column": 27 }, "end": { "line": 332, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10225, "end": 10226, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "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": 10231, "end": 10233, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 333, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10234, "end": 10235, "loc": { "start": { "line": 333, "column": 7 }, "end": { "line": 333, "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": 10235, "end": 10239, "loc": { "start": { "line": 333, "column": 8 }, "end": { "line": 333, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10239, "end": 10240, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorBlinking", "start": 10240, "end": 10254, "loc": { "start": { "line": 333, "column": 13 }, "end": { "line": 333, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 10255, "end": 10258, "loc": { "start": { "line": 333, "column": 28 }, "end": { "line": 333, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10259, "end": 10269, "loc": { "start": { "line": 333, "column": 32 }, "end": { "line": 333, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10269, "end": 10270, "loc": { "start": { "line": 333, "column": 42 }, "end": { "line": 333, "column": 43 } } }, { "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": 10271, "end": 10277, "loc": { "start": { "line": 333, "column": 44 }, "end": { "line": 333, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10277, "end": 10278, "loc": { "start": { "line": 333, "column": 50 }, "end": { "line": 333, "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": 10283, "end": 10287, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10287, "end": 10288, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorBlinking", "start": 10288, "end": 10302, "loc": { "start": { "line": 334, "column": 9 }, "end": { "line": 334, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10303, "end": 10304, "loc": { "start": { "line": 334, "column": 24 }, "end": { "line": 334, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10305, "end": 10315, "loc": { "start": { "line": 334, "column": 26 }, "end": { "line": 334, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10315, "end": 10316, "loc": { "start": { "line": 334, "column": 36 }, "end": { "line": 334, "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": 10321, "end": 10323, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10324, "end": 10325, "loc": { "start": { "line": 335, "column": 7 }, "end": { "line": 335, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isBlinking", "start": 10325, "end": 10335, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10335, "end": 10336, "loc": { "start": { "line": 335, "column": 18 }, "end": { "line": 335, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10337, "end": 10338, "loc": { "start": { "line": 335, "column": 20 }, "end": { "line": 335, "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": 10345, "end": 10349, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10349, "end": 10350, "loc": { "start": { "line": 336, "column": 10 }, "end": { "line": 336, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 10350, "end": 10356, "loc": { "start": { "line": 336, "column": 11 }, "end": { "line": 336, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10356, "end": 10357, "loc": { "start": { "line": 336, "column": 17 }, "end": { "line": 336, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 10357, "end": 10366, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10366, "end": 10367, "loc": { "start": { "line": 336, "column": 27 }, "end": { "line": 336, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 10367, "end": 10370, "loc": { "start": { "line": 336, "column": 28 }, "end": { "line": 336, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10370, "end": 10371, "loc": { "start": { "line": 336, "column": 31 }, "end": { "line": 336, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor--blink", "start": 10371, "end": 10392, "loc": { "start": { "line": 336, "column": 32 }, "end": { "line": 336, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10392, "end": 10393, "loc": { "start": { "line": 336, "column": 53 }, "end": { "line": 336, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10393, "end": 10394, "loc": { "start": { "line": 336, "column": 54 }, "end": { "line": 336, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10399, "end": 10400, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 5 } } }, { "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": 10401, "end": 10405, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10406, "end": 10407, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "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": 10414, "end": 10418, "loc": { "start": { "line": 338, "column": 6 }, "end": { "line": 338, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10418, "end": 10419, "loc": { "start": { "line": 338, "column": 10 }, "end": { "line": 338, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 10419, "end": 10425, "loc": { "start": { "line": 338, "column": 11 }, "end": { "line": 338, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10425, "end": 10426, "loc": { "start": { "line": 338, "column": 17 }, "end": { "line": 338, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 10426, "end": 10435, "loc": { "start": { "line": 338, "column": 18 }, "end": { "line": 338, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10435, "end": 10436, "loc": { "start": { "line": 338, "column": 27 }, "end": { "line": 338, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 10436, "end": 10442, "loc": { "start": { "line": 338, "column": 28 }, "end": { "line": 338, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10442, "end": 10443, "loc": { "start": { "line": 338, "column": 34 }, "end": { "line": 338, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor--blink", "start": 10443, "end": 10464, "loc": { "start": { "line": 338, "column": 35 }, "end": { "line": 338, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10464, "end": 10465, "loc": { "start": { "line": 338, "column": 56 }, "end": { "line": 338, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10465, "end": 10466, "loc": { "start": { "line": 338, "column": 57 }, "end": { "line": 338, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10471, "end": 10472, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10475, "end": 10476, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 340, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Speed in MS to type\n * @param {number} speed\n * @private\n ", "start": 10480, "end": 10555, "loc": { "start": { "line": 342, "column": 2 }, "end": { "line": 346, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "humanizer", "start": 10558, "end": 10567, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 347, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10567, "end": 10568, "loc": { "start": { "line": 347, "column": 11 }, "end": { "line": 347, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 10568, "end": 10573, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10573, "end": 10574, "loc": { "start": { "line": 347, "column": 17 }, "end": { "line": 347, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10575, "end": 10576, "loc": { "start": { "line": 347, "column": 19 }, "end": { "line": 347, "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": 10581, "end": 10587, "loc": { "start": { "line": 348, "column": 4 }, "end": { "line": 348, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 10588, "end": 10592, "loc": { "start": { "line": 348, "column": 11 }, "end": { "line": 348, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10592, "end": 10593, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 10593, "end": 10598, "loc": { "start": { "line": 348, "column": 16 }, "end": { "line": 348, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10598, "end": 10599, "loc": { "start": { "line": 348, "column": 21 }, "end": { "line": 348, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10599, "end": 10600, "loc": { "start": { "line": 348, "column": 22 }, "end": { "line": 348, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 10600, "end": 10604, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10604, "end": 10605, "loc": { "start": { "line": 348, "column": 27 }, "end": { "line": 348, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 10605, "end": 10611, "loc": { "start": { "line": 348, "column": 28 }, "end": { "line": 348, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10611, "end": 10612, "loc": { "start": { "line": 348, "column": 34 }, "end": { "line": 348, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10612, "end": 10613, "loc": { "start": { "line": 348, "column": 35 }, "end": { "line": 348, "column": 36 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 10614, "end": 10615, "loc": { "start": { "line": 348, "column": 37 }, "end": { "line": 348, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 10616, "end": 10621, "loc": { "start": { "line": 348, "column": 39 }, "end": { "line": 348, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10621, "end": 10622, "loc": { "start": { "line": 348, "column": 44 }, "end": { "line": 348, "column": 45 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 10623, "end": 10624, "loc": { "start": { "line": 348, "column": 46 }, "end": { "line": 348, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 10625, "end": 10626, "loc": { "start": { "line": 348, "column": 48 }, "end": { "line": 348, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10626, "end": 10627, "loc": { "start": { "line": 348, "column": 49 }, "end": { "line": 348, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 10628, "end": 10629, "loc": { "start": { "line": 348, "column": 51 }, "end": { "line": 348, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 10630, "end": 10635, "loc": { "start": { "line": 348, "column": 53 }, "end": { "line": 348, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10635, "end": 10636, "loc": { "start": { "line": 348, "column": 58 }, "end": { "line": 348, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10639, "end": 10640, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 349, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Shuffle the sequence of the strings array\n * @private\n ", "start": 10644, "end": 10714, "loc": { "start": { "line": 351, "column": 2 }, "end": { "line": 354, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffleStringsIfNeeded", "start": 10717, "end": 10739, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 355, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10739, "end": 10740, "loc": { "start": { "line": 355, "column": 24 }, "end": { "line": 355, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10740, "end": 10741, "loc": { "start": { "line": 355, "column": 25 }, "end": { "line": 355, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10742, "end": 10743, "loc": { "start": { "line": 355, "column": 27 }, "end": { "line": 355, "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": 10748, "end": 10750, "loc": { "start": { "line": 356, "column": 4 }, "end": { "line": 356, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10751, "end": 10752, "loc": { "start": { "line": 356, "column": 7 }, "end": { "line": 356, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10752, "end": 10753, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "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": 10753, "end": 10757, "loc": { "start": { "line": 356, "column": 9 }, "end": { "line": 356, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10757, "end": 10758, "loc": { "start": { "line": 356, "column": 13 }, "end": { "line": 356, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shuffle", "start": 10758, "end": 10765, "loc": { "start": { "line": 356, "column": 14 }, "end": { "line": 356, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10765, "end": 10766, "loc": { "start": { "line": 356, "column": 21 }, "end": { "line": 356, "column": 22 } } }, { "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": 10767, "end": 10773, "loc": { "start": { "line": 356, "column": 23 }, "end": { "line": 356, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10773, "end": 10774, "loc": { "start": { "line": 356, "column": 29 }, "end": { "line": 356, "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": 10779, "end": 10783, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10783, "end": 10784, "loc": { "start": { "line": 357, "column": 8 }, "end": { "line": 357, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 10784, "end": 10792, "loc": { "start": { "line": 357, "column": 9 }, "end": { "line": 357, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10793, "end": 10794, "loc": { "start": { "line": 357, "column": 18 }, "end": { "line": 357, "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": 10795, "end": 10799, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10799, "end": 10800, "loc": { "start": { "line": 357, "column": 24 }, "end": { "line": 357, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 10800, "end": 10808, "loc": { "start": { "line": 357, "column": 25 }, "end": { "line": 357, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10808, "end": 10809, "loc": { "start": { "line": 357, "column": 33 }, "end": { "line": 357, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sort", "start": 10809, "end": 10813, "loc": { "start": { "line": 357, "column": 34 }, "end": { "line": 357, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10813, "end": 10814, "loc": { "start": { "line": 357, "column": 38 }, "end": { "line": 357, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10814, "end": 10815, "loc": { "start": { "line": 357, "column": 39 }, "end": { "line": 357, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10815, "end": 10816, "loc": { "start": { "line": 357, "column": 40 }, "end": { "line": 357, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10817, "end": 10819, "loc": { "start": { "line": 357, "column": 42 }, "end": { "line": 357, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 10820, "end": 10824, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10824, "end": 10825, "loc": { "start": { "line": 357, "column": 49 }, "end": { "line": 357, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 10825, "end": 10831, "loc": { "start": { "line": 357, "column": 50 }, "end": { "line": 357, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10831, "end": 10832, "loc": { "start": { "line": 357, "column": 56 }, "end": { "line": 357, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10832, "end": 10833, "loc": { "start": { "line": 357, "column": 57 }, "end": { "line": 357, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 10834, "end": 10835, "loc": { "start": { "line": 357, "column": 59 }, "end": { "line": 357, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 10836, "end": 10839, "loc": { "start": { "line": 357, "column": 61 }, "end": { "line": 357, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10839, "end": 10840, "loc": { "start": { "line": 357, "column": 64 }, "end": { "line": 357, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10840, "end": 10841, "loc": { "start": { "line": 357, "column": 65 }, "end": { "line": 357, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10844, "end": 10845, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 358, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Adds a CSS class to fade out current string\n * @private\n ", "start": 10849, "end": 10921, "loc": { "start": { "line": 360, "column": 2 }, "end": { "line": 363, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initFadeOut", "start": 10924, "end": 10935, "loc": { "start": { "line": 364, "column": 2 }, "end": { "line": 364, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10935, "end": 10936, "loc": { "start": { "line": 364, "column": 13 }, "end": { "line": 364, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10936, "end": 10937, "loc": { "start": { "line": 364, "column": 14 }, "end": { "line": 364, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10938, "end": 10939, "loc": { "start": { "line": 364, "column": 16 }, "end": { "line": 364, "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": 10944, "end": 10948, "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": 10948, "end": 10949, "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": "el", "start": 10949, "end": 10951, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10951, "end": 10952, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10952, "end": 10961, "loc": { "start": { "line": 365, "column": 12 }, "end": { "line": 365, "column": 21 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 10962, "end": 10964, "loc": { "start": { "line": 365, "column": 22 }, "end": { "line": 365, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10965, "end": 10966, "loc": { "start": { "line": 365, "column": 25 }, "end": { "line": 365, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 10966, "end": 10967, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "column": 27 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10967, "end": 10969, "loc": { "start": { "line": 365, "column": 27 }, "end": { "line": 365, "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": 10969, "end": 10973, "loc": { "start": { "line": 365, "column": 29 }, "end": { "line": 365, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10973, "end": 10974, "loc": { "start": { "line": 365, "column": 33 }, "end": { "line": 365, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 10974, "end": 10986, "loc": { "start": { "line": 365, "column": 34 }, "end": { "line": 365, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10986, "end": 10987, "loc": { "start": { "line": 365, "column": 46 }, "end": { "line": 365, "column": 47 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10987, "end": 10987, "loc": { "start": { "line": 365, "column": 47 }, "end": { "line": 365, "column": 47 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10987, "end": 10988, "loc": { "start": { "line": 365, "column": 47 }, "end": { "line": 365, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10988, "end": 10989, "loc": { "start": { "line": 365, "column": 48 }, "end": { "line": 365, "column": 49 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10994, "end": 10996, "loc": { "start": { "line": 366, "column": 4 }, "end": { "line": 366, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10997, "end": 10998, "loc": { "start": { "line": 366, "column": 7 }, "end": { "line": 366, "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": 10998, "end": 11002, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11002, "end": 11003, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 11003, "end": 11009, "loc": { "start": { "line": 366, "column": 13 }, "end": { "line": 366, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11009, "end": 11010, "loc": { "start": { "line": 366, "column": 19 }, "end": { "line": 366, "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": 11011, "end": 11015, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11015, "end": 11016, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 11016, "end": 11022, "loc": { "start": { "line": 366, "column": 26 }, "end": { "line": 366, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11022, "end": 11023, "loc": { "start": { "line": 366, "column": 32 }, "end": { "line": 366, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 11023, "end": 11032, "loc": { "start": { "line": 366, "column": 33 }, "end": { "line": 366, "column": 42 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 11033, "end": 11035, "loc": { "start": { "line": 366, "column": 43 }, "end": { "line": 366, "column": 45 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11036, "end": 11037, "loc": { "start": { "line": 366, "column": 46 }, "end": { "line": 366, "column": 47 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11037, "end": 11038, "loc": { "start": { "line": 366, "column": 47 }, "end": { "line": 366, "column": 48 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11038, "end": 11040, "loc": { "start": { "line": 366, "column": 48 }, "end": { "line": 366, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11040, "end": 11044, "loc": { "start": { "line": 366, "column": 50 }, "end": { "line": 366, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11044, "end": 11045, "loc": { "start": { "line": 366, "column": 54 }, "end": { "line": 366, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutClass", "start": 11045, "end": 11057, "loc": { "start": { "line": 366, "column": 55 }, "end": { "line": 366, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11057, "end": 11058, "loc": { "start": { "line": 366, "column": 67 }, "end": { "line": 366, "column": 68 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11058, "end": 11058, "loc": { "start": { "line": 366, "column": 68 }, "end": { "line": 366, "column": 68 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11058, "end": 11059, "loc": { "start": { "line": 366, "column": 68 }, "end": { "line": 366, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11059, "end": 11060, "loc": { "start": { "line": 366, "column": 69 }, "end": { "line": 366, "column": 70 } } }, { "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": 11065, "end": 11071, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 11072, "end": 11082, "loc": { "start": { "line": 367, "column": 11 }, "end": { "line": 367, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11082, "end": 11083, "loc": { "start": { "line": 367, "column": 21 }, "end": { "line": 367, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11083, "end": 11084, "loc": { "start": { "line": 367, "column": 22 }, "end": { "line": 367, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11084, "end": 11085, "loc": { "start": { "line": 367, "column": 23 }, "end": { "line": 367, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11086, "end": 11088, "loc": { "start": { "line": 367, "column": 25 }, "end": { "line": 367, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11089, "end": 11090, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 367, "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": 11097, "end": 11101, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11101, "end": 11102, "loc": { "start": { "line": 368, "column": 10 }, "end": { "line": 368, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11102, "end": 11110, "loc": { "start": { "line": 368, "column": 11 }, "end": { "line": 368, "column": 19 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 11110, "end": 11112, "loc": { "start": { "line": 368, "column": 19 }, "end": { "line": 368, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11112, "end": 11113, "loc": { "start": { "line": 368, "column": 21 }, "end": { "line": 368, "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": 11120, "end": 11124, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11124, "end": 11125, "loc": { "start": { "line": 369, "column": 10 }, "end": { "line": 369, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 11125, "end": 11136, "loc": { "start": { "line": 369, "column": 11 }, "end": { "line": 369, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11136, "end": 11137, "loc": { "start": { "line": 369, "column": 22 }, "end": { "line": 369, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11137, "end": 11139, "loc": { "start": { "line": 369, "column": 23 }, "end": { "line": 369, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11139, "end": 11140, "loc": { "start": { "line": 369, "column": 25 }, "end": { "line": 369, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11140, "end": 11141, "loc": { "start": { "line": 369, "column": 26 }, "end": { "line": 369, "column": 27 } } }, { "type": "CommentLine", "value": " Resets current string if end of loop reached", "start": 11149, "end": 11196, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "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": 11203, "end": 11205, "loc": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11206, "end": 11207, "loc": { "start": { "line": 372, "column": 9 }, "end": { "line": 372, "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": 11207, "end": 11211, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11211, "end": 11212, "loc": { "start": { "line": 372, "column": 14 }, "end": { "line": 372, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 11212, "end": 11219, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11219, "end": 11220, "loc": { "start": { "line": 372, "column": 22 }, "end": { "line": 372, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 11220, "end": 11226, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 11227, "end": 11228, "loc": { "start": { "line": 372, "column": 30 }, "end": { "line": 372, "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": 11229, "end": 11233, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11233, "end": 11234, "loc": { "start": { "line": 372, "column": 36 }, "end": { "line": 372, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11234, "end": 11242, "loc": { "start": { "line": 372, "column": 37 }, "end": { "line": 372, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11242, "end": 11243, "loc": { "start": { "line": 372, "column": 45 }, "end": { "line": 372, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11244, "end": 11245, "loc": { "start": { "line": 372, "column": 47 }, "end": { "line": 372, "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": 11254, "end": 11258, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11258, "end": 11259, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 11259, "end": 11268, "loc": { "start": { "line": 373, "column": 13 }, "end": { "line": 373, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11268, "end": 11269, "loc": { "start": { "line": 373, "column": 22 }, "end": { "line": 373, "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": 11269, "end": 11273, "loc": { "start": { "line": 373, "column": 23 }, "end": { "line": 373, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11273, "end": 11274, "loc": { "start": { "line": 373, "column": 27 }, "end": { "line": 373, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 11274, "end": 11281, "loc": { "start": { "line": 373, "column": 28 }, "end": { "line": 373, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11281, "end": 11282, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 373, "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": 11282, "end": 11286, "loc": { "start": { "line": 373, "column": 36 }, "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": 11286, "end": 11287, "loc": { "start": { "line": 373, "column": 40 }, "end": { "line": 373, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sequence", "start": 11287, "end": 11295, "loc": { "start": { "line": 373, "column": 41 }, "end": { "line": 373, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11295, "end": 11296, "loc": { "start": { "line": 373, "column": 49 }, "end": { "line": 373, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11296, "end": 11300, "loc": { "start": { "line": 373, "column": 50 }, "end": { "line": 373, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11300, "end": 11301, "loc": { "start": { "line": 373, "column": 54 }, "end": { "line": 373, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11301, "end": 11309, "loc": { "start": { "line": 373, "column": 55 }, "end": { "line": 373, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11309, "end": 11310, "loc": { "start": { "line": 373, "column": 63 }, "end": { "line": 373, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11310, "end": 11311, "loc": { "start": { "line": 373, "column": 64 }, "end": { "line": 373, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11311, "end": 11312, "loc": { "start": { "line": 373, "column": 65 }, "end": { "line": 373, "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": 11313, "end": 11314, "loc": { "start": { "line": 373, "column": 67 }, "end": { "line": 373, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11314, "end": 11315, "loc": { "start": { "line": 373, "column": 68 }, "end": { "line": 373, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11315, "end": 11316, "loc": { "start": { "line": 373, "column": 69 }, "end": { "line": 373, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11323, "end": 11324, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "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": 11325, "end": 11329, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 374, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11330, "end": 11331, "loc": { "start": { "line": 374, "column": 13 }, "end": { "line": 374, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11340, "end": 11344, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11344, "end": 11345, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typewrite", "start": 11345, "end": 11354, "loc": { "start": { "line": 375, "column": 13 }, "end": { "line": 375, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11354, "end": 11355, "loc": { "start": { "line": 375, "column": 22 }, "end": { "line": 375, "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": 11355, "end": 11359, "loc": { "start": { "line": 375, "column": 23 }, "end": { "line": 375, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11359, "end": 11360, "loc": { "start": { "line": 375, "column": 27 }, "end": { "line": 375, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strings", "start": 11360, "end": 11367, "loc": { "start": { "line": 375, "column": 28 }, "end": { "line": 375, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11367, "end": 11368, "loc": { "start": { "line": 375, "column": 35 }, "end": { "line": 375, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11368, "end": 11369, "loc": { "start": { "line": 375, "column": 36 }, "end": { "line": 375, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11369, "end": 11370, "loc": { "start": { "line": 375, "column": 37 }, "end": { "line": 375, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11370, "end": 11371, "loc": { "start": { "line": 375, "column": 38 }, "end": { "line": 375, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11372, "end": 11373, "loc": { "start": { "line": 375, "column": 40 }, "end": { "line": 375, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11373, "end": 11374, "loc": { "start": { "line": 375, "column": 41 }, "end": { "line": 375, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11374, "end": 11375, "loc": { "start": { "line": 375, "column": 42 }, "end": { "line": 375, "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": 11384, "end": 11388, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11388, "end": 11389, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 376, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayPos", "start": 11389, "end": 11397, "loc": { "start": { "line": 376, "column": 13 }, "end": { "line": 376, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11398, "end": 11399, "loc": { "start": { "line": 376, "column": 22 }, "end": { "line": 376, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11400, "end": 11401, "loc": { "start": { "line": 376, "column": 24 }, "end": { "line": 376, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11401, "end": 11402, "loc": { "start": { "line": 376, "column": 25 }, "end": { "line": 376, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11409, "end": 11410, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11415, "end": 11416, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 378, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11416, "end": 11417, "loc": { "start": { "line": 378, "column": 5 }, "end": { "line": 378, "column": 6 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11418, "end": 11422, "loc": { "start": { "line": 378, "column": 7 }, "end": { "line": 378, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11422, "end": 11423, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fadeOutDelay", "start": 11423, "end": 11435, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11435, "end": 11436, "loc": { "start": { "line": 378, "column": 24 }, "end": { "line": 378, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11436, "end": 11437, "loc": { "start": { "line": 378, "column": 25 }, "end": { "line": 378, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11440, "end": 11441, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n ", "start": 11445, "end": 11571, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 386, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceText", "start": 11574, "end": 11585, "loc": { "start": { "line": 387, "column": 2 }, "end": { "line": 387, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11585, "end": 11586, "loc": { "start": { "line": 387, "column": 13 }, "end": { "line": 387, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 11586, "end": 11589, "loc": { "start": { "line": 387, "column": 14 }, "end": { "line": 387, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11589, "end": 11590, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11591, "end": 11592, "loc": { "start": { "line": 387, "column": 19 }, "end": { "line": 387, "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": 11597, "end": 11599, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 388, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11600, "end": 11601, "loc": { "start": { "line": 388, "column": 7 }, "end": { "line": 388, "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": 11601, "end": 11605, "loc": { "start": { "line": 388, "column": 8 }, "end": { "line": 388, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11605, "end": 11606, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 388, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 11606, "end": 11610, "loc": { "start": { "line": 388, "column": 13 }, "end": { "line": 388, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11610, "end": 11611, "loc": { "start": { "line": 388, "column": 17 }, "end": { "line": 388, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11612, "end": 11613, "loc": { "start": { "line": 388, "column": 19 }, "end": { "line": 388, "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": 11620, "end": 11624, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11624, "end": 11625, "loc": { "start": { "line": 389, "column": 10 }, "end": { "line": 389, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 11625, "end": 11627, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11627, "end": 11628, "loc": { "start": { "line": 389, "column": 13 }, "end": { "line": 389, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 11628, "end": 11640, "loc": { "start": { "line": 389, "column": 14 }, "end": { "line": 389, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11640, "end": 11641, "loc": { "start": { "line": 389, "column": 26 }, "end": { "line": 389, "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": 11641, "end": 11645, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 389, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11645, "end": 11646, "loc": { "start": { "line": 389, "column": 31 }, "end": { "line": 389, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attr", "start": 11646, "end": 11650, "loc": { "start": { "line": 389, "column": 32 }, "end": { "line": 389, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11650, "end": 11651, "loc": { "start": { "line": 389, "column": 36 }, "end": { "line": 389, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 11652, "end": 11655, "loc": { "start": { "line": 389, "column": 38 }, "end": { "line": 389, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11655, "end": 11656, "loc": { "start": { "line": 389, "column": 41 }, "end": { "line": 389, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11656, "end": 11657, "loc": { "start": { "line": 389, "column": 42 }, "end": { "line": 389, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11662, "end": 11663, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 5 } } }, { "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": 11664, "end": 11668, "loc": { "start": { "line": 390, "column": 6 }, "end": { "line": 390, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11669, "end": 11670, "loc": { "start": { "line": 390, "column": 11 }, "end": { "line": 390, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11677, "end": 11679, "loc": { "start": { "line": 391, "column": 6 }, "end": { "line": 391, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 391, "column": 9 }, "end": { "line": 391, "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": 11681, "end": 11685, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 391, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11685, "end": 11686, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 11686, "end": 11693, "loc": { "start": { "line": 391, "column": 15 }, "end": { "line": 391, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11693, "end": 11694, "loc": { "start": { "line": 391, "column": 22 }, "end": { "line": 391, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11695, "end": 11696, "loc": { "start": { "line": 391, "column": 24 }, "end": { "line": 391, "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": 11705, "end": 11709, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11709, "end": 11710, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 11710, "end": 11712, "loc": { "start": { "line": 392, "column": 13 }, "end": { "line": 392, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11712, "end": 11713, "loc": { "start": { "line": 392, "column": 15 }, "end": { "line": 392, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 11713, "end": 11718, "loc": { "start": { "line": 392, "column": 16 }, "end": { "line": 392, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11719, "end": 11720, "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": "str", "start": 11721, "end": 11724, "loc": { "start": { "line": 392, "column": 24 }, "end": { "line": 392, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11724, "end": 11725, "loc": { "start": { "line": 392, "column": 27 }, "end": { "line": 392, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11732, "end": 11733, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "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": 11734, "end": 11738, "loc": { "start": { "line": 393, "column": 8 }, "end": { "line": 393, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11739, "end": 11741, "loc": { "start": { "line": 393, "column": 13 }, "end": { "line": 393, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11742, "end": 11743, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "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": 11743, "end": 11747, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11747, "end": 11748, "loc": { "start": { "line": 393, "column": 21 }, "end": { "line": 393, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentType", "start": 11748, "end": 11759, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 11760, "end": 11763, "loc": { "start": { "line": 393, "column": 34 }, "end": { "line": 393, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "html", "start": 11764, "end": 11770, "loc": { "start": { "line": 393, "column": 38 }, "end": { "line": 393, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11770, "end": 11771, "loc": { "start": { "line": 393, "column": 44 }, "end": { "line": 393, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11772, "end": 11773, "loc": { "start": { "line": 393, "column": 46 }, "end": { "line": 393, "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": 11782, "end": 11786, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11786, "end": 11787, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 11787, "end": 11789, "loc": { "start": { "line": 394, "column": 13 }, "end": { "line": 394, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11789, "end": 11790, "loc": { "start": { "line": 394, "column": 15 }, "end": { "line": 394, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 11790, "end": 11799, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11800, "end": 11801, "loc": { "start": { "line": 394, "column": 26 }, "end": { "line": 394, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 11802, "end": 11805, "loc": { "start": { "line": 394, "column": 28 }, "end": { "line": 394, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11805, "end": 11806, "loc": { "start": { "line": 394, "column": 31 }, "end": { "line": 394, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11813, "end": 11814, "loc": { "start": { "line": 395, "column": 6 }, "end": { "line": 395, "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": 11815, "end": 11819, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11820, "end": 11821, "loc": { "start": { "line": 395, "column": 13 }, "end": { "line": 395, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11830, "end": 11834, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11834, "end": 11835, "loc": { "start": { "line": 396, "column": 12 }, "end": { "line": 396, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 11835, "end": 11837, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11837, "end": 11838, "loc": { "start": { "line": 396, "column": 15 }, "end": { "line": 396, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textContent", "start": 11838, "end": 11849, "loc": { "start": { "line": 396, "column": 16 }, "end": { "line": 396, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11850, "end": 11851, "loc": { "start": { "line": 396, "column": 28 }, "end": { "line": 396, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "str", "start": 11852, "end": 11855, "loc": { "start": { "line": 396, "column": 30 }, "end": { "line": 396, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11855, "end": 11856, "loc": { "start": { "line": 396, "column": 33 }, "end": { "line": 396, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11863, "end": 11864, "loc": { "start": { "line": 397, "column": 6 }, "end": { "line": 397, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11869, "end": 11870, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 398, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11873, "end": 11874, "loc": { "start": { "line": 399, "column": 2 }, "end": { "line": 399, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n ", "start": 11878, "end": 11988, "loc": { "start": { "line": 401, "column": 2 }, "end": { "line": 405, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindFocusEvents", "start": 11991, "end": 12006, "loc": { "start": { "line": 406, "column": 2 }, "end": { "line": 406, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12006, "end": 12007, "loc": { "start": { "line": 406, "column": 17 }, "end": { "line": 406, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12007, "end": 12008, "loc": { "start": { "line": 406, "column": 18 }, "end": { "line": 406, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12009, "end": 12010, "loc": { "start": { "line": 406, "column": 20 }, "end": { "line": 406, "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": 12015, "end": 12017, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12018, "end": 12019, "loc": { "start": { "line": 407, "column": 7 }, "end": { "line": 407, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12019, "end": 12020, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "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": 12020, "end": 12024, "loc": { "start": { "line": 407, "column": 9 }, "end": { "line": 407, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12024, "end": 12025, "loc": { "start": { "line": 407, "column": 13 }, "end": { "line": 407, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInput", "start": 12025, "end": 12032, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12032, "end": 12033, "loc": { "start": { "line": 407, "column": 21 }, "end": { "line": 407, "column": 22 } } }, { "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": 12034, "end": 12040, "loc": { "start": { "line": 407, "column": 23 }, "end": { "line": 407, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12040, "end": 12041, "loc": { "start": { "line": 407, "column": 29 }, "end": { "line": 407, "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": 12046, "end": 12050, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12050, "end": 12051, "loc": { "start": { "line": 408, "column": 8 }, "end": { "line": 408, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12051, "end": 12053, "loc": { "start": { "line": 408, "column": 9 }, "end": { "line": 408, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12053, "end": 12054, "loc": { "start": { "line": 408, "column": 11 }, "end": { "line": 408, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 12054, "end": 12070, "loc": { "start": { "line": 408, "column": 12 }, "end": { "line": 408, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12070, "end": 12071, "loc": { "start": { "line": 408, "column": 28 }, "end": { "line": 408, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "focus", "start": 12071, "end": 12078, "loc": { "start": { "line": 408, "column": 29 }, "end": { "line": 408, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12078, "end": 12079, "loc": { "start": { "line": 408, "column": 36 }, "end": { "line": 408, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12080, "end": 12081, "loc": { "start": { "line": 408, "column": 38 }, "end": { "line": 408, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 12081, "end": 12082, "loc": { "start": { "line": 408, "column": 39 }, "end": { "line": 408, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12082, "end": 12083, "loc": { "start": { "line": 408, "column": 40 }, "end": { "line": 408, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12084, "end": 12086, "loc": { "start": { "line": 408, "column": 42 }, "end": { "line": 408, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12087, "end": 12088, "loc": { "start": { "line": 408, "column": 45 }, "end": { "line": 408, "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": 12095, "end": 12099, "loc": { "start": { "line": 409, "column": 6 }, "end": { "line": 409, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12099, "end": 12100, "loc": { "start": { "line": 409, "column": 10 }, "end": { "line": 409, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stop", "start": 12100, "end": 12104, "loc": { "start": { "line": 409, "column": 11 }, "end": { "line": 409, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12104, "end": 12105, "loc": { "start": { "line": 409, "column": 15 }, "end": { "line": 409, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12105, "end": 12106, "loc": { "start": { "line": 409, "column": 16 }, "end": { "line": 409, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12106, "end": 12107, "loc": { "start": { "line": 409, "column": 17 }, "end": { "line": 409, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12112, "end": 12113, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12113, "end": 12114, "loc": { "start": { "line": 410, "column": 5 }, "end": { "line": 410, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12114, "end": 12115, "loc": { "start": { "line": 410, "column": 6 }, "end": { "line": 410, "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": 12120, "end": 12124, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12124, "end": 12125, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12125, "end": 12127, "loc": { "start": { "line": 411, "column": 9 }, "end": { "line": 411, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12127, "end": 12128, "loc": { "start": { "line": 411, "column": 11 }, "end": { "line": 411, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 12128, "end": 12144, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12144, "end": 12145, "loc": { "start": { "line": 411, "column": 28 }, "end": { "line": 411, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "blur", "start": 12145, "end": 12151, "loc": { "start": { "line": 411, "column": 29 }, "end": { "line": 411, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12151, "end": 12152, "loc": { "start": { "line": 411, "column": 35 }, "end": { "line": 411, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12153, "end": 12154, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 12154, "end": 12155, "loc": { "start": { "line": 411, "column": 38 }, "end": { "line": 411, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12155, "end": 12156, "loc": { "start": { "line": 411, "column": 39 }, "end": { "line": 411, "column": 40 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12157, "end": 12159, "loc": { "start": { "line": 411, "column": 41 }, "end": { "line": 411, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12160, "end": 12161, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 411, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12168, "end": 12170, "loc": { "start": { "line": 412, "column": 6 }, "end": { "line": 412, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12171, "end": 12172, "loc": { "start": { "line": 412, "column": 9 }, "end": { "line": 412, "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": 12172, "end": 12176, "loc": { "start": { "line": 412, "column": 10 }, "end": { "line": 412, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12176, "end": 12177, "loc": { "start": { "line": 412, "column": 14 }, "end": { "line": 412, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12177, "end": 12179, "loc": { "start": { "line": 412, "column": 15 }, "end": { "line": 412, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12179, "end": 12180, "loc": { "start": { "line": 412, "column": 17 }, "end": { "line": 412, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 12180, "end": 12185, "loc": { "start": { "line": 412, "column": 18 }, "end": { "line": 412, "column": 23 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12186, "end": 12188, "loc": { "start": { "line": 412, "column": 24 }, "end": { "line": 412, "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": 12189, "end": 12193, "loc": { "start": { "line": 412, "column": 27 }, "end": { "line": 412, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12193, "end": 12194, "loc": { "start": { "line": 412, "column": 31 }, "end": { "line": 412, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12194, "end": 12196, "loc": { "start": { "line": 412, "column": 32 }, "end": { "line": 412, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12196, "end": 12197, "loc": { "start": { "line": 412, "column": 34 }, "end": { "line": 412, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 12197, "end": 12202, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12202, "end": 12203, "loc": { "start": { "line": 412, "column": 40 }, "end": { "line": 412, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12203, "end": 12209, "loc": { "start": { "line": 412, "column": 41 }, "end": { "line": 412, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12210, "end": 12213, "loc": { "start": { "line": 412, "column": 48 }, "end": { "line": 412, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12214, "end": 12215, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12215, "end": 12216, "loc": { "start": { "line": 412, "column": 53 }, "end": { "line": 412, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12217, "end": 12218, "loc": { "start": { "line": 412, "column": 55 }, "end": { "line": 412, "column": 56 } } }, { "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": 12227, "end": 12233, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12233, "end": 12234, "loc": { "start": { "line": 413, "column": 14 }, "end": { "line": 413, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12241, "end": 12242, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "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": 12249, "end": 12253, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12253, "end": 12254, "loc": { "start": { "line": 415, "column": 10 }, "end": { "line": 415, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 12254, "end": 12259, "loc": { "start": { "line": 415, "column": 11 }, "end": { "line": 415, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12259, "end": 12260, "loc": { "start": { "line": 415, "column": 16 }, "end": { "line": 415, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12260, "end": 12261, "loc": { "start": { "line": 415, "column": 17 }, "end": { "line": 415, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12261, "end": 12262, "loc": { "start": { "line": 415, "column": 18 }, "end": { "line": 415, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12267, "end": 12268, "loc": { "start": { "line": 416, "column": 4 }, "end": { "line": 416, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12268, "end": 12269, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 416, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12269, "end": 12270, "loc": { "start": { "line": 416, "column": 6 }, "end": { "line": 416, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12273, "end": 12274, "loc": { "start": { "line": 417, "column": 2 }, "end": { "line": 417, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * On init, insert the cursor element\n * @private\n ", "start": 12278, "end": 12341, "loc": { "start": { "line": 419, "column": 2 }, "end": { "line": 422, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertCursor", "start": 12344, "end": 12356, "loc": { "start": { "line": 423, "column": 2 }, "end": { "line": 423, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12356, "end": 12357, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12357, "end": 12358, "loc": { "start": { "line": 423, "column": 15 }, "end": { "line": 423, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12359, "end": 12360, "loc": { "start": { "line": 423, "column": 17 }, "end": { "line": 423, "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": 12365, "end": 12367, "loc": { "start": { "line": 424, "column": 4 }, "end": { "line": 424, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12368, "end": 12369, "loc": { "start": { "line": 424, "column": 7 }, "end": { "line": 424, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12369, "end": 12370, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "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": 12370, "end": 12374, "loc": { "start": { "line": 424, "column": 9 }, "end": { "line": 424, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12374, "end": 12375, "loc": { "start": { "line": 424, "column": 13 }, "end": { "line": 424, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showCursor", "start": 12375, "end": 12385, "loc": { "start": { "line": 424, "column": 14 }, "end": { "line": 424, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12385, "end": 12386, "loc": { "start": { "line": 424, "column": 24 }, "end": { "line": 424, "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": 12387, "end": 12393, "loc": { "start": { "line": 424, "column": 26 }, "end": { "line": 424, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12393, "end": 12394, "loc": { "start": { "line": 424, "column": 32 }, "end": { "line": 424, "column": 33 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12399, "end": 12401, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 425, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12402, "end": 12403, "loc": { "start": { "line": 425, "column": 7 }, "end": { "line": 425, "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": 12403, "end": 12407, "loc": { "start": { "line": 425, "column": 8 }, "end": { "line": 425, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12407, "end": 12408, "loc": { "start": { "line": 425, "column": 12 }, "end": { "line": 425, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12408, "end": 12414, "loc": { "start": { "line": 425, "column": 13 }, "end": { "line": 425, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12414, "end": 12415, "loc": { "start": { "line": 425, "column": 19 }, "end": { "line": 425, "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": 12416, "end": 12422, "loc": { "start": { "line": 425, "column": 21 }, "end": { "line": 425, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12422, "end": 12423, "loc": { "start": { "line": 425, "column": 27 }, "end": { "line": 425, "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": 12428, "end": 12432, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12432, "end": 12433, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12433, "end": 12439, "loc": { "start": { "line": 426, "column": 9 }, "end": { "line": 426, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12440, "end": 12441, "loc": { "start": { "line": 426, "column": 16 }, "end": { "line": 426, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 12442, "end": 12450, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12450, "end": 12451, "loc": { "start": { "line": 426, "column": 26 }, "end": { "line": 426, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 12451, "end": 12464, "loc": { "start": { "line": 426, "column": 27 }, "end": { "line": 426, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12464, "end": 12465, "loc": { "start": { "line": 426, "column": 40 }, "end": { "line": 426, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "span", "start": 12465, "end": 12471, "loc": { "start": { "line": 426, "column": 41 }, "end": { "line": 426, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12471, "end": 12472, "loc": { "start": { "line": 426, "column": 47 }, "end": { "line": 426, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12472, "end": 12473, "loc": { "start": { "line": 426, "column": 48 }, "end": { "line": 426, "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": 12478, "end": 12482, "loc": { "start": { "line": 427, "column": 4 }, "end": { "line": 427, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12482, "end": 12483, "loc": { "start": { "line": 427, "column": 8 }, "end": { "line": 427, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12483, "end": 12489, "loc": { "start": { "line": 427, "column": 9 }, "end": { "line": 427, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12489, "end": 12490, "loc": { "start": { "line": 427, "column": 15 }, "end": { "line": 427, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12490, "end": 12499, "loc": { "start": { "line": 427, "column": 16 }, "end": { "line": 427, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12500, "end": 12501, "loc": { "start": { "line": 427, "column": 26 }, "end": { "line": 427, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "typed-cursor", "start": 12502, "end": 12516, "loc": { "start": { "line": 427, "column": 28 }, "end": { "line": 427, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12516, "end": 12517, "loc": { "start": { "line": 427, "column": 42 }, "end": { "line": 427, "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": 12522, "end": 12526, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12526, "end": 12527, "loc": { "start": { "line": 428, "column": 8 }, "end": { "line": 428, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12527, "end": 12533, "loc": { "start": { "line": 428, "column": 9 }, "end": { "line": 428, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12533, "end": 12534, "loc": { "start": { "line": 428, "column": 15 }, "end": { "line": 428, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 12534, "end": 12546, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12546, "end": 12547, "loc": { "start": { "line": 428, "column": 28 }, "end": { "line": 428, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "aria-hidden", "start": 12547, "end": 12560, "loc": { "start": { "line": 428, "column": 29 }, "end": { "line": 428, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12560, "end": 12561, "loc": { "start": { "line": 428, "column": 42 }, "end": { "line": 428, "column": 43 } } }, { "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": 12562, "end": 12566, "loc": { "start": { "line": 428, "column": 44 }, "end": { "line": 428, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12566, "end": 12567, "loc": { "start": { "line": 428, "column": 48 }, "end": { "line": 428, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12567, "end": 12568, "loc": { "start": { "line": 428, "column": 49 }, "end": { "line": 428, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12573, "end": 12577, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12577, "end": 12578, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12578, "end": 12584, "loc": { "start": { "line": 429, "column": 9 }, "end": { "line": 429, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12584, "end": 12585, "loc": { "start": { "line": 429, "column": 15 }, "end": { "line": 429, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12585, "end": 12594, "loc": { "start": { "line": 429, "column": 16 }, "end": { "line": 429, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12595, "end": 12596, "loc": { "start": { "line": 429, "column": 26 }, "end": { "line": 429, "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": 12597, "end": 12601, "loc": { "start": { "line": 429, "column": 28 }, "end": { "line": 429, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12601, "end": 12602, "loc": { "start": { "line": 429, "column": 32 }, "end": { "line": 429, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursorChar", "start": 12602, "end": 12612, "loc": { "start": { "line": 429, "column": 33 }, "end": { "line": 429, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12612, "end": 12613, "loc": { "start": { "line": 429, "column": 43 }, "end": { "line": 429, "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": 12618, "end": 12622, "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": 12622, "end": 12623, "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": "el", "start": 12623, "end": 12625, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12625, "end": 12626, "loc": { "start": { "line": 430, "column": 11 }, "end": { "line": 430, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 12626, "end": 12636, "loc": { "start": { "line": 430, "column": 12 }, "end": { "line": 430, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12637, "end": 12639, "loc": { "start": { "line": 430, "column": 23 }, "end": { "line": 430, "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": 12646, "end": 12650, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12650, "end": 12651, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 431, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12651, "end": 12653, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12653, "end": 12654, "loc": { "start": { "line": 431, "column": 13 }, "end": { "line": 431, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parentNode", "start": 12654, "end": 12664, "loc": { "start": { "line": 431, "column": 14 }, "end": { "line": 431, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12664, "end": 12665, "loc": { "start": { "line": 431, "column": 24 }, "end": { "line": 431, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertBefore", "start": 12665, "end": 12677, "loc": { "start": { "line": 431, "column": 25 }, "end": { "line": 431, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12677, "end": 12678, "loc": { "start": { "line": 431, "column": 37 }, "end": { "line": 431, "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": 12678, "end": 12682, "loc": { "start": { "line": 431, "column": 38 }, "end": { "line": 431, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12682, "end": 12683, "loc": { "start": { "line": 431, "column": 42 }, "end": { "line": 431, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cursor", "start": 12683, "end": 12689, "loc": { "start": { "line": 431, "column": 43 }, "end": { "line": 431, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12689, "end": 12690, "loc": { "start": { "line": 431, "column": 49 }, "end": { "line": 431, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12691, "end": 12695, "loc": { "start": { "line": 431, "column": 51 }, "end": { "line": 431, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12695, "end": 12696, "loc": { "start": { "line": 431, "column": 55 }, "end": { "line": 431, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "el", "start": 12696, "end": 12698, "loc": { "start": { "line": 431, "column": 56 }, "end": { "line": 431, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12698, "end": 12699, "loc": { "start": { "line": 431, "column": 58 }, "end": { "line": 431, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSibling", "start": 12699, "end": 12710, "loc": { "start": { "line": 431, "column": 59 }, "end": { "line": 431, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12710, "end": 12711, "loc": { "start": { "line": 431, "column": 70 }, "end": { "line": 431, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12711, "end": 12712, "loc": { "start": { "line": 431, "column": 71 }, "end": { "line": 431, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12715, "end": 12716, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12717, "end": 12718, "loc": { "start": { "line": 433, "column": 0 }, "end": { "line": 433, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12719, "end": 12719, "loc": { "start": { "line": 434, "column": 0 }, "end": { "line": 434, "column": 0 } } } ] } ================================================ FILE: docs/class/src/html-parser.js~HTMLParser.html ================================================ HTMLParser | typed.js
Home Reference Source
import HTMLParser from 'typed.js/src/html-parser.js'
public class | source

HTMLParser

You can directly use an instance of this class. htmlParser

TODO: These methods can probably be combined somehow Parse HTML tags & HTML Characters

Method Summary

Private Methods
private

backSpaceHtmlChars(curString: string, curStrPos: number, self: Typed): number

Backspace HTML tags and HTML Characters

private

typeHtmlChars(curString: string, curStrPos: number, self: Typed): number

Type HTML tags & HTML Characters

Private Methods

private backSpaceHtmlChars(curString: string, curStrPos: number, self: Typed): number source

Backspace HTML tags and HTML Characters

Params:

NameTypeAttributeDescription
curString string

Current string

curStrPos number

Position in current string

self Typed

instance of Typed

Return:

number

a new string position

private typeHtmlChars(curString: string, curStrPos: number, self: Typed): number source

Type HTML tags & HTML Characters

Params:

NameTypeAttributeDescription
curString string

Current string

curStrPos number

Position in current string

self Typed

instance of Typed

Return:

number

a new string position

================================================ FILE: docs/class/src/initializer.js~Initializer.html ================================================ Initializer | typed.js
Home Reference Source
import Initializer from 'typed.js/src/initializer.js'
public class | source

Initializer

You can directly use an instance of this class. initializer

Initialize the Typed object

Method Summary

Public Methods
public
public
public

getCurrentElContent(self: *): *

Private Methods
private

load(self: Typed, options: object, elementId: string)

Load up defaults & options on the Typed instance

Public Methods

public appendCursorAnimationCss(self: *) source

Params:

NameTypeAttributeDescription
self *

public appendFadeOutAnimationCss(self: *) source

Params:

NameTypeAttributeDescription
self *

public getCurrentElContent(self: *): * source

Params:

NameTypeAttributeDescription
self *

Return:

*

Private Methods

private load(self: Typed, options: object, elementId: string) source

Load up defaults & options on the Typed instance

Params:

NameTypeAttributeDescription
self Typed

instance of Typed

options object

options object

elementId string

HTML element ID _OR_ instance of HTML element

================================================ FILE: docs/class/src/typed-using-raf.js~Typed.html ================================================ Typed | typed.js
Home Reference Source
public class | source

Typed

Welcome to Typed.js!

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

cursor: *

public
public
public

stopNum: *

public
public
public

timeout: *

public
Private Members
private
private

Method Summary

Public Methods
public

Destroy this instance of Typed

public

reset(restart: boolean)

Reset Typed and optionally restarts

public

start()

Start typing / backspacing after being stopped

public

stop()

Stop typing / backspacing and enable cursor blinking

public

toggle()

Toggle start() and stop() of the Typed instance

public

typewriteStep(curString: *, curStrPos: *, timestamp: *)

Private Methods
private

backspace(curString: string, curStrPos: number): *

Backspaces 1 character at a time

private

begin()

Sets up the typing animation

private

beginAnimation(timestamp: *)

Begins the typing animation

private

If using input elements, bind focus in order to start and stop the animation

private

Full animation is complete

private

doneTyping(curString: string, curStrPos: number)

We're done typing the current string

private

humanizer(speed: number): *

Speed in MS to type

private

Adds a CSS class to fade out current string

private

On init, insert the cursor element

private

keepTyping(curString: string, curStrPos: number)

Continue to the next string & begin typing

private

Replaces current text in the HTML element depending on element type

private

setPauseStatus(curString: string, curStrPos: number, isTyping: boolean)

Has the typing been stopped

private

Shuffle the sequence of the strings array

private

toggleBlinking(isBlinking: boolean)

Toggle the blinking cursor

private

typewrite(curString: string, curStrPos: number)

Called for each character typed

Public Constructors

public constructor() source

Public Members

public arrayPos: number source

public curLoop: number source

public cursor: * source

public cursorBlinking: * source

public sequence: * source

public stopNum: * source

public strPos: number source

public temporaryPause: boolean source

public timeout: * source

public typingComplete: boolean source

Private Members

private _beginAnimationStart: * source

private _typewriteStart: * source

Public Methods

public destroy() source

Destroy this instance of Typed

public reset(restart: boolean) source

Reset Typed and optionally restarts

Params:

NameTypeAttributeDescription
restart boolean

public start() source

Start typing / backspacing after being stopped

public stop() source

Stop typing / backspacing and enable cursor blinking

public toggle() source

Toggle start() and stop() of the Typed instance

public typewriteStep(curString: *, curStrPos: *, timestamp: *) source

Params:

NameTypeAttributeDescription
curString *
curStrPos *
timestamp *

Private Methods

private backspace(curString: string, curStrPos: number): * source

Backspaces 1 character at a time

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

Return:

*

private begin() source

Sets up the typing animation

private beginAnimation(timestamp: *) source

Begins the typing animation

Params:

NameTypeAttributeDescription
timestamp *

private bindFocusEvents() source

If using input elements, bind focus in order to start and stop the animation

private complete() source

Full animation is complete

private doneTyping(curString: string, curStrPos: number) source

We're done typing the current string

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

private humanizer(speed: number): * source

Speed in MS to type

Params:

NameTypeAttributeDescription
speed number

Return:

*

private initFadeOut(): * source

Adds a CSS class to fade out current string

Return:

*

private insertCursor() source

On init, insert the cursor element

private keepTyping(curString: string, curStrPos: number) source

Continue to the next string & begin typing

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

private replaceText(str: string) source

Replaces current text in the HTML element depending on element type

Params:

NameTypeAttributeDescription
str string

private setPauseStatus(curString: string, curStrPos: number, isTyping: boolean) source

Has the typing been stopped

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

isTyping boolean

private shuffleStringsIfNeeded() source

Shuffle the sequence of the strings array

private toggleBlinking(isBlinking: boolean) source

Toggle the blinking cursor

Params:

NameTypeAttributeDescription
isBlinking boolean

private typewrite(curString: string, curStrPos: number) source

Called for each character typed

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

================================================ FILE: docs/class/src/typed.js~Typed.html ================================================ Typed | typed.js
Home Reference Source
import Typed from 'typed.js/src/typed.js'
public class | source

Typed

Welcome to Typed.js!

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

cursor: *

public
public
public

stopNum: *

public
public
public

timeout: *

public

Method Summary

Public Methods
public

Destroy this instance of Typed

public

reset(restart: boolean)

Reset Typed and optionally restarts

public

start()

Start typing / backspacing after being stopped

public

stop()

Stop typing / backspacing and enable cursor blinking

public

toggle()

Toggle start() and stop() of the Typed instance

Private Methods
private

backspace(curString: string, curStrPos: number): *

Backspaces 1 character at a time

private

begin()

Begins the typing animation

private

If using input elements, bind focus in order to start and stop the animation

private

Full animation is complete

private

doneTyping(curString: string, curStrPos: number)

We're done typing the current string

private

humanizer(speed: number): *

Speed in MS to type

private

Adds a CSS class to fade out current string

private

On init, insert the cursor element

private

keepTyping(curString: string, curStrPos: number)

Continue to the next string & begin typing

private

Replaces current text in the HTML element depending on element type

private

setPauseStatus(curString: string, curStrPos: number, isTyping: boolean)

Has the typing been stopped

private

Shuffle the sequence of the strings array

private

toggleBlinking(isBlinking: boolean)

Toggle the blinking cursor

private

typewrite(curString: string, curStrPos: number)

Called for each character typed

Public Constructors

public constructor() source

Public Members

public arrayPos: number source

public curLoop: number source

public cursor: * source

public cursorBlinking: * source

public sequence: * source

public stopNum: * source

public strPos: number source

public temporaryPause: boolean source

public timeout: * source

public typingComplete: boolean source

Public Methods

public destroy() source

Destroy this instance of Typed

public reset(restart: boolean) source

Reset Typed and optionally restarts

Params:

NameTypeAttributeDescription
restart boolean

public start() source

Start typing / backspacing after being stopped

public stop() source

Stop typing / backspacing and enable cursor blinking

public toggle() source

Toggle start() and stop() of the Typed instance

Private Methods

private backspace(curString: string, curStrPos: number): * source

Backspaces 1 character at a time

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

Return:

*

private begin() source

Begins the typing animation

private bindFocusEvents() source

If using input elements, bind focus in order to start and stop the animation

private complete() source

Full animation is complete

private doneTyping(curString: string, curStrPos: number) source

We're done typing the current string

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

private humanizer(speed: number): * source

Speed in MS to type

Params:

NameTypeAttributeDescription
speed number

Return:

*

private initFadeOut(): * source

Adds a CSS class to fade out current string

Return:

*

private insertCursor() source

On init, insert the cursor element

private keepTyping(curString: string, curStrPos: number) source

Continue to the next string & begin typing

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

private replaceText(str: string) source

Replaces current text in the HTML element depending on element type

Params:

NameTypeAttributeDescription
str string

private setPauseStatus(curString: string, curStrPos: number, isTyping: boolean) source

Has the typing been stopped

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

isTyping boolean

private shuffleStringsIfNeeded() source

Shuffle the sequence of the strings array

private toggleBlinking(isBlinking: boolean) source

Toggle the blinking cursor

Params:

NameTypeAttributeDescription
isBlinking boolean

private typewrite(curString: string, curStrPos: number) source

Called for each character typed

Params:

NameTypeAttributeDescription
curString string

the current string in the strings array

curStrPos number

the current position in the curString

================================================ FILE: docs/coverage.json ================================================ { "coverage": "61.9%", "expectCount": 42, "actualCount": 26, "files": { "src/defaults.js": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, "src/html-parser.js": { "expectCount": 4, "actualCount": 3, "undocumentLines": [ 67 ] }, "src/initializer.js": { "expectCount": 6, "actualCount": 2, "undocumentLines": [ 147, 161, 193, 218 ] }, "src/typed.js": { "expectCount": 31, "actualCount": 20, "undocumentLines": [ 11, 73, 75, 76, 77, 91, 95, 142, 267, 334, 357 ] } } } ================================================ FILE: docs/css/github.css ================================================ /* github markdown */ .github-markdown { font-size: 16px; } .github-markdown h1, .github-markdown h2, .github-markdown h3, .github-markdown h4, .github-markdown h5 { margin-top: 1em; margin-bottom: 16px; font-weight: bold; padding: 0; } .github-markdown h1:nth-of-type(1) { margin-top: 0; } .github-markdown h1 { font-size: 2em; padding-bottom: 0.3em; } .github-markdown h2 { font-size: 1.75em; padding-bottom: 0.3em; } .github-markdown h3 { font-size: 1.5em; } .github-markdown h4 { font-size: 1.25em; } .github-markdown h5 { font-size: 1em; } .github-markdown ul, .github-markdown ol { padding-left: 2em; } .github-markdown pre > code { font-size: 0.85em; } .github-markdown table { margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; } .github-markdown table tr { background-color: #fff; border-top: 1px solid #ccc; } .github-markdown table th, .github-markdown table td { padding: 6px 13px; border: 1px solid #ddd; } .github-markdown table tr:nth-child(2n) { background-color: #f8f8f8; } .github-markdown hr { border-right: 0; border-bottom: 1px solid #e5e5e5; border-left: 0; border-top: 0; } /** badge(.svg) does not have border */ .github-markdown img:not([src*=".svg"]) { max-width: 100%; box-shadow: 1px 1px 1px rgba(0,0,0,0.5); } ================================================ FILE: docs/css/identifiers.css ================================================ .identifiers-wrap { display: flex; align-items: flex-start; } .identifier-dir-tree { background: #fff; border: solid 1px #ddd; border-radius: 0.25em; top: 52px; position: -webkit-sticky; position: sticky; max-height: calc(100vh - 155px); overflow-y: scroll; min-width: 200px; margin-left: 1em; } .identifier-dir-tree-header { padding: 0.5em; background-color: #fafafa; border-bottom: solid 1px #ddd; } .identifier-dir-tree-content { padding: 0 0.5em 0; } .identifier-dir-tree-content > div { padding-top: 0.25em; padding-bottom: 0.25em; } .identifier-dir-tree-content a { color: inherit; } ================================================ FILE: docs/css/manual.css ================================================ .github-markdown .manual-toc { padding-left: 0; } .manual-index .manual-cards { display: flex; flex-wrap: wrap; } .manual-index .manual-card-wrap { width: 280px; padding: 10px 20px 10px 0; box-sizing: border-box; } .manual-index .manual-card-wrap > h1 { margin: 0; font-size: 1em; font-weight: 600; padding: 0.2em 0 0.2em 0.5em; border-radius: 0.1em 0.1em 0 0; border: none; } .manual-index .manual-card-wrap > h1 span { color: #555; } .manual-index .manual-card { height: 200px; overflow: hidden; border: solid 1px rgba(230, 230, 230, 0.84); border-radius: 0 0 0.1em 0.1em; padding: 8px; position: relative; } .manual-index .manual-card > div { transform: scale(0.4); transform-origin: 0 0; width: 250%; } .manual-index .manual-card > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(210, 210, 210, 0.1); } .manual-index .manual-card > a:hover { background: none; } .manual-index .manual-badge { margin: 0; } .manual-index .manual-user-index { margin-bottom: 1em; border-bottom: solid 1px #ddd; } .manual-root .navigation { padding-left: 4px; margin-top: 4px; } .navigation .manual-toc-root > div { padding-left: 0.25em; padding-right: 0.75em; } .github-markdown .manual-toc-title a { color: inherit; } .manual-breadcrumb-list { font-size: 0.8em; margin-bottom: 1em; } .manual-toc-title a:hover { color: #039BE5; } .manual-toc li { margin: 0.75em 0; list-style-type: none; } .navigation .manual-toc [class^="indent-h"] a { color: #666; } .navigation .manual-toc .indent-h1 a { color: #555; font-weight: 600; display: block; } .manual-toc .indent-h1 { display: block; margin: 0.4em 0 0 0.25em; padding: 0.2em 0 0.2em 0.5em; border-radius: 0.1em; } .manual-root .navigation .manual-toc li:not(.indent-h1) { margin-top: 0.5em; } .manual-toc .indent-h2 { display: none; margin-left: 1.5em; } .manual-toc .indent-h3 { display: none; margin-left: 2.5em; } .manual-toc .indent-h4 { display: none; margin-left: 3.5em; } .manual-toc .indent-h5 { display: none; margin-left: 4.5em; } .manual-nav li { margin: 0.75em 0; } ================================================ FILE: docs/css/prettify-tomorrow.css ================================================ /* Tomorrow Theme */ /* Original theme - https://github.com/chriskempson/tomorrow-theme */ /* Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ /* plain text */ .pln { color: #4d4d4c; } @media screen { /* string content */ .str { color: #718c00; } /* a keyword */ .kwd { color: #8959a8; } /* a comment */ .com { color: #8e908c; } /* a type name */ .typ { color: #4271ae; } /* a literal value */ .lit { color: #f5871f; } /* punctuation */ .pun { color: #4d4d4c; } /* lisp open bracket */ .opn { color: #4d4d4c; } /* lisp close bracket */ .clo { color: #4d4d4c; } /* a markup tag name */ .tag { color: #c82829; } /* a markup attribute name */ .atn { color: #f5871f; } /* a markup attribute value */ .atv { color: #3e999f; } /* a declaration */ .dec { color: #f5871f; } /* a variable name */ .var { color: #c82829; } /* a function name */ .fun { color: #4271ae; } } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060; } .kwd { color: #006; font-weight: bold; } .com { color: #600; font-style: italic; } .typ { color: #404; font-weight: bold; } .lit { color: #044; } .pun, .opn, .clo { color: #440; } .tag { color: #006; font-weight: bold; } .atn { color: #404; } .atv { color: #060; } } /* Style */ /* pre.prettyprint { background: white; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; line-height: 1.5; border: 1px solid #ccc; padding: 10px; } */ /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0; } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 { /* */ } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { /* */ } ================================================ FILE: docs/css/search.css ================================================ /* search box */ .search-box { position: absolute; top: 10px; right: 50px; padding-right: 8px; padding-bottom: 10px; line-height: normal; font-size: 12px; } .search-box img { width: 20px; vertical-align: top; } .search-input { display: inline; visibility: hidden; width: 0; padding: 2px; height: 1.5em; outline: none; background: transparent; border: 1px #0af; border-style: none none solid none; vertical-align: bottom; } .search-input-edge { display: none; width: 1px; height: 5px; background-color: #0af; vertical-align: bottom; } .search-result { position: absolute; display: none; height: 600px; width: 100%; padding: 0; margin-top: 5px; margin-left: 24px; background: white; box-shadow: 1px 1px 4px rgb(0,0,0); white-space: nowrap; overflow-y: scroll; } .search-result-import-path { color: #aaa; font-size: 12px; } .search-result li { list-style: none; padding: 2px 4px; } .search-result li a { display: block; } .search-result li.selected { background: #ddd; } .search-result li.search-separator { background: rgb(37, 138, 175); color: white; } .search-box.active .search-input { visibility: visible; transition: width 0.2s ease-out; width: 300px; } .search-box.active .search-input-edge { display: inline-block; } ================================================ FILE: docs/css/source.css ================================================ table.files-summary { width: 100%; margin: 10px 0; border-spacing: 0; border: 0; border-collapse: collapse; text-align: right; } table.files-summary tbody tr:hover { background: #eee; } table.files-summary td:first-child, table.files-summary td:nth-of-type(2) { text-align: left; } table.files-summary[data-use-coverage="false"] td.coverage { display: none; } table.files-summary thead { background: #fafafa; } table.files-summary td { border: solid 1px #ddd; padding: 4px 10px; vertical-align: top; } table.files-summary td.identifiers > span { display: block; margin-top: 4px; } table.files-summary td.identifiers > span:first-child { margin-top: 0; } table.files-summary .coverage-count { font-size: 12px; color: #aaa; display: inline-block; min-width: 40px; } .total-coverage-count { position: relative; bottom: 2px; font-size: 12px; color: #666; font-weight: 500; padding-left: 5px; } ================================================ FILE: docs/css/style.css ================================================ @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); @import url(./manual.css); @import url(./source.css); @import url(./test.css); @import url(./identifiers.css); @import url(./github.css); @import url(./search.css); * { margin: 0; padding: 0; text-decoration: none; } html { font-family: 'Source Sans Pro', 'Roboto', sans-serif; overflow: auto; /*font-size: 14px;*/ /*color: #4d4e53;*/ /*color: rgba(0, 0, 0, .68);*/ color: #555; background-color: #fff; } a { /*color: #0095dd;*/ /*color:rgb(37, 138, 175);*/ color: #039BE5; } code a:hover { text-decoration: underline; } ul, ol { padding-left: 20px; } ul li { list-style: disc; margin: 4px 0; } ol li { margin: 4px 0; } h1 { margin-bottom: 10px; font-size: 34px; font-weight: 300; border-bottom: solid 1px #ddd; } h2 { margin-top: 24px; margin-bottom: 10px; font-size: 20px; border-bottom: solid 1px #ddd; font-weight: 300; } h3 { position: relative; font-size: 16px; margin-bottom: 12px; padding: 4px; font-weight: 300; } details { cursor: pointer; } del { text-decoration: line-through; } p { margin-bottom: 15px; line-height: 1.5; } code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; } pre > code { display: block; } pre.prettyprint, pre > code { padding: 4px; margin: 1em 0; background-color: #f5f5f5; border-radius: 3px; } pre.prettyprint > code { margin: 0; } p > code, li > code { padding: 0.2em 0.5em; margin: 0; font-size: 85%; background-color: rgba(0,0,0,0.04); border-radius: 3px; } .code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 13px; } .import-path pre.prettyprint, .import-path pre.prettyprint code { margin: 0; padding: 0; border: none; background: white; } .layout-container { /*display: flex;*/ /*flex-direction: row;*/ /*justify-content: flex-start;*/ /*align-items: stretch;*/ } .layout-container > header { display: flex; height: 40px; line-height: 40px; font-size: 16px; padding: 0 10px; margin: 0; position: fixed; width: 100%; z-index: 1; background-color: #fafafa; top: 0; border-bottom: solid 1px #ddd; } .layout-container > header > a{ margin: 0 5px; color: #444; } .layout-container > header > a.repo-url-github { font-size: 0; display: inline-block; width: 20px; height: 38px; background: url("../image/github.png") no-repeat center; background-size: 20px; vertical-align: top; } .navigation { position: fixed; top: 0; left: 0; box-sizing: border-box; width: 250px; height: 100%; padding-top: 40px; padding-left: 15px; padding-bottom: 2em; margin-top:1em; overflow-x: scroll; box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; border-right: 1px solid #ddd; } .navigation ul { padding: 0; } .navigation li { list-style: none; margin: 4px 0; white-space: nowrap; } .navigation li a { color: #666; } .navigation .nav-dir-path { display: block; margin-top: 0.7em; margin-bottom: 0.25em; font-weight: 600; } .kind-class, .kind-interface, .kind-function, .kind-typedef, .kind-variable, .kind-external { margin-left: 0.75em; width: 1.2em; height: 1.2em; display: inline-block; text-align: center; border-radius: 0.2em; margin-right: 0.2em; font-weight: bold; line-height: 1.2em; } .kind-class { color: #009800; background-color: #bfe5bf; } .kind-interface { color: #fbca04; background-color: #fef2c0; } .kind-function { color: #6b0090; background-color: #d6bdde; } .kind-variable { color: #eb6420; background-color: #fad8c7; } .kind-typedef { color: #db001e; background-color: #edbec3; } .kind-external { color: #0738c3; background-color: #bbcbea; } .summary span[class^="kind-"] { margin-left: 0; } h1 .version, h1 .url a { font-size: 14px; color: #aaa; } .content { margin-top: 40px; margin-left: 250px; padding: 10px 50px 10px 20px; } .header-notice { font-size: 14px; color: #aaa; margin: 0; } .expression-extends .prettyprint { margin-left: 10px; background: white; } .extends-chain { border-bottom: 1px solid#ddd; padding-bottom: 10px; margin-bottom: 10px; } .extends-chain span:nth-of-type(1) { padding-left: 10px; } .extends-chain > div { margin: 5px 0; } .description table { font-size: 14px; border-spacing: 0; border: 0; border-collapse: collapse; } .description thead { background: #999; color: white; } .description table td, .description table th { border: solid 1px #ddd; padding: 4px; font-weight: normal; } .flat-list ul { padding-left: 0; } .flat-list li { display: inline; list-style: none; } table.summary { width: 100%; margin: 10px 0; border-spacing: 0; border: 0; border-collapse: collapse; } table.summary thead { background: #fafafa; } table.summary td { border: solid 1px #ddd; padding: 4px 10px; } table.summary tbody td:nth-child(1) { text-align: right; white-space: nowrap; min-width: 64px; vertical-align: top; } table.summary tbody td:nth-child(2) { width: 100%; border-right: none; } table.summary tbody td:nth-child(3) { white-space: nowrap; border-left: none; vertical-align: top; } table.summary td > div:nth-of-type(2) { padding-top: 4px; padding-left: 15px; } table.summary td p { margin-bottom: 0; } .inherited-summary thead td { padding-left: 2px; } .inherited-summary thead a { color: white; } .inherited-summary .summary tbody { display: none; } .inherited-summary .summary .toggle { padding: 0 4px; font-size: 12px; cursor: pointer; } .inherited-summary .summary .toggle.closed:before { content: "▶"; } .inherited-summary .summary .toggle.opened:before { content: "▼"; } .member, .method { margin-bottom: 24px; } table.params { width: 100%; margin: 10px 0; border-spacing: 0; border: 0; border-collapse: collapse; } table.params thead { background: #eee; color: #aaa; } table.params td { padding: 4px; border: solid 1px #ddd; } table.params td p { margin: 0; } .content .detail > * { margin: 15px 0; } .content .detail > h3 { color: black; background-color: #f0f0f0; } .content .detail > div { margin-left: 10px; } .content .detail > .import-path { margin-top: -8px; } .content .detail + .detail { margin-top: 30px; } .content .detail .throw td:first-child { padding-right: 10px; } .content .detail h4 + :not(pre) { padding-left: 0; margin-left: 10px; } .content .detail h4 + ul li { list-style: none; } .return-param * { display: inline; } .argument-params { margin-bottom: 20px; } .return-type { padding-right: 10px; font-weight: normal; } .return-desc { margin-left: 10px; margin-top: 4px; } .return-desc p { margin: 0; } .deprecated, .experimental, .instance-docs { border-left: solid 5px orange; padding-left: 4px; margin: 4px 0; } tr.listen p, tr.throw p, tr.emit p{ margin-bottom: 10px; } .version, .since { color: #aaa; } h3 .right-info { position: absolute; right: 4px; font-size: 14px; } .version + .since:before { content: '| '; } .see { margin-top: 10px; } .see h4 { margin: 4px 0; } .content .detail h4 + .example-doc { margin: 6px 0; } .example-caption { position: relative; bottom: -1px; display: inline-block; padding: 4px; font-style: italic; background-color: #f5f5f5; font-weight: bold; border-radius: 3px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .example-caption + pre.source-code { margin-top: 0; border-top-left-radius: 0; } footer, .file-footer { text-align: right; font-style: italic; font-weight: 100; font-size: 13px; margin-right: 50px; margin-left: 270px; border-top: 1px solid #ddd; padding-top: 30px; margin-top: 20px; padding-bottom: 10px; } footer img { width: 24px; vertical-align: middle; padding-left: 4px; position: relative; top: -3px; opacity: 0.6; } pre.source-code { padding: 4px; } pre.raw-source-code > code { padding: 0; margin: 0; font-size: 12px; background: #fff; border: solid 1px #ddd; line-height: 1.5; } pre.raw-source-code > code > ol { counter-reset:number; list-style:none; margin:0; padding:0; overflow: hidden; } pre.raw-source-code > code > ol li:before { counter-increment: number; content: counter(number); display: inline-block; min-width: 3em; color: #aaa; text-align: right; padding-right: 1em; } pre.source-code.line-number { padding: 0; } pre.source-code ol { background: #eee; padding-left: 40px; } pre.source-code li { background: white; padding-left: 4px; list-style: decimal; margin: 0; } pre.source-code.line-number li.active { background: rgb(255, 255, 150) !important; } pre.source-code.line-number li.error-line { background: #ffb8bf; } .inner-link-active { /*background: rgb(255, 255, 150) !important;*/ background: #039BE5 !important; color: #fff !important; padding-left: 0.1em !important; } .inner-link-active a { color: inherit; } ================================================ FILE: docs/css/test.css ================================================ table.test-summary thead { background: #fafafa; } table.test-summary thead .test-description { width: 50%; } table.test-summary { width: 100%; margin: 10px 0; border-spacing: 0; border: 0; border-collapse: collapse; } table.test-summary thead .test-count { width: 3em; } table.test-summary tbody tr:hover { background-color: #eee; } table.test-summary td { border: solid 1px #ddd; padding: 4px 10px; vertical-align: top; } table.test-summary td p { margin: 0; } table.test-summary tr.test-interface .toggle { display: inline-block; float: left; margin-right: 4px; cursor: pointer; font-size: 0.8em; padding-top: 0.25em; } table.test-summary tr.test-interface .toggle.opened:before { content: '▼'; } table.test-summary tr.test-interface .toggle.closed:before { content: '▶'; } table.test-summary .test-target > span { display: block; margin-top: 4px; } table.test-summary .test-target > span:first-child { margin-top: 0; } ================================================ FILE: docs/file/src/defaults.js.html ================================================ src/defaults.js | typed.js
Home Reference Source

src/defaults.js

/**
 * Defaults & options
 * @returns {object} Typed defaults & options
 * @public
 */

const defaults = {
  /**
   * @property {array} strings strings to be typed
   * @property {string} stringsElement ID of element containing string children
   */
  strings: [
    'These are the default values...',
    'You know what you should do?',
    'Use your own!',
    'Have a great day!',
  ],
  stringsElement: null,

  /**
   * @property {number} typeSpeed type speed in milliseconds
   */
  typeSpeed: 0,

  /**
   * @property {number} startDelay time before typing starts in milliseconds
   */
  startDelay: 0,

  /**
   * @property {number} backSpeed backspacing speed in milliseconds
   */
  backSpeed: 0,

  /**
   * @property {boolean} smartBackspace only backspace what doesn't match the previous string
   */
  smartBackspace: true,

  /**
   * @property {boolean} shuffle shuffle the strings
   */
  shuffle: false,

  /**
   * @property {number} backDelay time before backspacing in milliseconds
   */
  backDelay: 700,

  /**
   * @property {boolean} fadeOut Fade out instead of backspace
   * @property {string} fadeOutClass css class for fade animation
   * @property {boolean} fadeOutDelay Fade out delay in milliseconds
   */
  fadeOut: false,
  fadeOutClass: 'typed-fade-out',
  fadeOutDelay: 500,

  /**
   * @property {boolean} loop loop strings
   * @property {number} loopCount amount of loops
   */
  loop: false,
  loopCount: Infinity,

  /**
   * @property {boolean} showCursor show cursor
   * @property {string} cursorChar character for cursor
   * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML <head>
   */
  showCursor: true,
  cursorChar: '|',
  autoInsertCss: true,

  /**
   * @property {string} attr attribute for typing
   * Ex: input placeholder, value, or just HTML text
   */
  attr: null,

  /**
   * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input
   */
  bindInputFocusEvents: false,

  /**
   * @property {string} contentType 'html' or 'null' for plaintext
   */
  contentType: 'html',

  /**
   * Before it begins typing
   * @param {Typed} self
   */
  onBegin: (self) => {},

  /**
   * All typing is complete
   * @param {Typed} self
   */
  onComplete: (self) => {},

  /**
   * Before each string is typed
   * @param {number} arrayPos
   * @param {Typed} self
   */
  preStringTyped: (arrayPos, self) => {},

  /**
   * After each string is typed
   * @param {number} arrayPos
   * @param {Typed} self
   */
  onStringTyped: (arrayPos, self) => {},

  /**
   * During looping, after last string is typed
   * @param {Typed} self
   */
  onLastStringBackspaced: (self) => {},

  /**
   * Typing has been stopped
   * @param {number} arrayPos
   * @param {Typed} self
   */
  onTypingPaused: (arrayPos, self) => {},

  /**
   * Typing has been started after being stopped
   * @param {number} arrayPos
   * @param {Typed} self
   */
  onTypingResumed: (arrayPos, self) => {},

  /**
   * After reset
   * @param {Typed} self
   */
  onReset: (self) => {},

  /**
   * After stop
   * @param {number} arrayPos
   * @param {Typed} self
   */
  onStop: (arrayPos, self) => {},

  /**
   * After start
   * @param {number} arrayPos
   * @param {Typed} self
   */
  onStart: (arrayPos, self) => {},

  /**
   * After destroy
   * @param {Typed} self
   */
  onDestroy: (self) => {},
};

export default defaults;
================================================ FILE: docs/file/src/html-parser.js.html ================================================ src/html-parser.js | typed.js
Home Reference Source

src/html-parser.js

/**
 * TODO: These methods can probably be combined somehow
 * Parse HTML tags & HTML Characters
 */

export default class HTMLParser {
  /**
   * Type HTML tags & HTML Characters
   * @param {string} curString Current string
   * @param {number} curStrPos Position in current string
   * @param {Typed} self instance of Typed
   * @returns {number} a new string position
   * @private
   */

  typeHtmlChars(curString, curStrPos, self) {
    if (self.contentType !== 'html') return curStrPos;
    const curChar = curString.substring(curStrPos).charAt(0);
    if (curChar === '<' || curChar === '&') {
      let endTag = '';
      if (curChar === '<') {
        endTag = '>';
      } else {
        endTag = ';';
      }
      while (curString.substring(curStrPos + 1).charAt(0) !== endTag) {
        curStrPos++;
        if (curStrPos + 1 > curString.length) {
          break;
        }
      }
      curStrPos++;
    }
    return curStrPos;
  }

  /**
   * Backspace HTML tags and HTML Characters
   * @param {string} curString Current string
   * @param {number} curStrPos Position in current string
   * @param {Typed} self instance of Typed
   * @returns {number} a new string position
   * @private
   */
  backSpaceHtmlChars(curString, curStrPos, self) {
    if (self.contentType !== 'html') return curStrPos;
    const curChar = curString.substring(curStrPos).charAt(0);
    if (curChar === '>' || curChar === ';') {
      let endTag = '';
      if (curChar === '>') {
        endTag = '<';
      } else {
        endTag = '&';
      }
      while (curString.substring(curStrPos - 1).charAt(0) !== endTag) {
        curStrPos--;
        if (curStrPos < 0) {
          break;
        }
      }
      curStrPos--;
    }
    return curStrPos;
  }
}

export let htmlParser = new HTMLParser();
================================================ FILE: docs/file/src/initializer.js.html ================================================ src/initializer.js | typed.js
Home Reference Source

src/initializer.js

import defaults from './defaults.js';
/**
 * Initialize the Typed object
 */

export default class Initializer {
  /**
   * Load up defaults & options on the Typed instance
   * @param {Typed} self instance of Typed
   * @param {object} options options object
   * @param {string} elementId HTML element ID _OR_ instance of HTML element
   * @private
   */

  load(self, options, elementId) {
    // chosen element to manipulate text
    if (typeof elementId === 'string') {
      self.el = document.querySelector(elementId);
    } else {
      self.el = elementId;
    }

    self.options = { ...defaults, ...options };

    // attribute to type into
    self.isInput = self.el.tagName.toLowerCase() === 'input';
    self.attr = self.options.attr;
    self.bindInputFocusEvents = self.options.bindInputFocusEvents;

    // show cursor
    self.showCursor = self.isInput ? false : self.options.showCursor;

    // custom cursor
    self.cursorChar = self.options.cursorChar;

    // Is the cursor blinking
    self.cursorBlinking = true;

    // text content of element
    self.elContent = self.attr
      ? self.el.getAttribute(self.attr)
      : self.el.textContent;

    // html or plain text
    self.contentType = self.options.contentType;

    // typing speed
    self.typeSpeed = self.options.typeSpeed;

    // add a delay before typing starts
    self.startDelay = self.options.startDelay;

    // backspacing speed
    self.backSpeed = self.options.backSpeed;

    // only backspace what doesn't match the previous string
    self.smartBackspace = self.options.smartBackspace;

    // amount of time to wait before backspacing
    self.backDelay = self.options.backDelay;

    // Fade out instead of backspace
    self.fadeOut = self.options.fadeOut;
    self.fadeOutClass = self.options.fadeOutClass;
    self.fadeOutDelay = self.options.fadeOutDelay;

    // variable to check whether typing is currently paused
    self.isPaused = false;

    // input strings of text
    self.strings = self.options.strings.map((s) => s.trim());

    // div containing strings
    if (typeof self.options.stringsElement === 'string') {
      self.stringsElement = document.querySelector(self.options.stringsElement);
    } else {
      self.stringsElement = self.options.stringsElement;
    }

    if (self.stringsElement) {
      self.strings = [];
      self.stringsElement.style.cssText =
        'clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;';

      const strings = Array.prototype.slice.apply(self.stringsElement.children);
      const stringsLength = strings.length;

      if (stringsLength) {
        for (let i = 0; i < stringsLength; i += 1) {
          const stringEl = strings[i];
          self.strings.push(stringEl.innerHTML.trim());
        }
      }
    }

    // character number position of current string
    self.strPos = 0;

    // If there is some text in the element
    self.currentElContent = this.getCurrentElContent(self);

    if (self.currentElContent && self.currentElContent.length > 0) {
      self.strPos = self.currentElContent.length - 1;
      self.strings.unshift(self.currentElContent);
    }

    // the order of strings
    self.sequence = [];

    // Set the order in which the strings are typed
    for (let i in self.strings) {
      self.sequence[i] = i;
    }

    // current array position
    self.arrayPos = 0;

    // index of string to stop backspacing on
    self.stopNum = 0;

    // Looping logic
    self.loop = self.options.loop;
    self.loopCount = self.options.loopCount;
    self.curLoop = 0;

    // shuffle the strings
    self.shuffle = self.options.shuffle;

    self.pause = {
      status: false,
      typewrite: true,
      curString: '',
      curStrPos: 0,
    };

    // When the typing is complete (when not looped)
    self.typingComplete = false;

    self.autoInsertCss = self.options.autoInsertCss;

    if (self.autoInsertCss) {
      this.appendCursorAnimationCss(self);
      this.appendFadeOutAnimationCss(self);
    }
  }

  getCurrentElContent(self) {
    let elContent = '';
    if (self.attr) {
      elContent = self.el.getAttribute(self.attr);
    } else if (self.isInput) {
      elContent = self.el.value;
    } else if (self.contentType === 'html') {
      elContent = self.el.innerHTML;
    } else {
      elContent = self.el.textContent;
    }
    return elContent;
  }

  appendCursorAnimationCss(self) {
    const cssDataName = 'data-typed-js-cursor-css';

    if (!self.showCursor || document.querySelector(`[${cssDataName}]`)) {
      return;
    }

    let css = document.createElement('style');
    css.setAttribute(cssDataName, 'true');

    css.innerHTML = `
        .typed-cursor{
          opacity: 1;
        }
        .typed-cursor.typed-cursor--blink{
          animation: typedjsBlink 0.7s infinite;
          -webkit-animation: typedjsBlink 0.7s infinite;
                  animation: typedjsBlink 0.7s infinite;
        }
        @keyframes typedjsBlink{
          50% { opacity: 0.0; }
        }
        @-webkit-keyframes typedjsBlink{
          0% { opacity: 1; }
          50% { opacity: 0.0; }
          100% { opacity: 1; }
        }
      `;

    document.body.appendChild(css);
  }

  appendFadeOutAnimationCss(self) {
    const cssDataName = 'data-typed-fadeout-js-css';

    if (!self.fadeOut || document.querySelector(`[${cssDataName}]`)) {
      return;
    }

    let css = document.createElement('style');
    css.setAttribute(cssDataName, 'true');

    css.innerHTML = `
        .typed-fade-out{
          opacity: 0;
          transition: opacity .25s;
        }
        .typed-cursor.typed-cursor--blink.typed-fade-out{
          -webkit-animation: 0;
          animation: 0;
        }
      `;

    document.body.appendChild(css);
  }
}

export let initializer = new Initializer();
================================================ FILE: docs/file/src/typed-using-raf.js.html ================================================ src/typed-using-raf.js | typed.js
Home Reference Source

src/typed-using-raf.js

import raf from 'raf';
import { initializer } from './initializer.js';
import { htmlParser } from './html-parser.js';

/**
 * Welcome to Typed.js!
 * @param {string} elementId HTML element ID _OR_ HTML element
 * @param {object} options options object
 * @returns {object} a new Typed object
 */
export default class Typed {
  constructor(elementId, options) {
    // Initialize it up
    initializer.load(this, options, elementId);
    // All systems go!
    this.begin();
  }

  /**
   * Toggle start() and stop() of the Typed instance
   * @public
   */
  toggle() {
    this.pause.status ? this.start() : this.stop();
  }

  /**
   * Stop typing / backspacing and enable cursor blinking
   * @public
   */
  stop() {
    if (this.typingComplete) return;
    if (this.pause.status) return;
    this.toggleBlinking(true);
    this.pause.status = true;
    this.options.onStop(this.arrayPos, this);
  }

  /**
   * Start typing / backspacing after being stopped
   * @public
   */
  start() {
    if (this.typingComplete) return;
    if (!this.pause.status) return;
    this.pause.status = false;
    if (this.pause.typewrite) {
      this.typewrite(this.pause.curString, this.pause.curStrPos);
    } else {
      this.backspace(this.pause.curString, this.pause.curStrPos);
    }
    this.options.onStart(this.arrayPos, this);
  }

  /**
   * Destroy this instance of Typed
   * @public
   */
  destroy() {
    this.reset(false);
    this.options.onDestroy(this);
  }

  /**
   * Reset Typed and optionally restarts
   * @param {boolean} restart
   * @public
   */
  reset(restart = true) {
    clearInterval(this.timeout);
    this.replaceText('');
    if (this.cursor && this.cursor.parentNode) {
      this.cursor.parentNode.removeChild(this.cursor);
      this.cursor = null;
    }
    this.strPos = 0;
    this.arrayPos = 0;
    this.curLoop = 0;
    if (restart) {
      this.insertCursor();
      this.options.onReset(this);
      this.begin();
    }
  }

  /**
   * Sets up the typing animation
   * @private
   */
  begin() {
    this.options.onBegin(this);
    this.typingComplete = false;
    this.shuffleStringsIfNeeded(this);
    this.insertCursor();
    if (this.bindInputFocusEvents) this.bindFocusEvents();
    raf((timestamp) => this.beginAnimation(timestamp));
  }

  /**
   * Begins the typing animation
   * @private
   */
  beginAnimation(timestamp) {
    if (this._beginAnimationStart === undefined) {
      this._beginAnimationStart = timestamp;
    }

    if (this.startDelay > 0) {
      const elapsed = timestamp - this._beginAnimationStart;
      if (elapsed < this.startDelay) {
        raf((timestamp) => this.beginAnimation(timestamp));
        return;
      }
    }

    this._beginAnimationStart = undefined;

    // Check if there is some text in the element, if yes start by backspacing the default message
    if (!this.currentElContent || this.currentElContent.length === 0) {
      this.typewrite(this.strings[this.sequence[this.arrayPos]], this.strPos);
    } else {
      // Start typing
      this.backspace(this.currentElContent, this.currentElContent.length);
    }
  }

  /**
   * Called for each character typed
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  typewrite(curString, curStrPos) {
    if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) {
      this.el.classList.remove(this.fadeOutClass);
      if (this.cursor) this.cursor.classList.remove(this.fadeOutClass);
    }

    if (this.pause.status === true) {
      this.setPauseStatus(curString, curStrPos, true);
      return;
    }

    raf((timestamp) => this.typewriteStep(curString, curStrPos, timestamp));
  }

  typewriteStep(curString, curStrPos, timestamp) {
    const humanize = this.humanizer(this.typeSpeed);
    let numChars = 1;

    if (this._typewriteStart === undefined) {
      this._typewriteStart = timestamp;
    }

    if (humanize > 0) {
      const elapsed = timestamp - this._typewriteStart;
      if (elapsed <= humanize) {
        raf((t) => this.typewriteStep(curString, curStrPos, t));
        return;
      }
    }

    this._typewriteStart = undefined;

    // skip over any HTML chars
    curStrPos = htmlParser.typeHtmlChars(curString, curStrPos, this);

    let pauseTime = 0;
    let substr = curString.substring(curStrPos);
    // check for an escape character before a pause value
    // format: \^\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^
    // single ^ are removed from string
    if (substr.charAt(0) === '^') {
      if (/^\^\d+/.test(substr)) {
        let skip = 1; // skip at least 1
        substr = /\d+/.exec(substr)[0];
        skip += substr.length;
        pauseTime = parseInt(substr);
        this.temporaryPause = true;
        this.options.onTypingPaused(this.arrayPos, this);
        // strip out the escape character and pause value so they're not printed
        curString =
          curString.substring(0, curStrPos) +
          curString.substring(curStrPos + skip);
        this.toggleBlinking(true);
      }
    }

    // check for skip characters formatted as
    // "this is a `string to print NOW` ..."
    if (substr.charAt(0) === '`') {
      while (curString.substring(curStrPos + numChars).charAt(0) !== '`') {
        numChars++;
        if (curStrPos + numChars > curString.length) break;
      }
      // strip out the escape characters and append all the string in between
      const stringBeforeSkip = curString.substring(0, curStrPos);
      const stringSkipped = curString.substring(
        stringBeforeSkip.length + 1,
        curStrPos + numChars
      );
      const stringAfterSkip = curString.substring(curStrPos + numChars + 1);
      curString = stringBeforeSkip + stringSkipped + stringAfterSkip;
      numChars--;
    }

    // timeout for any pause after a character
    this.timeout = setTimeout(() => {
      // Accounts for blinking while paused
      this.toggleBlinking(false);

      // We're done with this sentence!
      if (curStrPos >= curString.length) {
        this.doneTyping(curString, curStrPos);
      } else {
        this.keepTyping(curString, curStrPos, numChars);
      }
      // end of character pause
      if (this.temporaryPause) {
        this.temporaryPause = false;
        this.options.onTypingResumed(this.arrayPos, this);
      }
    }, pauseTime);
  }

  /**
   * Continue to the next string & begin typing
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  keepTyping(curString, curStrPos, numChars) {
    // call before functions if applicable
    if (curStrPos === 0) {
      this.toggleBlinking(false);
      this.options.preStringTyped(this.arrayPos, this);
    }
    // start typing each new char into existing string
    // curString: arg, this.el.html: original text inside element
    curStrPos += numChars;
    const nextString = curString.substring(0, curStrPos);
    this.replaceText(nextString);
    // loop the function
    this.typewrite(curString, curStrPos);
  }

  /**
   * We're done typing the current string
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  doneTyping(curString, curStrPos) {
    // fires callback function
    this.options.onStringTyped(this.arrayPos, this);
    this.toggleBlinking(true);
    // is this the final string
    if (this.arrayPos === this.strings.length - 1) {
      // callback that occurs on the last typed string
      this.complete();
      // quit if we wont loop back
      if (this.loop === false || this.curLoop === this.loopCount) {
        return;
      }
    }
    this.timeout = setTimeout(() => {
      this.backspace(curString, curStrPos);
    }, this.backDelay);
  }

  /**
   * Backspaces 1 character at a time
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  backspace(curString, curStrPos) {
    if (this.pause.status === true) {
      this.setPauseStatus(curString, curStrPos, false);
      return;
    }
    if (this.fadeOut) return this.initFadeOut();

    this.toggleBlinking(false);
    const humanize = this.humanizer(this.backSpeed);

    this.timeout = setTimeout(() => {
      curStrPos = htmlParser.backSpaceHtmlChars(curString, curStrPos, this);
      // replace text with base text + typed characters
      const curStringAtPosition = curString.substring(0, curStrPos);
      this.replaceText(curStringAtPosition);

      // if smartBack is enabled
      if (this.smartBackspace) {
        // the remaining part of the current string is equal of the same part of the new string
        let nextString = this.strings[this.arrayPos + 1];
        if (
          nextString &&
          curStringAtPosition === nextString.substring(0, curStrPos)
        ) {
          this.stopNum = curStrPos;
        } else {
          this.stopNum = 0;
        }
      }

      // if the number (id of character in current string) is
      // less than the stop number, keep going
      if (curStrPos > this.stopNum) {
        // subtract characters one by one
        curStrPos--;
        // loop the function
        this.backspace(curString, curStrPos);
      } else if (curStrPos <= this.stopNum) {
        // if the stop number has been reached, increase
        // array position to next string
        this.arrayPos++;
        // When looping, begin at the beginning after backspace complete
        if (this.arrayPos === this.strings.length) {
          this.arrayPos = 0;
          this.options.onLastStringBackspaced();
          this.shuffleStringsIfNeeded();
          this.begin();
        } else {
          this.typewrite(this.strings[this.sequence[this.arrayPos]], curStrPos);
        }
      }
      // humanized value for typing
    }, humanize);
  }

  /**
   * Full animation is complete
   * @private
   */
  complete() {
    this.options.onComplete(this);
    if (this.loop) {
      this.curLoop++;
    } else {
      this.typingComplete = true;
    }
  }

  /**
   * Has the typing been stopped
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @param {boolean} isTyping
   * @private
   */
  setPauseStatus(curString, curStrPos, isTyping) {
    this.pause.typewrite = isTyping;
    this.pause.curString = curString;
    this.pause.curStrPos = curStrPos;
  }

  /**
   * Toggle the blinking cursor
   * @param {boolean} isBlinking
   * @private
   */
  toggleBlinking(isBlinking) {
    if (!this.cursor) return;
    // if in paused state, don't toggle blinking a 2nd time
    if (this.pause.status) return;
    if (this.cursorBlinking === isBlinking) return;
    this.cursorBlinking = isBlinking;
    if (isBlinking) {
      this.cursor.classList.add('typed-cursor--blink');
    } else {
      this.cursor.classList.remove('typed-cursor--blink');
    }
  }

  /**
   * Speed in MS to type
   * @param {number} speed
   * @private
   */
  humanizer(speed) {
    return Math.round((Math.random() * speed) / 2) + speed;
  }

  /**
   * Shuffle the sequence of the strings array
   * @private
   */
  shuffleStringsIfNeeded() {
    if (!this.shuffle) return;
    this.sequence = this.sequence.sort(() => Math.random() - 0.5);
  }

  /**
   * Adds a CSS class to fade out current string
   * @private
   */
  initFadeOut() {
    this.el.className += ` ${this.fadeOutClass}`;
    if (this.cursor) this.cursor.className += ` ${this.fadeOutClass}`;
    return setTimeout(() => {
      this.arrayPos++;
      this.replaceText('');

      // Resets current string if end of loop reached
      if (this.strings.length > this.arrayPos) {
        this.typewrite(this.strings[this.sequence[this.arrayPos]], 0);
      } else {
        this.typewrite(this.strings[0], 0);
        this.arrayPos = 0;
      }
    }, this.fadeOutDelay);
  }

  /**
   * Replaces current text in the HTML element
   * depending on element type
   * @param {string} str
   * @private
   */
  replaceText(str) {
    if (this.attr) {
      this.el.setAttribute(this.attr, str);
    } else {
      if (this.isInput) {
        this.el.value = str;
      } else if (this.contentType === 'html') {
        this.el.innerHTML = str;
      } else {
        this.el.textContent = str;
      }
    }
  }

  /**
   * If using input elements, bind focus in order to
   * start and stop the animation
   * @private
   */
  bindFocusEvents() {
    if (!this.isInput) return;
    this.el.addEventListener('focus', (e) => {
      this.stop();
    });
    this.el.addEventListener('blur', (e) => {
      if (this.el.value && this.el.value.length !== 0) {
        return;
      }
      this.start();
    });
  }

  /**
   * On init, insert the cursor element
   * @private
   */
  insertCursor() {
    if (!this.showCursor) return;
    if (this.cursor) return;
    this.cursor = document.createElement('span');
    this.cursor.className = 'typed-cursor';
    this.cursor.setAttribute('aria-hidden', true);
    this.cursor.innerHTML = this.cursorChar;
    this.el.parentNode &&
      this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);
  }
}
================================================ FILE: docs/file/src/typed.js.html ================================================ src/typed.js | typed.js
Home Reference Source

src/typed.js

import { initializer } from './initializer.js';
import { htmlParser } from './html-parser.js';

/**
 * Welcome to Typed.js!
 * @param {string} elementId HTML element ID _OR_ HTML element
 * @param {object} options options object
 * @returns {object} a new Typed object
 */
export default class Typed {
  constructor(elementId, options) {
    // Initialize it up
    initializer.load(this, options, elementId);
    // All systems go!
    this.begin();
  }

  /**
   * Toggle start() and stop() of the Typed instance
   * @public
   */
  toggle() {
    this.pause.status ? this.start() : this.stop();
  }

  /**
   * Stop typing / backspacing and enable cursor blinking
   * @public
   */
  stop() {
    if (this.typingComplete) return;
    if (this.pause.status) return;
    this.toggleBlinking(true);
    this.pause.status = true;
    this.options.onStop(this.arrayPos, this);
  }

  /**
   * Start typing / backspacing after being stopped
   * @public
   */
  start() {
    if (this.typingComplete) return;
    if (!this.pause.status) return;
    this.pause.status = false;
    if (this.pause.typewrite) {
      this.typewrite(this.pause.curString, this.pause.curStrPos);
    } else {
      this.backspace(this.pause.curString, this.pause.curStrPos);
    }
    this.options.onStart(this.arrayPos, this);
  }

  /**
   * Destroy this instance of Typed
   * @public
   */
  destroy() {
    this.reset(false);
    this.options.onDestroy(this);
  }

  /**
   * Reset Typed and optionally restarts
   * @param {boolean} restart
   * @public
   */
  reset(restart = true) {
    clearInterval(this.timeout);
    this.replaceText('');
    if (this.cursor && this.cursor.parentNode) {
      this.cursor.parentNode.removeChild(this.cursor);
      this.cursor = null;
    }
    this.strPos = 0;
    this.arrayPos = 0;
    this.curLoop = 0;
    if (restart) {
      this.insertCursor();
      this.options.onReset(this);
      this.begin();
    }
  }

  /**
   * Begins the typing animation
   * @private
   */
  begin() {
    this.options.onBegin(this);
    this.typingComplete = false;
    this.shuffleStringsIfNeeded(this);
    this.insertCursor();
    if (this.bindInputFocusEvents) this.bindFocusEvents();
    this.timeout = setTimeout(() => {
      // If the strPos is 0, we're starting from the beginning of a string
      // else, we're starting with a previous string that needs to be backspaced first
      if (this.strPos === 0) {
        this.typewrite(this.strings[this.sequence[this.arrayPos]], this.strPos);
      } else {
        this.backspace(this.strings[this.sequence[this.arrayPos]], this.strPos);
      }
    }, this.startDelay);
  }

  /**
   * Called for each character typed
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  typewrite(curString, curStrPos) {
    if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) {
      this.el.classList.remove(this.fadeOutClass);
      if (this.cursor) this.cursor.classList.remove(this.fadeOutClass);
    }

    const humanize = this.humanizer(this.typeSpeed);
    let numChars = 1;

    if (this.pause.status === true) {
      this.setPauseStatus(curString, curStrPos, true);
      return;
    }

    // contain typing function in a timeout humanize'd delay
    this.timeout = setTimeout(() => {
      // skip over any HTML chars
      curStrPos = htmlParser.typeHtmlChars(curString, curStrPos, this);

      let pauseTime = 0;
      let substr = curString.substring(curStrPos);
      // check for an escape character before a pause value
      // format: \^\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^
      // single ^ are removed from string
      if (substr.charAt(0) === '^') {
        if (/^\^\d+/.test(substr)) {
          let skip = 1; // skip at least 1
          substr = /\d+/.exec(substr)[0];
          skip += substr.length;
          pauseTime = parseInt(substr);
          this.temporaryPause = true;
          this.options.onTypingPaused(this.arrayPos, this);
          // strip out the escape character and pause value so they're not printed
          curString =
            curString.substring(0, curStrPos) +
            curString.substring(curStrPos + skip);
          this.toggleBlinking(true);
        }
      }

      // check for skip characters formatted as
      // "this is a `string to print NOW` ..."
      if (substr.charAt(0) === '`') {
        while (curString.substring(curStrPos + numChars).charAt(0) !== '`') {
          numChars++;
          if (curStrPos + numChars > curString.length) break;
        }
        // strip out the escape characters and append all the string in between
        const stringBeforeSkip = curString.substring(0, curStrPos);
        const stringSkipped = curString.substring(
          stringBeforeSkip.length + 1,
          curStrPos + numChars
        );
        const stringAfterSkip = curString.substring(curStrPos + numChars + 1);
        curString = stringBeforeSkip + stringSkipped + stringAfterSkip;
        numChars--;
      }

      // timeout for any pause after a character
      this.timeout = setTimeout(() => {
        // Accounts for blinking while paused
        this.toggleBlinking(false);

        // We're done with this sentence!
        if (curStrPos >= curString.length) {
          this.doneTyping(curString, curStrPos);
        } else {
          this.keepTyping(curString, curStrPos, numChars);
        }
        // end of character pause
        if (this.temporaryPause) {
          this.temporaryPause = false;
          this.options.onTypingResumed(this.arrayPos, this);
        }
      }, pauseTime);

      // humanized value for typing
    }, humanize);
  }

  /**
   * Continue to the next string & begin typing
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  keepTyping(curString, curStrPos, numChars) {
    // call before functions if applicable
    if (curStrPos === 0) {
      this.toggleBlinking(false);
      this.options.preStringTyped(this.arrayPos, this);
    }
    // start typing each new char into existing string
    // curString: arg, this.el.html: original text inside element
    curStrPos += numChars;
    const nextString = curString.substring(0, curStrPos);
    this.replaceText(nextString);
    // loop the function
    this.typewrite(curString, curStrPos);
  }

  /**
   * We're done typing the current string
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  doneTyping(curString, curStrPos) {
    // fires callback function
    this.options.onStringTyped(this.arrayPos, this);
    this.toggleBlinking(true);
    // is this the final string
    if (this.arrayPos === this.strings.length - 1) {
      // callback that occurs on the last typed string
      this.complete();
      // quit if we wont loop back
      if (this.loop === false || this.curLoop === this.loopCount) {
        return;
      }
    }
    this.timeout = setTimeout(() => {
      this.backspace(curString, curStrPos);
    }, this.backDelay);
  }

  /**
   * Backspaces 1 character at a time
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @private
   */
  backspace(curString, curStrPos) {
    if (this.pause.status === true) {
      this.setPauseStatus(curString, curStrPos, false);
      return;
    }
    if (this.fadeOut) return this.initFadeOut();

    this.toggleBlinking(false);
    const humanize = this.humanizer(this.backSpeed);

    this.timeout = setTimeout(() => {
      curStrPos = htmlParser.backSpaceHtmlChars(curString, curStrPos, this);
      // replace text with base text + typed characters
      const curStringAtPosition = curString.substring(0, curStrPos);
      this.replaceText(curStringAtPosition);

      // if smartBack is enabled
      if (this.smartBackspace) {
        // the remaining part of the current string is equal of the same part of the new string
        let nextString = this.strings[this.arrayPos + 1];
        if (
          nextString &&
          curStringAtPosition === nextString.substring(0, curStrPos)
        ) {
          this.stopNum = curStrPos;
        } else {
          this.stopNum = 0;
        }
      }

      // if the number (id of character in current string) is
      // less than the stop number, keep going
      if (curStrPos > this.stopNum) {
        // subtract characters one by one
        curStrPos--;
        // loop the function
        this.backspace(curString, curStrPos);
      } else if (curStrPos <= this.stopNum) {
        // if the stop number has been reached, increase
        // array position to next string
        this.arrayPos++;
        // When looping, begin at the beginning after backspace complete
        if (this.arrayPos === this.strings.length) {
          this.arrayPos = 0;
          this.options.onLastStringBackspaced();
          this.shuffleStringsIfNeeded();
          this.begin();
        } else {
          this.typewrite(this.strings[this.sequence[this.arrayPos]], curStrPos);
        }
      }
      // humanized value for typing
    }, humanize);
  }

  /**
   * Full animation is complete
   * @private
   */
  complete() {
    this.options.onComplete(this);
    if (this.loop) {
      this.curLoop++;
    } else {
      this.typingComplete = true;
    }
  }

  /**
   * Has the typing been stopped
   * @param {string} curString the current string in the strings array
   * @param {number} curStrPos the current position in the curString
   * @param {boolean} isTyping
   * @private
   */
  setPauseStatus(curString, curStrPos, isTyping) {
    this.pause.typewrite = isTyping;
    this.pause.curString = curString;
    this.pause.curStrPos = curStrPos;
  }

  /**
   * Toggle the blinking cursor
   * @param {boolean} isBlinking
   * @private
   */
  toggleBlinking(isBlinking) {
    if (!this.cursor) return;
    // if in paused state, don't toggle blinking a 2nd time
    if (this.pause.status) return;
    if (this.cursorBlinking === isBlinking) return;
    this.cursorBlinking = isBlinking;
    if (isBlinking) {
      this.cursor.classList.add('typed-cursor--blink');
    } else {
      this.cursor.classList.remove('typed-cursor--blink');
    }
  }

  /**
   * Speed in MS to type
   * @param {number} speed
   * @private
   */
  humanizer(speed) {
    return Math.round((Math.random() * speed) / 2) + speed;
  }

  /**
   * Shuffle the sequence of the strings array
   * @private
   */
  shuffleStringsIfNeeded() {
    if (!this.shuffle) return;
    this.sequence = this.sequence.sort(() => Math.random() - 0.5);
  }

  /**
   * Adds a CSS class to fade out current string
   * @private
   */
  initFadeOut() {
    this.el.className += ` ${this.fadeOutClass}`;
    if (this.cursor) this.cursor.className += ` ${this.fadeOutClass}`;
    return setTimeout(() => {
      this.arrayPos++;
      this.replaceText('');

      // Resets current string if end of loop reached
      if (this.strings.length > this.arrayPos) {
        this.typewrite(this.strings[this.sequence[this.arrayPos]], 0);
      } else {
        this.typewrite(this.strings[0], 0);
        this.arrayPos = 0;
      }
    }, this.fadeOutDelay);
  }

  /**
   * Replaces current text in the HTML element
   * depending on element type
   * @param {string} str
   * @private
   */
  replaceText(str) {
    if (this.attr) {
      this.el.setAttribute(this.attr, str);
    } else {
      if (this.isInput) {
        this.el.value = str;
      } else if (this.contentType === 'html') {
        this.el.innerHTML = str;
      } else {
        this.el.textContent = str;
      }
    }
  }

  /**
   * If using input elements, bind focus in order to
   * start and stop the animation
   * @private
   */
  bindFocusEvents() {
    if (!this.isInput) return;
    this.el.addEventListener('focus', (e) => {
      this.stop();
    });
    this.el.addEventListener('blur', (e) => {
      if (this.el.value && this.el.value.length !== 0) {
        return;
      }
      this.start();
    });
  }

  /**
   * On init, insert the cursor element
   * @private
   */
  insertCursor() {
    if (!this.showCursor) return;
    if (this.cursor) return;
    this.cursor = document.createElement('span');
    this.cursor.className = 'typed-cursor';
    this.cursor.setAttribute('aria-hidden', true);
    this.cursor.innerHTML = this.cursorChar;
    this.el.parentNode &&
      this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);
  }
}
================================================ FILE: docs/identifiers.html ================================================ Reference | typed.js
Home Reference Source

References

summary
public

TODO: These methods can probably be combined somehow Parse HTML tags & HTML Characters

public

Initialize the Typed object

public

C Typed(elementId: string, options: object): object

Welcome to Typed.js!

public

V defaults: object: {"strings": *, "stringsElement": *, "typeSpeed": *, "startDelay": *, "backSpeed": *, "smartBackspace": boolean, "shuffle": *, "backDelay": number, "fadeOut": *, "fadeOutClass": string, "fadeOutDelay": number, "loop": *, "loopCount": *, "showCursor": boolean, "cursorChar": string, "autoInsertCss": boolean, "attr": *, "bindInputFocusEvents": *, "contentType": string, "onBegin": *, "onComplete": *, "preStringTyped": *, "onStringTyped": *, "onLastStringBackspaced": *, "onTypingPaused": *, "onTypingResumed": *, "onReset": *, "onStop": *, "onStart": *, "onDestroy": *}

Defaults & options

public
public
================================================ FILE: docs/index.html ================================================ typed.js 3.0.0 | Documentation

Typed

Welcome to Typed.js!

new Typed(elementId: string, options: object): object
Parameters
elementId (string) HTML element ID OR HTML element
options (object) options object
Returns
object: a new Typed object
Instance Members
toggle()
stop()
start()
destroy()
reset(restart)

Initializer

Initialize the Typed object

new Initializer()

defaults

Defaults & options

defaults
Returns
object: Typed defaults & options
Static Members
strings
typeSpeed
startDelay
backSpeed
smartBackspace
shuffle
backDelay
shouldBackspace
fadeOut
loop
showCursor
attr
bindInputFocusEvents
contentType
onBegin(self)
onComplete(self)
preStringTyped(arrayPos, self)
onStringTyped(arrayPos, self)
onLastStringBackspaced(self)
onTypingPaused(arrayPos, self)
onTypingResumed(arrayPos, self)
onReset(self)
onStop(arrayPos, self)
onStart(arrayPos, self)
onDestroy(self)

HTMLParser

TODO: These methods can probably be combined somehow Parse HTML tags & HTML Characters

new HTMLParser()
================================================ FILE: docs/index.json ================================================ [ { "__docId__": 1, "kind": "external", "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Infinity", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 2, "kind": "external", "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~NaN", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 3, "kind": "external", "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~undefined", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 4, "kind": "external", "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~null", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 5, "kind": "external", "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Object", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 6, "kind": "external", "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~object", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 7, "kind": "external", "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Function", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 8, "kind": "external", "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~function", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 9, "kind": "external", "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Boolean", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 10, "kind": "external", "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~boolean", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 11, "kind": "external", "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Symbol", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 12, "kind": "external", "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Error", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 13, "kind": "external", "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~EvalError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 14, "kind": "external", "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~InternalError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 15, "kind": "external", "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~RangeError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 16, "kind": "external", "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~ReferenceError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 17, "kind": "external", "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~SyntaxError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 18, "kind": "external", "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~TypeError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 19, "kind": "external", "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~URIError", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 20, "kind": "external", "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Number", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 21, "kind": "external", "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~number", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 22, "kind": "external", "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Date", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 23, "kind": "external", "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~String", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 24, "kind": "external", "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~string", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 25, "kind": "external", "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~RegExp", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 26, "kind": "external", "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 27, "kind": "external", "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Int8Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 28, "kind": "external", "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Uint8Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 29, "kind": "external", "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Uint8ClampedArray", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 30, "kind": "external", "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Int16Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 31, "kind": "external", "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Uint16Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 32, "kind": "external", "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Int32Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 33, "kind": "external", "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Uint32Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 34, "kind": "external", "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Float32Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 35, "kind": "external", "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Float64Array", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 36, "kind": "external", "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Map", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 37, "kind": "external", "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Set", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 38, "kind": "external", "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~WeakMap", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 39, "kind": "external", "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~WeakSet", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 40, "kind": "external", "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~ArrayBuffer", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 41, "kind": "external", "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~DataView", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 42, "kind": "external", "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~JSON", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 43, "kind": "external", "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Promise", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 44, "kind": "external", "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Generator", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 45, "kind": "external", "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~GeneratorFunction", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 46, "kind": "external", "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Reflect", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 47, "kind": "external", "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", "memberof": "src/.external-ecmascript.js", "static": true, "longname": "src/.external-ecmascript.js~Proxy", "access": "public", "description": "", "builtinExternal": true }, { "__docId__": 48, "kind": "file", "name": "src/defaults.js", "content": "/**\n * Defaults & options\n * @returns {object} Typed defaults & options\n * @public\n */\n\nconst defaults = {\n /**\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n */\n strings: [\n 'These are the default values...',\n 'You know what you should do?',\n 'Use your own!',\n 'Have a great day!',\n ],\n stringsElement: null,\n\n /**\n * @property {number} typeSpeed type speed in milliseconds\n */\n typeSpeed: 0,\n\n /**\n * @property {number} startDelay time before typing starts in milliseconds\n */\n startDelay: 0,\n\n /**\n * @property {number} backSpeed backspacing speed in milliseconds\n */\n backSpeed: 0,\n\n /**\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n */\n smartBackspace: true,\n\n /**\n * @property {boolean} shuffle shuffle the strings\n */\n shuffle: false,\n\n /**\n * @property {number} backDelay time before backspacing in milliseconds\n */\n backDelay: 700,\n\n /**\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n */\n fadeOut: false,\n fadeOutClass: 'typed-fade-out',\n fadeOutDelay: 500,\n\n /**\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n */\n loop: false,\n loopCount: Infinity,\n\n /**\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n */\n showCursor: true,\n cursorChar: '|',\n autoInsertCss: true,\n\n /**\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n */\n attr: null,\n\n /**\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n */\n bindInputFocusEvents: false,\n\n /**\n * @property {string} contentType 'html' or 'null' for plaintext\n */\n contentType: 'html',\n\n /**\n * Before it begins typing\n * @param {Typed} self\n */\n onBegin: (self) => {},\n\n /**\n * All typing is complete\n * @param {Typed} self\n */\n onComplete: (self) => {},\n\n /**\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n */\n preStringTyped: (arrayPos, self) => {},\n\n /**\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStringTyped: (arrayPos, self) => {},\n\n /**\n * During looping, after last string is typed\n * @param {Typed} self\n */\n onLastStringBackspaced: (self) => {},\n\n /**\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onTypingPaused: (arrayPos, self) => {},\n\n /**\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onTypingResumed: (arrayPos, self) => {},\n\n /**\n * After reset\n * @param {Typed} self\n */\n onReset: (self) => {},\n\n /**\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStop: (arrayPos, self) => {},\n\n /**\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStart: (arrayPos, self) => {},\n\n /**\n * After destroy\n * @param {Typed} self\n */\n onDestroy: (self) => {},\n};\n\nexport default defaults;\n", "static": true, "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/src/defaults.js", "access": "public", "description": null, "lineNumber": 1 }, { "__docId__": 49, "kind": "variable", "name": "defaults", "memberof": "src/defaults.js", "static": true, "longname": "src/defaults.js~defaults", "access": "public", "export": true, "importPath": "typed.js/src/defaults.js", "importStyle": "defaults", "description": "Defaults & options", "lineNumber": 7, "unknown": [ { "tagName": "@returns", "tagValue": "{object} Typed defaults & options" } ], "return": { "nullable": null, "types": ["object"], "spread": false, "description": "Typed defaults & options" }, "type": { "types": [ "{\"strings\": *, \"stringsElement\": *, \"typeSpeed\": *, \"startDelay\": *, \"backSpeed\": *, \"smartBackspace\": boolean, \"shuffle\": *, \"backDelay\": number, \"fadeOut\": *, \"fadeOutClass\": string, \"fadeOutDelay\": number, \"loop\": *, \"loopCount\": *, \"showCursor\": boolean, \"cursorChar\": string, \"autoInsertCss\": boolean, \"attr\": *, \"bindInputFocusEvents\": *, \"contentType\": string, \"onBegin\": *, \"onComplete\": *, \"preStringTyped\": *, \"onStringTyped\": *, \"onLastStringBackspaced\": *, \"onTypingPaused\": *, \"onTypingResumed\": *, \"onReset\": *, \"onStop\": *, \"onStart\": *, \"onDestroy\": *}" ] } }, { "__docId__": 50, "kind": "file", "name": "src/html-parser.js", "content": "/**\n * TODO: These methods can probably be combined somehow\n * Parse HTML tags & HTML Characters\n */\n\nexport default class HTMLParser {\n /**\n * Type HTML tags & HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n */\n\n typeHtmlChars(curString, curStrPos, self) {\n if (self.contentType !== 'html') return curStrPos;\n const curChar = curString.substring(curStrPos).charAt(0);\n if (curChar === '<' || curChar === '&') {\n let endTag = '';\n if (curChar === '<') {\n endTag = '>';\n } else {\n endTag = ';';\n }\n while (curString.substring(curStrPos + 1).charAt(0) !== endTag) {\n curStrPos++;\n if (curStrPos + 1 > curString.length) {\n break;\n }\n }\n curStrPos++;\n }\n return curStrPos;\n }\n\n /**\n * Backspace HTML tags and HTML Characters\n * @param {string} curString Current string\n * @param {number} curStrPos Position in current string\n * @param {Typed} self instance of Typed\n * @returns {number} a new string position\n * @private\n */\n backSpaceHtmlChars(curString, curStrPos, self) {\n if (self.contentType !== 'html') return curStrPos;\n const curChar = curString.substring(curStrPos).charAt(0);\n if (curChar === '>' || curChar === ';') {\n let endTag = '';\n if (curChar === '>') {\n endTag = '<';\n } else {\n endTag = '&';\n }\n while (curString.substring(curStrPos - 1).charAt(0) !== endTag) {\n curStrPos--;\n if (curStrPos < 0) {\n break;\n }\n }\n curStrPos--;\n }\n return curStrPos;\n }\n}\n\nexport let htmlParser = new HTMLParser();\n", "static": true, "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/src/html-parser.js", "access": "public", "description": null, "lineNumber": 1 }, { "__docId__": 51, "kind": "class", "name": "HTMLParser", "memberof": "src/html-parser.js", "static": true, "longname": "src/html-parser.js~HTMLParser", "access": "public", "export": true, "importPath": "typed.js/src/html-parser.js", "importStyle": "HTMLParser", "description": "TODO: These methods can probably be combined somehow\nParse HTML tags & HTML Characters", "lineNumber": 6, "interface": false }, { "__docId__": 52, "kind": "method", "name": "typeHtmlChars", "memberof": "src/html-parser.js~HTMLParser", "generator": false, "async": false, "static": false, "longname": "src/html-parser.js~HTMLParser#typeHtmlChars", "access": "private", "description": "Type HTML tags & HTML Characters", "lineNumber": 16, "unknown": [ { "tagName": "@returns", "tagValue": "{number} a new string position" } ], "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "Current string" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "Position in current string" }, { "nullable": null, "types": ["Typed"], "spread": false, "optional": false, "name": "self", "description": "instance of Typed" } ], "return": { "nullable": null, "types": ["number"], "spread": false, "description": "a new string position" } }, { "__docId__": 53, "kind": "method", "name": "backSpaceHtmlChars", "memberof": "src/html-parser.js~HTMLParser", "generator": false, "async": false, "static": false, "longname": "src/html-parser.js~HTMLParser#backSpaceHtmlChars", "access": "private", "description": "Backspace HTML tags and HTML Characters", "lineNumber": 45, "unknown": [ { "tagName": "@returns", "tagValue": "{number} a new string position" } ], "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "Current string" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "Position in current string" }, { "nullable": null, "types": ["Typed"], "spread": false, "optional": false, "name": "self", "description": "instance of Typed" } ], "return": { "nullable": null, "types": ["number"], "spread": false, "description": "a new string position" } }, { "__docId__": 54, "kind": "variable", "name": "htmlParser", "memberof": "src/html-parser.js", "static": true, "longname": "src/html-parser.js~htmlParser", "access": "public", "export": true, "importPath": "typed.js/src/html-parser.js", "importStyle": "{htmlParser}", "description": null, "lineNumber": 67, "undocument": true, "type": { "types": ["src/html-parser.js~HTMLParser"] } }, { "__docId__": 55, "kind": "file", "name": "src/initializer.js", "content": "import defaults from './defaults.js';\n/**\n * Initialize the Typed object\n */\n\nexport default class Initializer {\n /**\n * Load up defaults & options on the Typed instance\n * @param {Typed} self instance of Typed\n * @param {object} options options object\n * @param {string} elementId HTML element ID _OR_ instance of HTML element\n * @private\n */\n\n load(self, options, elementId) {\n // chosen element to manipulate text\n if (typeof elementId === 'string') {\n self.el = document.querySelector(elementId);\n } else {\n self.el = elementId;\n }\n\n self.options = { ...defaults, ...options };\n\n // attribute to type into\n self.isInput = self.el.tagName.toLowerCase() === 'input';\n self.attr = self.options.attr;\n self.bindInputFocusEvents = self.options.bindInputFocusEvents;\n\n // show cursor\n self.showCursor = self.isInput ? false : self.options.showCursor;\n\n // custom cursor\n self.cursorChar = self.options.cursorChar;\n\n // Is the cursor blinking\n self.cursorBlinking = true;\n\n // text content of element\n self.elContent = self.attr\n ? self.el.getAttribute(self.attr)\n : self.el.textContent;\n\n // html or plain text\n self.contentType = self.options.contentType;\n\n // typing speed\n self.typeSpeed = self.options.typeSpeed;\n\n // add a delay before typing starts\n self.startDelay = self.options.startDelay;\n\n // backspacing speed\n self.backSpeed = self.options.backSpeed;\n\n // only backspace what doesn't match the previous string\n self.smartBackspace = self.options.smartBackspace;\n\n // amount of time to wait before backspacing\n self.backDelay = self.options.backDelay;\n\n // Fade out instead of backspace\n self.fadeOut = self.options.fadeOut;\n self.fadeOutClass = self.options.fadeOutClass;\n self.fadeOutDelay = self.options.fadeOutDelay;\n\n // variable to check whether typing is currently paused\n self.isPaused = false;\n\n // input strings of text\n self.strings = self.options.strings.map((s) => s.trim());\n\n // div containing strings\n if (typeof self.options.stringsElement === 'string') {\n self.stringsElement = document.querySelector(self.options.stringsElement);\n } else {\n self.stringsElement = self.options.stringsElement;\n }\n\n if (self.stringsElement) {\n self.strings = [];\n self.stringsElement.style.cssText =\n 'clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;';\n\n const strings = Array.prototype.slice.apply(self.stringsElement.children);\n const stringsLength = strings.length;\n\n if (stringsLength) {\n for (let i = 0; i < stringsLength; i += 1) {\n const stringEl = strings[i];\n self.strings.push(stringEl.innerHTML.trim());\n }\n }\n }\n\n // character number position of current string\n self.strPos = 0;\n\n // If there is some text in the element\n self.currentElContent = this.getCurrentElContent(self);\n\n if (self.currentElContent && self.currentElContent.length > 0) {\n self.strPos = self.currentElContent.length - 1;\n self.strings.unshift(self.currentElContent);\n }\n\n // the order of strings\n self.sequence = [];\n\n // Set the order in which the strings are typed\n for (let i in self.strings) {\n self.sequence[i] = i;\n }\n\n // current array position\n self.arrayPos = 0;\n\n // index of string to stop backspacing on\n self.stopNum = 0;\n\n // Looping logic\n self.loop = self.options.loop;\n self.loopCount = self.options.loopCount;\n self.curLoop = 0;\n\n // shuffle the strings\n self.shuffle = self.options.shuffle;\n\n self.pause = {\n status: false,\n typewrite: true,\n curString: '',\n curStrPos: 0,\n };\n\n // When the typing is complete (when not looped)\n self.typingComplete = false;\n\n self.autoInsertCss = self.options.autoInsertCss;\n\n if (self.autoInsertCss) {\n this.appendCursorAnimationCss(self);\n this.appendFadeOutAnimationCss(self);\n }\n }\n\n getCurrentElContent(self) {\n let elContent = '';\n if (self.attr) {\n elContent = self.el.getAttribute(self.attr);\n } else if (self.isInput) {\n elContent = self.el.value;\n } else if (self.contentType === 'html') {\n elContent = self.el.innerHTML;\n } else {\n elContent = self.el.textContent;\n }\n return elContent;\n }\n\n appendCursorAnimationCss(self) {\n const cssDataName = 'data-typed-js-cursor-css';\n\n if (!self.showCursor || document.querySelector(`[${cssDataName}]`)) {\n return;\n }\n\n let css = document.createElement('style');\n css.setAttribute(cssDataName, 'true');\n\n css.innerHTML = `\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n `;\n\n document.body.appendChild(css);\n }\n\n appendFadeOutAnimationCss(self) {\n const cssDataName = 'data-typed-fadeout-js-css';\n\n if (!self.fadeOut || document.querySelector(`[${cssDataName}]`)) {\n return;\n }\n\n let css = document.createElement('style');\n css.setAttribute(cssDataName, 'true');\n\n css.innerHTML = `\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n `;\n\n document.body.appendChild(css);\n }\n}\n\nexport let initializer = new Initializer();\n", "static": true, "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/src/initializer.js", "access": "public", "description": null, "lineNumber": 1 }, { "__docId__": 56, "kind": "class", "name": "Initializer", "memberof": "src/initializer.js", "static": true, "longname": "src/initializer.js~Initializer", "access": "public", "export": true, "importPath": "typed.js/src/initializer.js", "importStyle": "Initializer", "description": "Initialize the Typed object", "lineNumber": 6, "interface": false }, { "__docId__": 57, "kind": "method", "name": "load", "memberof": "src/initializer.js~Initializer", "generator": false, "async": false, "static": false, "longname": "src/initializer.js~Initializer#load", "access": "private", "description": "Load up defaults & options on the Typed instance", "lineNumber": 15, "params": [ { "nullable": null, "types": ["Typed"], "spread": false, "optional": false, "name": "self", "description": "instance of Typed" }, { "nullable": null, "types": ["object"], "spread": false, "optional": false, "name": "options", "description": "options object" }, { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "elementId", "description": "HTML element ID _OR_ instance of HTML element" } ], "return": null }, { "__docId__": 58, "kind": "method", "name": "getCurrentElContent", "memberof": "src/initializer.js~Initializer", "generator": false, "async": false, "static": false, "longname": "src/initializer.js~Initializer#getCurrentElContent", "access": "public", "description": null, "lineNumber": 147, "undocument": true, "params": [ { "name": "self", "types": ["*"] } ], "return": { "types": ["*"] } }, { "__docId__": 59, "kind": "method", "name": "appendCursorAnimationCss", "memberof": "src/initializer.js~Initializer", "generator": false, "async": false, "static": false, "longname": "src/initializer.js~Initializer#appendCursorAnimationCss", "access": "public", "description": null, "lineNumber": 161, "undocument": true, "params": [ { "name": "self", "types": ["*"] } ], "return": null }, { "__docId__": 60, "kind": "method", "name": "appendFadeOutAnimationCss", "memberof": "src/initializer.js~Initializer", "generator": false, "async": false, "static": false, "longname": "src/initializer.js~Initializer#appendFadeOutAnimationCss", "access": "public", "description": null, "lineNumber": 193, "undocument": true, "params": [ { "name": "self", "types": ["*"] } ], "return": null }, { "__docId__": 61, "kind": "variable", "name": "initializer", "memberof": "src/initializer.js", "static": true, "longname": "src/initializer.js~initializer", "access": "public", "export": true, "importPath": "typed.js/src/initializer.js", "importStyle": "{initializer}", "description": null, "lineNumber": 218, "undocument": true, "type": { "types": ["src/initializer.js~Initializer"] } }, { "__docId__": 62, "kind": "file", "name": "src/typed.js", "content": "import { initializer } from './initializer.js';\nimport { htmlParser } from './html-parser.js';\n\n/**\n * Welcome to Typed.js!\n * @param {string} elementId HTML element ID _OR_ HTML element\n * @param {object} options options object\n * @returns {object} a new Typed object\n */\nexport default class Typed {\n constructor(elementId, options) {\n // Initialize it up\n initializer.load(this, options, elementId);\n // All systems go!\n this.begin();\n }\n\n /**\n * Toggle start() and stop() of the Typed instance\n * @public\n */\n toggle() {\n this.pause.status ? this.start() : this.stop();\n }\n\n /**\n * Stop typing / backspacing and enable cursor blinking\n * @public\n */\n stop() {\n if (this.typingComplete) return;\n if (this.pause.status) return;\n this.toggleBlinking(true);\n this.pause.status = true;\n this.options.onStop(this.arrayPos, this);\n }\n\n /**\n * Start typing / backspacing after being stopped\n * @public\n */\n start() {\n if (this.typingComplete) return;\n if (!this.pause.status) return;\n this.pause.status = false;\n if (this.pause.typewrite) {\n this.typewrite(this.pause.curString, this.pause.curStrPos);\n } else {\n this.backspace(this.pause.curString, this.pause.curStrPos);\n }\n this.options.onStart(this.arrayPos, this);\n }\n\n /**\n * Destroy this instance of Typed\n * @public\n */\n destroy() {\n this.reset(false);\n this.options.onDestroy(this);\n }\n\n /**\n * Reset Typed and optionally restarts\n * @param {boolean} restart\n * @public\n */\n reset(restart = true) {\n clearInterval(this.timeout);\n this.replaceText('');\n if (this.cursor && this.cursor.parentNode) {\n this.cursor.parentNode.removeChild(this.cursor);\n this.cursor = null;\n }\n this.strPos = 0;\n this.arrayPos = 0;\n this.curLoop = 0;\n if (restart) {\n this.insertCursor();\n this.options.onReset(this);\n this.begin();\n }\n }\n\n /**\n * Begins the typing animation\n * @private\n */\n begin() {\n this.options.onBegin(this);\n this.typingComplete = false;\n this.shuffleStringsIfNeeded(this);\n this.insertCursor();\n if (this.bindInputFocusEvents) this.bindFocusEvents();\n this.timeout = setTimeout(() => {\n // If the strPos is 0, we're starting from the beginning of a string\n // else, we're starting with a previous string that needs to be backspaced first\n if (this.strPos === 0) {\n this.typewrite(this.strings[this.sequence[this.arrayPos]], this.strPos);\n } else {\n this.backspace(this.strings[this.sequence[this.arrayPos]], this.strPos);\n }\n }, this.startDelay);\n }\n\n /**\n * Called for each character typed\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n */\n typewrite(curString, curStrPos) {\n if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) {\n this.el.classList.remove(this.fadeOutClass);\n if (this.cursor) this.cursor.classList.remove(this.fadeOutClass);\n }\n\n const humanize = this.humanizer(this.typeSpeed);\n let numChars = 1;\n\n if (this.pause.status === true) {\n this.setPauseStatus(curString, curStrPos, true);\n return;\n }\n\n // contain typing function in a timeout humanize'd delay\n this.timeout = setTimeout(() => {\n // skip over any HTML chars\n curStrPos = htmlParser.typeHtmlChars(curString, curStrPos, this);\n\n let pauseTime = 0;\n let substr = curString.substring(curStrPos);\n // check for an escape character before a pause value\n // format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^\n // single ^ are removed from string\n if (substr.charAt(0) === '^') {\n if (/^\\^\\d+/.test(substr)) {\n let skip = 1; // skip at least 1\n substr = /\\d+/.exec(substr)[0];\n skip += substr.length;\n pauseTime = parseInt(substr);\n this.temporaryPause = true;\n this.options.onTypingPaused(this.arrayPos, this);\n // strip out the escape character and pause value so they're not printed\n curString =\n curString.substring(0, curStrPos) +\n curString.substring(curStrPos + skip);\n this.toggleBlinking(true);\n }\n }\n\n // check for skip characters formatted as\n // \"this is a `string to print NOW` ...\"\n if (substr.charAt(0) === '`') {\n while (curString.substring(curStrPos + numChars).charAt(0) !== '`') {\n numChars++;\n if (curStrPos + numChars > curString.length) break;\n }\n // strip out the escape characters and append all the string in between\n const stringBeforeSkip = curString.substring(0, curStrPos);\n const stringSkipped = curString.substring(\n stringBeforeSkip.length + 1,\n curStrPos + numChars\n );\n const stringAfterSkip = curString.substring(curStrPos + numChars + 1);\n curString = stringBeforeSkip + stringSkipped + stringAfterSkip;\n numChars--;\n }\n\n // timeout for any pause after a character\n this.timeout = setTimeout(() => {\n // Accounts for blinking while paused\n this.toggleBlinking(false);\n\n // We're done with this sentence!\n if (curStrPos >= curString.length) {\n this.doneTyping(curString, curStrPos);\n } else {\n this.keepTyping(curString, curStrPos, numChars);\n }\n // end of character pause\n if (this.temporaryPause) {\n this.temporaryPause = false;\n this.options.onTypingResumed(this.arrayPos, this);\n }\n }, pauseTime);\n\n // humanized value for typing\n }, humanize);\n }\n\n /**\n * Continue to the next string & begin typing\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n */\n keepTyping(curString, curStrPos, numChars) {\n // call before functions if applicable\n if (curStrPos === 0) {\n this.toggleBlinking(false);\n this.options.preStringTyped(this.arrayPos, this);\n }\n // start typing each new char into existing string\n // curString: arg, this.el.html: original text inside element\n curStrPos += numChars;\n const nextString = curString.substring(0, curStrPos);\n this.replaceText(nextString);\n // loop the function\n this.typewrite(curString, curStrPos);\n }\n\n /**\n * We're done typing the current string\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n */\n doneTyping(curString, curStrPos) {\n // fires callback function\n this.options.onStringTyped(this.arrayPos, this);\n this.toggleBlinking(true);\n // is this the final string\n if (this.arrayPos === this.strings.length - 1) {\n // callback that occurs on the last typed string\n this.complete();\n // quit if we wont loop back\n if (this.loop === false || this.curLoop === this.loopCount) {\n return;\n }\n }\n this.timeout = setTimeout(() => {\n this.backspace(curString, curStrPos);\n }, this.backDelay);\n }\n\n /**\n * Backspaces 1 character at a time\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @private\n */\n backspace(curString, curStrPos) {\n if (this.pause.status === true) {\n this.setPauseStatus(curString, curStrPos, false);\n return;\n }\n if (this.fadeOut) return this.initFadeOut();\n\n this.toggleBlinking(false);\n const humanize = this.humanizer(this.backSpeed);\n\n this.timeout = setTimeout(() => {\n curStrPos = htmlParser.backSpaceHtmlChars(curString, curStrPos, this);\n // replace text with base text + typed characters\n const curStringAtPosition = curString.substring(0, curStrPos);\n this.replaceText(curStringAtPosition);\n\n // if smartBack is enabled\n if (this.smartBackspace) {\n // the remaining part of the current string is equal of the same part of the new string\n let nextString = this.strings[this.arrayPos + 1];\n if (\n nextString &&\n curStringAtPosition === nextString.substring(0, curStrPos)\n ) {\n this.stopNum = curStrPos;\n } else {\n this.stopNum = 0;\n }\n }\n\n // if the number (id of character in current string) is\n // less than the stop number, keep going\n if (curStrPos > this.stopNum) {\n // subtract characters one by one\n curStrPos--;\n // loop the function\n this.backspace(curString, curStrPos);\n } else if (curStrPos <= this.stopNum) {\n // if the stop number has been reached, increase\n // array position to next string\n this.arrayPos++;\n // When looping, begin at the beginning after backspace complete\n if (this.arrayPos === this.strings.length) {\n this.arrayPos = 0;\n this.options.onLastStringBackspaced();\n this.shuffleStringsIfNeeded();\n this.begin();\n } else {\n this.typewrite(this.strings[this.sequence[this.arrayPos]], curStrPos);\n }\n }\n // humanized value for typing\n }, humanize);\n }\n\n /**\n * Full animation is complete\n * @private\n */\n complete() {\n this.options.onComplete(this);\n if (this.loop) {\n this.curLoop++;\n } else {\n this.typingComplete = true;\n }\n }\n\n /**\n * Has the typing been stopped\n * @param {string} curString the current string in the strings array\n * @param {number} curStrPos the current position in the curString\n * @param {boolean} isTyping\n * @private\n */\n setPauseStatus(curString, curStrPos, isTyping) {\n this.pause.typewrite = isTyping;\n this.pause.curString = curString;\n this.pause.curStrPos = curStrPos;\n }\n\n /**\n * Toggle the blinking cursor\n * @param {boolean} isBlinking\n * @private\n */\n toggleBlinking(isBlinking) {\n if (!this.cursor) return;\n // if in paused state, don't toggle blinking a 2nd time\n if (this.pause.status) return;\n if (this.cursorBlinking === isBlinking) return;\n this.cursorBlinking = isBlinking;\n if (isBlinking) {\n this.cursor.classList.add('typed-cursor--blink');\n } else {\n this.cursor.classList.remove('typed-cursor--blink');\n }\n }\n\n /**\n * Speed in MS to type\n * @param {number} speed\n * @private\n */\n humanizer(speed) {\n return Math.round((Math.random() * speed) / 2) + speed;\n }\n\n /**\n * Shuffle the sequence of the strings array\n * @private\n */\n shuffleStringsIfNeeded() {\n if (!this.shuffle) return;\n this.sequence = this.sequence.sort(() => Math.random() - 0.5);\n }\n\n /**\n * Adds a CSS class to fade out current string\n * @private\n */\n initFadeOut() {\n this.el.className += ` ${this.fadeOutClass}`;\n if (this.cursor) this.cursor.className += ` ${this.fadeOutClass}`;\n return setTimeout(() => {\n this.arrayPos++;\n this.replaceText('');\n\n // Resets current string if end of loop reached\n if (this.strings.length > this.arrayPos) {\n this.typewrite(this.strings[this.sequence[this.arrayPos]], 0);\n } else {\n this.typewrite(this.strings[0], 0);\n this.arrayPos = 0;\n }\n }, this.fadeOutDelay);\n }\n\n /**\n * Replaces current text in the HTML element\n * depending on element type\n * @param {string} str\n * @private\n */\n replaceText(str) {\n if (this.attr) {\n this.el.setAttribute(this.attr, str);\n } else {\n if (this.isInput) {\n this.el.value = str;\n } else if (this.contentType === 'html') {\n this.el.innerHTML = str;\n } else {\n this.el.textContent = str;\n }\n }\n }\n\n /**\n * If using input elements, bind focus in order to\n * start and stop the animation\n * @private\n */\n bindFocusEvents() {\n if (!this.isInput) return;\n this.el.addEventListener('focus', (e) => {\n this.stop();\n });\n this.el.addEventListener('blur', (e) => {\n if (this.el.value && this.el.value.length !== 0) {\n return;\n }\n this.start();\n });\n }\n\n /**\n * On init, insert the cursor element\n * @private\n */\n insertCursor() {\n if (!this.showCursor) return;\n if (this.cursor) return;\n this.cursor = document.createElement('span');\n this.cursor.className = 'typed-cursor';\n this.cursor.setAttribute('aria-hidden', true);\n this.cursor.innerHTML = this.cursorChar;\n this.el.parentNode &&\n this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);\n }\n}\n", "static": true, "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/src/typed.js", "access": "public", "description": null, "lineNumber": 1 }, { "__docId__": 63, "kind": "class", "name": "Typed", "memberof": "src/typed.js", "static": true, "longname": "src/typed.js~Typed", "access": "public", "export": true, "importPath": "typed.js/src/typed.js", "importStyle": "Typed", "description": "Welcome to Typed.js!", "lineNumber": 10, "unknown": [ { "tagName": "@returns", "tagValue": "{object} a new Typed object" } ], "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "elementId", "description": "HTML element ID _OR_ HTML element" }, { "nullable": null, "types": ["object"], "spread": false, "optional": false, "name": "options", "description": "options object" } ], "return": { "nullable": null, "types": ["object"], "spread": false, "description": "a new Typed object" }, "interface": false }, { "__docId__": 64, "kind": "constructor", "name": "constructor", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#constructor", "access": "public", "description": null, "lineNumber": 11, "undocument": true }, { "__docId__": 65, "kind": "method", "name": "toggle", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#toggle", "access": "public", "description": "Toggle start() and stop() of the Typed instance", "lineNumber": 22, "params": [], "return": null }, { "__docId__": 66, "kind": "method", "name": "stop", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#stop", "access": "public", "description": "Stop typing / backspacing and enable cursor blinking", "lineNumber": 30, "params": [], "return": null }, { "__docId__": 67, "kind": "method", "name": "start", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#start", "access": "public", "description": "Start typing / backspacing after being stopped", "lineNumber": 42, "params": [], "return": null }, { "__docId__": 68, "kind": "method", "name": "destroy", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#destroy", "access": "public", "description": "Destroy this instance of Typed", "lineNumber": 58, "params": [], "return": null }, { "__docId__": 69, "kind": "method", "name": "reset", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#reset", "access": "public", "description": "Reset Typed and optionally restarts", "lineNumber": 68, "params": [ { "nullable": null, "types": ["boolean"], "spread": false, "optional": false, "name": "restart", "description": "" } ], "return": null }, { "__docId__": 70, "kind": "member", "name": "cursor", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#cursor", "access": "public", "description": null, "lineNumber": 73, "undocument": true, "type": { "types": ["*"] } }, { "__docId__": 71, "kind": "member", "name": "strPos", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#strPos", "access": "public", "description": null, "lineNumber": 75, "undocument": true, "type": { "types": ["number"] } }, { "__docId__": 72, "kind": "member", "name": "arrayPos", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#arrayPos", "access": "public", "description": null, "lineNumber": 76, "undocument": true, "type": { "types": ["number"] } }, { "__docId__": 73, "kind": "member", "name": "curLoop", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#curLoop", "access": "public", "description": null, "lineNumber": 77, "undocument": true, "type": { "types": ["number"] } }, { "__docId__": 74, "kind": "method", "name": "begin", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#begin", "access": "private", "description": "Begins the typing animation", "lineNumber": 89, "params": [], "return": null }, { "__docId__": 75, "kind": "member", "name": "typingComplete", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#typingComplete", "access": "public", "description": null, "lineNumber": 91, "undocument": true, "type": { "types": ["boolean"] } }, { "__docId__": 76, "kind": "member", "name": "timeout", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#timeout", "access": "public", "description": null, "lineNumber": 95, "undocument": true, "type": { "types": ["*"] } }, { "__docId__": 77, "kind": "method", "name": "typewrite", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#typewrite", "access": "private", "description": "Called for each character typed", "lineNumber": 112, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "the current string in the strings array" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "the current position in the curString" } ], "return": null }, { "__docId__": 79, "kind": "member", "name": "temporaryPause", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#temporaryPause", "access": "public", "description": null, "lineNumber": 142, "undocument": true, "type": { "types": ["boolean"] } }, { "__docId__": 82, "kind": "method", "name": "keepTyping", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#keepTyping", "access": "private", "description": "Continue to the next string & begin typing", "lineNumber": 198, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "the current string in the strings array" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "the current position in the curString" } ], "return": null }, { "__docId__": 83, "kind": "method", "name": "doneTyping", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#doneTyping", "access": "private", "description": "We're done typing the current string", "lineNumber": 219, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "the current string in the strings array" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "the current position in the curString" } ], "return": null }, { "__docId__": 85, "kind": "method", "name": "backspace", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#backspace", "access": "private", "description": "Backspaces 1 character at a time", "lineNumber": 243, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "the current string in the strings array" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "the current position in the curString" } ], "return": { "types": ["*"] } }, { "__docId__": 87, "kind": "member", "name": "stopNum", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#stopNum", "access": "public", "description": null, "lineNumber": 267, "undocument": true, "type": { "types": ["*"] } }, { "__docId__": 90, "kind": "method", "name": "complete", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#complete", "access": "private", "description": "Full animation is complete", "lineNumber": 302, "params": [], "return": null }, { "__docId__": 92, "kind": "method", "name": "setPauseStatus", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#setPauseStatus", "access": "private", "description": "Has the typing been stopped", "lineNumber": 318, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "curString", "description": "the current string in the strings array" }, { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "curStrPos", "description": "the current position in the curString" }, { "nullable": null, "types": ["boolean"], "spread": false, "optional": false, "name": "isTyping", "description": "" } ], "return": null }, { "__docId__": 93, "kind": "method", "name": "toggleBlinking", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#toggleBlinking", "access": "private", "description": "Toggle the blinking cursor", "lineNumber": 329, "params": [ { "nullable": null, "types": ["boolean"], "spread": false, "optional": false, "name": "isBlinking", "description": "" } ], "return": null }, { "__docId__": 94, "kind": "member", "name": "cursorBlinking", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#cursorBlinking", "access": "public", "description": null, "lineNumber": 334, "undocument": true, "type": { "types": ["*"] } }, { "__docId__": 95, "kind": "method", "name": "humanizer", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#humanizer", "access": "private", "description": "Speed in MS to type", "lineNumber": 347, "params": [ { "nullable": null, "types": ["number"], "spread": false, "optional": false, "name": "speed", "description": "" } ], "return": { "types": ["*"] } }, { "__docId__": 96, "kind": "method", "name": "shuffleStringsIfNeeded", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#shuffleStringsIfNeeded", "access": "private", "description": "Shuffle the sequence of the strings array", "lineNumber": 355, "params": [], "return": null }, { "__docId__": 97, "kind": "member", "name": "sequence", "memberof": "src/typed.js~Typed", "static": false, "longname": "src/typed.js~Typed#sequence", "access": "public", "description": null, "lineNumber": 357, "undocument": true, "type": { "types": ["*"] } }, { "__docId__": 98, "kind": "method", "name": "initFadeOut", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#initFadeOut", "access": "private", "description": "Adds a CSS class to fade out current string", "lineNumber": 364, "params": [], "return": { "types": ["*"] } }, { "__docId__": 100, "kind": "method", "name": "replaceText", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#replaceText", "access": "private", "description": "Replaces current text in the HTML element\ndepending on element type", "lineNumber": 387, "params": [ { "nullable": null, "types": ["string"], "spread": false, "optional": false, "name": "str", "description": "" } ], "return": null }, { "__docId__": 101, "kind": "method", "name": "bindFocusEvents", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#bindFocusEvents", "access": "private", "description": "If using input elements, bind focus in order to\nstart and stop the animation", "lineNumber": 406, "params": [], "return": null }, { "__docId__": 102, "kind": "method", "name": "insertCursor", "memberof": "src/typed.js~Typed", "generator": false, "async": false, "static": false, "longname": "src/typed.js~Typed#insertCursor", "access": "private", "description": "On init, insert the cursor element", "lineNumber": 423, "params": [], "return": null }, { "kind": "index", "content": "[![Code Climate](https://codeclimate.com/github/mattboldt/typed.js/badges/gpa.svg)](https://codeclimate.com/github/mattboldt/typed.js)\n[![GitHub release](https://img.shields.io/github/release/mattboldt/typed.js.svg)]()\n[![npm](https://img.shields.io/npm/dt/typed.js.svg)](https://img.shields.io/npm/dt/typed.js.svg)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/mattboldt/typed.js/master/LICENSE.txt)\n\n\n\n### [Live Demo](http://www.mattboldt.com/demos/typed-js/) | [View All Demos](http://mattboldt.github.io/typed.js/) | [View Full Docs](http://mattboldt.github.io/typed.js/docs) | [mattboldt.com](http://www.mattboldt.com)\n\nTyped.js is a library that types. Enter in any string, and watch it type at the speed you've set, backspace what it's typed, and begin a new sentence for however many strings you've set.\n\n---\n\n## Installation\n\n### CDN\n\n```html\n\n```\n\nFor use directly in the browser via `\n\n \n \n\n```\n\n### As an ESModule\n\nFor use with a build tool like [Vite](https://vitejs.dev/), and/or in a React application, install with NPM or Yarn.\n\n#### NPM\n\n```\nnpm install typed.js\n```\n\n#### Yarn\n\n```\nyarn add typed.js\n```\n\n#### General ESM Usage\n\n```js\nimport Typed from 'typed.js';\n\nconst typed = new Typed('#element', {\n strings: ['First sentence.', '& a second sentence.'],\n typeSpeed: 50,\n});\n```\n\n### ReactJS Usage\n\n```js\nimport React from 'react';\nimport Typed from 'typed.js';\n\nfunction MyComponent() {\n // Create reference to store the DOM element containing the animation\n const el = React.useRef(null);\n\n React.useEffect(() => {\n const typed = new Typed(el.current, {\n strings: ['First sentence.', '& a second sentence.'],\n typeSpeed: 50,\n });\n\n return () => {\n // Destroy Typed instance during cleanup to stop animation\n typed.destroy();\n };\n }, []);\n\n return (\n
\n \n
\n );\n}\n```\n\nMore complex hook-based function component: https://jsfiddle.net/mattboldt/60h9an7y/\n\nClass component: https://jsfiddle.net/mattboldt/ovat9jmp/\n\n### Use with Vue.js\n\nCheck out the Vue.js component: https://github.com/Orlandster/vue-typed-js\n\n### Use it as WebComponent\n\nCheck out the WebComponent: https://github.com/Orlandster/wc-typed-js\n\n## Wonderful sites that have used (or are using) Typed.js\n\nhttps://github.com/features/package-registry\n\nhttps://slack.com/\n\nhttps://envato.com/\n\nhttps://gorails.com/\n\nhttps://productmap.co/\n\nhttps://www.typed.com/\n\nhttps://apeiron.io\n\nhttps://git.market/\n\nhttps://commando.io/\n\nhttp://testdouble.com/agency.html\n\nhttps://www.capitalfactory.com/\n\nhttp://www.maxcdn.com/\n\nhttps://www.powerauth.com/\n\n---\n\n### Strings from static HTML (SEO Friendly)\n\nRather than using the `strings` array to insert strings, you can place an HTML `div` on the page and read from it.\nThis allows bots and search engines, as well as users with JavaScript disabled, to see your text on the page.\n\n```javascript\n\n```\n\n```html\n
\n

Typed.js is a JavaScript library.

\n

It types out sentences.

\n
\n\n```\n\n### Type Pausing\n\nYou can pause in the middle of a string for a given amount of time by including an escape character.\n\n```javascript\nvar typed = new Typed('#element', {\n // Waits 1000ms after typing \"First\"\n strings: ['First ^1000 sentence.', 'Second sentence.'],\n});\n```\n\n### Smart Backspacing\n\nIn the following example, this would only backspace the words after \"This is a\"\n\n```javascript\nvar typed = new Typed('#element', {\n strings: ['This is a JavaScript library', 'This is an ES6 module'],\n smartBackspace: true, // Default value\n});\n```\n\n### Bulk Typing\n\nThe following example would emulate how a terminal acts when typing a command and seeing its result.\n\n```javascript\nvar typed = new Typed('#element', {\n strings: ['git push --force ^1000\\n `pushed to origin with option force`'],\n});\n```\n\n### CSS\n\nCSS animations are built upon initialization in JavaScript. But, you can customize them at your will! These classes are:\n\n```css\n/* Cursor */\n.typed-cursor {\n}\n\n/* If fade out option is set */\n.typed-fade-out {\n}\n```\n\n## Customization\n\n```javascript\nvar typed = new Typed('#element', {\n /**\n * @property {array} strings strings to be typed\n * @property {string} stringsElement ID of element containing string children\n */\n strings: [\n 'These are the default values...',\n 'You know what you should do?',\n 'Use your own!',\n 'Have a great day!',\n ],\n stringsElement: null,\n\n /**\n * @property {number} typeSpeed type speed in milliseconds\n */\n typeSpeed: 0,\n\n /**\n * @property {number} startDelay time before typing starts in milliseconds\n */\n startDelay: 0,\n\n /**\n * @property {number} backSpeed backspacing speed in milliseconds\n */\n backSpeed: 0,\n\n /**\n * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n */\n smartBackspace: true,\n\n /**\n * @property {boolean} shuffle shuffle the strings\n */\n shuffle: false,\n\n /**\n * @property {number} backDelay time before backspacing in milliseconds\n */\n backDelay: 700,\n\n /**\n * @property {boolean} fadeOut Fade out instead of backspace\n * @property {string} fadeOutClass css class for fade animation\n * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n */\n fadeOut: false,\n fadeOutClass: 'typed-fade-out',\n fadeOutDelay: 500,\n\n /**\n * @property {boolean} loop loop strings\n * @property {number} loopCount amount of loops\n */\n loop: false,\n loopCount: Infinity,\n\n /**\n * @property {boolean} showCursor show cursor\n * @property {string} cursorChar character for cursor\n * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n */\n showCursor: true,\n cursorChar: '|',\n autoInsertCss: true,\n\n /**\n * @property {string} attr attribute for typing\n * Ex: input placeholder, value, or just HTML text\n */\n attr: null,\n\n /**\n * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n */\n bindInputFocusEvents: false,\n\n /**\n * @property {string} contentType 'html' or 'null' for plaintext\n */\n contentType: 'html',\n\n /**\n * Before it begins typing\n * @param {Typed} self\n */\n onBegin: (self) => {},\n\n /**\n * All typing is complete\n * @param {Typed} self\n */\n onComplete: (self) => {},\n\n /**\n * Before each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n */\n preStringTyped: (arrayPos, self) => {},\n\n /**\n * After each string is typed\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStringTyped: (arrayPos, self) => {},\n\n /**\n * During looping, after last string is typed\n * @param {Typed} self\n */\n onLastStringBackspaced: (self) => {},\n\n /**\n * Typing has been stopped\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onTypingPaused: (arrayPos, self) => {},\n\n /**\n * Typing has been started after being stopped\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onTypingResumed: (arrayPos, self) => {},\n\n /**\n * After reset\n * @param {Typed} self\n */\n onReset: (self) => {},\n\n /**\n * After stop\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStop: (arrayPos, self) => {},\n\n /**\n * After start\n * @param {number} arrayPos\n * @param {Typed} self\n */\n onStart: (arrayPos, self) => {},\n\n /**\n * After destroy\n * @param {Typed} self\n */\n onDestroy: (self) => {},\n});\n```\n\n## Contributing\n\n### [View Contribution Guidelines](./.github/CONTRIBUTING.md)\n\n## end\n\nThanks for checking this out. If you have any questions, I'll be on [Twitter](https://twitter.com/atmattb).\n\nIf you're using this, let me know! I'd love to see it.\n\nIt would also be great if you mentioned me or my website somewhere. [www.mattboldt.com](http://www.mattboldt.com)\n", "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/README.md", "name": "./README.md", "static": true, "access": "public" }, { "kind": "packageJSON", "content": "{\n \"name\": \"typed.js\",\n \"version\": \"2.1.0\",\n \"homepage\": \"https://github.com/mattboldt/typed.js\",\n \"repository\": \"https://github.com/mattboldt/typed.js\",\n \"license\": \"MIT\",\n \"author\": \"Matt Boldt\",\n \"description\": \"A JavaScript Typing Animation Library\",\n \"type\": \"module\",\n \"source\": \"src/typed.js\",\n \"types\": \"./index.d.ts\",\n \"files\": [\n \"dist\",\n \"index.d.ts\"\n ],\n \"exports\": {\n \"require\": \"./dist/typed.cjs\",\n \"import\": \"./dist/typed.module.js\"\n },\n \"main\": \"./dist/typed.cjs\",\n \"module\": \"./dist/typed.module.js\",\n \"unpkg\": \"./dist/typed.umd.js\",\n \"keywords\": [\n \"typed\",\n \"animation\"\n ],\n \"devDependencies\": {\n \"esdoc\": \"^1.1.0\",\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"microbundle\": \"^0.15.1\"\n },\n \"scripts\": {\n \"build\": \"microbundle --name=Typed\",\n \"dev\": \"microbundle --name=Typed watch\"\n }\n}\n", "longname": "/Users/mattboldt/Documents/dev/Repos/typedjs/package.json", "name": "package.json", "static": true, "access": "public" } ] ================================================ FILE: docs/lint.json ================================================ [ { "name": "Typed#keepTyping", "filePath": "src/typed.js", "lines": [ { "lineNumber": 191, "line": " /**" }, { "lineNumber": 192, "line": " * Continue to the next string & begin typing" }, { "lineNumber": 193, "line": " * @param {string} curString the current string in the strings array" }, { "lineNumber": 194, "line": " * @param {number} curStrPos the current position in the curString" }, { "lineNumber": 195, "line": " * @private" }, { "lineNumber": 196, "line": " */" }, { "lineNumber": 197, "line": " keepTyping(curString, curStrPos, numChars) {" } ], "codeParams": [ "curString", "curStrPos", "numChars" ], "docParams": [ "curString", "curStrPos" ] } ] ================================================ FILE: docs/script/inherited-summary.js ================================================ (function(){ function toggle(ev) { var button = ev.target; var parent = ev.target.parentElement; while(parent) { if (parent.tagName === 'TABLE' && parent.classList.contains('summary')) break; parent = parent.parentElement; } if (!parent) return; var tbody = parent.querySelector('tbody'); if (button.classList.contains('opened')) { button.classList.remove('opened'); button.classList.add('closed'); tbody.style.display = 'none'; } else { button.classList.remove('closed'); button.classList.add('opened'); tbody.style.display = 'block'; } } var buttons = document.querySelectorAll('.inherited-summary thead .toggle'); for (var i = 0; i < buttons.length; i++) { buttons[i].addEventListener('click', toggle); } })(); ================================================ FILE: docs/script/inner-link.js ================================================ // inner link(#foo) can not correctly scroll, because page has fixed header, // so, I manually scroll. (function(){ var matched = location.hash.match(/errorLines=([\d,]+)/); if (matched) return; function adjust() { window.scrollBy(0, -55); var el = document.querySelector('.inner-link-active'); if (el) el.classList.remove('inner-link-active'); // ``[ ] . ' " @`` are not valid in DOM id. so must escape these. var id = location.hash.replace(/([\[\].'"@$])/g, '\\$1'); var el = document.querySelector(id); if (el) el.classList.add('inner-link-active'); } window.addEventListener('hashchange', adjust); if (location.hash) { setTimeout(adjust, 0); } })(); (function(){ var els = document.querySelectorAll('[href^="#"]'); var href = location.href.replace(/#.*$/, ''); // remove existed hash for (var i = 0; i < els.length; i++) { var el = els[i]; el.href = href + el.getAttribute('href'); // because el.href is absolute path } })(); ================================================ FILE: docs/script/manual.js ================================================ (function(){ var matched = location.pathname.match(/\/(manual\/.*\.html)$/); if (!matched) return; var currentName = matched[1]; var cssClass = '.navigation .manual-toc li[data-link="' + currentName + '"]'; var styleText = cssClass + '{ display: block; }\n'; styleText += cssClass + '.indent-h1 a { color: #039BE5 }'; var style = document.createElement('style'); style.textContent = styleText; document.querySelector('head').appendChild(style); })(); ================================================ FILE: docs/script/patch-for-local.js ================================================ (function(){ if (location.protocol === 'file:') { var elms = document.querySelectorAll('a[href="./"]'); for (var i = 0; i < elms.length; i++) { elms[i].href = './index.html'; } } })(); ================================================ FILE: docs/script/prettify/Apache-License-2.0.txt ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ================================================ FILE: docs/script/prettify/prettify.js ================================================ !function(){/* Copyright (C) 2006 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ window.PR_SHOULD_USE_CONTINUATION=!0; (function(){function T(a){function d(e){var b=e.charCodeAt(0);if(92!==b)return b;var a=e.charAt(1);return(b=w[a])?b:"0"<=a&&"7">=a?parseInt(e.substring(1),8):"u"===a||"x"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return"\\"===e||"-"===e||"]"===e||"^"===e?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g);e= [];var a="^"===b[0],c=["["];a&&c.push("^");for(var a=a?1:0,g=b.length;ak||122k||90k||122h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(f(h[1])));c.push("]");return c.join("")}function v(e){for(var a=e.source.match(/(?:\[(?:[^\x5C\x5D]|\\[\s\S])*\]|\\u[A-Fa-f0-9]{4}|\\x[A-Fa-f0-9]{2}|\\[0-9]+|\\[^ux0-9]|\(\?[:!=]|[\(\)\^]|[^\x5B\x5C\(\)\^]+)/g),c=a.length,d=[],g=0,h=0;g/,null])):d.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(f.push(["com",/^\/\/[^\r\n]*/,null]),f.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));if(b=a.regexLiterals){var v=(b=1|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+ ("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+v+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+v+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&f.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&f.push(["kwd",new RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),null]);d.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");f.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i, null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(b),null]);return G(d,f)}function L(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!A.test(a.className))if("br"===a.nodeName)v(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,q=d.match(n);q&&(c=d.substring(0,q.index),a.nodeValue=c,(d=d.substring(q.index+q[0].length))&& a.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),v(a),c||a.parentNode.removeChild(a))}}function v(a){function b(a,c){var d=c?a.cloneNode(!1):a,k=a.parentNode;if(k){var k=b(k,1),e=a.nextSibling;k.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,k.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var A=/(?:^|\s)nocode(?:\s|$)/,n=/\r\n?|\n/,l=a.ownerDocument,m=l.createElement("li");a.firstChild;)m.appendChild(a.firstChild); for(var c=[m],p=0;p=+v[1],d=/\n/g,A=a.a,n=A.length,f=0,l=a.c,m=l.length,b=0,c=a.g,p=c.length,w=0;c[p]=n;var r,e;for(e=r=0;e=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=["break,continue,do,else,for,if,return,while"], F=[[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],H=[F,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], O=[F,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],P=[F,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"], F=[F,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],Q=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"], S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,W=/\S/,X=y({keywords:[H,P,O,F,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,["default-code"]);t(G([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup htm html mxml xhtml xml xsl".split(" "));t(G([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null, "\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);t(G([],[["atv",/^[\s\S]+/]]),["uq.val"]);t(y({keywords:H, hashComments:!0,cStyleComments:!0,types:S}),"c cc cpp cxx cyc m".split(" "));t(y({keywords:"null,true,false"}),["json"]);t(y({keywords:P,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]);t(y({keywords:O,cStyleComments:!0}),["java"]);t(y({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);t(y({keywords:Q,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);t(y({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END", hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);t(y({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);t(y({keywords:F,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]);t(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0, regexLiterals:!0}),["coffee"]);t(G([],[["str",/^[\s\S]+/]]),["regex"]);var Y=E.PR={createSimpleLexer:G,registerLangHandler:t,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:E.prettyPrintOne=function(a,d,f){f=f||!1;d=d||null;var b=document.createElement("div");b.innerHTML="
"+a+"
"; b=b.firstChild;f&&L(b,f,!0);M({j:d,m:f,h:b,l:1,a:null,i:null,c:null,g:null});return b.innerHTML},prettyPrint:E.prettyPrint=function(a,d){function f(){for(var b=E.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;p' + pair[2] + ''); } } var innerHTML = ''; for (kind in html) { var list = html[kind]; if (!list.length) continue; innerHTML += '
  • ' + kind + '
  • \n' + list.join('\n'); } result.innerHTML = innerHTML; if (innerHTML) result.style.display = 'block'; selectedIndex = -1; }); // down, up and enter key are pressed, select search result. input.addEventListener('keydown', function(ev){ if (ev.keyCode === 40) { // arrow down var current = result.children[selectedIndex]; var selected = result.children[selectedIndex + 1]; if (selected && selected.classList.contains('search-separator')) { var selected = result.children[selectedIndex + 2]; selectedIndex++; } if (selected) { if (current) current.classList.remove('selected'); selectedIndex++; selected.classList.add('selected'); } } else if (ev.keyCode === 38) { // arrow up var current = result.children[selectedIndex]; var selected = result.children[selectedIndex - 1]; if (selected && selected.classList.contains('search-separator')) { var selected = result.children[selectedIndex - 2]; selectedIndex--; } if (selected) { if (current) current.classList.remove('selected'); selectedIndex--; selected.classList.add('selected'); } } else if (ev.keyCode === 13) { // enter var current = result.children[selectedIndex]; if (current) { var link = current.querySelector('a'); if (link) location.href = link.href; } } else { return; } ev.preventDefault(); }); // select search result when search result is mouse over. result.addEventListener('mousemove', function(ev){ var current = result.children[selectedIndex]; if (current) current.classList.remove('selected'); var li = ev.target; while (li) { if (li.nodeName === 'LI') break; li = li.parentElement; } if (li) { selectedIndex = Array.prototype.indexOf.call(result.children, li); li.classList.add('selected'); } }); // clear search result when body is clicked. document.body.addEventListener('click', function(ev){ selectedIndex = -1; result.style.display = 'none'; result.innerHTML = ''; }); })(); ================================================ FILE: docs/script/search_index.js ================================================ window.esdocSearchIndex = [ [ "typed.js/src/html-parser.js~htmlparser", "class/src/html-parser.js~HTMLParser.html", "HTMLParser typed.js/src/html-parser.js", "class" ], [ "typed.js/src/initializer.js~initializer", "class/src/initializer.js~Initializer.html", "Initializer typed.js/src/initializer.js", "class" ], [ "typed.js/src/typed.js~typed", "class/src/typed.js~Typed.html", "Typed typed.js/src/typed.js", "class" ], [ "typed.js/src/defaults.js~defaults", "variable/index.html#static-variable-defaults", "defaults typed.js/src/defaults.js", "variable" ], [ "typed.js/src/html-parser.js~htmlparser", "variable/index.html#static-variable-htmlParser", "htmlParser typed.js/src/html-parser.js", "variable" ], [ "typed.js/src/initializer.js~initializer", "variable/index.html#static-variable-initializer", "initializer typed.js/src/initializer.js", "variable" ], [ "src/.external-ecmascript.js~array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "src/.external-ecmascript.js~Array", "external" ], [ "src/.external-ecmascript.js~arraybuffer", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", "src/.external-ecmascript.js~ArrayBuffer", "external" ], [ "src/.external-ecmascript.js~boolean", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "src/.external-ecmascript.js~Boolean", "external" ], [ "src/.external-ecmascript.js~dataview", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", "src/.external-ecmascript.js~DataView", "external" ], [ "src/.external-ecmascript.js~date", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", "src/.external-ecmascript.js~Date", "external" ], [ "src/.external-ecmascript.js~error", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", "src/.external-ecmascript.js~Error", "external" ], [ "src/.external-ecmascript.js~evalerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", "src/.external-ecmascript.js~EvalError", "external" ], [ "src/.external-ecmascript.js~float32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", "src/.external-ecmascript.js~Float32Array", "external" ], [ "src/.external-ecmascript.js~float64array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", "src/.external-ecmascript.js~Float64Array", "external" ], [ "src/.external-ecmascript.js~function", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "src/.external-ecmascript.js~Function", "external" ], [ "src/.external-ecmascript.js~generator", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", "src/.external-ecmascript.js~Generator", "external" ], [ "src/.external-ecmascript.js~generatorfunction", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", "src/.external-ecmascript.js~GeneratorFunction", "external" ], [ "src/.external-ecmascript.js~infinity", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", "src/.external-ecmascript.js~Infinity", "external" ], [ "src/.external-ecmascript.js~int16array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", "src/.external-ecmascript.js~Int16Array", "external" ], [ "src/.external-ecmascript.js~int32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", "src/.external-ecmascript.js~Int32Array", "external" ], [ "src/.external-ecmascript.js~int8array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", "src/.external-ecmascript.js~Int8Array", "external" ], [ "src/.external-ecmascript.js~internalerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", "src/.external-ecmascript.js~InternalError", "external" ], [ "src/.external-ecmascript.js~json", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", "src/.external-ecmascript.js~JSON", "external" ], [ "src/.external-ecmascript.js~map", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", "src/.external-ecmascript.js~Map", "external" ], [ "src/.external-ecmascript.js~nan", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", "src/.external-ecmascript.js~NaN", "external" ], [ "src/.external-ecmascript.js~number", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "src/.external-ecmascript.js~Number", "external" ], [ "src/.external-ecmascript.js~object", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "src/.external-ecmascript.js~Object", "external" ], [ "src/.external-ecmascript.js~promise", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", "src/.external-ecmascript.js~Promise", "external" ], [ "src/.external-ecmascript.js~proxy", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", "src/.external-ecmascript.js~Proxy", "external" ], [ "src/.external-ecmascript.js~rangeerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", "src/.external-ecmascript.js~RangeError", "external" ], [ "src/.external-ecmascript.js~referenceerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", "src/.external-ecmascript.js~ReferenceError", "external" ], [ "src/.external-ecmascript.js~reflect", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", "src/.external-ecmascript.js~Reflect", "external" ], [ "src/.external-ecmascript.js~regexp", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", "src/.external-ecmascript.js~RegExp", "external" ], [ "src/.external-ecmascript.js~set", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", "src/.external-ecmascript.js~Set", "external" ], [ "src/.external-ecmascript.js~string", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "src/.external-ecmascript.js~String", "external" ], [ "src/.external-ecmascript.js~symbol", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", "src/.external-ecmascript.js~Symbol", "external" ], [ "src/.external-ecmascript.js~syntaxerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", "src/.external-ecmascript.js~SyntaxError", "external" ], [ "src/.external-ecmascript.js~typeerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", "src/.external-ecmascript.js~TypeError", "external" ], [ "src/.external-ecmascript.js~urierror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", "src/.external-ecmascript.js~URIError", "external" ], [ "src/.external-ecmascript.js~uint16array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", "src/.external-ecmascript.js~Uint16Array", "external" ], [ "src/.external-ecmascript.js~uint32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", "src/.external-ecmascript.js~Uint32Array", "external" ], [ "src/.external-ecmascript.js~uint8array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", "src/.external-ecmascript.js~Uint8Array", "external" ], [ "src/.external-ecmascript.js~uint8clampedarray", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", "src/.external-ecmascript.js~Uint8ClampedArray", "external" ], [ "src/.external-ecmascript.js~weakmap", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", "src/.external-ecmascript.js~WeakMap", "external" ], [ "src/.external-ecmascript.js~weakset", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", "src/.external-ecmascript.js~WeakSet", "external" ], [ "src/.external-ecmascript.js~boolean", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "src/.external-ecmascript.js~boolean", "external" ], [ "src/.external-ecmascript.js~function", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", "src/.external-ecmascript.js~function", "external" ], [ "src/.external-ecmascript.js~null", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", "src/.external-ecmascript.js~null", "external" ], [ "src/.external-ecmascript.js~number", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "src/.external-ecmascript.js~number", "external" ], [ "src/.external-ecmascript.js~object", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "src/.external-ecmascript.js~object", "external" ], [ "src/.external-ecmascript.js~string", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "src/.external-ecmascript.js~string", "external" ], [ "src/.external-ecmascript.js~undefined", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "src/.external-ecmascript.js~undefined", "external" ], [ "src/defaults.js", "file/src/defaults.js.html", "src/defaults.js", "file" ], [ "src/html-parser.js", "file/src/html-parser.js.html", "src/html-parser.js", "file" ], [ "src/html-parser.js~htmlparser#backspacehtmlchars", "class/src/html-parser.js~HTMLParser.html#instance-method-backSpaceHtmlChars", "src/html-parser.js~HTMLParser#backSpaceHtmlChars", "method" ], [ "src/html-parser.js~htmlparser#typehtmlchars", "class/src/html-parser.js~HTMLParser.html#instance-method-typeHtmlChars", "src/html-parser.js~HTMLParser#typeHtmlChars", "method" ], [ "src/initializer.js", "file/src/initializer.js.html", "src/initializer.js", "file" ], [ "src/initializer.js~initializer#appendcursoranimationcss", "class/src/initializer.js~Initializer.html#instance-method-appendCursorAnimationCss", "src/initializer.js~Initializer#appendCursorAnimationCss", "method" ], [ "src/initializer.js~initializer#appendfadeoutanimationcss", "class/src/initializer.js~Initializer.html#instance-method-appendFadeOutAnimationCss", "src/initializer.js~Initializer#appendFadeOutAnimationCss", "method" ], [ "src/initializer.js~initializer#getcurrentelcontent", "class/src/initializer.js~Initializer.html#instance-method-getCurrentElContent", "src/initializer.js~Initializer#getCurrentElContent", "method" ], [ "src/initializer.js~initializer#load", "class/src/initializer.js~Initializer.html#instance-method-load", "src/initializer.js~Initializer#load", "method" ], [ "src/typed.js", "file/src/typed.js.html", "src/typed.js", "file" ], [ "src/typed.js~typed#arraypos", "class/src/typed.js~Typed.html#instance-member-arrayPos", "src/typed.js~Typed#arrayPos", "member" ], [ "src/typed.js~typed#backspace", "class/src/typed.js~Typed.html#instance-method-backspace", "src/typed.js~Typed#backspace", "method" ], [ "src/typed.js~typed#begin", "class/src/typed.js~Typed.html#instance-method-begin", "src/typed.js~Typed#begin", "method" ], [ "src/typed.js~typed#bindfocusevents", "class/src/typed.js~Typed.html#instance-method-bindFocusEvents", "src/typed.js~Typed#bindFocusEvents", "method" ], [ "src/typed.js~typed#complete", "class/src/typed.js~Typed.html#instance-method-complete", "src/typed.js~Typed#complete", "method" ], [ "src/typed.js~typed#constructor", "class/src/typed.js~Typed.html#instance-constructor-constructor", "src/typed.js~Typed#constructor", "method" ], [ "src/typed.js~typed#curloop", "class/src/typed.js~Typed.html#instance-member-curLoop", "src/typed.js~Typed#curLoop", "member" ], [ "src/typed.js~typed#cursor", "class/src/typed.js~Typed.html#instance-member-cursor", "src/typed.js~Typed#cursor", "member" ], [ "src/typed.js~typed#cursorblinking", "class/src/typed.js~Typed.html#instance-member-cursorBlinking", "src/typed.js~Typed#cursorBlinking", "member" ], [ "src/typed.js~typed#destroy", "class/src/typed.js~Typed.html#instance-method-destroy", "src/typed.js~Typed#destroy", "method" ], [ "src/typed.js~typed#donetyping", "class/src/typed.js~Typed.html#instance-method-doneTyping", "src/typed.js~Typed#doneTyping", "method" ], [ "src/typed.js~typed#humanizer", "class/src/typed.js~Typed.html#instance-method-humanizer", "src/typed.js~Typed#humanizer", "method" ], [ "src/typed.js~typed#initfadeout", "class/src/typed.js~Typed.html#instance-method-initFadeOut", "src/typed.js~Typed#initFadeOut", "method" ], [ "src/typed.js~typed#insertcursor", "class/src/typed.js~Typed.html#instance-method-insertCursor", "src/typed.js~Typed#insertCursor", "method" ], [ "src/typed.js~typed#keeptyping", "class/src/typed.js~Typed.html#instance-method-keepTyping", "src/typed.js~Typed#keepTyping", "method" ], [ "src/typed.js~typed#replacetext", "class/src/typed.js~Typed.html#instance-method-replaceText", "src/typed.js~Typed#replaceText", "method" ], [ "src/typed.js~typed#reset", "class/src/typed.js~Typed.html#instance-method-reset", "src/typed.js~Typed#reset", "method" ], [ "src/typed.js~typed#sequence", "class/src/typed.js~Typed.html#instance-member-sequence", "src/typed.js~Typed#sequence", "member" ], [ "src/typed.js~typed#setpausestatus", "class/src/typed.js~Typed.html#instance-method-setPauseStatus", "src/typed.js~Typed#setPauseStatus", "method" ], [ "src/typed.js~typed#shufflestringsifneeded", "class/src/typed.js~Typed.html#instance-method-shuffleStringsIfNeeded", "src/typed.js~Typed#shuffleStringsIfNeeded", "method" ], [ "src/typed.js~typed#start", "class/src/typed.js~Typed.html#instance-method-start", "src/typed.js~Typed#start", "method" ], [ "src/typed.js~typed#stop", "class/src/typed.js~Typed.html#instance-method-stop", "src/typed.js~Typed#stop", "method" ], [ "src/typed.js~typed#stopnum", "class/src/typed.js~Typed.html#instance-member-stopNum", "src/typed.js~Typed#stopNum", "member" ], [ "src/typed.js~typed#strpos", "class/src/typed.js~Typed.html#instance-member-strPos", "src/typed.js~Typed#strPos", "member" ], [ "src/typed.js~typed#temporarypause", "class/src/typed.js~Typed.html#instance-member-temporaryPause", "src/typed.js~Typed#temporaryPause", "member" ], [ "src/typed.js~typed#timeout", "class/src/typed.js~Typed.html#instance-member-timeout", "src/typed.js~Typed#timeout", "member" ], [ "src/typed.js~typed#toggle", "class/src/typed.js~Typed.html#instance-method-toggle", "src/typed.js~Typed#toggle", "method" ], [ "src/typed.js~typed#toggleblinking", "class/src/typed.js~Typed.html#instance-method-toggleBlinking", "src/typed.js~Typed#toggleBlinking", "method" ], [ "src/typed.js~typed#typewrite", "class/src/typed.js~Typed.html#instance-method-typewrite", "src/typed.js~Typed#typewrite", "method" ], [ "src/typed.js~typed#typingcomplete", "class/src/typed.js~Typed.html#instance-member-typingComplete", "src/typed.js~Typed#typingComplete", "member" ] ] ================================================ FILE: docs/script/test-summary.js ================================================ (function(){ function toggle(ev) { var button = ev.target; var parent = ev.target.parentElement; while(parent) { if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break; parent = parent.parentElement; } if (!parent) return; var direction; if (button.classList.contains('opened')) { button.classList.remove('opened'); button.classList.add('closed'); direction = 'closed'; } else { button.classList.remove('closed'); button.classList.add('opened'); direction = 'opened'; } var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1; var nextElement = parent.nextElementSibling; while (nextElement) { var depth = parseInt(nextElement.dataset.testDepth, 10); if (depth >= targetDepth) { if (direction === 'opened') { if (depth === targetDepth) nextElement.style.display = ''; } else if (direction === 'closed') { nextElement.style.display = 'none'; var innerButton = nextElement.querySelector('.toggle'); if (innerButton && innerButton.classList.contains('opened')) { innerButton.classList.remove('opened'); innerButton.classList.add('closed'); } } } else { break; } nextElement = nextElement.nextElementSibling; } } var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle'); for (var i = 0; i < buttons.length; i++) { buttons[i].addEventListener('click', toggle); } var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]'); for (var i = 0; i < topDescribes.length; i++) { topDescribes[i].style.display = ''; } })(); ================================================ FILE: docs/source.html ================================================ Source | typed.js
    Home Reference Source

    Source 26/42

    File Identifier Document Size Lines Updated
    src/defaults.js defaults 100 %1/1 3416 byte 164 2022-12-07 03:41:55 (UTC)
    src/html-parser.js HTMLParser htmlParser 75 %3/4 1798 byte 67 2023-04-07 18:56:50 (UTC)
    src/initializer.js Initializer initializer 33 %2/6 5877 byte 218 2023-04-07 18:56:50 (UTC)
    src/typed.js Typed 64 %20/31 12719 byte 433 2023-04-07 18:56:50 (UTC)
    ================================================ FILE: docs/variable/index.html ================================================ Variable | typed.js
    Home Reference Source

    Variable

    Static Public Summary
    public

    defaults: object: {"strings": *, "stringsElement": *, "typeSpeed": *, "startDelay": *, "backSpeed": *, "smartBackspace": boolean, "shuffle": *, "backDelay": number, "fadeOut": *, "fadeOutClass": string, "fadeOutDelay": number, "loop": *, "loopCount": *, "showCursor": boolean, "cursorChar": string, "autoInsertCss": boolean, "attr": *, "bindInputFocusEvents": *, "contentType": string, "onBegin": *, "onComplete": *, "preStringTyped": *, "onStringTyped": *, "onLastStringBackspaced": *, "onTypingPaused": *, "onTypingResumed": *, "onReset": *, "onStop": *, "onStart": *, "onDestroy": *}

    Defaults & options

    public
    public

    Static Public

    public defaults: object: {"strings": *, "stringsElement": *, "typeSpeed": *, "startDelay": *, "backSpeed": *, "smartBackspace": boolean, "shuffle": *, "backDelay": number, "fadeOut": *, "fadeOutClass": string, "fadeOutDelay": number, "loop": *, "loopCount": *, "showCursor": boolean, "cursorChar": string, "autoInsertCss": boolean, "attr": *, "bindInputFocusEvents": *, "contentType": string, "onBegin": *, "onComplete": *, "preStringTyped": *, "onStringTyped": *, "onLastStringBackspaced": *, "onTypingPaused": *, "onTypingResumed": *, "onReset": *, "onStop": *, "onStart": *, "onDestroy": *} source

    import defaults from 'typed.js/src/defaults.js'

    Defaults & options

    Return:

    object

    Typed defaults & options

    public htmlParser: HTMLParser source

    import {htmlParser} from 'typed.js/src/html-parser.js'

    public initializer: Initializer source

    import {initializer} from 'typed.js/src/initializer.js'
    ================================================ FILE: index.d.ts ================================================ /** * Welcome to Typed.js! * @param {string} elementId HTML element ID _OR_ HTML element * @param {object} options options object * @returns {object} a new Typed object */ declare module 'typed.js' { export interface TypedOptions { /** * strings to be typed */ strings?: string[]; /** * ID or instance of HTML element of element containing string children */ stringsElement?: string | Element; /** * type speed in milliseconds */ typeSpeed?: number; /** * time before typing starts in milliseconds */ startDelay?: number; /** * backspacing speed in milliseconds */ backSpeed?: number; /** * only backspace what doesn't match the previous string */ smartBackspace?: boolean; /** * shuffle the strings */ shuffle?: boolean; /** * time before backspacing in milliseconds */ backDelay?: number; /** * Fade out instead of backspace */ fadeOut?: boolean; /** * css class for fade animation */ fadeOutClass?: string; /** * Fade out delay in milliseconds */ fadeOutDelay?: number; /** * loop strings */ loop?: boolean; /** * amount of loops */ loopCount?: number; /** * show cursor */ showCursor?: boolean; /** * character for cursor */ cursorChar?: string; /** * insert CSS for cursor and fadeOut into HTML */ autoInsertCss?: boolean; /** * attribute for typing Ex: input placeholder, value, or just HTML text */ attr?: string; /** * bind to focus and blur if el is text input */ bindInputFocusEvents?: boolean; /** * 'html' or 'null' for plaintext */ contentType?: string; /** * Before it begins typing the first string */ onBegin?(self: Typed): void; /** * All typing is complete */ onComplete?(self: Typed): void; /** * Before each string is typed */ preStringTyped?(arrayPos: number, self: Typed): void; /** * After each string is typed */ onStringTyped?(arrayPos: number, self: Typed): void; /** * During looping, after last string is typed */ onLastStringBackspaced?(self: Typed): void; /** * Typing has been stopped */ onTypingPaused?(arrayPos: number, self: Typed): void; /** * Typing has been started after being stopped */ onTypingResumed?(arrayPos: number, self: Typed): void; /** * After reset */ onReset?(self: Typed): void; /** * After stop */ onStop?(arrayPos: number, self: Typed): void; /** * After start */ onStart?(arrayPos: number, self: Typed): void; /** * After destroy */ onDestroy?(self: Typed): void; } export default class Typed { constructor(elementId: any, options: TypedOptions); /** * Toggle start() and stop() of the Typed instance * @public */ public toggle(): void; /** * Stop typing / backspacing and enable cursor blinking * @public */ public stop(): void; /** * Start typing / backspacing after being stopped * @public */ public start(): void; /** * Destroy this instance of Typed * @public */ public destroy(): void; /** * Reset Typed and optionally restarts * @param {boolean} restart * @public */ public reset(restart?: boolean): void; cursor: HTMLSpanElement; strPos: number; arrayPos: number; curLoop: number; /** * Begins the typing animation * @private */ private begin; typingComplete: boolean; timeout: any; /** * Called for each character typed * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private typewrite; temporaryPause: boolean; /** * Continue to the next string & begin typing * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private keepTyping; /** * We're done typing the current string * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private doneTyping; /** * Backspaces 1 character at a time * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private backspace; stopNum: number; /** * Full animation is complete * @private */ private complete; /** * Has the typing been stopped * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @param {boolean} isTyping * @private */ private setPauseStatus; /** * Toggle the blinking cursor * @param {boolean} isBlinking * @private */ private toggleBlinking; cursorBlinking: any; /** * Speed in MS to type * @param {number} speed * @private */ private humanizer; /** * Shuffle the sequence of the strings array * @private */ private shuffleStringsIfNeeded; sequence: any; /** * Adds a CSS class to fade out current string * @private */ private initFadeOut; /** * Replaces current text in the HTML element * depending on element type * @param {string} str * @private */ private replaceText; /** * If using input elements, bind focus in order to * start and stop the animation * @private */ private bindFocusEvents; /** * On init, insert the cursor element * @private */ private insertCursor; } } ================================================ FILE: index.html ================================================ Typed.js - Type your heart out

    Typed.js


    Basic Demo

    Typed.js^500 is a JavaScript library. It types out sentences. `And` `then` `deletes` `them`. Try it out!
    Typed
        
      var typed = new Typed("#typed", {
        stringsElement: '#typed-strings',
        typeSpeed: 0,
        backSpeed: 0,
        backDelay: 500,
        startDelay: 1000,
        loop: false,
        onBegin: function(self) { prettyLog('onBegin ' + self) },
        onComplete: function(self) { prettyLog('onCmplete ' + self) },
        preStringTyped: function(pos, self) { prettyLog('preStringTyped ' + pos + ' ' + self); },
        onStringTyped: function(pos, self) { prettyLog('onStringTyped ' + pos + ' ' + self) },
        onLastStringBackspaced: function(self) { prettyLog('onLastStringBackspaced ' + self) },
        onTypingPaused: function(pos, self) { prettyLog('onTypingPaused ' + pos + ' ' + self) },
        onTypingResumed: function(pos, self) { prettyLog('onTypingResumed ' + pos + ' ' + self) },
        onReset: function(self) { prettyLog('onReset ' + self) },
        onStop: function(pos, self) { prettyLog('onStop ' + pos + ' ' + self) },
        onStart: function(pos, self) { prettyLog('onStart ' + pos + ' ' + self) },
        onDestroy: function(self) { prettyLog('onDestroy ' + self) }
      });
        
      

    Fade Out

        
      var typed2 = new Typed('#typed2', {
        strings: ['Some <i>strings</i> with', 'Some <strong>HTML</strong>', 'Chars &times; &copy;'],
        typeSpeed: 0,
        backSpeed: 0,
        fadeOut: true,
        loop: true
      });
        
      

    Smart Backspace

        
      var typed3 = new Typed('#typed3', {
        strings: ['My strings are: <i>strings</i> with', 'My strings are: <strong>HTML</strong>', 'My strings are: Chars &times; &copy;'],
        typeSpeed: 0,
        backSpeed: 0,
        smartBackspace: true, // this is a default
        loop: true
      });
        
      

    In an input

        
      var typed4 = new Typed('#typed4', {
        strings: ['Some strings without', 'Some HTML', 'Chars'],
        typeSpeed: 0,
        backSpeed: 0,
        attr: 'placeholder',
        bindInputFocusEvents: true,
        loop: true
      });
        
      

    Shuffled

        
      var typed5 = new Typed('#typed5', {
        strings: ['1 Some <i>strings</i> with', '2 Some <strong>HTML</strong>', '3 Chars &times; &copy;'],
        typeSpeed: 0,
        backSpeed: 0,
        cursorChar: '_',
        shuffle: true,
        smartBackspace: false,
        loop: true
      });
        
      

    Bulk Typing

        
      var typed6 = new Typed('#typed6', {
        strings: ['npm install^1000\n `installing components...` ^1000\n `Fetching from source...`'],
        typeSpeed: 40,
        backSpeed: 0,
        loop: true
      });
        
      

    Adding Strings Dynamically

        
      var typed6 = new Typed('#typed7', {
        strings: ['First string...'],
        typeSpeed: 40,
        backSpeed: 0,
        loop: true
      });
        
      
    ================================================ FILE: package.json ================================================ { "name": "typed.js", "version": "3.0.0", "homepage": "https://github.com/mattboldt/typed.js", "repository": "https://github.com/mattboldt/typed.js", "license": "GPL-3.0", "author": "Matt Boldt", "description": "A JavaScript Typing Animation Library", "type": "module", "source": "src/typed.js", "types": "./index.d.ts", "files": [ "dist", "index.d.ts" ], "exports": { "require": "./dist/typed.cjs", "import": "./dist/typed.module.js", "types": "./index.d.ts" }, "main": "./dist/typed.cjs", "module": "./dist/typed.module.js", "unpkg": "./dist/typed.umd.js", "keywords": [ "typed", "animation" ], "devDependencies": { "microbundle": "^0.15.1" }, "scripts": { "build": "microbundle --name=Typed", "dev": "microbundle --name=Typed watch", "diff": "git diff -- ':^docs'", "docs": "documentation build src/typed.js -o docs/ -f html" } } ================================================ FILE: src/defaults.js ================================================ /** * Defaults & options * @returns {object} Typed defaults & options * @public */ const defaults = { /** * @property {array} strings strings to be typed * @property {string} stringsElement ID of element containing string children */ strings: [ 'These are the default values...', 'You know what you should do?', 'Use your own!', 'Have a great day!', ], stringsElement: null, /** * @property {number} typeSpeed type speed in milliseconds */ typeSpeed: 0, /** * @property {number} startDelay time before typing starts in milliseconds */ startDelay: 0, /** * @property {number} backSpeed backspacing speed in milliseconds */ backSpeed: 0, /** * @property {boolean} smartBackspace only backspace what doesn't match the previous string */ smartBackspace: true, /** * @property {boolean} shuffle shuffle the strings */ shuffle: false, /** * @property {number} backDelay time before backspacing in milliseconds */ backDelay: 700, /** * @property {boolean} shouldBackspace Backspace or just keep typing the next string */ shouldBackspace: true, /** * @property {boolean} fadeOut Fade out instead of backspace * @property {string} fadeOutClass css class for fade animation * @property {boolean} fadeOutDelay Fade out delay in milliseconds */ fadeOut: false, fadeOutClass: 'typed-fade-out', fadeOutDelay: 500, /** * @property {boolean} loop loop strings * @property {number} loopCount amount of loops */ loop: false, loopCount: Infinity, /** * @property {boolean} showCursor show cursor * @property {string} cursorChar character for cursor * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML */ showCursor: true, cursorChar: '|', autoInsertCss: true, /** * @property {string} attr attribute for typing * Ex: input placeholder, value, or just HTML text */ attr: null, /** * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input */ bindInputFocusEvents: false, /** * @property {string} contentType 'html' or 'null' for plaintext */ contentType: 'html', /** * Before it begins typing * @param {Typed} self */ onBegin: (self) => {}, /** * All typing is complete * @param {Typed} self */ onComplete: (self) => {}, /** * Before each string is typed * @param {number} arrayPos * @param {Typed} self */ preStringTyped: (arrayPos, self) => {}, /** * After each string is typed * @param {number} arrayPos * @param {Typed} self */ onStringTyped: (arrayPos, self) => {}, /** * During looping, after last string is typed * @param {Typed} self */ onLastStringBackspaced: (self) => {}, /** * Typing has been stopped * @param {number} arrayPos * @param {Typed} self */ onTypingPaused: (arrayPos, self) => {}, /** * Typing has been started after being stopped * @param {number} arrayPos * @param {Typed} self */ onTypingResumed: (arrayPos, self) => {}, /** * After reset * @param {Typed} self */ onReset: (self) => {}, /** * After stop * @param {number} arrayPos * @param {Typed} self */ onStop: (arrayPos, self) => {}, /** * After start * @param {number} arrayPos * @param {Typed} self */ onStart: (arrayPos, self) => {}, /** * After destroy * @param {Typed} self */ onDestroy: (self) => {}, }; export default defaults; ================================================ FILE: src/html-parser.js ================================================ /** * TODO: These methods can probably be combined somehow * Parse HTML tags & HTML Characters */ export default class HTMLParser { /** * Type HTML tags & HTML Characters * @param {string} curString Current string * @param {number} curStrPos Position in current string * @param {Typed} self instance of Typed * @returns {number} a new string position * @private */ typeHtmlChars(curString, curStrPos, self) { if (self.contentType !== 'html') return curStrPos; const curChar = curString.substring(curStrPos).charAt(0); if (curChar === '<' || curChar === '&') { let endTag = ''; if (curChar === '<') { endTag = '>'; } else { endTag = ';'; } while (curString.substring(curStrPos + 1).charAt(0) !== endTag) { curStrPos++; if (curStrPos + 1 > curString.length) { break; } } curStrPos++; } return curStrPos; } /** * Backspace HTML tags and HTML Characters * @param {string} curString Current string * @param {number} curStrPos Position in current string * @param {Typed} self instance of Typed * @returns {number} a new string position * @private */ backSpaceHtmlChars(curString, curStrPos, self) { if (self.contentType !== 'html') return curStrPos; const curChar = curString.substring(curStrPos).charAt(0); if (curChar === '>' || curChar === ';') { let endTag = ''; if (curChar === '>') { endTag = '<'; } else { endTag = '&'; } while (curString.substring(curStrPos - 1).charAt(0) !== endTag) { curStrPos--; if (curStrPos < 0) { break; } } curStrPos--; } return curStrPos; } } export let htmlParser = new HTMLParser(); ================================================ FILE: src/initializer.js ================================================ import defaults from './defaults.js'; /** * Initialize the Typed object */ export default class Initializer { /** * Load up defaults & options on the Typed instance * @param {Typed} self instance of Typed * @param {object} options options object * @param {string} elementId HTML element ID _OR_ instance of HTML element * @private */ load(self, options, elementId) { // chosen element to manipulate text if (typeof elementId === 'string') { self.el = document.querySelector(elementId); } else { self.el = elementId; } self.options = { ...defaults, ...options }; // attribute to type into self.isInput = self.el.tagName.toLowerCase() === 'input'; self.attr = self.options.attr; self.bindInputFocusEvents = self.options.bindInputFocusEvents; // show cursor self.showCursor = self.isInput ? false : self.options.showCursor; // custom cursor self.cursorChar = self.options.cursorChar; // Is the cursor blinking self.cursorBlinking = true; // text content of element self.elContent = self.attr ? self.el.getAttribute(self.attr) : self.el.textContent; // html or plain text self.contentType = self.options.contentType; // typing speed self.typeSpeed = self.options.typeSpeed; // add a delay before typing starts self.startDelay = self.options.startDelay; // backspacing speed self.backSpeed = self.options.backSpeed; // only backspace what doesn't match the previous string self.smartBackspace = self.options.smartBackspace; // amount of time to wait before backspacing self.backDelay = self.options.backDelay; self.shouldBackspace = self.options.shouldBackspace; // Fade out instead of backspace self.fadeOut = self.options.fadeOut; self.fadeOutClass = self.options.fadeOutClass; self.fadeOutDelay = self.options.fadeOutDelay; // variable to check whether typing is currently paused self.isPaused = false; // input strings of text self.strings = self.options.strings.map((s) => s.trim()); // div containing strings if (typeof self.options.stringsElement === 'string') { self.stringsElement = document.querySelector(self.options.stringsElement); } else { self.stringsElement = self.options.stringsElement; } if (self.stringsElement) { self.strings = []; self.stringsElement.style.cssText = 'clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;'; const strings = Array.prototype.slice.apply(self.stringsElement.children); const stringsLength = strings.length; if (stringsLength) { for (let i = 0; i < stringsLength; i += 1) { const stringEl = strings[i]; self.strings.push(stringEl.innerHTML.trim()); } } } // character number position of current string self.strPos = 0; // If there is some text in the element self.currentElContent = this.getCurrentElContent(self); if (self.currentElContent && self.currentElContent.length > 0) { self.strPos = self.currentElContent.length - 1; self.strings.unshift(self.currentElContent); } // the order of strings self.sequence = []; // Set the order in which the strings are typed for (let i in self.strings) { self.sequence[i] = i; } // current array position self.arrayPos = 0; // index of string to stop backspacing on self.stopNum = 0; // Looping logic self.loop = self.options.loop; self.loopCount = self.options.loopCount; self.curLoop = 0; // shuffle the strings self.shuffle = self.options.shuffle; self.pause = { status: false, typewrite: true, curString: '', curStrPos: 0, }; // When the typing is complete (when not looped) self.typingComplete = false; self.autoInsertCss = self.options.autoInsertCss; if (self.autoInsertCss) { this.appendCursorAnimationCss(self); this.appendFadeOutAnimationCss(self); } } getCurrentElContent(self) { let elContent = ''; if (self.attr) { elContent = self.el.getAttribute(self.attr); } else if (self.isInput) { elContent = self.el.value; } else if (self.contentType === 'html') { elContent = self.el.innerHTML; } else { elContent = self.el.textContent; } return elContent; } appendCursorAnimationCss(self) { const cssDataName = 'data-typed-js-cursor-css'; if (!self.showCursor || document.querySelector(`[${cssDataName}]`)) { return; } let css = document.createElement('style'); css.setAttribute(cssDataName, 'true'); css.innerHTML = ` .typed-cursor{ opacity: 1; } .typed-cursor.typed-cursor--blink{ animation: typedjsBlink 0.7s infinite; -webkit-animation: typedjsBlink 0.7s infinite; animation: typedjsBlink 0.7s infinite; } @keyframes typedjsBlink{ 50% { opacity: 0.0; } } @-webkit-keyframes typedjsBlink{ 0% { opacity: 1; } 50% { opacity: 0.0; } 100% { opacity: 1; } } `; document.body.appendChild(css); } appendFadeOutAnimationCss(self) { const cssDataName = 'data-typed-fadeout-js-css'; if (!self.fadeOut || document.querySelector(`[${cssDataName}]`)) { return; } let css = document.createElement('style'); css.setAttribute(cssDataName, 'true'); css.innerHTML = ` .typed-fade-out{ opacity: 0; transition: opacity .25s; } .typed-cursor.typed-cursor--blink.typed-fade-out{ -webkit-animation: 0; animation: 0; } `; document.body.appendChild(css); } } export let initializer = new Initializer(); ================================================ FILE: src/typed.js ================================================ import { initializer } from './initializer.js'; import { htmlParser } from './html-parser.js'; /** * Welcome to Typed.js! * @param {string} elementId HTML element ID _OR_ HTML element * @param {object} options options object * @returns {object} a new Typed object */ export default class Typed { constructor(elementId, options) { // Initialize it up initializer.load(this, options, elementId); // All systems go! this.begin(); } /** * Toggle start() and stop() of the Typed instance * @public */ toggle() { this.pause.status ? this.start() : this.stop(); } /** * Stop typing / backspacing and enable cursor blinking * @public */ stop() { if (this.typingComplete) return; if (this.pause.status) return; this.toggleBlinking(true); this.pause.status = true; this.options.onStop(this.arrayPos, this); } /** * Start typing / backspacing after being stopped * @public */ start() { if (this.typingComplete) return; if (!this.pause.status) return; this.pause.status = false; if (this.pause.typewrite) { this.typewrite(this.pause.curString, this.pause.curStrPos); } else { this.backspace(this.pause.curString, this.pause.curStrPos); } this.options.onStart(this.arrayPos, this); } /** * Destroy this instance of Typed * @public */ destroy() { this.reset(false); this.options.onDestroy(this); } /** * Reset Typed and optionally restarts * @param {boolean} restart * @public */ reset(restart = true) { clearInterval(this.timeout); this.replaceText(''); if (this.cursor && this.cursor.parentNode) { this.cursor.parentNode.removeChild(this.cursor); this.cursor = null; } this.strPos = 0; this.arrayPos = 0; this.curLoop = 0; if (restart) { this.insertCursor(); this.options.onReset(this); this.begin(); } } append(string) { const prevString = this.strings[this.strings.length - 1]; this.strings.push(string); this.sequence = this.strings.map((_, i) => i); // If typing isn't done yet, it will continue with any appended strings if (!this.typingComplete) return; // If typing has completed already, we need to start it up again from where it left off if (this.shouldBackspace) { this.timeout = setTimeout(() => { this.backspace(prevString, prevString.length - 1); }, this.backDelay); } else { this.timeout = setTimeout(() => { this.arrayPos++; this.typewrite(this.strings[this.sequence[this.arrayPos]], 0); }, this.backDelay); } } /** * Begins the typing animation * @private */ begin() { this.options.onBegin(this); this.typingComplete = false; this.shuffleStringsIfNeeded(); this.insertCursor(); if (this.bindInputFocusEvents) this.bindFocusEvents(); this.timeout = setTimeout(() => { // If the strPos is 0, we're starting from the beginning of a string // else, we're starting with a previous string that needs to be backspaced first if (this.strPos === 0) { this.typewrite(this.strings[this.sequence[this.arrayPos]], this.strPos); } else { this.backspace(this.strings[this.sequence[this.arrayPos]], this.strPos); } }, this.startDelay); } /** * Called for each character typed * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ typewrite(curString, curStrPos) { if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) { this.el.classList.remove(this.fadeOutClass); if (this.cursor) this.cursor.classList.remove(this.fadeOutClass); } const humanize = this.humanizer(this.typeSpeed); let numChars = 1; if (this.pause.status === true) { this.setPauseStatus(curString, curStrPos, true); return; } // contain typing function in a timeout humanize'd delay this.timeout = setTimeout(() => { // skip over any HTML chars curStrPos = htmlParser.typeHtmlChars(curString, curStrPos, this); let pauseTime = 0; let substr = curString.substring(curStrPos); // check for an escape character before a pause value // format: \^\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^ // single ^ are removed from string if (substr.charAt(0) === '^') { if (/^\^\d+/.test(substr)) { let skip = 1; // skip at least 1 substr = /\d+/.exec(substr)[0]; skip += substr.length; pauseTime = parseInt(substr); this.temporaryPause = true; this.options.onTypingPaused(this.arrayPos, this); // strip out the escape character and pause value so they're not printed curString = curString.substring(0, curStrPos) + curString.substring(curStrPos + skip); this.toggleBlinking(true); } } // check for skip characters formatted as // "this is a `string to print NOW` ..." if (substr.charAt(0) === '`') { while (curString.substring(curStrPos + numChars).charAt(0) !== '`') { numChars++; if (curStrPos + numChars > curString.length) break; } // strip out the escape characters and append all the string in between const stringBeforeSkip = curString.substring(0, curStrPos); const stringSkipped = curString.substring( stringBeforeSkip.length + 1, curStrPos + numChars ); const stringAfterSkip = curString.substring(curStrPos + numChars + 1); curString = stringBeforeSkip + stringSkipped + stringAfterSkip; numChars--; } // timeout for any pause after a character this.timeout = setTimeout(() => { // Accounts for blinking while paused this.toggleBlinking(false); // We're done with this sentence! if (curStrPos >= curString.length) { this.doneTyping(curString, curStrPos); } else { this.keepTyping(curString, curStrPos, numChars); } // end of character pause if (this.temporaryPause) { this.temporaryPause = false; this.options.onTypingResumed(this.arrayPos, this); } }, pauseTime); // humanized value for typing }, humanize); } /** * Continue to the next string & begin typing * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ keepTyping(curString, curStrPos, numChars) { // call before functions if applicable if (curStrPos === 0) { this.toggleBlinking(false); this.options.preStringTyped(this.arrayPos, this); } if (this.shouldBackspace) { // start typing each new char into existing string // curString: arg, this.el.html: original text inside element curStrPos += numChars; const nextString = curString.substring(0, curStrPos); this.replaceText(nextString); } else { const nextString = curString.substring(curStrPos, curStrPos + numChars); curStrPos += numChars; this.replaceText(nextString); } // loop the function this.typewrite(curString, curStrPos); } /** * We're done typing the current string * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ doneTyping(curString, curStrPos) { // fires callback function this.options.onStringTyped(this.arrayPos, this); this.toggleBlinking(true); // is this the final string if (this.isFinalString()) { // callback that occurs on the last typed string this.complete(); // quit if we wont loop back if (this.loop === false || this.curLoop === this.loopCount) { return; } } if (this.shouldBackspace) { this.timeout = setTimeout(() => { this.backspace(curString, curStrPos); }, this.backDelay); } else { this.timeout = setTimeout(() => { this.arrayPos++; this.typewrite(this.strings[this.sequence[this.arrayPos]], 0); }, this.backDelay); } } /** * Backspaces 1 character at a time * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ backspace(curString, curStrPos) { if (this.pause.status === true) { this.setPauseStatus(curString, curStrPos, false); return; } if (this.fadeOut) return this.initFadeOut(); this.toggleBlinking(false); const humanize = this.humanizer(this.backSpeed); this.timeout = setTimeout(() => { curStrPos = htmlParser.backSpaceHtmlChars(curString, curStrPos, this); // replace text with base text + typed characters const curStringAtPosition = curString.substring(0, curStrPos); this.replaceText(curStringAtPosition); // if smartBack is enabled if (this.smartBackspace) { // the remaining part of the current string is equal of the same part of the new string let nextString = this.strings[this.sequence[this.arrayPos + 1]]; if ( nextString && curStringAtPosition === nextString.substring(0, curStrPos) ) { this.stopNum = curStrPos; } else { this.stopNum = 0; } } // if the number (id of character in current string) is // less than the stop number, keep going if (curStrPos > this.stopNum) { // subtract characters one by one curStrPos--; // loop the function this.backspace(curString, curStrPos); } else if (curStrPos <= this.stopNum) { // if the stop number has been reached, we're either done backspacing, // or we need to continue to the next string if (this.isFinalString()) { this.lastStringBackspaced(); } else { this.arrayPos++; this.typewrite(this.strings[this.sequence[this.arrayPos]], curStrPos); } } // humanized value for typing }, humanize); } /** * Are we on the last string in the array? * @private */ isFinalString() { return this.arrayPos === this.strings.length - 1; } /** * Do stuff after the last string is backspaced * @private */ lastStringBackspaced() { this.arrayPos = 0; this.options.onLastStringBackspaced(); if (this.loop) { this.shuffleStringsIfNeeded(); this.begin(); } } /** * Full animation is complete * @private */ complete() { this.options.onComplete(this); if (this.loop) { this.curLoop++; } else { this.typingComplete = true; } } /** * Has the typing been stopped * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @param {boolean} isTyping * @private */ setPauseStatus(curString, curStrPos, isTyping) { this.pause.typewrite = isTyping; this.pause.curString = curString; this.pause.curStrPos = curStrPos; } /** * Toggle the blinking cursor * @param {boolean} isBlinking * @private */ toggleBlinking(isBlinking) { if (!this.cursor) return; // if in paused state, don't toggle blinking a 2nd time if (this.pause.status) return; if (this.cursorBlinking === isBlinking) return; this.cursorBlinking = isBlinking; if (isBlinking) { this.cursor.classList.add('typed-cursor--blink'); } else { this.cursor.classList.remove('typed-cursor--blink'); } } /** * Speed in MS to type * @param {number} speed * @private */ humanizer(speed) { return Math.round((Math.random() * speed) / 2) + speed; } /** * Shuffle the sequence of the strings array * @private */ shuffleStringsIfNeeded() { if (!this.shuffle) return; this.sequence = this.sequence.sort(() => Math.random() - 0.5); } /** * Adds a CSS class to fade out current string * @private */ initFadeOut() { this.el.className += ` ${this.fadeOutClass}`; if (this.cursor) this.cursor.className += ` ${this.fadeOutClass}`; return setTimeout(() => { this.arrayPos++; this.replaceText(''); // Resets current string if end of loop reached if (this.strings.length > this.arrayPos) { this.typewrite(this.strings[this.sequence[this.arrayPos]], 0); } else { this.typewrite(this.strings[0], 0); this.arrayPos = 0; } }, this.fadeOutDelay); } /** * Replaces current text in the HTML element * depending on element type * @param {string} str * @private */ replaceText(str) { // let currentElContent = this.getCurrentElContent(this); if (this.attr) { this.el.setAttribute(this.attr, str); } else { if (this.isInput) { this.el.value = str; } else if (this.contentType === 'html') { if (this.shouldBackspace) { this.el.innerHTML = str; } else { this.el.innerHTML += str; } } else { this.el.textContent = str; } } } /** * If using input elements, bind focus in order to * start and stop the animation * @private */ bindFocusEvents() { if (!this.isInput) return; this.el.addEventListener('focus', (e) => { this.stop(); }); this.el.addEventListener('blur', (e) => { if (this.el.value && this.el.value.length !== 0) { return; } this.start(); }); } /** * On init, insert the cursor element * @private */ insertCursor() { if (!this.showCursor) return; if (this.cursor) return; this.cursor = document.createElement('span'); this.cursor.className = 'typed-cursor'; this.cursor.setAttribute('aria-hidden', true); this.cursor.innerHTML = this.cursorChar; this.el.parentNode && this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling); } } ================================================ FILE: typed.d.ts ================================================ /** * Welcome to Typed.js! * @param {string} elementId HTML element ID _OR_ HTML element * @param {object} options options object * @returns {object} a new Typed object */ export default class Typed { constructor(elementId: any, options: any); /** * Toggle start() and stop() of the Typed instance * @public */ public toggle(): void; /** * Stop typing / backspacing and enable cursor blinking * @public */ public stop(): void; /** * Start typing / backspacing after being stopped * @public */ public start(): void; /** * Destroy this instance of Typed * @public */ public destroy(): void; /** * Reset Typed and optionally restarts * @param {boolean} restart * @public */ public reset(restart?: boolean): void; cursor: HTMLSpanElement; strPos: number; arrayPos: number; curLoop: number; append(string: any): void; sequence: any; timeout: any; /** * Begins the typing animation * @private */ private begin; typingComplete: boolean; /** * Called for each character typed * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private typewrite; temporaryPause: boolean; /** * Continue to the next string & begin typing * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private keepTyping; /** * We're done typing the current string * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private doneTyping; /** * Backspaces 1 character at a time * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @private */ private backspace; stopNum: number; /** * Are we on the last string in the array? * @private */ private isFinalString; /** * Do stuff after the last string is backspaced * @private */ private lastStringBackspaced; /** * Full animation is complete * @private */ private complete; /** * Has the typing been stopped * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @param {boolean} isTyping * @private */ private setPauseStatus; /** * Toggle the blinking cursor * @param {boolean} isBlinking * @private */ private toggleBlinking; cursorBlinking: any; /** * Speed in MS to type * @param {number} speed * @private */ private humanizer; /** * Shuffle the sequence of the strings array * @private */ private shuffleStringsIfNeeded; /** * Adds a CSS class to fade out current string * @private */ private initFadeOut; /** * Replaces current text in the HTML element * depending on element type * @param {string} str * @private */ private replaceText; /** * If using input elements, bind focus in order to * start and stop the animation * @private */ private bindFocusEvents; /** * On init, insert the cursor element * @private */ private insertCursor; }