From cc2fa0d7775716b95f21235e8535fb6014b3e8df Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 08:31:34 +0100 Subject: [PATCH 01/99] docs: move info to CONTRIBUTING, expand --- CONTRIBUTING.md | 221 ++++++++++++++++++++++++++++++++++++++++++------ README.md | 88 +------------------ 2 files changed, 198 insertions(+), 111 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ea19841..51c4e49 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,41 +1,197 @@ -# **footnotes** Contributing Guide +# footnotes Contributing Guidelines -**footnotes** welcomes contributions! +This project welcomes contributions! + +This document describes everything you need to know about working with this +project. + +## Table of Contents + +* [Code of Conduct](#code-of-conduct) +* [Requesting Features and Reporting Bugs](#requesting-feature-and-reporting-bugs) +* [Development](#development) +* [Releases](#releases) +* [Translating](#translating) ## Code of Conduct Please read and ensure that you adhere to the project's [Code of Conduct][coc]. -## Requesting Features/Reporting Bugs +## Requesting Features and Reporting Bugs -To request a new feature or to report a bug, create an [Issue][new-issue] and -choose the correct template. +To request a new feature or to report a bug, create an [Issue][new-issue]: -## Contributing Code +* example templates are provided; +* if you are reporting a bug that has security implications, please see + the project [security guidelines][security]. -- **footnotes** uses [GitHub Flow][github-flow]; -- branch off of `main` to start developing (`git checkout -b `); -- ensure that your new branch has a descriptive name; -- create a remote copy of your new branch (`git push`); -- create a draft [pull request][pull-request] to merge your branch with `main` — - tag any related Issues, and if they are assigned to a Project board, this will - automatically move them into the ‘In Progress’ bucket; and -- when you think you're finished, un-draft your pull request — if the PR is - assigned to a Project board, this will automatically move it and any related - Issues into the ‘Review in progress’ bucket. +## Development -## Commits +### Version Control -- **footnotes** uses the [Conventional Commits][conventional-commits] for - commit message formatting; -- we recommend using [Commitizen][commitizen] to automate this: - - install it globally using `npm install -g commitizen`; - - use `git cz` instead of `git commit`. -- keep individual commits as small as possible. +Version control for this project uses [Git][git] for development and +[Apache Subversion][svn] for releases: -## Versioning +* The [development repository][dev-repo] is hosted on [GitHub][github]; and +* the [release repository][rel-repo] is hosted on the [WordPress Plugin Directory][wp-plugin-dir], +a Subversion repository hosted by the WordPress Plugins team: + * information on using the WordPress Plugin Directory can be found in the + [_WordPress Plugin Handbook_][wp-plugin-handbook]. -**footnotes** uses [WordPress Versioning][wpver]. +#### Branching + +This project uses the [GitHub Flow][github-flow] branching methodology: + +* branch off of `main` to start developing (`git checkout -b `); +* ensure that your new branch has a descriptive name (e.g., ‘fix-foo-bug’); +* create a remote copy of your new branch (`git push`); +* create a draft [pull request][new-pull-request] to merge your branch with `main`: + * tag any related or to-close Issues, Projects and Milestones: + * if any Issues are assigned to a Project board, this will automatically + move them into the ‘In Progress’ bucket. + * assign the PR to yourself unless you have a good reason not to. +* when you think you're finished, un-draft your pull request: + * if the request is assigned to a Project board, this will automatically + move it and any related Issues into the ‘Review in progress’ bucket. + +#### Committing + +This project uses the [Conventional Commits][conventional-commits] format for +commit messages: + +* commit message formatting can be automatically enforced by using + [Commitizen][commitizen]: + * install it globally using `npm install -g commitizen`; then + * use `git cz` instead of `git commit`. +* please keep individual commits as small and atomic as possible. + +### Configuration + +The only configurable environment variable is the `PRODUCTION_ENV` flag in +`src/footnotes.php`. This should always be set to `false` on this repo, and is +automatically flipped during the release process. + +### Code Formatting + +This repo. uses [Husky][husky] to run pre-commit code formatting and linting +on all staged files. This ensures that only style-conformant code can be +committed (although this can be bypassed by passing the `--no-verify` argument +to your `git commit` command). + +The individual commands used by Husky can also be called manually: + +* Run `composer run format` to run all format commands. +* Run `composer run format:fix` to attempt to automatically fix all formatter warnings + and errors. + +* Run `composer run lint` to run all linting commands. +* Run `composer run lint:fix` to attempt to automatically fix all linter warnings + and errors. + +_NB: `npm` can also be used in place of `composer`._ + +#### PHP + +PHP code must follow the [WordPress PHP Coding Standards][wpcs-php] and be +compatible with PHP 7.0+. + +1. Run `composer run lint:php` to lint all PHP files with + [PHP CodeSniffer][phpcs]; and +1. run `composer run lint:php:fix` to attempt to automatically fix warnings and + errors using the PHP Code Beautifier and Formatter tool. + +#### JavaScript + +JavaScript code must follow the [WordPress JavaScript Coding Standards][wpcs-js]. +JavaScript code targets the [ESNext][esnext] standard. + +1. Run `composer run format:js` to format all JS files with [Prettier] + [prettier]; and +1. run `composer run format:js:fix` to attempt to automatically fix warnings and + errors. + +1. Run `composer run lint:js` to lint all JS files with [ESLint][eslint]; and +1. run `composer run lint:js:fix` to attempt to automatically fix warnings and errors. + +Prettier and ESLint configuration settings are found in `package.json`. Prettier +ignore rules are found in `.prettierignore`. + +#### CSS + +CSS stylesheets must follow the [WordPress CSS Coding Standards][wpcs-css]. + +1. Run `composer run lint:css` to lint all CSS files with [stylelint] + [stylelint]; and +1. run `composer run lint:css:fix` to attempt to automatically fix warnings and + errors. + +stylelint configuration settings are found in `package.json`. + +#### Markdown + +* Run `composer run lint:md` to lint all Markdown files with [markdownLint] + [markdownlint]; and +* run `composer run lint:md:fix` to attempt to automatically fix warnings and errors. + +#### HTML + +Run `composer run lint:html` to lint all HTML files with [HTMLHint][htmlhint]. + +#### YAML + +Run `composer run validate:yaml` to validate all YAML files with [yaml-validator][yaml-validator]. + +#### JSON + +TODO + +### Testing + +TODO + +## Documentation + +This repo. uses [Husky][husky] to run pre-push documentation generation. This is +to guarantee that all HTML documentation on the remote repo. should be up-to-date, +but this step can be bypassed if necessary by passing the `--no-verify` flag to +the `git push` command. + +### Tooling + +HTML documentation of the codebase is generated using [phpDocumentor][phpdocumentor]. + +phpDocumentor configuration settings are found in `phpdoc.dist.xml`. + +### Documenting + +The codebase is documented using PHPDoc docblocks. + +### Documentation Commands + +| Command | Result | +|----------------|--------------------------------| +| `composer run docs` | Regenerate HTML documentation. | + +## Releases + +Only Project Collaborators can issue new releases. + +### Versioning + +This project uses [WordPress Versioning][wpver] for version numbering (as of 2.7). + +### Building + +Run `composer run build` to build the Plugin. + +### Releasing + +Run `composer run release` to run use the release handler: + +* this is still a WIP! +* TODO: move to a GitHub Action so that the only way of handling a release is to + create one on GitHub: + * TODO: create separate pre-release and non-pre-release Actions ## Translating @@ -43,8 +199,21 @@ Translations are welcome! [coc]: https://github.com/markcheret/footnotes/blob/main/CODE_OF_CONDUCT.md [new-issue]: https://github.com/markcheret/footnotes/issues/new/choose +[security]: https://github.com/markcheret/footnotes/blob/main/SECURITY.md +[git]: https://git-scm.com/ +[svn]: https://subversion.apache.org/ +[dev-repo]: https://github.com/markcheret/footnotes +[github]: https://github.com +[rel-repo]: https://plugins.svn.wordpress.org/footnotes/ +[wp-plugin-dir]: https://plugins.svn.wordpress.org/ +[wp-plugin-handbook]: https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/ [github-flow]: https://githubflow.github.io/ -[pull-request]: https://github.com/markcheret/footnotes/compare +[new-pull-request]: https://github.com/markcheret/footnotes/compare [conventional-commits]: https://www.conventionalcommits.org [commitizen]: https://www.npmjs.com/package/commitizen +[husky]: https://typicode.github.io/husky/#/ +[esnext]: https://esnext.github.io/esnext/ +[markdownlint]: https://github.com/DavidAnson/markdownlint +[htmlhint]: https://htmlhint.com/ +[yaml-validator]: https://www.npmjs.com/package/yaml-validator [wpver]: https://make.wordpress.org/core/handbook/about/release-cycle/version-numbering/ diff --git a/README.md b/README.md index 9a7db75..873c520 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,6 @@ Featured on [wpmudev][wpmudev] — cheers for the review, folks! * [Features](#features) * [Getting Started](#getting-started) -* [Deploying](#deploying) -* [Testing](#testing) -* [Code Formatting](#code-formatting) * [Documentation](#documentation) * [Acknowledgments](#acknowledgements) * [License](#license) @@ -38,9 +35,9 @@ Featured on [wpmudev][wpmudev] — cheers for the review, folks! This Plugin provides: -* fully customizable footnote start and end shortcodes; +* fully-customizable footnote start and end shortcodes; * stylable tooltips supporting hyperlinks and dedicated text; -* a responsive 'reference container', with customisable positioning; +* a responsive reference container, with customisable positioning; * a wide choice of different numbering styles; * a freely-configurable and optional backlink symbol; * footnote appearance customisation via dashboard settings and custom CSS style @@ -57,92 +54,13 @@ This Plugin provides: * you will have to install `php-mbstring` manually if you do not already have it. -## Deploying - -Automated release deployments will be introduced soon. - -### Building - -1. Run `_tools/build-stylesheets.sh -c` to concatenate stylesheets; -1. manually minify the output files in `css/tmp/`, saving them as `.min.css` files: - * the intention is to replace this with automated minification, meaning that - all of these steps can be rolled into a single `build` command. -1. run `_tools/build-stylesheets.sh -d` to deploy the minified files to `dist/`: - * **this will delete any existing `dist/` folder!** -1. run `composer run build` to move over the remaining files to `dist/`: - * currently, the files to include in a distribution are hard-coded in - `_tools/build.sh`; but - * the intention is to replace this with a proper parsing of the `.distignore` - file - -### Releasing - -1. Ensure that you have configured your Git config. with SVN credentials; -1. run the above [build](#building) commands; and -1. run `composer run release` and follow the prompts. - -## Testing - -Automated testing will be introduced soon. - -## Code Formatting - -This repo. uses pre-commit code formatting and linting on all staged files. -This ensures that only style-conformant code can be committed. - -The individual commands can also be called manually: - -* Run `composer run format` to run all format commands. -* Run `composer run format:fix` to attempt to automatically fix all formatter warnings - and errors. - -* Run `composer run lint` to run all linting commands. -* Run `composer run lint:fix` to attempt to automatically fix all linter warnings - and errors. - -### PHP Code - -PHP code must follow the [WordPress PHP Coding Standards][wpcs-php]. - -1. Run `composer run lint:php` to lint all JS/TS files with [PHP CodeSniffer][phpcs] -1. Run `composer run lint:php:fix` to attempt to automatically fix warnings and - errors with the PHP Code Beautifier and Formatter. - -### JavaScript Code - -JavaScript code must follow the [WordPress JavaScript Coding Standards][wpcs-js]. - -* Run `composer run format:js` to format all JS files with [Prettier][prettier]. -* Run `composer run format:js:fix` to attempt to automatically fix warnings and errors. - -* Run `composer run lint:js` to lint all JS files with [ESLint][eslint]. -* Run `composer run lint:js:fix` to attempt to automatically fix warnings and errors. - -Prettier configuration settings are found in `.prettierrc`. - -ESLint configuration settings are found in `.eslintrc.js`. File ignore rules are -found in `.eslintignore`. - -### CSS Stylesheets - -JavaScript code must follow the [WordPress CSS Coding Standards][wpcs-css]. - -* Run `composer run lint:css` to format all CSS files with [stylelint][stylelint]. -* Run `npcomposerm run lint:css:fix` to attempt to automatically fix warnings and - errors. - -stylelint configuration settings are found in `.stylelint.json`. - ## Documentation -Run `composer run docs` to automatically generate HTML documentation with -[phpDocumentor][phpdocumentor]. - View the current docs [here][footnotes-docs]. ## Acknowledgements -Huge thanks to every **footnotes user**, contributor, bug reporter, feature +Huge thanks to every **footnotes** user, contributor, bug reporter, feature requester and fan! ## License From 18ce52720bdcdbf22973e8cb686f9ff152ee8585 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 09:37:19 +0100 Subject: [PATCH 02/99] docs: update doccomments --- src/footnotes.php | 99 ++++++++++------------------------------------- 1 file changed, 20 insertions(+), 79 deletions(-) diff --git a/src/footnotes.php b/src/footnotes.php index 26b7367..9edd352 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -1,109 +1,50 @@ Date: Mon, 26 Apr 2021 09:38:15 +0100 Subject: [PATCH 03/99] refactor: replace `define()` calls with `const` declarations --- src/footnotes.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/footnotes.php b/src/footnotes.php index 9edd352..90bc462 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -21,14 +21,16 @@ * License: GPL v3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html */ - + +declare(strict_types=1); + /** * Defines the current Plugin version. * * @since 2.1.4 * @var string */ -define( 'C_STR_FOOTNOTES_VERSION', '2.7.3' ); +const C_STR_FOOTNOTES_VERSION = '2.7.3'; /** * Defines the current environment ('development' or 'production'). @@ -38,21 +40,21 @@ define( 'C_STR_FOOTNOTES_VERSION', '2.7.3' ); * @since 2.5.5 * @var bool */ -define( 'PRODUCTION_ENV', false ); +const PRODUCTION_ENV = false; /** - * - Bugfix: Codebase: revert to 2.5.8, thanks to @little-shiva @watershare @adjayabdg @staho @frav8 @voregnev @dsl225 @alexclassroom @a223123131 @codldmac bug reports. + * Defines the Plugin entry point (relative to the `wp-content/` dir). * * @since 2.8.0 * @var string */ +const PLUGIN_ENTRYPOINT = 'footnotes/footnotes.php'; // Get all common classes and functions. require_once dirname( __FILE__ ) . '/includes.php'; -// Add Plugin Links to the "installed plugins" page. -$l_str_plugin_file = 'footnotes/footnotes.php'; -add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); +// Add links to the ‘Installed Plugins’ page on the WordPress dashboard. +add_filter( "plugin_action_links_" . PLUGIN_ENTRYPOINT, array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); // Initialize the Plugin. $g_obj_mci_footnotes = new Footnotes(); From cd0c6bc295795552c20aa891afca5e02f3528c6b Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 09:39:41 +0100 Subject: [PATCH 04/99] refactor: use proper dependency tracking As you can see, there is quite a tangled web of dependency in this project, which is something to look at later. Fix #33 --- src/class/dashboard/init.php | 3 ++ src/class/dashboard/layout.php | 5 +++ src/class/dashboard/subpage-main.php | 6 ++++ src/class/init.php | 10 ++++++ src/class/language.php | 2 ++ src/class/settings.php | 2 ++ src/class/task.php | 5 +++ src/class/widgets/reference-container.php | 4 +++ src/class/wysiwyg.php | 4 +++ src/footnotes.php | 10 +++--- src/includes.php | 39 ----------------------- 11 files changed, 46 insertions(+), 44 deletions(-) delete mode 100644 src/includes.php diff --git a/src/class/dashboard/init.php b/src/class/dashboard/init.php index 19f291e..ac58fed 100644 --- a/src/class/dashboard/init.php +++ b/src/class/dashboard/init.php @@ -7,6 +7,9 @@ * @since 1.5.0 */ +require_once dirname( __FILE__, 2) . '/settings.php'; +require_once dirname( __FILE__ ) . '/subpage-main.php'; + /** * Handles the Settings interface of the Plugin. * diff --git a/src/class/dashboard/layout.php b/src/class/dashboard/layout.php index 40ce3e2..8bde0b4 100644 --- a/src/class/dashboard/layout.php +++ b/src/class/dashboard/layout.php @@ -13,6 +13,11 @@ * * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. */ + +require_once dirname( __FILE__, 2) . '/config.php'; +require_once dirname( __FILE__, 2) . '/convert.php'; +require_once dirname( __FILE__, 2) . '/settings.php'; +require_once dirname( __FILE__ ) . '/init.php'; /** * Layout Engine for the administration dashboard. diff --git a/src/class/dashboard/subpage-main.php b/src/class/dashboard/subpage-main.php index 9aa05ac..9d4f0b2 100644 --- a/src/class/dashboard/subpage-main.php +++ b/src/class/dashboard/subpage-main.php @@ -40,6 +40,12 @@ * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ */ + +require_once dirname( __FILE__, 2) . '/config.php'; +require_once dirname( __FILE__, 2) . '/convert.php'; +require_once dirname( __FILE__, 2) . '/settings.php'; +require_once dirname( __FILE__, 2) . '/template.php'; +require_once dirname( __FILE__ ) . '/layout.php'; /** * Displays and handles all Settings of the Plugin. diff --git a/src/class/init.php b/src/class/init.php index 57f9f71..9033738 100644 --- a/src/class/init.php +++ b/src/class/init.php @@ -6,6 +6,16 @@ * @since 1.5.0 */ +require_once dirname( __FILE__ ) . '/config.php'; +require_once dirname( __FILE__ ) . '/convert.php'; +require_once dirname( __FILE__ ) . '/hooks.php'; +require_once dirname( __FILE__ ) . '/language.php'; +require_once dirname( __FILE__ ) . '/settings.php'; +require_once dirname( __FILE__ ) . '/task.php'; +require_once dirname( __FILE__ ) . '/wysiwyg.php'; +require_once dirname( __FILE__ ) . '/dashboard/init.php'; +require_once dirname( __FILE__ ) . '/widgets/reference-container.php'; + /** * Provides an entry point to the Plugin. * diff --git a/src/class/language.php b/src/class/language.php index a972902..56696cc 100644 --- a/src/class/language.php +++ b/src/class/language.php @@ -10,6 +10,8 @@ * @since 2.1.6 Bugfix: Localization: conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report. */ +require_once dirname( __FILE__ ) . '/config.php'; + /** * Loads text domain of current or default language for localization. * diff --git a/src/class/settings.php b/src/class/settings.php index 11575fa..62c2dfa 100644 --- a/src/class/settings.php +++ b/src/class/settings.php @@ -13,6 +13,8 @@ * @since 2.1.3 Bugfix: Hooks: disable the_excerpt hook by default to fix issues, thanks to @nikelaos bug report. */ +require_once dirname( __FILE__ ) . '/convert.php'; + /** * Loads the settings values, sets to default values if undefined. * diff --git a/src/class/task.php b/src/class/task.php index bba43d9..06f29e0 100644 --- a/src/class/task.php +++ b/src/class/task.php @@ -87,6 +87,11 @@ if ( ! defined( 'ABSPATH' ) ) { die; } +require_once dirname( __FILE__ ) . '/config.php'; +require_once dirname( __FILE__ ) . '/convert.php'; +require_once dirname( __FILE__ ) . '/settings.php'; +require_once dirname( __FILE__ ) . '/template.php'; + /** * Searches and replaces the footnotes and generates the reference container. * diff --git a/src/class/widgets/reference-container.php b/src/class/widgets/reference-container.php index 7c00f82..c2e801b 100644 --- a/src/class/widgets/reference-container.php +++ b/src/class/widgets/reference-container.php @@ -7,6 +7,10 @@ * @since 1.5.0 */ +require_once dirname( __FILE__, 2 ) . '/config.php'; +require_once dirname( __FILE__, 2 ) . '/settings.php'; +require_once dirname( __FILE__ ) . '/base.php'; + /** * Registers a Widget to put the Reference Container to the widget area. * diff --git a/src/class/wysiwyg.php b/src/class/wysiwyg.php index f68ea8c..4c6dbd9 100644 --- a/src/class/wysiwyg.php +++ b/src/class/wysiwyg.php @@ -7,6 +7,10 @@ * @since 1.5.0 */ +require_once dirname( __FILE__ ) . '/config.php'; +require_once dirname( __FILE__ ) . '/settings.php'; +require_once dirname( __FILE__ ) . '/template.php'; + /** * Handles the WSYIWYG-Buttons. * diff --git a/src/footnotes.php b/src/footnotes.php index 90bc462..e00e390 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -21,9 +21,9 @@ * License: GPL v3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html */ - + declare(strict_types=1); - + /** * Defines the current Plugin version. * @@ -50,11 +50,11 @@ const PRODUCTION_ENV = false; */ const PLUGIN_ENTRYPOINT = 'footnotes/footnotes.php'; -// Get all common classes and functions. -require_once dirname( __FILE__ ) . '/includes.php'; +// Requires the core Plugin file. +require_once dirname( __FILE__ ) . '/class/init.php'; // Add links to the ‘Installed Plugins’ page on the WordPress dashboard. -add_filter( "plugin_action_links_" . PLUGIN_ENTRYPOINT, array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); +add_filter( 'plugin_action_links_' . PLUGIN_ENTRYPOINT, array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); // Initialize the Plugin. $g_obj_mci_footnotes = new Footnotes(); diff --git a/src/includes.php b/src/includes.php deleted file mode 100644 index 00ebb6c..0000000 --- a/src/includes.php +++ /dev/null @@ -1,39 +0,0 @@ - Date: Mon, 26 Apr 2021 11:42:17 +0100 Subject: [PATCH 05/99] refactor: rename `class/` to `includes/` --- src/class/init.php | 471 ------------------ src/{class => includes}/config.php | 0 src/{class => includes}/convert.php | 0 src/{class => includes}/dashboard/init.php | 0 src/{class => includes}/dashboard/layout.php | 0 .../dashboard/subpage-main.php | 8 +- src/{class => includes}/hooks.php | 0 src/{class => includes}/language.php | 0 src/{class => includes}/settings.php | 0 src/{class => includes}/task.php | 22 +- src/{class => includes}/template.php | 18 +- src/{class => includes}/widgets/base.php | 0 .../widgets/reference-container.php | 4 +- src/{class => includes}/wysiwyg.php | 2 +- 14 files changed, 27 insertions(+), 498 deletions(-) delete mode 100644 src/class/init.php rename src/{class => includes}/config.php (100%) rename src/{class => includes}/convert.php (100%) rename src/{class => includes}/dashboard/init.php (100%) rename src/{class => includes}/dashboard/layout.php (100%) rename src/{class => includes}/dashboard/subpage-main.php (99%) rename src/{class => includes}/hooks.php (100%) rename src/{class => includes}/language.php (100%) rename src/{class => includes}/settings.php (100%) rename src/{class => includes}/task.php (99%) rename src/{class => includes}/template.php (92%) rename src/{class => includes}/widgets/base.php (100%) rename src/{class => includes}/widgets/reference-container.php (95%) rename src/{class => includes}/wysiwyg.php (97%) diff --git a/src/class/init.php b/src/class/init.php deleted file mode 100644 index 9033738..0000000 --- a/src/class/init.php +++ /dev/null @@ -1,471 +0,0 @@ -initialize_dashboard(); - // Initialize the Plugin Task. - $this->initialize_task(); - - // Register all Public Stylesheets and Scripts. - add_action( 'init', array( $this, 'register_public' ) ); - // Enqueue all Public Stylesheets and Scripts. - add_action( 'wp_enqueue_scripts', array( $this, 'register_public' ) ); - // Register all Widgets of the Plugin.. - add_action( 'widgets_init', array( $this, 'initialize_widgets' ) ); - } - - /** - * Initializes all Widgets of the Plugin. - * - * @since 1.5.0 - * - * - Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution - * - * @since 1.6.5 - * - * @contributor @felipelavinz - * @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 - * - * @reporter @psykonevro - * @link https://wordpress.org/support/topic/bug-function-create_function-is-deprecated/ - * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/ - * - * @reporter @daliasued - * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/#post-13312853 - * - * create_function() was deprecated in PHP 7.2.0 and removed in PHP 8.0.0. - * @link https://www.php.net/manual/en/function.create-function.php - * - * The fix is to move add_action() above into run(), - * and use the bare register_widget() here. - * @see self::run() - * - * Also, the visibility of initialize_widgets() is not private any longer. - */ - public function initialize_widgets() { - register_widget( 'Footnotes_Widget_Reference_Container' ); - } - - /** - * Initializes the Dashboard of the Plugin and loads them. - * - * @since 1.5.0 - */ - private function initialize_dashboard() { - new Footnotes_Layout_Init(); - } - - /** - * Initializes the Plugin Task and registers the Task hooks. - * - * @since 1.5.0 - */ - private function initialize_task() { - $this->a_obj_task = new Footnotes_Task(); - $this->a_obj_task->register_hooks(); - } - - /** - * Registers and enqueues scripts and stylesheets to the public pages. - * - * @since 1.5.0 - * - * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. - * @since 2.0.3 add versioning of public.css for cache busting - * @since 2.0.4 add jQuery UI from WordPress - * @since 2.1.4 automate passing version number for cache busting - * @since 2.1.4 optionally enqueue an extra stylesheet - */ - public function register_public() { - - /** - * Enqueues external scripts. - * - * - Bugfix: Libraries: optimize processes by loading external and internal scripts only if needed, thanks to @docteurfitness issue report. - * - * @since 2.5.5 - * @reporter @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * The condition about tooltips was missing, only the not-alternative-tooltips part was present. - */ - // Set conditions re-used for stylesheet enqueuing and in class/task.php. - self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); - self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); - self::$a_bool_alternative_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); - self::$a_str_script_mode = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); - - /** - * Enqueues the jQuery library registered by WordPress. - * - * - Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports. - * - * @since 2.5.6 - * - * @reporter @hopper87it - * @link https://wordpress.org/support/topic/footnotes-wp-rocket/ - * - * jQuery is also used for animated scrolling, so it was loaded by default. - * The function wp_enqueue_script() avoids loading the same library multiple times. - * After adding the alternative reference container, jQuery has become optional, - * but still enabled by default. - */ - if ( ! self::$a_bool_amp_enabled ) { - - if ( 'jquery' === self::$a_str_script_mode || ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) ) { - - wp_enqueue_script( 'jquery' ); - - } - - if ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) { - - /** - * Enqueues the jQuery Tools library shipped with the plugin. - * - * Redacted jQuery.browser, completed minification; - * see full header in js/jquery.tools.js. - * - * Add versioning. - * - * @since 2.1.2 - * - * No '-js' in the handle, is appended automatically. - * - * Deferring to the footer breaks jQuery tooltip display. - */ - wp_enqueue_script( - 'mci-footnotes-jquery-tools', - plugins_url( 'footnotes/js/jquery.tools.min.js' ), - array(), - '1.2.7.redacted.2', - false - ); - - /** - * Enqueues some jQuery UI libraries registered by WordPress. - * - * - Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. - * - * @since 2.0.0 - * - * @reporter @rajinderverma - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/ - * - * @reporter @ericcorbett2 - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13324142 - * - * @reporter @honlapdavid - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13355421 - * - * @reporter @mmallett - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13445437 - * - * Fetch jQuery UI from cdnjs.cloudflare.com. - * @since 2.0.0 - * @contributor @vonpiernik - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762 - * - * jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released. * @since 2.1.2 - * - * - Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report. - * - * @since 2.0.4 - * @reporter @check2020de - * @link https://wordpress.org/support/topic/gdpr-issue-with-jquery/ - * @link https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui - * - * If alternative tooltips are enabled, these libraries are not needed. - */ - wp_enqueue_script( 'jquery-ui-core' ); - wp_enqueue_script( 'jquery-ui-widget' ); - wp_enqueue_script( 'jquery-ui-position' ); - wp_enqueue_script( 'jquery-ui-tooltip' ); - - } - } - - /** - * Enables enqueuing a new-scheme stylesheet. - * - * @since 2.5.5 - * - * Enables enqueuing the formatted individual stylesheets if false. - * WARNING: This facility is designed for development and must NOT be used in production. - * - * The Boolean may be set at the bottom of the plugin’s main PHP file. - * @see footnotes.php - */ - if ( PRODUCTION_ENV ) { - - /** - * Enqueues a minified united external stylesheet in production. - * - * - Update: Stylesheets: increase speed and energy efficiency by tailoring stylesheets to the needs of the instance, thanks to @docteurfitness design contribution. - * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. - * - * @since 2.5.5 - * - * @contributor @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * @reporter @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * The dashboard stylesheet is minified as-is. - * @see class/dashboard/layout.php - * - * @since 2.0.3 add versioning of public.css for cache busting. - * Plugin version number is needed for busting browser caches after each plugin update. - * - * @since 2.1.4 automate passing version number for cache busting. - * The constant C_STR_FOOTNOTES_VERSION is defined at start of footnotes.php. - * - * The media scope argument 'all' is the default. - * No need to use '-css' in the handle, as this is appended automatically. - */ - // Set tooltip mode for use in stylesheet name. - if ( self::$a_bool_tooltips_enabled ) { - - if ( self::$a_bool_amp_enabled ) { - $l_str_tooltip_mode_short = 'ampt'; - $l_str_tooltip_mode_long = 'amp-tooltips'; - - } elseif ( self::$a_bool_alternative_tooltips_enabled ) { - $l_str_tooltip_mode_short = 'altt'; - $l_str_tooltip_mode_long = 'alternative-tooltips'; - - } else { - $l_str_tooltip_mode_short = 'jqtt'; - $l_str_tooltip_mode_long = 'jquery-tooltips'; - - } - } else { - $l_str_tooltip_mode_short = 'nott'; - $l_str_tooltip_mode_long = 'no-tooltips'; - } - - // Set basic responsive page layout mode for use in stylesheet name. - $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); - switch ( $l_str_page_layout_option ) { - case 'reference-container': - $l_str_layout_mode = '1'; - break; - case 'entry-content': - $l_str_layout_mode = '2'; - break; - case 'main-content': - $l_str_layout_mode = '3'; - break; - case 'none': - default: - $l_str_layout_mode = '0'; - break; - } - - // Enqueue the tailored united minified stylesheet. - wp_enqueue_style( - 'mci-footnotes-' . $l_str_tooltip_mode_long . '-pagelayout-' . $l_str_page_layout_option, - plugins_url( - Footnotes_Config::C_STR_PLUGIN_NAME . '/css/footnotes-' . $l_str_tooltip_mode_short . 'brpl' . $l_str_layout_mode . '.min.css' - ), - array(), - C_STR_FOOTNOTES_VERSION, - 'all' - ); - - } else { - - /** - * Enqueues external stylesheets, ONLY in development now. - * - * @since 2.1.4 optionally enqueue an extra stylesheet. - * - * This optional layout fix is useful by lack of layout support. - */ - wp_enqueue_style( - 'mci-footnotes-common', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-common.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-common.css' - ) - ); - wp_enqueue_style( - 'mci-footnotes-tooltips', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-tooltips.css' - ) - ); - - if ( self::$a_bool_amp_enabled ) { - wp_enqueue_style( - 'mci-footnotes-amp', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-amp-tooltips.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-amp-tooltips.css' - ) - ); - } - - if ( self::$a_bool_alternative_tooltips_enabled ) { - wp_enqueue_style( - 'mci-footnotes-alternative', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips-alternative.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-tooltips-alternative.css' - ) - ); - } - - $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); - if ( 'none' !== $l_str_page_layout_option ) { - wp_enqueue_style( - 'mci-footnotes-layout-' . $l_str_page_layout_option, - plugins_url( - Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-layout-' . $l_str_page_layout_option . '.css' - ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-layout-' . $l_str_page_layout_option . '.css' - ), - 'all' - ); - } - } - } -} diff --git a/src/class/config.php b/src/includes/config.php similarity index 100% rename from src/class/config.php rename to src/includes/config.php diff --git a/src/class/convert.php b/src/includes/convert.php similarity index 100% rename from src/class/convert.php rename to src/includes/convert.php diff --git a/src/class/dashboard/init.php b/src/includes/dashboard/init.php similarity index 100% rename from src/class/dashboard/init.php rename to src/includes/dashboard/init.php diff --git a/src/class/dashboard/layout.php b/src/includes/dashboard/layout.php similarity index 100% rename from src/class/dashboard/layout.php rename to src/includes/dashboard/layout.php diff --git a/src/class/dashboard/subpage-main.php b/src/includes/dashboard/subpage-main.php similarity index 99% rename from src/class/dashboard/subpage-main.php rename to src/includes/dashboard/subpage-main.php index 9d4f0b2..43b4275 100644 --- a/src/class/dashboard/subpage-main.php +++ b/src/includes/dashboard/subpage-main.php @@ -1143,7 +1143,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { * Edited: * @since 2.1.6 drop localized notices for CSS classes as the number increased to 16 * list directly in the template, as CSS is in English anyway - * @see templates/dashboard/customize-css.html + * @see admin/partials/customize-css.html * * @since 2.2.2 migrate Custom CSS to a dedicated tab * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed @@ -1320,7 +1320,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { * @link https://blog.prototypr.io/why-testing-with-real-content-is-better-than-lorem-ipsum-c7c79586ee72 */ public function Help() { - global $g_obj_mci_footnotes; + global $footnotes; // Load footnotes starting and end tag. $l_arr_footnote_starting_tag = $this->load_setting( Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START ); $l_arr_footnote_ending_tag = $this->load_setting( Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END ); @@ -1356,7 +1356,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { 'end' => $l_arr_footnote_ending_tag['value'], 'example-code' => $l_str_example, 'example-string' => '
' . __( 'will be displayed as:', 'footnotes' ), - 'example' => $g_obj_mci_footnotes->a_obj_task->exec( $l_str_example, true ), + 'example' => $footnotes->a_obj_task->exec( $l_str_example, true ), // Translators: %1$s, %2$s: anchor element with hyperlink to the Support Forum. 'information' => sprintf( __( 'For further information please check out our %1$sSupport Forum%2$s on WordPress.org.', 'footnotes' ), '', '' ), ) @@ -1376,7 +1376,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { * When this callback function was renamed, this call went unnoticed. * @see class/task.php */ - $g_obj_mci_footnotes->a_obj_task->footnotes_output_head(); + $footnotes->a_obj_task->footnotes_output_head(); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped diff --git a/src/class/hooks.php b/src/includes/hooks.php similarity index 100% rename from src/class/hooks.php rename to src/includes/hooks.php diff --git a/src/class/language.php b/src/includes/language.php similarity index 100% rename from src/class/language.php rename to src/includes/language.php diff --git a/src/class/settings.php b/src/includes/settings.php similarity index 100% rename from src/class/settings.php rename to src/includes/settings.php diff --git a/src/class/task.php b/src/includes/task.php similarity index 99% rename from src/class/task.php rename to src/includes/task.php index 06f29e0..fbf4071 100644 --- a/src/class/task.php +++ b/src/includes/task.php @@ -863,7 +863,7 @@ class Footnotes_Task { * * Position and timing of jQuery tooltips are script defined. * - * @see templates/public/tooltip.html. + * @see public/partials/tooltip.html. */ $l_int_max_width = Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH ); if ( ! empty( $l_int_max_width ) && intval( $l_int_max_width ) > 0 ) { @@ -1732,23 +1732,23 @@ class Footnotes_Task { // Whether first clicking a referrer needs to expand the reference container. if ( Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { - // Load 'templates/public/amp-footnote-expand.html'. + // Load 'public/partials/amp-footnote-expand.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-footnote-expand' ); } else { - // Load 'templates/public/amp-footnote.html'. + // Load 'public/partials/amp-footnote.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-footnote' ); } } elseif ( Footnotes::$a_bool_alternative_tooltips_enabled ) { - // Load 'templates/public/footnote-alternative.html'. + // Load 'public/partials/footnote-alternative.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'footnote-alternative' ); // Else jQuery tooltips are enabled. } else { - // Load 'templates/public/footnote.html'. + // Load 'public/partials/footnote.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'footnote' ); // Load tooltip inline script. @@ -2128,7 +2128,7 @@ class Footnotes_Task { } } - // Fill in 'templates/public/footnote.html'. + // Fill in 'public/partials/footnote.html'. $l_obj_template->replace( array( 'link-span' => self::$a_str_link_span, @@ -2160,7 +2160,7 @@ class Footnotes_Task { $l_int_fade_out_delay = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY ) ); $l_int_fade_out_duration = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION ) ); - // Fill in 'templates/public/tooltip.html'. + // Fill in 'public/partials/tooltip.html'. $l_obj_template_tooltip->replace( array( 'post_id' => self::$a_int_post_id, @@ -2807,22 +2807,22 @@ class Footnotes_Task { // Whether the reference container is collapsed by default. if ( Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { - // Load 'templates/public/amp-reference-container-collapsed.html'. + // Load 'public/partials/amp-reference-container-collapsed.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-reference-container-collapsed' ); } else { - // Load 'templates/public/amp-reference-container.html'. + // Load 'public/partials/amp-reference-container.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-reference-container' ); } } elseif ( 'js' === Footnotes::$a_str_script_mode ) { - // Load 'templates/public/js-reference-container.html'. + // Load 'public/partials/js-reference-container.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'js-reference-container' ); } else { - // Load 'templates/public/reference-container.html'. + // Load 'public/partials/reference-container.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'reference-container' ); } diff --git a/src/class/template.php b/src/includes/template.php similarity index 92% rename from src/class/template.php rename to src/includes/template.php index dec1f82..4bc3e78 100644 --- a/src/class/template.php +++ b/src/includes/template.php @@ -19,20 +19,20 @@ class Footnotes_Template { /** - * Directory name for dashboard templates. + * Directory name for dashboard partials. * * @since 1.5.0 * @var string */ - const C_STR_DASHBOARD = 'dashboard'; + const C_STR_DASHBOARD = 'admin/partials'; /** - * Directory name for public templates. + * Directory name for public partials. * * @since 1.5.0 * @var string */ - const C_STR_PUBLIC = 'public'; + const C_STR_PUBLIC = 'public/partials'; /** * Contains the content of the template after initialize. @@ -198,8 +198,8 @@ class Footnotes_Template { * return 'template_parts/footnotes/'; * } ); */ - $template_directory = apply_filters( 'mci_footnotes_template_directory', 'footnotes/templates/' ); - $custom_directory = apply_filters( 'mci_footnotes_custom_template_directory', 'footnotes-custom/' ); + $template_directory = apply_filters( 'footnotes_template_directory', 'footnotes/' ); + $custom_directory = apply_filters( 'footnotes_custom_template_directory', 'footnotes-custom/' ); $template_name = $p_str_file_type . '/' . $p_str_file_name . '.' . $p_str_extension; /** @@ -223,10 +223,10 @@ class Footnotes_Template { /** * Fall back to the templates shipped with the plugin. */ - } elseif ( file_exists( $this->plugin_directory . 'templates/' . $template_name ) ) { - $located = $this->plugin_directory . 'templates/' . $template_name; + } elseif ( file_exists( $this->plugin_directory . $template_name ) ) { + $located = $this->plugin_directory . $template_name; } - + return $located; } diff --git a/src/class/widgets/base.php b/src/includes/widgets/base.php similarity index 100% rename from src/class/widgets/base.php rename to src/includes/widgets/base.php diff --git a/src/class/widgets/reference-container.php b/src/includes/widgets/reference-container.php similarity index 95% rename from src/class/widgets/reference-container.php rename to src/includes/widgets/reference-container.php index c2e801b..49c4ddb 100644 --- a/src/class/widgets/reference-container.php +++ b/src/includes/widgets/reference-container.php @@ -71,11 +71,11 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base { * @param mixed $instance The instance of the widget. */ public function widget( $args, $instance ) { - global $g_obj_mci_footnotes; + global $footnotes; // Reference container positioning is set to "widget area". if ( 'widget' === Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ) { // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $g_obj_mci_footnotes->a_obj_task->reference_container(); + echo $footnotes->a_obj_task->reference_container(); // phpcs:enable } } diff --git a/src/class/wysiwyg.php b/src/includes/wysiwyg.php similarity index 97% rename from src/class/wysiwyg.php rename to src/includes/wysiwyg.php index 4c6dbd9..aade969 100644 --- a/src/class/wysiwyg.php +++ b/src/includes/wysiwyg.php @@ -78,7 +78,7 @@ class Footnotes_WYSIWYG { * @return array */ public static function include_scripts( $p_arr_plugins ) { - $p_arr_plugins[ Footnotes_Config::C_STR_PLUGIN_NAME ] = plugins_url( '/../js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); + $p_arr_plugins[ Footnotes_Config::C_STR_PLUGIN_NAME ] = plugins_url( '/../admin/js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); return $p_arr_plugins; } From 88e3302166d0967a3fe5d34d4c164cb616883028 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:43:05 +0100 Subject: [PATCH 06/99] refactor: rename `templates/` into `partials/`, split into admin and public --- .../dashboard => admin/partials}/configure-label-solution.html | 0 .../dashboard => admin/partials}/customize-css-migration.html | 0 .../dashboard => admin/partials}/customize-css-new.html | 0 src/{templates/dashboard => admin/partials}/customize-css.html | 0 .../dashboard => admin/partials}/customize-hyperlink-arrow.html | 0 .../dashboard => admin/partials}/customize-superscript.html | 0 src/{templates/dashboard => admin/partials}/editor-button.html | 0 src/{templates/dashboard => admin/partials}/expert-lookup.html | 0 src/{templates/dashboard => admin/partials}/how-to-donate.html | 0 src/{templates/dashboard => admin/partials}/how-to-help.html | 0 .../dashboard => admin/partials}/mouse-over-box-appearance.html | 0 .../dashboard => admin/partials}/mouse-over-box-dimensions.html | 0 .../dashboard => admin/partials}/mouse-over-box-display.html | 0 .../dashboard => admin/partials}/mouse-over-box-position.html | 0 .../dashboard => admin/partials}/mouse-over-box-text.html | 0 .../dashboard => admin/partials}/mouse-over-box-timing.html | 0 .../dashboard => admin/partials}/mouse-over-box-truncation.html | 0 src/{templates/dashboard => admin/partials}/other-plugins.html | 0 src/{templates/dashboard => admin/partials}/settings-amp.html | 0 .../dashboard => admin/partials}/settings-excerpts.html | 0 .../dashboard => admin/partials}/settings-hard-links.html | 0 src/{templates/dashboard => admin/partials}/settings-love.html | 0 .../dashboard => admin/partials}/settings-numbering.html | 0 .../partials}/settings-reference-container.html | 0 .../dashboard => admin/partials}/settings-scrolling.html | 0 .../dashboard => admin/partials}/settings-start-end.html | 0 .../public => public/partials}/amp-footnote-expand.html | 0 src/{templates/public => public/partials}/amp-footnote.html | 0 .../partials}/amp-reference-container-body-3column.html | 0 .../partials}/amp-reference-container-body-combi.html | 0 .../partials}/amp-reference-container-body-switch.html | 0 .../public => public/partials}/amp-reference-container-body.html | 0 .../partials}/amp-reference-container-collapsed.html | 0 .../public => public/partials}/amp-reference-container.html | 0 .../public => public/partials}/footnote-alternative.html | 0 src/{templates/public => public/partials}/footnote.html | 0 .../public => public/partials}/js-reference-container.html | 0 .../partials}/reference-container-body-3column.html | 0 .../partials}/reference-container-body-combi.html | 0 .../partials}/reference-container-body-switch.html | 0 .../public => public/partials}/reference-container-body.html | 0 .../public => public/partials}/reference-container.html | 0 src/{templates/public => public/partials}/tooltip.html | 0 43 files changed, 0 insertions(+), 0 deletions(-) rename src/{templates/dashboard => admin/partials}/configure-label-solution.html (100%) rename src/{templates/dashboard => admin/partials}/customize-css-migration.html (100%) rename src/{templates/dashboard => admin/partials}/customize-css-new.html (100%) rename src/{templates/dashboard => admin/partials}/customize-css.html (100%) rename src/{templates/dashboard => admin/partials}/customize-hyperlink-arrow.html (100%) rename src/{templates/dashboard => admin/partials}/customize-superscript.html (100%) rename src/{templates/dashboard => admin/partials}/editor-button.html (100%) rename src/{templates/dashboard => admin/partials}/expert-lookup.html (100%) rename src/{templates/dashboard => admin/partials}/how-to-donate.html (100%) rename src/{templates/dashboard => admin/partials}/how-to-help.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-appearance.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-dimensions.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-display.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-position.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-text.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-timing.html (100%) rename src/{templates/dashboard => admin/partials}/mouse-over-box-truncation.html (100%) rename src/{templates/dashboard => admin/partials}/other-plugins.html (100%) rename src/{templates/dashboard => admin/partials}/settings-amp.html (100%) rename src/{templates/dashboard => admin/partials}/settings-excerpts.html (100%) rename src/{templates/dashboard => admin/partials}/settings-hard-links.html (100%) rename src/{templates/dashboard => admin/partials}/settings-love.html (100%) rename src/{templates/dashboard => admin/partials}/settings-numbering.html (100%) rename src/{templates/dashboard => admin/partials}/settings-reference-container.html (100%) rename src/{templates/dashboard => admin/partials}/settings-scrolling.html (100%) rename src/{templates/dashboard => admin/partials}/settings-start-end.html (100%) rename src/{templates/public => public/partials}/amp-footnote-expand.html (100%) rename src/{templates/public => public/partials}/amp-footnote.html (100%) rename src/{templates/public => public/partials}/amp-reference-container-body-3column.html (100%) rename src/{templates/public => public/partials}/amp-reference-container-body-combi.html (100%) rename src/{templates/public => public/partials}/amp-reference-container-body-switch.html (100%) rename src/{templates/public => public/partials}/amp-reference-container-body.html (100%) rename src/{templates/public => public/partials}/amp-reference-container-collapsed.html (100%) rename src/{templates/public => public/partials}/amp-reference-container.html (100%) rename src/{templates/public => public/partials}/footnote-alternative.html (100%) rename src/{templates/public => public/partials}/footnote.html (100%) rename src/{templates/public => public/partials}/js-reference-container.html (100%) rename src/{templates/public => public/partials}/reference-container-body-3column.html (100%) rename src/{templates/public => public/partials}/reference-container-body-combi.html (100%) rename src/{templates/public => public/partials}/reference-container-body-switch.html (100%) rename src/{templates/public => public/partials}/reference-container-body.html (100%) rename src/{templates/public => public/partials}/reference-container.html (100%) rename src/{templates/public => public/partials}/tooltip.html (100%) diff --git a/src/templates/dashboard/configure-label-solution.html b/src/admin/partials/configure-label-solution.html similarity index 100% rename from src/templates/dashboard/configure-label-solution.html rename to src/admin/partials/configure-label-solution.html diff --git a/src/templates/dashboard/customize-css-migration.html b/src/admin/partials/customize-css-migration.html similarity index 100% rename from src/templates/dashboard/customize-css-migration.html rename to src/admin/partials/customize-css-migration.html diff --git a/src/templates/dashboard/customize-css-new.html b/src/admin/partials/customize-css-new.html similarity index 100% rename from src/templates/dashboard/customize-css-new.html rename to src/admin/partials/customize-css-new.html diff --git a/src/templates/dashboard/customize-css.html b/src/admin/partials/customize-css.html similarity index 100% rename from src/templates/dashboard/customize-css.html rename to src/admin/partials/customize-css.html diff --git a/src/templates/dashboard/customize-hyperlink-arrow.html b/src/admin/partials/customize-hyperlink-arrow.html similarity index 100% rename from src/templates/dashboard/customize-hyperlink-arrow.html rename to src/admin/partials/customize-hyperlink-arrow.html diff --git a/src/templates/dashboard/customize-superscript.html b/src/admin/partials/customize-superscript.html similarity index 100% rename from src/templates/dashboard/customize-superscript.html rename to src/admin/partials/customize-superscript.html diff --git a/src/templates/dashboard/editor-button.html b/src/admin/partials/editor-button.html similarity index 100% rename from src/templates/dashboard/editor-button.html rename to src/admin/partials/editor-button.html diff --git a/src/templates/dashboard/expert-lookup.html b/src/admin/partials/expert-lookup.html similarity index 100% rename from src/templates/dashboard/expert-lookup.html rename to src/admin/partials/expert-lookup.html diff --git a/src/templates/dashboard/how-to-donate.html b/src/admin/partials/how-to-donate.html similarity index 100% rename from src/templates/dashboard/how-to-donate.html rename to src/admin/partials/how-to-donate.html diff --git a/src/templates/dashboard/how-to-help.html b/src/admin/partials/how-to-help.html similarity index 100% rename from src/templates/dashboard/how-to-help.html rename to src/admin/partials/how-to-help.html diff --git a/src/templates/dashboard/mouse-over-box-appearance.html b/src/admin/partials/mouse-over-box-appearance.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-appearance.html rename to src/admin/partials/mouse-over-box-appearance.html diff --git a/src/templates/dashboard/mouse-over-box-dimensions.html b/src/admin/partials/mouse-over-box-dimensions.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-dimensions.html rename to src/admin/partials/mouse-over-box-dimensions.html diff --git a/src/templates/dashboard/mouse-over-box-display.html b/src/admin/partials/mouse-over-box-display.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-display.html rename to src/admin/partials/mouse-over-box-display.html diff --git a/src/templates/dashboard/mouse-over-box-position.html b/src/admin/partials/mouse-over-box-position.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-position.html rename to src/admin/partials/mouse-over-box-position.html diff --git a/src/templates/dashboard/mouse-over-box-text.html b/src/admin/partials/mouse-over-box-text.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-text.html rename to src/admin/partials/mouse-over-box-text.html diff --git a/src/templates/dashboard/mouse-over-box-timing.html b/src/admin/partials/mouse-over-box-timing.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-timing.html rename to src/admin/partials/mouse-over-box-timing.html diff --git a/src/templates/dashboard/mouse-over-box-truncation.html b/src/admin/partials/mouse-over-box-truncation.html similarity index 100% rename from src/templates/dashboard/mouse-over-box-truncation.html rename to src/admin/partials/mouse-over-box-truncation.html diff --git a/src/templates/dashboard/other-plugins.html b/src/admin/partials/other-plugins.html similarity index 100% rename from src/templates/dashboard/other-plugins.html rename to src/admin/partials/other-plugins.html diff --git a/src/templates/dashboard/settings-amp.html b/src/admin/partials/settings-amp.html similarity index 100% rename from src/templates/dashboard/settings-amp.html rename to src/admin/partials/settings-amp.html diff --git a/src/templates/dashboard/settings-excerpts.html b/src/admin/partials/settings-excerpts.html similarity index 100% rename from src/templates/dashboard/settings-excerpts.html rename to src/admin/partials/settings-excerpts.html diff --git a/src/templates/dashboard/settings-hard-links.html b/src/admin/partials/settings-hard-links.html similarity index 100% rename from src/templates/dashboard/settings-hard-links.html rename to src/admin/partials/settings-hard-links.html diff --git a/src/templates/dashboard/settings-love.html b/src/admin/partials/settings-love.html similarity index 100% rename from src/templates/dashboard/settings-love.html rename to src/admin/partials/settings-love.html diff --git a/src/templates/dashboard/settings-numbering.html b/src/admin/partials/settings-numbering.html similarity index 100% rename from src/templates/dashboard/settings-numbering.html rename to src/admin/partials/settings-numbering.html diff --git a/src/templates/dashboard/settings-reference-container.html b/src/admin/partials/settings-reference-container.html similarity index 100% rename from src/templates/dashboard/settings-reference-container.html rename to src/admin/partials/settings-reference-container.html diff --git a/src/templates/dashboard/settings-scrolling.html b/src/admin/partials/settings-scrolling.html similarity index 100% rename from src/templates/dashboard/settings-scrolling.html rename to src/admin/partials/settings-scrolling.html diff --git a/src/templates/dashboard/settings-start-end.html b/src/admin/partials/settings-start-end.html similarity index 100% rename from src/templates/dashboard/settings-start-end.html rename to src/admin/partials/settings-start-end.html diff --git a/src/templates/public/amp-footnote-expand.html b/src/public/partials/amp-footnote-expand.html similarity index 100% rename from src/templates/public/amp-footnote-expand.html rename to src/public/partials/amp-footnote-expand.html diff --git a/src/templates/public/amp-footnote.html b/src/public/partials/amp-footnote.html similarity index 100% rename from src/templates/public/amp-footnote.html rename to src/public/partials/amp-footnote.html diff --git a/src/templates/public/amp-reference-container-body-3column.html b/src/public/partials/amp-reference-container-body-3column.html similarity index 100% rename from src/templates/public/amp-reference-container-body-3column.html rename to src/public/partials/amp-reference-container-body-3column.html diff --git a/src/templates/public/amp-reference-container-body-combi.html b/src/public/partials/amp-reference-container-body-combi.html similarity index 100% rename from src/templates/public/amp-reference-container-body-combi.html rename to src/public/partials/amp-reference-container-body-combi.html diff --git a/src/templates/public/amp-reference-container-body-switch.html b/src/public/partials/amp-reference-container-body-switch.html similarity index 100% rename from src/templates/public/amp-reference-container-body-switch.html rename to src/public/partials/amp-reference-container-body-switch.html diff --git a/src/templates/public/amp-reference-container-body.html b/src/public/partials/amp-reference-container-body.html similarity index 100% rename from src/templates/public/amp-reference-container-body.html rename to src/public/partials/amp-reference-container-body.html diff --git a/src/templates/public/amp-reference-container-collapsed.html b/src/public/partials/amp-reference-container-collapsed.html similarity index 100% rename from src/templates/public/amp-reference-container-collapsed.html rename to src/public/partials/amp-reference-container-collapsed.html diff --git a/src/templates/public/amp-reference-container.html b/src/public/partials/amp-reference-container.html similarity index 100% rename from src/templates/public/amp-reference-container.html rename to src/public/partials/amp-reference-container.html diff --git a/src/templates/public/footnote-alternative.html b/src/public/partials/footnote-alternative.html similarity index 100% rename from src/templates/public/footnote-alternative.html rename to src/public/partials/footnote-alternative.html diff --git a/src/templates/public/footnote.html b/src/public/partials/footnote.html similarity index 100% rename from src/templates/public/footnote.html rename to src/public/partials/footnote.html diff --git a/src/templates/public/js-reference-container.html b/src/public/partials/js-reference-container.html similarity index 100% rename from src/templates/public/js-reference-container.html rename to src/public/partials/js-reference-container.html diff --git a/src/templates/public/reference-container-body-3column.html b/src/public/partials/reference-container-body-3column.html similarity index 100% rename from src/templates/public/reference-container-body-3column.html rename to src/public/partials/reference-container-body-3column.html diff --git a/src/templates/public/reference-container-body-combi.html b/src/public/partials/reference-container-body-combi.html similarity index 100% rename from src/templates/public/reference-container-body-combi.html rename to src/public/partials/reference-container-body-combi.html diff --git a/src/templates/public/reference-container-body-switch.html b/src/public/partials/reference-container-body-switch.html similarity index 100% rename from src/templates/public/reference-container-body-switch.html rename to src/public/partials/reference-container-body-switch.html diff --git a/src/templates/public/reference-container-body.html b/src/public/partials/reference-container-body.html similarity index 100% rename from src/templates/public/reference-container-body.html rename to src/public/partials/reference-container-body.html diff --git a/src/templates/public/reference-container.html b/src/public/partials/reference-container.html similarity index 100% rename from src/templates/public/reference-container.html rename to src/public/partials/reference-container.html diff --git a/src/templates/public/tooltip.html b/src/public/partials/tooltip.html similarity index 100% rename from src/templates/public/tooltip.html rename to src/public/partials/tooltip.html From f57d1025b9f8dea1e57588ef9070f4056d543be4 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:43:34 +0100 Subject: [PATCH 07/99] refactor: split `js/` into admin and public --- src/{ => admin}/js/wysiwyg-editor.js | 2 +- src/{ => public}/js/jquery.tools.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => admin}/js/wysiwyg-editor.js (98%) rename src/{ => public}/js/jquery.tools.js (100%) diff --git a/src/js/wysiwyg-editor.js b/src/admin/js/wysiwyg-editor.js similarity index 98% rename from src/js/wysiwyg-editor.js rename to src/admin/js/wysiwyg-editor.js index 5371271..b43ab65 100644 --- a/src/js/wysiwyg-editor.js +++ b/src/admin/js/wysiwyg-editor.js @@ -18,7 +18,7 @@ ed.addButton('footnotes', { title: 'footnotes', cmd: 'footnotes', - image: url + '/../img/fn-wysiwyg.png', + image: url + '/../images/fn-wysiwyg.png', }); ed.addCommand('footnotes', function () { diff --git a/src/js/jquery.tools.js b/src/public/js/jquery.tools.js similarity index 100% rename from src/js/jquery.tools.js rename to src/public/js/jquery.tools.js From 6084a6c4ef7d0926fedb119aa4a61008ae62c48a Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:43:55 +0100 Subject: [PATCH 08/99] chore: add default WordPress index file --- src/index.php | 1 + 1 file changed, 1 insertion(+) create mode 100755 src/index.php diff --git a/src/index.php b/src/index.php new file mode 100755 index 0000000..8142269 --- /dev/null +++ b/src/index.php @@ -0,0 +1 @@ + Date: Mon, 26 Apr 2021 11:44:23 +0100 Subject: [PATCH 09/99] ci: fix minification commands --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fbddb8d..5f47a41 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "lint:md": "markdownlint '*.md'", "lint:md:fix": "npm run lint:md -- --fix", "minify": "npm run minify:css && npm run minify:js", - "minify:css": "for f in ./tmp/css/*.css; do npx minify $f > ./dist/css/$(basename $f .css).min.css; done", - "minify:js": "for f in ./src/js/*.js; do npx minify $f > ./dist/js/$(basename $f .js).min.js; done" + "minify:css": "for f in ./dist/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", + "minify:js": "for f in ./dist/*/js/*.js; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .js).min.js; done" }, "husky": { "hooks": { From 39fa6991aefe64c99664d7656eda50d135f37b33 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:44:59 +0100 Subject: [PATCH 10/99] docs: reflect new partials paths --- src/css/dev-common.css | 16 ++++++++-------- src/css/settings.css | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/css/dev-common.css b/src/css/dev-common.css index 015f6f2..daf14ed 100644 --- a/src/css/dev-common.css +++ b/src/css/dev-common.css @@ -7,7 +7,7 @@ * Since: 1.0 * * Classes recommended for Custom CSS: - * @see templates/dashboard/customize-css-new.html + * @see admin/partials/customize-css-new.html * * System of unified minified style sheets tailored to the needs of the instance. * @@ -182,8 +182,8 @@ /** * Footnote referrers and tooltips * - * @see templates/public/footnote.html - * @see templates/public/footnote-alternative.html + * @see public/partials/footnote.html + * @see public/partials/footnote-alternative.html * * .footnote_referrer = enclosing * .footnote_plugin_tooltip_text = inner @@ -240,11 +240,11 @@ Footnote reference container Templates: -templates/public/reference-container.html -templates/public/reference-container-body.html -templates/public/reference-container-combi.html -templates/public/reference-container-switch.html -templates/public/reference-container-3column.html +public/partials/reference-container.html +public/partials/reference-container-body.html +public/partials/reference-container-combi.html +public/partials/reference-container-switch.html +public/partials/reference-container-3column.html Optional responsive basic page layout support stylesheets: diff --git a/src/css/settings.css b/src/css/settings.css index dde712b..8afd034 100644 --- a/src/css/settings.css +++ b/src/css/settings.css @@ -215,7 +215,7 @@ significantly increased from 4 to 18 as of v2.4.0. Localized notices are dropped to ease translators’ task. CSS classes are listed directly in the template -templates/dashboard/customize-css.html +admin/partials/customize-css.html For better maintainability and readability of the source list, the

end tags are omitted per HTML5 standard: From 12b1eb556e23901554af66a72378f4c7136636a4 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:45:26 +0100 Subject: [PATCH 11/99] refactor: split `img/` into admin and dashboard --- src/{img => admin/images}/fn-wysiwyg.png | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{img => admin/images}/fn-wysiwyg.png (100%) diff --git a/src/img/fn-wysiwyg.png b/src/admin/images/fn-wysiwyg.png similarity index 100% rename from src/img/fn-wysiwyg.png rename to src/admin/images/fn-wysiwyg.png From 0d1e0d75bb6f57cfdfbdc27d56ed5b467aff2e15 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:46:30 +0100 Subject: [PATCH 12/99] refactor: clear up Plugin init, add activator/deactivator hooks --- src/footnotes.php | 81 +++- src/includes/class-footnotes-activator.php | 33 ++ src/includes/class-footnotes-deactivator.php | 33 ++ src/includes/class-footnotes.php | 471 +++++++++++++++++++ 4 files changed, 595 insertions(+), 23 deletions(-) create mode 100644 src/includes/class-footnotes-activator.php create mode 100644 src/includes/class-footnotes-deactivator.php create mode 100644 src/includes/class-footnotes.php diff --git a/src/footnotes.php b/src/footnotes.php index e00e390..f208a09 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -1,9 +1,15 @@ run(); -// Requires the core Plugin file. -require_once dirname( __FILE__ ) . '/class/init.php'; - -// Add links to the ‘Installed Plugins’ page on the WordPress dashboard. -add_filter( 'plugin_action_links_' . PLUGIN_ENTRYPOINT, array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); - -// Initialize the Plugin. -$g_obj_mci_footnotes = new Footnotes(); -// Run the Plugin. -$g_obj_mci_footnotes->run(); + // Add the links to the dashboard plugins page. + // TODO: Move this somewhere more appropriate. + add_filter( "plugin_action_links_footnotes/footnotes.php", array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); +} +run_footnotes(); diff --git a/src/includes/class-footnotes-activator.php b/src/includes/class-footnotes-activator.php new file mode 100644 index 0000000..0ff3f4b --- /dev/null +++ b/src/includes/class-footnotes-activator.php @@ -0,0 +1,33 @@ +initialize_dashboard(); + // Initialize the Plugin Task. + $this->initialize_task(); + + // Register all Public Stylesheets and Scripts. + add_action( 'init', array( $this, 'register_public' ) ); + // Enqueue all Public Stylesheets and Scripts. + add_action( 'wp_enqueue_scripts', array( $this, 'register_public' ) ); + // Register all Widgets of the Plugin.. + add_action( 'widgets_init', array( $this, 'initialize_widgets' ) ); + } + + /** + * Initializes all Widgets of the Plugin. + * + * @since 1.5.0 + * + * - Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution + * + * @since 1.6.5 + * + * @contributor @felipelavinz + * @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 + * + * @reporter @psykonevro + * @link https://wordpress.org/support/topic/bug-function-create_function-is-deprecated/ + * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/ + * + * @reporter @daliasued + * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/#post-13312853 + * + * create_function() was deprecated in PHP 7.2.0 and removed in PHP 8.0.0. + * @link https://www.php.net/manual/en/function.create-function.php + * + * The fix is to move add_action() above into run(), + * and use the bare register_widget() here. + * @see self::run() + * + * Also, the visibility of initialize_widgets() is not private any longer. + */ + public function initialize_widgets() { + register_widget( 'Footnotes_Widget_Reference_Container' ); + } + + /** + * Initializes the Dashboard of the Plugin and loads them. + * + * @since 1.5.0 + */ + private function initialize_dashboard() { + new Footnotes_Layout_Init(); + } + + /** + * Initializes the Plugin Task and registers the Task hooks. + * + * @since 1.5.0 + */ + private function initialize_task() { + $this->a_obj_task = new Footnotes_Task(); + $this->a_obj_task->register_hooks(); + } + + /** + * Registers and enqueues scripts and stylesheets to the public pages. + * + * @since 1.5.0 + * + * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. + * @since 2.0.3 add versioning of public.css for cache busting + * @since 2.0.4 add jQuery UI from WordPress + * @since 2.1.4 automate passing version number for cache busting + * @since 2.1.4 optionally enqueue an extra stylesheet + */ + public function register_public() { + + /** + * Enqueues external scripts. + * + * - Bugfix: Libraries: optimize processes by loading external and internal scripts only if needed, thanks to @docteurfitness issue report. + * + * @since 2.5.5 + * @reporter @docteurfitness + * @link https://wordpress.org/support/topic/simply-speed-optimisation/ + * + * The condition about tooltips was missing, only the not-alternative-tooltips part was present. + */ + // Set conditions re-used for stylesheet enqueuing and in class/task.php. + self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); + self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); + self::$a_bool_alternative_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); + self::$a_str_script_mode = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); + + /** + * Enqueues the jQuery library registered by WordPress. + * + * - Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports. + * + * @since 2.5.6 + * + * @reporter @hopper87it + * @link https://wordpress.org/support/topic/footnotes-wp-rocket/ + * + * jQuery is also used for animated scrolling, so it was loaded by default. + * The function wp_enqueue_script() avoids loading the same library multiple times. + * After adding the alternative reference container, jQuery has become optional, + * but still enabled by default. + */ + if ( ! self::$a_bool_amp_enabled ) { + + if ( 'jquery' === self::$a_str_script_mode || ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) ) { + + wp_enqueue_script( 'jquery' ); + + } + + if ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) { + + /** + * Enqueues the jQuery Tools library shipped with the plugin. + * + * Redacted jQuery.browser, completed minification; + * see full header in js/jquery.tools.js. + * + * Add versioning. + * + * @since 2.1.2 + * + * No '-js' in the handle, is appended automatically. + * + * Deferring to the footer breaks jQuery tooltip display. + */ + wp_enqueue_script( + 'mci-footnotes-jquery-tools', + plugins_url( 'footnotes/public/js/jquery.tools.min.js' ), + array(), + '1.2.7.redacted.2', + false + ); + + /** + * Enqueues some jQuery UI libraries registered by WordPress. + * + * - Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. + * + * @since 2.0.0 + * + * @reporter @rajinderverma + * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/ + * + * @reporter @ericcorbett2 + * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13324142 + * + * @reporter @honlapdavid + * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13355421 + * + * @reporter @mmallett + * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13445437 + * + * Fetch jQuery UI from cdnjs.cloudflare.com. + * @since 2.0.0 + * @contributor @vonpiernik + * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762 + * + * jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released. * @since 2.1.2 + * + * - Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report. + * + * @since 2.0.4 + * @reporter @check2020de + * @link https://wordpress.org/support/topic/gdpr-issue-with-jquery/ + * @link https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui + * + * If alternative tooltips are enabled, these libraries are not needed. + */ + wp_enqueue_script( 'jquery-ui-core' ); + wp_enqueue_script( 'jquery-ui-widget' ); + wp_enqueue_script( 'jquery-ui-position' ); + wp_enqueue_script( 'jquery-ui-tooltip' ); + + } + } + + /** + * Enables enqueuing a new-scheme stylesheet. + * + * @since 2.5.5 + * + * Enables enqueuing the formatted individual stylesheets if false. + * WARNING: This facility is designed for development and must NOT be used in production. + * + * The Boolean may be set at the bottom of the plugin’s main PHP file. + * @see footnotes.php + */ + if ( PRODUCTION_ENV ) { + + /** + * Enqueues a minified united external stylesheet in production. + * + * - Update: Stylesheets: increase speed and energy efficiency by tailoring stylesheets to the needs of the instance, thanks to @docteurfitness design contribution. + * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. + * + * @since 2.5.5 + * + * @contributor @docteurfitness + * @link https://wordpress.org/support/topic/simply-speed-optimisation/ + * + * @reporter @docteurfitness + * @link https://wordpress.org/support/topic/simply-speed-optimisation/ + * + * The dashboard stylesheet is minified as-is. + * @see class/dashboard/layout.php + * + * @since 2.0.3 add versioning of public.css for cache busting. + * Plugin version number is needed for busting browser caches after each plugin update. + * + * @since 2.1.4 automate passing version number for cache busting. + * The constant C_STR_FOOTNOTES_VERSION is defined at start of footnotes.php. + * + * The media scope argument 'all' is the default. + * No need to use '-css' in the handle, as this is appended automatically. + */ + // Set tooltip mode for use in stylesheet name. + if ( self::$a_bool_tooltips_enabled ) { + + if ( self::$a_bool_amp_enabled ) { + $l_str_tooltip_mode_short = 'ampt'; + $l_str_tooltip_mode_long = 'amp-tooltips'; + + } elseif ( self::$a_bool_alternative_tooltips_enabled ) { + $l_str_tooltip_mode_short = 'altt'; + $l_str_tooltip_mode_long = 'alternative-tooltips'; + + } else { + $l_str_tooltip_mode_short = 'jqtt'; + $l_str_tooltip_mode_long = 'jquery-tooltips'; + + } + } else { + $l_str_tooltip_mode_short = 'nott'; + $l_str_tooltip_mode_long = 'no-tooltips'; + } + + // Set basic responsive page layout mode for use in stylesheet name. + $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); + switch ( $l_str_page_layout_option ) { + case 'reference-container': + $l_str_layout_mode = '1'; + break; + case 'entry-content': + $l_str_layout_mode = '2'; + break; + case 'main-content': + $l_str_layout_mode = '3'; + break; + case 'none': + default: + $l_str_layout_mode = '0'; + break; + } + + // Enqueue the tailored united minified stylesheet. + wp_enqueue_style( + 'mci-footnotes-' . $l_str_tooltip_mode_long . '-pagelayout-' . $l_str_page_layout_option, + plugins_url( + Footnotes_Config::C_STR_PLUGIN_NAME . '/css/footnotes-' . $l_str_tooltip_mode_short . 'brpl' . $l_str_layout_mode . '.min.css' + ), + array(), + C_STR_FOOTNOTES_VERSION, + 'all' + ); + + } else { + + /** + * Enqueues external stylesheets, ONLY in development now. + * + * @since 2.1.4 optionally enqueue an extra stylesheet. + * + * This optional layout fix is useful by lack of layout support. + */ + wp_enqueue_style( + 'mci-footnotes-common', + plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-common.css' ), + array(), + filemtime( + plugin_dir_path( + dirname( __FILE__, 1 ) + ) . 'css/dev-common.css' + ) + ); + wp_enqueue_style( + 'mci-footnotes-tooltips', + plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips.css' ), + array(), + filemtime( + plugin_dir_path( + dirname( __FILE__, 1 ) + ) . 'css/dev-tooltips.css' + ) + ); + + if ( self::$a_bool_amp_enabled ) { + wp_enqueue_style( + 'mci-footnotes-amp', + plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-amp-tooltips.css' ), + array(), + filemtime( + plugin_dir_path( + dirname( __FILE__, 1 ) + ) . 'css/dev-amp-tooltips.css' + ) + ); + } + + if ( self::$a_bool_alternative_tooltips_enabled ) { + wp_enqueue_style( + 'mci-footnotes-alternative', + plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips-alternative.css' ), + array(), + filemtime( + plugin_dir_path( + dirname( __FILE__, 1 ) + ) . 'css/dev-tooltips-alternative.css' + ) + ); + } + + $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); + if ( 'none' !== $l_str_page_layout_option ) { + wp_enqueue_style( + 'mci-footnotes-layout-' . $l_str_page_layout_option, + plugins_url( + Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-layout-' . $l_str_page_layout_option . '.css' + ), + array(), + filemtime( + plugin_dir_path( + dirname( __FILE__, 1 ) + ) . 'css/dev-layout-' . $l_str_page_layout_option . '.css' + ), + 'all' + ); + } + } + } +} From c18a66ae9596c81e9f7cdaa83bb135396e85b9a2 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:46:42 +0100 Subject: [PATCH 13/99] ci: improve build commands --- _tools/build-stylesheets.sh | 38 ++++++++++++++++++------------------- _tools/build.sh | 30 +++++++++++++++++++---------- 2 files changed, 39 insertions(+), 29 deletions(-) diff --git a/_tools/build-stylesheets.sh b/_tools/build-stylesheets.sh index 6864fa0..4eae42e 100755 --- a/_tools/build-stylesheets.sh +++ b/_tools/build-stylesheets.sh @@ -14,31 +14,31 @@ echo "Running $(dirname "$0")/build-stylesheets.sh" if [[ $1 == "-c" ]]; then - echo "Concatenating files and placing in \`tmp/css/\`..." + echo "Concatenating files and placing in \`dist/css/\`..." - mkdir -p ./tmp/css - cat ./src/css/dev-common.css > ./tmp/css/footnotes-nottbrpl0.css + mkdir -p ./dist/css + cat ./src/css/dev-common.css > ./dist/css/footnotes-nottbrpl0.css - cat ./src/css/dev-{common,layout-reference-container}.css > ./tmp/css/footnotes-nottbrpl1.css - cat ./src/css/dev-{common,layout-entry-content}.css > ./tmp/css/footnotes-nottbrpl2.css - cat ./src/css/dev-{common,layout-main-content}.css > ./tmp/css/footnotes-nottbrpl3.css + cat ./src/css/dev-{common,layout-reference-container}.css > ./dist/css/footnotes-nottbrpl1.css + cat ./src/css/dev-{common,layout-entry-content}.css > ./dist/css/footnotes-nottbrpl2.css + cat ./src/css/dev-{common,layout-main-content}.css > ./dist/css/footnotes-nottbrpl3.css - cat ./src/css/dev-{common,tooltips}.css > ./tmp/css/footnotes-jqttbrpl0.css - cat ./src/css/dev-{common,tooltips,layout-reference-container}.css > ./tmp/css/footnotes-jqttbrpl1.css - cat ./src/css/dev-{common,tooltips,layout-entry-content}.css > ./tmp/css/footnotes-jqttbrpl2.css - cat ./src/css/dev-{common,tooltips,layout-main-content}.css > ./tmp/css/footnotes-jqttbrpl3.css + cat ./src/css/dev-{common,tooltips}.css > ./dist/css/footnotes-jqttbrpl0.css + cat ./src/css/dev-{common,tooltips,layout-reference-container}.css > ./dist/css/footnotes-jqttbrpl1.css + cat ./src/css/dev-{common,tooltips,layout-entry-content}.css > ./dist/css/footnotes-jqttbrpl2.css + cat ./src/css/dev-{common,tooltips,layout-main-content}.css > ./dist/css/footnotes-jqttbrpl3.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative}.css > ./tmp/css/footnotes-alttbrpl0.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-reference-container}.css > ./tmp/css/footnotes-alttbrpl1.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-entry-content}.css > ./tmp/css/footnotes-alttbrpl2.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-main-content}.css > ./tmp/css/footnotes-alttbrpl3.css + cat ./src/css/dev-{common,tooltips,tooltips-alternative}.css > ./dist/css/footnotes-alttbrpl0.css + cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-reference-container}.css > ./dist/css/footnotes-alttbrpl1.css + cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-entry-content}.css > ./dist/css/footnotes-alttbrpl2.css + cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-main-content}.css > ./dist/css/footnotes-alttbrpl3.css - cat ./src/css/dev-{common,tooltips,amp-tooltips}.css > ./tmp/css/footnotes-amptbrpl0.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-reference-container}.css > ./tmp/css/footnotes-amptbrpl1.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./tmp/css/footnotes-amptbrpl2.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./tmp/css/footnotes-amptbrpl3.css + cat ./src/css/dev-{common,tooltips,amp-tooltips}.css > ./dist/css/footnotes-amptbrpl0.css + cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-reference-container}.css > ./dist/css/footnotes-amptbrpl1.css + cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./dist/css/footnotes-amptbrpl2.css + cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./dist/css/footnotes-amptbrpl3.css - cat ./src/css/settings.css > ./tmp/css/settings.css + cat ./src/css/settings.css > ./dist/css/settings.css echo "Stylesheet concatenation complete." exit 0 diff --git a/_tools/build.sh b/_tools/build.sh index d0f5782..c544c5e 100755 --- a/_tools/build.sh +++ b/_tools/build.sh @@ -6,26 +6,36 @@ echo "Building Plugin..." echo "Copying directories..." rm -rf dist/ mkdir dist -cp -r -t dist src/{class,languages,templates,img}/ -echo "Copying files..." -cp -t dist ./{SECURITY.md,CHANGELOG.md,wpml-config.xml} src/{license.txt,readme.txt,includes.php} -echo "Setting production flag..." -sed "s/'PRODUCTION_ENV', false/'PRODUCTION_ENV', true/g" src/footnotes.php > dist/footnotes.php -echo "Production flag set." +rsync -av --progress --exclude css src/* dist +echo "Setting production flag environment flag..." +sed -i "s/'PRODUCTION_ENV' , false/'PRODUCTION_ENV' , true/g" ./dist/footnotes.php +echo "Production environment flag set." + +echo "Setting pre-release version tags..." +grep " \* Version:" dist/footnotes.php | grep -Po "\d+\.\d+(\.\d+)?d$" +if [ $? != 0 ]; then echo "Development version tag (`d`) not set!"; exit 1; fi +PLUGIN_DEV_VERSION="$(grep " \* Version:" dist/footnotes.php | grep -Po "\d+\.\d+(\.\d+)?d$")" +PLUGIN_PRE_VERSION="${PLUGIN_DEV_VERSION/d/p}" +find dist -type f -exec sed -i "s/$PLUGIN_DEV_VERSION/$PLUGIN_PRE_VERSION/g" {} + +if [ $? != 0 ]; then echo "Pre-release tag (`p`) could not be set!"; exit 1; fi +echo "Pre-release version tags set." -# TODO: once automatic minification is implemented, this should handle that. -# For now, we shall have to assume that this command is being run on a repo. with -# minimised stylesheet files already in `dist/css/`. echo "Building stylesheets..." ./_tools/build-stylesheets.sh -c if [ $? != 0 ]; then echo "Concatenation failed!"; exit 1; fi echo "Stylesheet build complete." echo "Minifying CSS and JS..." -mkdir -p dist/{css,js} npm run minify if [ $? != 0 ]; then echo "Minification failed!"; exit 1; fi +echo "Deleting unminified files from `dist/`..." +rm -r dist/**/*[^.min].{js,css} echo "Minification complete." +if [[ $1 == "-v" ]]; then + rm -rf ../VVV/www/wordpress-one/public_html/wp-content/plugins/footnotes + mv dist footnotes && mv footnotes ../VVV/www/wordpress-one/public_html/wp-content/plugins +fi + echo "Build complete." exit 0 From 0c7c0d155b1c5779dc61fc6aa018b71577bb75a3 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 11:54:58 +0100 Subject: [PATCH 14/99] chore: lint --- src/footnotes.php | 6 +++--- src/includes/class-footnotes-deactivator.php | 10 +++++----- src/includes/class-footnotes.php | 10 ++++++---- src/includes/template.php | 2 +- src/index.php | 1 - 5 files changed, 15 insertions(+), 14 deletions(-) delete mode 100755 src/index.php diff --git a/src/footnotes.php b/src/footnotes.php index f208a09..64bee70 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -38,7 +38,7 @@ if ( ! defined( 'WPINC' ) ) { /** * Current plugin version. */ -define('C_STR_FOOTNOTES_VERSION', '2.8.0d'); +define( 'C_STR_FOOTNOTES_VERSION', '2.8.0d' ); /** * Defines the current environment ('development' or 'production'). @@ -47,7 +47,7 @@ define('C_STR_FOOTNOTES_VERSION', '2.8.0d'); * * @since 2.5.5 */ -define('PRODUCTION_ENV' , false); +define( 'PRODUCTION_ENV', false ); /** * The code that runs during plugin activation. @@ -92,6 +92,6 @@ function run_footnotes() { // Add the links to the dashboard plugins page. // TODO: Move this somewhere more appropriate. - add_filter( "plugin_action_links_footnotes/footnotes.php", array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); + add_filter( 'plugin_action_links_footnotes/footnotes.php', array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); } run_footnotes(); diff --git a/src/includes/class-footnotes-deactivator.php b/src/includes/class-footnotes-deactivator.php index e9de651..953ce4b 100644 --- a/src/includes/class-footnotes-deactivator.php +++ b/src/includes/class-footnotes-deactivator.php @@ -1,11 +1,11 @@ plugin_directory . $template_name ) ) { $located = $this->plugin_directory . $template_name; } - + return $located; } diff --git a/src/index.php b/src/index.php deleted file mode 100755 index 8142269..0000000 --- a/src/index.php +++ /dev/null @@ -1 +0,0 @@ - Date: Mon, 26 Apr 2021 17:15:48 +0100 Subject: [PATCH 15/99] Squash merge branch linting --- .distignore | 33 - .eslintignore | 3 - .eslintrc.js | 12 - .github/workflows/lint-code.yml | 49 + .github/workflows/ossar-analysis.yml | 1 + .github/workflows/php.yml | 46 - .../{release-handler.yml => pre-release.yml} | 10 +- .github/workflows/snyk.yml | 20 +- .gitignore | 7 +- .htmlhintrc | 22 + .prettierrc | 7 - .stylelintignore | 2 - .stylelintrc.json | 3 - LICENSE | 674 - LICENSE.md | 675 + composer.json | 5 +- package-lock.json | 15716 +++++++++++++++- package.json | 75 +- phpdoc.dist.xml | 40 +- src/admin/js/wysiwyg-editor.js | 44 +- src/admin/partials/other-plugins.html | 2 +- src/css/dev-amp-tooltips.css | 2 +- src/css/dev-common.css | 75 +- src/css/dev-layout-entry-content.css | 6 +- src/css/dev-layout-main-content.css | 2 +- src/css/dev-layout-reference-container.css | 2 +- src/css/dev-tooltips-alternative.css | 6 +- src/css/dev-tooltips.css | 15 +- src/css/settings.css | 34 +- src/includes/class-footnotes.php | 6 +- src/includes/dashboard/layout.php | 2 + src/includes/dashboard/subpage-main.php | 48 +- src/includes/task.php | 6 +- src/includes/wysiwyg.php | 2 +- wpml-config.xml => src/wpml-config.xml | 0 35 files changed, 15883 insertions(+), 1769 deletions(-) delete mode 100644 .distignore delete mode 100644 .eslintignore delete mode 100644 .eslintrc.js create mode 100644 .github/workflows/lint-code.yml delete mode 100644 .github/workflows/php.yml rename .github/workflows/{release-handler.yml => pre-release.yml} (87%) create mode 100644 .htmlhintrc delete mode 100644 .prettierrc delete mode 100644 .stylelintignore delete mode 100644 .stylelintrc.json delete mode 100644 LICENSE create mode 100644 LICENSE.md rename wpml-config.xml => src/wpml-config.xml (100%) diff --git a/.distignore b/.distignore deleted file mode 100644 index 7bc6ed0..0000000 --- a/.distignore +++ /dev/null @@ -1,33 +0,0 @@ -# A set of files you probably don't want in your WordPress.org distribution - -.distignore -.editorconfig -.git -.gitignore -.gitlab-ci.yml -.travis.yml -.DS_Store -Thumbs.db -behat.yml -bin -circle.yml -composer.json -composer.lock -Gruntfile.js -package.json -phpunit.xml -phpunit.xml.dist -multisite.xml -multisite.xml.dist -phpcs.ruleset.xml -LICENSE -wp-cli.local.yml -tests -vendor -node_modules -*.sql -*.tar.gz -*.zip -authors.txt -composer.* -.php-commitizen.php diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 2213c73..0000000 --- a/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -tmp/ -*.min.js -jquery.tools.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 4caeee5..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - env: { - browser: true, - jquery: true, - es6: true - }, - extends: [ - 'wordpress', - 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. - ], - rules: {}, -}; diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml new file mode 100644 index 0000000..7b39cae --- /dev/null +++ b/.github/workflows/lint-code.yml @@ -0,0 +1,49 @@ +name: Code Linting + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + lint: + name: Lint all code + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Validate composer.json and composer.lock + run: composer validate --strict + + - name: Cache Composer packages + id: composer-cache + uses: actions/cache@v2 + with: + path: vendor + key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-php- + + - name: Install dependencies + run: composer install --prefer-dist --no-progress --ignore-platform-reqs + + - name: Validate workflow files (YAML) + run: npm run validate:yaml + + - name: Lint Plugin code (PHP) + run: composer run lint:php + + - name: Lint Plugin scripts (JS) + run: composer run format:js:fix && composer run lint:js + + #- name: Lint stylesheets (CSS) + # run: composer run lint:css + + #- name: Lint templates (HTML) + # run: composer run lint:html + + - name: Lint documentation (Markdown) + run: composer run lint:md diff --git a/.github/workflows/ossar-analysis.yml b/.github/workflows/ossar-analysis.yml index f89b0d6..741984e 100644 --- a/.github/workflows/ossar-analysis.yml +++ b/.github/workflows/ossar-analysis.yml @@ -16,6 +16,7 @@ jobs: OSSAR-Scan: # OSSAR runs on windows-latest. # ubuntu-latest and macos-latest support coming soon + name: Scan code with OSSAR runs-on: windows-latest steps: diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml deleted file mode 100644 index e3b2010..0000000 --- a/.github/workflows/php.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PHP Composer - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Validate composer.json and composer.lock - run: composer validate --strict - - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php- - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --ignore-platform-reqs - - - name: Lint PHP code - run: composer run lint:php - - - name: Lint JS code - run: composer run format:js:fix && composer run lint:js - - #- name: Lint stylesheets - # run: composer run lint:css - - - name: Lint Markdown files - run: composer run lint:md - - # TODO: Add tests - # - name: Run test suite - # run: composer run-script test diff --git a/.github/workflows/release-handler.yml b/.github/workflows/pre-release.yml similarity index 87% rename from .github/workflows/release-handler.yml rename to .github/workflows/pre-release.yml index ab35d63..1eb8882 100644 --- a/.github/workflows/release-handler.yml +++ b/.github/workflows/pre-release.yml @@ -1,13 +1,13 @@ -name: Release Handler +name: Pre-release Handler -# Action runs when a new release is published. on: release: types: [published] jobs: - release-new: - name: Issue new release + build: + name: Build the Plugin for pre-release + if: "github.event.release.prerelease" runs-on: ubuntu-latest steps: @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: | - composer install --no-dev --optimize-autoloader + composer install --no-dev --optimize-autoloader --no-progress - name: Build Plugin run: | diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 4dad04e..4487527 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -1,13 +1,19 @@ name: Snyk + on: push + jobs: security: + name: Scan for vulnerabilities runs-on: ubuntu-latest + steps: - - uses: actions/checkout@master - - name: Run Snyk to check for vulnerabilities - uses: snyk/actions/php@master - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - with: - args: --all-projects \ No newline at end of file + - name: Checkout code + uses: actions/checkout@master + + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/php@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + with: + args: --all-projects diff --git a/.gitignore b/.gitignore index dbb899d..797379f 100644 --- a/.gitignore +++ b/.gitignore @@ -79,13 +79,8 @@ tmp/ !.editorconfig !.phpcs.xml.dist -!.eslintrc.js -!.eslintignore -!.php-commitizen.php !.prettierignore -!.prettierrc -!.stylelintignore -!.stylelintrc.json +!.htmlhintrc # Track favicon files, if they exist. !android-chrome-*.png diff --git a/.htmlhintrc b/.htmlhintrc new file mode 100644 index 0000000..6a4e784 --- /dev/null +++ b/.htmlhintrc @@ -0,0 +1,22 @@ +{ + "style-disabled": true, + "head-script-disabled": true, + "attr-lowercase": true, + "attr-no-duplication": true, + "attr-no-unnecessary-whitespace": true, + "attr-unsafe-chars": true, + "attr-value-double-quotes": true, + "attr-value-not-empty": false, + "alt-require": true, + "input-requires-label": true, + "href-abs-or-rel": "rel", + "tagname-lowercase": true, + "empty-tag-not-self-closed": true, + "src-not-empty": true, + "id-class-ad-disabled": true, + "id_class_value": "underline", + "id-unique": true, + "inline-script-disabled": true, + "inline-style-disabled": true, + "space-tab-mixed-disabled": true +} diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 0c67073..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "semi": true, - "trailingComma": "all", - "singleQuote": true, - "printWidth": 120, - "tabWidth": 2 -} diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index a5c1199..0000000 --- a/.stylelintignore +++ /dev/null @@ -1,2 +0,0 @@ -tmp/ -*.min.css diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index 58c6190..0000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "stylelint-config-wordpress" -} diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f288702..0000000 --- a/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - 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 -. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..c76e02b --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,675 @@ +# 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 . diff --git a/composer.json b/composer.json index c3249ca..6e6f621 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ "lint:fix": "composer run lint:php:fix && npm run lint:fix", "format": "npm run format", "format:fix": "npm run format:fix", - "lint:php": "./vendor/bin/phpcs --standard=WordPress --colors --encoding=utf-8 -n -p ./src/*.php ./src/**/*.php && ./vendor/bin/phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -n -p ./src/*.php ./src/**/*.php", - "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress --encoding=utf-8 -p ./src/*.php ./src/**/*.php && ./vendor/bin/phpcbf --standard=PHPCompatibilityWP --runtime-set testVersion 7.0- --encoding=utf-8 -p ./src/*.php ./src/**/*.php", + "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", + "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", "lint:css": "npm run lint:css", "lint:css:fix": "npm run lint:css:fix", "lint:js": "npm run lint:js", @@ -21,6 +21,7 @@ "format:js:fix": "npm run format:js:fix", "lint:md": "npm run lint:md", "lint:md:fix": "npm run lint:md:fix", + "lint:html": "npm run lint:html", "docs": "./vendor/bin/phpdoc", "post-install-cmd": "npm install", "minify": "npm run minify", diff --git a/package-lock.json b/package-lock.json index c37934d..4e34d8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,26 +5,35 @@ "packages": { "": { "license": "GPL-3.0", + "dependencies": { + "stylelint-a11y": "^1.2.3" + }, "devDependencies": { + "@wordpress/eslint-plugin": "^9.0.3", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.24.0", "eslint-config-prettier": "^8.2.0", - "eslint-config-wordpress": "^2.0.0", "eslint-plugin-prettier": "^3.4.0", + "htmlhint": "^0.14.2", "husky": "^4.3.8", "lint-staged": "^10.5.4", "markdownlint-cli": "^0.27.1", "minify": "^7.0.1", + "node-sass": "^5.0.0", "prettier": "^2.2.1", "stylelint": "^13.12.0", - "stylelint-config-wordpress": "^17.0.0" + "stylelint-config-rational-order": "^0.1.2", + "stylelint-config-recommended": "^3.0.0", + "stylelint-config-wordpress": "^17.0.0", + "stylelint-order": "^4.1.0", + "stylelint-scss": "^3.19.0", + "yaml-validator": "^3.0.1" } }, "node_modules/@babel/code-frame": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", - "dev": true, "dependencies": { "@babel/highlight": "^7.10.4" } @@ -32,14 +41,12 @@ "node_modules/@babel/compat-data": { "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz", - "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==", - "dev": true + "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==" }, "node_modules/@babel/core": { "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.15.tgz", "integrity": "sha512-6GXmNYeNjS2Uz+uls5jalOemgIhnTMeaXo+yBUA72kC2uX/8VW6XyhVIo2L8/q0goKQA3EVKx0KOQpVKSeWadQ==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.12.13", "@babel/generator": "^7.13.9", @@ -69,7 +76,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "dependencies": { "@babel/highlight": "^7.12.13" } @@ -78,7 +84,6 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -87,7 +92,6 @@ "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", - "dev": true, "dependencies": { "@babel/types": "^7.13.0", "jsesc": "^2.5.1", @@ -98,7 +102,6 @@ "version": "7.13.13", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz", "integrity": "sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ==", - "dev": true, "dependencies": { "@babel/compat-data": "^7.13.12", "@babel/helper-validator-option": "^7.12.17", @@ -113,7 +116,6 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -122,7 +124,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", - "dev": true, "dependencies": { "@babel/helper-get-function-arity": "^7.12.13", "@babel/template": "^7.12.13", @@ -133,7 +134,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", - "dev": true, "dependencies": { "@babel/types": "^7.12.13" } @@ -142,7 +142,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", - "dev": true, "dependencies": { "@babel/types": "^7.13.12" } @@ -151,7 +150,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", - "dev": true, "dependencies": { "@babel/types": "^7.13.12" } @@ -160,7 +158,6 @@ "version": "7.13.14", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz", "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==", - "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.13.12", "@babel/helper-replace-supers": "^7.13.12", @@ -176,7 +173,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", - "dev": true, "dependencies": { "@babel/types": "^7.12.13" } @@ -185,7 +181,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz", "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==", - "dev": true, "dependencies": { "@babel/helper-member-expression-to-functions": "^7.13.12", "@babel/helper-optimise-call-expression": "^7.12.13", @@ -197,7 +192,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", - "dev": true, "dependencies": { "@babel/types": "^7.13.12" } @@ -206,7 +200,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", - "dev": true, "dependencies": { "@babel/types": "^7.12.13" } @@ -214,20 +207,17 @@ "node_modules/@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", - "dev": true + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" }, "node_modules/@babel/helper-validator-option": { "version": "7.12.17", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==", - "dev": true + "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==" }, "node_modules/@babel/helpers": { "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", - "dev": true, "dependencies": { "@babel/template": "^7.12.13", "@babel/traverse": "^7.13.0", @@ -238,7 +228,6 @@ "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz", "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==", - "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.12.11", "chalk": "^2.0.0", @@ -249,7 +238,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -261,7 +249,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -275,7 +262,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -283,14 +269,12 @@ "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/@babel/highlight/node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, "engines": { "node": ">=4" } @@ -299,7 +283,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -311,7 +294,6 @@ "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.15.tgz", "integrity": "sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ==", - "dev": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -319,11 +301,29 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/runtime": { + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.17.tgz", + "integrity": "sha512-NCdgJEelPTSh+FEFylhnP1ylq848l1z9t9N0j1Lfbcw0+KXGjsTvUmkxy+voLLXB5SOKMbLLx4jxYliGrYQseA==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.13.4" + } + }, + "node_modules/@babel/runtime-corejs3": { + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.13.17.tgz", + "integrity": "sha512-RGXINY1YvduBlGrP+vHjJqd/nK7JVpfM4rmZLGMx77WoL3sMrhheA0qxii9VNn1VHnxJLEyxmvCB+Wqc+x/FMw==", + "dev": true, + "dependencies": { + "core-js-pure": "^3.0.0", + "regenerator-runtime": "^0.13.4" + } + }, "node_modules/@babel/template": { "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.12.13", "@babel/parser": "^7.12.13", @@ -334,7 +334,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "dependencies": { "@babel/highlight": "^7.12.13" } @@ -343,7 +342,6 @@ "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz", "integrity": "sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.12.13", "@babel/generator": "^7.13.9", @@ -359,7 +357,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "dependencies": { "@babel/highlight": "^7.12.13" } @@ -368,7 +365,6 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, "engines": { "node": ">=4" } @@ -377,7 +373,6 @@ "version": "7.13.14", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz", "integrity": "sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==", - "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -506,11 +501,23 @@ "node": ">=8" } }, + "node_modules/@mrmlnc/readdir-enhanced": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", + "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", + "dev": true, + "dependencies": { + "call-me-maybe": "^1.0.1", + "glob-to-regexp": "^0.3.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", - "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.4", "run-parallel": "^1.1.9" @@ -523,7 +530,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", - "dev": true, "engines": { "node": ">= 8" } @@ -532,7 +538,6 @@ "version": "1.2.6", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", - "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.4", "fastq": "^1.6.0" @@ -545,7 +550,6 @@ "version": "0.37.2", "resolved": "https://registry.npmjs.org/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.37.2.tgz", "integrity": "sha512-nEhsFoJurt8oUmieT8qy4nk81WRHmJynmVwn/Vts08PL9fhgIsMhk1GId5yAN643OzqEEb5S/6At2TZW7pqPDA==", - "dev": true, "dependencies": { "@babel/core": ">=7.9.0" }, @@ -558,7 +562,6 @@ "version": "0.36.2", "resolved": "https://registry.npmjs.org/@stylelint/postcss-markdown/-/postcss-markdown-0.36.2.tgz", "integrity": "sha512-2kGbqUVJUGE8dM+bMzXG/PYUWKkjLIkRLWNh39OaADkiabDRdw8ATFCgbMz5xdIcvwspPAluSL7uY+ZiTWdWmQ==", - "dev": true, "dependencies": { "remark": "^13.0.0", "unist-util-find-all-after": "^3.0.2" @@ -568,37 +571,345 @@ "postcss-syntax": ">=0.36.2" } }, + "node_modules/@types/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", + "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", + "dev": true + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, "node_modules/@types/mdast": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.3.tgz", "integrity": "sha512-SXPBMnFVQg1s00dlMCc/jCdvPqdE4mXaMMCeRlxLDmTAEoegHT53xKtkDnzDTOcmMHUfcjyf36/YYZ6SxRdnsw==", - "dev": true, "dependencies": { "@types/unist": "*" } }, + "node_modules/@types/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", + "dev": true + }, "node_modules/@types/minimist": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz", - "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==", + "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==" + }, + "node_modules/@types/node": { + "version": "14.14.41", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.41.tgz", + "integrity": "sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g==", "dev": true }, "node_modules/@types/normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", - "dev": true + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==" }, "node_modules/@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "node_modules/@types/unist": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz", - "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==", + "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==" + }, + "node_modules/@types/vfile": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/vfile/-/vfile-3.0.2.tgz", + "integrity": "sha512-b3nLFGaGkJ9rzOcuXRfHkZMdjsawuDD0ENL9fzTophtBg8FJHSGbH7daXkEpcwy3v7Xol3pAvsmlYyFhR4pqJw==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/unist": "*", + "@types/vfile-message": "*" + } + }, + "node_modules/@types/vfile-message": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/vfile-message/-/vfile-message-2.0.0.tgz", + "integrity": "sha512-GpTIuDpb9u4zIO165fUy9+fXcULdD8HFRNli04GehoMVbeNq7D6OBnqSmg3lxZnC+UvgUhEWKxdKiwYUkGltIw==", + "deprecated": "This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "vfile-message": "*" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz", + "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==", + "dev": true, + "dependencies": { + "@typescript-eslint/experimental-utils": "4.22.0", + "@typescript-eslint/scope-manager": "4.22.0", + "debug": "^4.1.1", + "functional-red-black-tree": "^1.0.1", + "lodash": "^4.17.15", + "regexpp": "^3.0.0", + "semver": "^7.3.2", + "tsutils": "^3.17.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^4.0.0", + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/experimental-utils": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz", + "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.3", + "@typescript-eslint/scope-manager": "4.22.0", + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/typescript-estree": "4.22.0", + "eslint-scope": "^5.0.0", + "eslint-utils": "^2.0.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz", + "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "4.22.0", + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/typescript-estree": "4.22.0", + "debug": "^4.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz", + "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/visitor-keys": "4.22.0" + }, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz", + "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==", + "dev": true, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz", + "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/visitor-keys": "4.22.0", + "debug": "^4.1.1", + "globby": "^11.0.1", + "is-glob": "^4.0.1", + "semver": "^7.3.2", + "tsutils": "^3.17.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz", + "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "4.22.0", + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@wordpress/eslint-plugin": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-9.0.3.tgz", + "integrity": "sha512-XRIV1oxCStVEzCjou6XDQfUNWzF025GBT4594nsDRcsgWKCUENnHaJqEOXK8RU5wSe1ApvctwpKoDCrvuIEGlg==", + "dev": true, + "dependencies": { + "@typescript-eslint/eslint-plugin": "^4.15.0", + "@typescript-eslint/parser": "^4.15.0", + "@wordpress/prettier-config": "^1.0.3", + "babel-eslint": "^10.1.0", + "cosmiconfig": "^7.0.0", + "eslint-config-prettier": "^7.1.0", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-jest": "^24.1.3", + "eslint-plugin-jsdoc": "^30.7.13", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-prettier": "^3.3.0", + "eslint-plugin-react": "^7.22.0", + "eslint-plugin-react-hooks": "^4.2.0", + "globals": "^12.0.0", + "prettier": "npm:wp-prettier@2.2.1-beta-1", + "requireindex": "^1.2.0" + }, + "engines": { + "node": ">=12", + "npm": ">=6.9" + }, + "peerDependencies": { + "eslint": "^6 || ^7", + "typescript": "^4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@wordpress/eslint-plugin/node_modules/eslint-config-prettier": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz", + "integrity": "sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/@wordpress/eslint-plugin/node_modules/globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "dependencies": { + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@wordpress/eslint-plugin/node_modules/prettier": { + "name": "wp-prettier", + "version": "2.2.1-beta-1", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", + "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@wordpress/eslint-plugin/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@wordpress/prettier-config": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-1.0.3.tgz", + "integrity": "sha512-BWiped4eH3EWZ4FckDTFWrDKmb2Xi5zGef9fm9f1vg+MiloNvEItVczoXHY3BK4nF9m171xsGx22WZSi7dVopA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "node_modules/acorn": { @@ -651,6 +962,15 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true, + "engines": { + "node": ">=0.4.2" + } + }, "node_modules/ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", @@ -691,7 +1011,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true, "engines": { "node": ">=8" } @@ -700,7 +1019,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -711,6 +1029,46 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "node_modules/are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/are-we-there-yet/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -720,6 +1078,19 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/aria-query": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz", + "integrity": "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.10.2", + "@babel/runtime-corejs3": "^7.10.2" + }, + "engines": { + "node": ">=6.0" + } + }, "node_modules/arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -747,15 +1118,51 @@ "node": ">=0.10.0" } }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-includes": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", + "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/array-unique": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", @@ -765,15 +1172,67 @@ "node": ">=0.10.0" } }, + "node_modules/array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz", + "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true, "engines": { "node": ">=0.10.0" } }, + "node_modules/asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, "node_modules/assign-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", @@ -783,15 +1242,41 @@ "node": ">=0.10.0" } }, + "node_modules/ast-types-flow": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", + "integrity": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=", + "dev": true + }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/async": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", + "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==", + "dev": true + }, + "node_modules/async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, "node_modules/atob": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", @@ -808,7 +1293,6 @@ "version": "9.8.6", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz", "integrity": "sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==", - "dev": true, "dependencies": { "browserslist": "^4.12.0", "caniuse-lite": "^1.0.30001109", @@ -826,11 +1310,70 @@ "url": "https://tidelift.com/funding/github/npm/autoprefixer" } }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "node_modules/axe-core": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.1.4.tgz", + "integrity": "sha512-Pdgfv6iP0gNx9ejRGa3zE7Xgkj/iclXqLfe7BnatdZz0QnLZ3jrRHUVH8wNSdN68w05Sk3ShGTb3ydktMTooig==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/axobject-query": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", + "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==", + "dev": true + }, + "node_modules/babel-eslint": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", + "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", + "deprecated": "babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.7.0", + "@babel/traverse": "^7.7.0", + "@babel/types": "^7.7.0", + "eslint-visitor-keys": "^1.0.0", + "resolve": "^1.12.0" + }, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "eslint": ">= 4.12.1" + } + }, + "node_modules/babel-eslint/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -839,8 +1382,7 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/base": { "version": "0.11.2", @@ -872,11 +1414,19 @@ "node": ">=0.10.0" } }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -886,7 +1436,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "dependencies": { "fill-range": "^7.0.1" }, @@ -898,7 +1447,6 @@ "version": "4.16.4", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.4.tgz", "integrity": "sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ==", - "dev": true, "dependencies": { "caniuse-lite": "^1.0.30001208", "colorette": "^1.2.2", @@ -956,7 +1504,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -965,11 +1512,49 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "dev": true + }, + "node_modules/caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "dependencies": { + "callsites": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/caller-callsite/node_modules/callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "dev": true, + "dependencies": { + "caller-callsite": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, "engines": { "node": ">=6" } @@ -994,7 +1579,6 @@ "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, "engines": { "node": ">=6" } @@ -1003,7 +1587,6 @@ "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -1019,14 +1602,28 @@ "node_modules/caniuse-lite": { "version": "1.0.30001208", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001208.tgz", - "integrity": "sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA==", + "integrity": "sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA==" + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "node_modules/ccount": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", + "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -1042,6 +1639,15 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.4.tgz", + "integrity": "sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g==", "dev": true, "funding": { "type": "github", @@ -1052,7 +1658,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -1062,7 +1667,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -1074,6 +1678,15 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", @@ -1262,11 +1875,112 @@ "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", "dev": true }, + "node_modules/cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "dev": true, + "dependencies": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cliui/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/cliui/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/clone-regexp": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-2.2.0.tgz", "integrity": "sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==", - "dev": true, "dependencies": { "is-regexp": "^2.0.0" }, @@ -1274,6 +1988,25 @@ "node": ">=6" } }, + "node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/collapse-white-space": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", + "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -1291,7 +2024,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -1302,14 +2034,24 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/colorette": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true + "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } }, "node_modules/commander": { "version": "6.2.1", @@ -1320,6 +2062,15 @@ "node": ">= 6" } }, + "node_modules/comment-parser": { + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.6.tgz", + "integrity": "sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/commitizen": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.2.3.tgz", @@ -1473,9 +2224,23 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "dev": true }, + "node_modules/contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/conventional-commit-types": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", @@ -1486,7 +2251,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "dev": true, "dependencies": { "safe-buffer": "~5.1.1" } @@ -1500,11 +2264,27 @@ "node": ">=0.10.0" } }, + "node_modules/core-js-pure": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.11.0.tgz", + "integrity": "sha512-PxEiQGjzC+5qbvE7ZIs5Zn6BynNeZO9zHhrrWmkRff2SZLq0CE/H5LuZOJHhmOQ8L38+eMzEHAmPYWrUtDfuDQ==", + "dev": true, + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, "node_modules/cosmiconfig": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", - "dev": true, "dependencies": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -1546,7 +2326,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, "bin": { "cssesc": "bin/cssesc" }, @@ -1554,6 +2333,18 @@ "node": ">=4" } }, + "node_modules/currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "dependencies": { + "array-find-index": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/cz-conventional-changelog": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", @@ -1636,11 +2427,28 @@ "node": ">=4" } }, + "node_modules/damerau-levenshtein": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", + "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==", + "dev": true + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -1657,7 +2465,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -1666,7 +2473,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "dev": true, "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -1679,7 +2485,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -1714,6 +2519,18 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -1727,6 +2544,21 @@ "node": ">=0.10.0" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, "node_modules/detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -1749,7 +2581,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, "dependencies": { "path-type": "^4.0.0" }, @@ -1773,7 +2604,6 @@ "version": "0.2.2", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", - "dev": true, "dependencies": { "domelementtype": "^2.0.1", "entities": "^2.0.0" @@ -1783,7 +2613,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "dev": true, "funding": [ { "type": "github", @@ -1795,7 +2624,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } @@ -1803,14 +2631,12 @@ "node_modules/domelementtype": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", - "dev": true + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" }, "node_modules/domhandler": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", - "dev": true, "dependencies": { "domelementtype": "1" } @@ -1819,7 +2645,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", - "dev": true, "dependencies": { "dom-serializer": "0", "domelementtype": "1" @@ -1841,17 +2666,46 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dot-prop/node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, "node_modules/electron-to-chromium": { "version": "1.3.717", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz", - "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ==", - "dev": true + "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ==" }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/end-of-stream": { "version": "1.4.4", @@ -1877,23 +2731,76 @@ "node_modules/entities": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", - "dev": true + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "engines": { + "node": ">=6" + } }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, "dependencies": { "is-arrayish": "^0.2.1" } }, + "node_modules/es-abstract": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz", + "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "is-callable": "^1.2.3", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.2", + "is-string": "^1.0.5", + "object-inspect": "^1.9.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, "engines": { "node": ">=6" } @@ -1902,7 +2809,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, "engines": { "node": ">=0.8.0" } @@ -1973,16 +2879,399 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-config-wordpress": { + "node_modules/eslint-import-resolver-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", + "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", + "dev": true, + "dependencies": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-wordpress/-/eslint-config-wordpress-2.0.0.tgz", - "integrity": "sha1-UgEgbGlk1kgxUjLt9t+9LpJeTNY=", - "deprecated": "This package has been deprecated, please use @wordpress/eslint-plugin or @wordpress/scripts", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "dependencies": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-module-utils/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-module-utils/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "dev": true, "engines": { - "node": ">=4.2.1" + "node": ">=4" } }, + "node_modules/eslint-module-utils/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", + "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.1", + "array.prototype.flat": "^1.2.3", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.4", + "eslint-module-utils": "^2.6.0", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.1", + "read-pkg-up": "^2.0.0", + "resolve": "^1.17.0", + "tsconfig-paths": "^3.9.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "dependencies": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/eslint-plugin-import/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-import/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "dependencies": { + "pify": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "dependencies": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/eslint-plugin-jest": { + "version": "24.3.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.5.tgz", + "integrity": "sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug==", + "dev": true, + "dependencies": { + "@typescript-eslint/experimental-utils": "^4.0.1" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": ">= 4", + "eslint": ">=5" + }, + "peerDependenciesMeta": { + "@typescript-eslint/eslint-plugin": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "30.7.13", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.7.13.tgz", + "integrity": "sha512-YM4WIsmurrp0rHX6XiXQppqKB8Ne5ATiZLJe2+/fkp9l9ExXFr43BbAbjZaVrpCT+tuPYOZ8k1MICARHnURUNQ==", + "dev": true, + "dependencies": { + "comment-parser": "^0.7.6", + "debug": "^4.3.1", + "jsdoctypeparser": "^9.0.0", + "lodash": "^4.17.20", + "regextras": "^0.7.1", + "semver": "^7.3.4", + "spdx-expression-parse": "^3.0.1" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0" + } + }, + "node_modules/eslint-plugin-jsx-a11y": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz", + "integrity": "sha512-0rGPJBbwHoGNPU73/QCLP/vveMlM1b1Z9PponxO87jfr6tuH5ligXbDT6nHSSzBC8ovX2Z+BQu7Bk5D/Xgq9zg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.11.2", + "aria-query": "^4.2.2", + "array-includes": "^3.1.1", + "ast-types-flow": "^0.0.7", + "axe-core": "^4.0.2", + "axobject-query": "^2.2.0", + "damerau-levenshtein": "^1.0.6", + "emoji-regex": "^9.0.0", + "has": "^1.0.3", + "jsx-ast-utils": "^3.1.0", + "language-tags": "^1.0.5" + }, + "engines": { + "node": ">=4.0" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7" + } + }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, "node_modules/eslint-plugin-prettier": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz", @@ -2004,6 +3293,69 @@ } } }, + "node_modules/eslint-plugin-react": { + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.23.2.tgz", + "integrity": "sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.3", + "array.prototype.flatmap": "^1.2.4", + "doctrine": "^2.1.0", + "has": "^1.0.3", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.0.4", + "object.entries": "^1.1.3", + "object.fromentries": "^2.0.4", + "object.values": "^1.1.3", + "prop-types": "^15.7.2", + "resolve": "^2.0.0-next.3", + "string.prototype.matchall": "^4.0.4" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz", + "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.3", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.3.tgz", + "integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==", + "dev": true, + "dependencies": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -2173,7 +3525,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/execall/-/execall-2.0.0.tgz", "integrity": "sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==", - "dev": true, "dependencies": { "clone-regexp": "^2.1.0" }, @@ -2339,8 +3690,7 @@ "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "node_modules/extend-shallow": { "version": "3.0.2", @@ -2421,11 +3771,19 @@ "node": ">=0.10.0" } }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "engines": [ + "node >=0.6.0" + ] + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-diff": { "version": "1.2.0", @@ -2437,7 +3795,6 @@ "version": "3.2.5", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz", "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==", - "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -2465,14 +3822,12 @@ "node_modules/fastest-levenshtein": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==" }, "node_modules/fastq": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==", - "dev": true, "dependencies": { "reusify": "^1.0.4" } @@ -2496,7 +3851,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, "dependencies": { "flat-cache": "^3.0.4" }, @@ -2508,7 +3862,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2536,7 +3889,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -2715,7 +4067,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, "dependencies": { "flatted": "^3.1.0", "rimraf": "^3.0.2" @@ -2727,8 +4078,7 @@ "node_modules/flatted": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", - "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", - "dev": true + "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==" }, "node_modules/for-in": { "version": "1.0.2", @@ -2739,6 +4089,29 @@ "node": ">=0.10.0" } }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, "node_modules/fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -2765,17 +4138,27 @@ "node": ">=6 <7 || >=8" } }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/functional-red-black-tree": { "version": "1.0.1", @@ -2783,20 +4166,102 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "node_modules/gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "node_modules/gauge/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gauge/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gauge/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gauge/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "dependencies": { + "globule": "^1.0.0" + }, + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, "engines": { "node": ">=6.9.0" } }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/get-intrinsic": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -2816,7 +4281,6 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true, "engines": { "node": ">=10" }, @@ -2848,11 +4312,19 @@ "node": ">=0.10.0" } }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + } + }, "node_modules/glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -2868,11 +4340,53 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "dependencies": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob-base/node_modules/glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "dependencies": { + "is-glob": "^2.0.0" + } + }, + "node_modules/glob-base/node_modules/is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob-base/node_modules/is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -2880,6 +4394,12 @@ "node": ">= 6" } }, + "node_modules/glob-to-regexp": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", + "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", + "dev": true + }, "node_modules/global-dirs": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", @@ -2897,7 +4417,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", - "dev": true, "dependencies": { "global-prefix": "^3.0.0" }, @@ -2909,7 +4428,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dev": true, "dependencies": { "ini": "^1.3.5", "kind-of": "^6.0.2", @@ -2923,7 +4441,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -2950,7 +4467,6 @@ "version": "11.0.3", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==", - "dev": true, "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -2970,7 +4486,6 @@ "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", - "dev": true, "engines": { "node": ">= 4" } @@ -2978,14 +4493,26 @@ "node_modules/globjoin": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", - "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=", - "dev": true + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=" + }, + "node_modules/globule": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz", + "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==", + "dev": true, + "dependencies": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + }, + "engines": { + "node": ">= 0.10" + } }, "node_modules/gonzales-pe": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", - "dev": true, "dependencies": { "minimist": "^1.2.5" }, @@ -3002,11 +4529,33 @@ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", "dev": true }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dev": true, + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true, "engines": { "node": ">=6" } @@ -3015,7 +4564,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "dependencies": { "function-bind": "^1.1.1" }, @@ -3023,11 +4571,40 @@ "node": ">= 0.4.0" } }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "engines": { "node": ">=8" } @@ -3036,7 +4613,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -3044,6 +4620,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, "node_modules/has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -3138,7 +4720,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", - "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -3224,6 +4805,42 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz", "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/htmlhint": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/htmlhint/-/htmlhint-0.14.2.tgz", + "integrity": "sha512-lUCgGVZ/oyCkpgDkIa5IfClwX8Ppy11Dk7XdeVboAGSmKjIuOKx6yy86WS0W08KFtCRuxftzNy+KdQjM4UjqCA==", + "dev": true, + "dependencies": { + "async": "3.2.0", + "chalk": "4.1.0", + "commander": "5.1.0", + "glob": "7.1.6", + "parse-glob": "3.0.4", + "request": "2.88.2", + "strip-json-comments": "3.1.0", + "xml": "1.0.1" + }, + "bin": { + "htmlhint": "bin/htmlhint" + } + }, + "node_modules/htmlhint/node_modules/commander": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/htmlhint/node_modules/strip-json-comments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz", + "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==", "dev": true, "engines": { "node": ">=8" @@ -3233,7 +4850,6 @@ "version": "3.10.1", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "dev": true, "dependencies": { "domelementtype": "^1.3.1", "domhandler": "^2.3.0", @@ -3243,6 +4859,21 @@ "readable-stream": "^3.1.1" } }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, "node_modules/human-signals": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", @@ -3307,7 +4938,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -3323,7 +4953,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", - "dev": true, "engines": { "node": ">=8" } @@ -3332,7 +4961,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true, "engines": { "node": ">=0.8.19" } @@ -3341,7 +4969,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, "engines": { "node": ">=8" } @@ -3349,14 +4976,12 @@ "node_modules/indexes-of": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", - "dev": true + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -3365,14 +4990,12 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/inquirer": { "version": "6.5.2", @@ -3591,6 +5214,20 @@ "node": ">=4" } }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", @@ -3607,17 +5244,24 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/is-alphanumeric": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz", + "integrity": "sha1-Spzvcdr0wAHB2B1j0UDPU/1oifQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-alphanumerical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", - "dev": true, "dependencies": { "is-alphabetical": "^1.0.0", "is-decimal": "^1.0.0" @@ -3630,14 +5274,21 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "node_modules/is-bigint": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", + "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/is-boolean-object": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", - "dev": true, "dependencies": { "call-bind": "^1.0.0" }, @@ -3652,7 +5303,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true, "funding": [ { "type": "github", @@ -3671,11 +5321,22 @@ "node": ">=4" } }, + "node_modules/is-callable": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", + "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-core-module": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", - "dev": true, "dependencies": { "has": "^1.0.3" }, @@ -3695,11 +5356,22 @@ "node": ">=0.10.0" } }, + "node_modules/is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -3719,6 +5391,24 @@ "node": ">=0.10.0" } }, + "node_modules/is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", @@ -3735,16 +5425,26 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true, "engines": { "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -3753,7 +5453,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -3765,17 +5464,27 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, "engines": { "node": ">=0.12.0" } @@ -3784,7 +5493,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -3805,7 +5513,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -3822,11 +5529,26 @@ "node": ">=0.10.0" } }, + "node_modules/is-regex": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", + "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-regexp": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-2.1.0.tgz", "integrity": "sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==", - "dev": true, "engines": { "node": ">=6" } @@ -3844,7 +5566,30 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-supported-regexp-flag": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", + "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==", "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.1" + }, "engines": { "node": ">= 0.4" }, @@ -3855,14 +5600,12 @@ "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, "engines": { "node": ">=10" }, @@ -3876,6 +5619,16 @@ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, + "node_modules/is-whitespace-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", + "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", @@ -3885,6 +5638,16 @@ "node": ">=0.10.0" } }, + "node_modules/is-word-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", + "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -3894,8 +5657,7 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "node_modules/isobject": { "version": "3.0.1", @@ -3906,11 +5668,22 @@ "node": ">=0.10.0" } }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "node_modules/js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-yaml": { "version": "3.14.1", @@ -3925,11 +5698,28 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "node_modules/jsdoctypeparser": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz", + "integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==", + "dev": true, + "bin": { + "jsdoctypeparser": "bin/jsdoctypeparser" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, "bin": { "jsesc": "bin/jsesc" }, @@ -3937,10 +5727,21 @@ "node": ">=4" } }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "node_modules/json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true }, "node_modules/json-schema-traverse": { @@ -3955,11 +5756,16 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, "node_modules/json5": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, "dependencies": { "minimist": "^1.2.5" }, @@ -3985,11 +5791,38 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz", + "integrity": "sha512-EIsmt3O3ljsU6sot/J4E1zDRxfBNrhjyf/OKjlydwgEimQuznlM4Wv7U+ueONJMyEn1WRE0K8dhi3dVAXYT24Q==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.2", + "object.assign": "^4.1.2" + }, + "engines": { + "node": ">=4.0" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -3997,9 +5830,32 @@ "node_modules/known-css-properties": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.21.0.tgz", - "integrity": "sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==", + "integrity": "sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==" + }, + "node_modules/language-subtag-registry": { + "version": "0.3.21", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz", + "integrity": "sha512-L0IqwlIXjilBVVYKFT37X9Ih11Um5NEl9cbJIuU/SwP/zEEAbBPOnEeeuxVMf45ydWQRDQN3Nqc96OgbH1K+Pg==", "dev": true }, + "node_modules/language-tags": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", + "integrity": "sha1-0yHbxNowuovzAk4ED6XBRmH5GTo=", + "dev": true, + "dependencies": { + "language-subtag-registry": "~0.3.2" + } + }, + "node_modules/leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -4016,8 +5872,7 @@ "node_modules/lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", - "dev": true + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" }, "node_modules/linkify-it": { "version": "3.0.2", @@ -4080,11 +5935,46 @@ "enquirer": ">= 2.3.0 < 3" } }, + "node_modules/load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/load-json-file/node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/load-json-file/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, "dependencies": { "p-locate": "^4.1.0" }, @@ -4095,14 +5985,12 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", - "dev": true + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" }, "node_modules/lodash.differencewith": { "version": "4.5.0", @@ -4113,8 +6001,7 @@ "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", - "dev": true + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" }, "node_modules/lodash.map": { "version": "4.6.0", @@ -4125,14 +6012,12 @@ "node_modules/lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", - "dev": true + "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=" }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -4189,12 +6074,36 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "dependencies": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/lower-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", @@ -4214,7 +6123,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -4235,7 +6143,6 @@ "version": "4.2.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", - "dev": true, "engines": { "node": ">=8" }, @@ -4255,6 +6162,16 @@ "node": ">=0.10.0" } }, + "node_modules/markdown-escapes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", + "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/markdown-it": { "version": "12.0.4", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.4.tgz", @@ -4286,6 +6203,12 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/markdown-table": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz", + "integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==", + "dev": true + }, "node_modules/markdownlint": { "version": "0.23.1", "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.23.1.tgz", @@ -4372,17 +6295,28 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/mdast-util-compact": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mdast-util-compact/-/mdast-util-compact-1.0.4.tgz", + "integrity": "sha512-3YDMQHI5vRiS2uygEFYaqckibpJtKq5Sj2c8JioeOQBU6INpKbdWzfyLqFFnDwEcEnRFIdMsguzs5pC1Jp4Isg==", + "dev": true, + "dependencies": { + "unist-util-visit": "^1.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/mdast-util-from-markdown": { "version": "0.8.5", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", - "dev": true, "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-to-string": "^2.0.0", @@ -4399,7 +6333,6 @@ "version": "0.6.5", "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", - "dev": true, "dependencies": { "@types/unist": "^2.0.0", "longest-streak": "^2.0.0", @@ -4417,7 +6350,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", - "dev": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" @@ -4433,7 +6365,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", - "dev": true, "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -4459,7 +6390,6 @@ "version": "0.18.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "dev": true, "engines": { "node": ">=10" }, @@ -4483,7 +6413,6 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, "engines": { "node": ">= 8" } @@ -4492,7 +6421,6 @@ "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", - "dev": true, "funding": [ { "type": "GitHub Sponsors", @@ -4512,7 +6440,6 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, "dependencies": { "braces": "^3.0.1", "picomatch": "^2.2.3" @@ -4521,6 +6448,27 @@ "node": ">=8.6" } }, + "node_modules/mime-db": { + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "dev": true, + "dependencies": { + "mime-db": "1.47.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -4534,7 +6482,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, "engines": { "node": ">=4" } @@ -4563,7 +6510,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -4574,14 +6520,12 @@ "node_modules/minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, "node_modules/minimist-options": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", @@ -4591,6 +6535,31 @@ "node": ">= 6" } }, + "node_modules/minipass": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", + "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -4604,11 +6573,22 @@ "node": ">=0.10.0" } }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/mute-stream": { "version": "0.0.7", @@ -4616,6 +6596,12 @@ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "node_modules/nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "dev": true + }, "node_modules/nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -4660,17 +6646,383 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true }, + "node_modules/node-gyp": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", + "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", + "dev": true, + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" + } + }, "node_modules/node-releases": { "version": "1.1.71", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==", + "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" + }, + "node_modules/node-sass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-5.0.0.tgz", + "integrity": "sha512-opNgmlu83ZCF792U281Ry7tak9IbVC+AKnXGovcQ8LG8wFaJv6cLnRlc6DIHlmNxWEexB5bZxi9SZ9JyUuOYjw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^7.0.3", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "lodash": "^4.17.15", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.13.2", + "node-gyp": "^7.1.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "2.2.5", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + }, + "bin": { + "node-sass": "bin/node-sass" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-sass/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "dependencies": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, + "node_modules/node-sass/node_modules/indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "dependencies": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/node-sass/node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "dependencies": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/node-sass/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "dependencies": { + "get-stdin": "^4.0.1" + }, + "bin": { + "strip-indent": "cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-sass/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/node-sass/node_modules/trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/normalize-package-data": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.2.tgz", "integrity": "sha512-6CdZocmfGaKnIHPVFhJJZ3GuR8SsLKvDANFp47Jmy51aKIr8akjAWTSxtpI+MBgBFdSMRyo4hMpDlT6dTffgZg==", - "dev": true, "dependencies": { "hosted-git-info": "^4.0.1", "resolve": "^1.20.0", @@ -4694,7 +7046,6 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -4702,8 +7053,7 @@ "node_modules/normalize-selector": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", - "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", - "dev": true + "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=" }, "node_modules/npm-run-path": { "version": "4.0.1", @@ -4717,11 +7067,49 @@ "node": ">=8" } }, + "node_modules/npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, "node_modules/num2fraction": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", - "dev": true + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=" + }, + "node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, "node_modules/object-copy": { "version": "0.1.0", @@ -4814,6 +7202,24 @@ "node": ">=0.10.0" } }, + "node_modules/object-inspect": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz", + "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -4826,6 +7232,57 @@ "node": ">=0.10.0" } }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz", + "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.4.tgz", + "integrity": "sha512-EsFBshs5RUUpQEY1D4q/m59kMfz4YJvxuNCJcv/jWwOJr34EaVnG11ZrZa0UHB3wnzV1wx8m58T4hQL8IuNXlQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -4838,11 +7295,28 @@ "node": ">=0.10.0" } }, + "node_modules/object.values": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", + "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "dependencies": { "wrappy": "1" } @@ -4901,7 +7375,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, "dependencies": { "p-try": "^2.0.0" }, @@ -4916,7 +7389,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, "dependencies": { "p-limit": "^2.2.0" }, @@ -4943,7 +7415,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, "engines": { "node": ">=6" } @@ -4968,7 +7439,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, "dependencies": { "callsites": "^3.0.0" }, @@ -4980,7 +7450,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", - "dev": true, "dependencies": { "character-entities": "^1.0.0", "character-entities-legacy": "^1.0.0", @@ -4994,11 +7463,46 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "dependencies": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/parse-glob/node_modules/is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/parse-glob/node_modules/is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -5046,11 +7550,16 @@ "node": ">=0.10.0" } }, + "node_modules/path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, "engines": { "node": ">=8" } @@ -5059,7 +7568,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -5076,23 +7584,26 @@ "node_modules/path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, "node_modules/picomatch": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "dev": true, "engines": { "node": ">=8.6" }, @@ -5100,6 +7611,36 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/pkg-dir": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", @@ -5195,7 +7736,6 @@ "version": "7.0.35", "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dev": true, "dependencies": { "chalk": "^2.4.2", "source-map": "^0.6.1", @@ -5213,7 +7753,6 @@ "version": "0.36.0", "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.36.0.tgz", "integrity": "sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==", - "dev": true, "dependencies": { "htmlparser2": "^3.10.0" }, @@ -5222,11 +7761,23 @@ "postcss-syntax": ">=0.36.0" } }, + "node_modules/postcss-jsx": { + "version": "0.36.4", + "resolved": "https://registry.npmjs.org/postcss-jsx/-/postcss-jsx-0.36.4.tgz", + "integrity": "sha512-jwO/7qWUvYuWYnpOb0+4bIIgJt7003pgU3P6nETBLaOyBXuTD55ho21xnals5nBrlpTIFodyd3/jBi6UO3dHvA==", + "dev": true, + "dependencies": { + "@babel/core": ">=7.2.2" + }, + "peerDependencies": { + "postcss": ">=5.0.0", + "postcss-syntax": ">=0.36.0" + } + }, "node_modules/postcss-less": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-3.1.4.tgz", "integrity": "sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==", - "dev": true, "dependencies": { "postcss": "^7.0.14" }, @@ -5234,83 +7785,173 @@ "node": ">=6.14.4" } }, + "node_modules/postcss-markdown": { + "version": "0.36.0", + "resolved": "https://registry.npmjs.org/postcss-markdown/-/postcss-markdown-0.36.0.tgz", + "integrity": "sha512-rl7fs1r/LNSB2bWRhyZ+lM/0bwKv9fhl38/06gF6mKMo/NPnp55+K1dSTosSVjFZc0e1ppBlu+WT91ba0PMBfQ==", + "dev": true, + "dependencies": { + "remark": "^10.0.1", + "unist-util-find-all-after": "^1.0.2" + }, + "peerDependencies": { + "postcss": ">=5.0.0", + "postcss-syntax": ">=0.36.0" + } + }, + "node_modules/postcss-markdown/node_modules/parse-entities": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz", + "integrity": "sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==", + "dev": true, + "dependencies": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, + "node_modules/postcss-markdown/node_modules/remark": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/remark/-/remark-10.0.1.tgz", + "integrity": "sha512-E6lMuoLIy2TyiokHprMjcWNJ5UxfGQjaMSMhV+f4idM625UjjK4j798+gPs5mfjzDE6vL0oFKVeZM6gZVSVrzQ==", + "dev": true, + "dependencies": { + "remark-parse": "^6.0.0", + "remark-stringify": "^6.0.0", + "unified": "^7.0.0" + } + }, + "node_modules/postcss-markdown/node_modules/remark-parse": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-6.0.3.tgz", + "integrity": "sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg==", + "dev": true, + "dependencies": { + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^1.1.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "trim": "0.0.1", + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^1.0.0", + "vfile-location": "^2.0.0", + "xtend": "^4.0.1" + } + }, + "node_modules/postcss-markdown/node_modules/remark-stringify": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-6.0.4.tgz", + "integrity": "sha512-eRWGdEPMVudijE/psbIDNcnJLRVx3xhfuEsTDGgH4GsFF91dVhw5nhmnBppafJ7+NWINW6C7ZwWbi30ImJzqWg==", + "dev": true, + "dependencies": { + "ccount": "^1.0.0", + "is-alphanumeric": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "longest-streak": "^2.0.1", + "markdown-escapes": "^1.0.0", + "markdown-table": "^1.1.0", + "mdast-util-compact": "^1.0.0", + "parse-entities": "^1.0.2", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "stringify-entities": "^1.0.1", + "unherit": "^1.0.4", + "xtend": "^4.0.1" + } + }, + "node_modules/postcss-markdown/node_modules/unified": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-7.1.0.tgz", + "integrity": "sha512-lbk82UOIGuCEsZhPj8rNAkXSDXd6p0QLzIuSsCdxrqnqU56St4eyOB+AlXsVgVeRmetPTYydIuvFfpDIed8mqw==", + "dev": true, + "dependencies": { + "@types/unist": "^2.0.0", + "@types/vfile": "^3.0.0", + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^1.1.0", + "trough": "^1.0.0", + "vfile": "^3.0.0", + "x-is-string": "^0.1.0" + } + }, + "node_modules/postcss-markdown/node_modules/unist-util-find-all-after": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-1.0.5.tgz", + "integrity": "sha512-lWgIc3rrTMTlK1Y0hEuL+k+ApzFk78h+lsaa2gHf63Gp5Ww+mt11huDniuaoq1H+XMK2lIIjjPkncxXcDp3QDw==", + "dev": true, + "dependencies": { + "unist-util-is": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/postcss-markdown/node_modules/unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true + }, + "node_modules/postcss-markdown/node_modules/unist-util-stringify-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", + "dev": true + }, + "node_modules/postcss-markdown/node_modules/vfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-3.0.1.tgz", + "integrity": "sha512-y7Y3gH9BsUSdD4KzHsuMaCzRjglXN0W2EcMf0gpvu6+SbsGhMje7xDc8AEoeXy6mIwCKMI6BkjMsRjzQbhMEjQ==", + "dev": true, + "dependencies": { + "is-buffer": "^2.0.0", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^1.0.0", + "vfile-message": "^1.0.0" + } + }, + "node_modules/postcss-markdown/node_modules/vfile-message": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.1.1.tgz", + "integrity": "sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA==", + "dev": true, + "dependencies": { + "unist-util-stringify-position": "^1.1.1" + } + }, "node_modules/postcss-media-query-parser": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", - "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", - "dev": true + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=" }, - "node_modules/postcss-resolve-nested-selector": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", - "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=", - "dev": true - }, - "node_modules/postcss-safe-parser": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.2.tgz", - "integrity": "sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==", + "node_modules/postcss-reporter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-6.0.1.tgz", + "integrity": "sha512-LpmQjfRWyabc+fRygxZjpRxfhRf9u/fdlKf4VHG4TSPbV2XNsuISzYW1KL+1aQzx53CAppa1bKG4APIB/DOXXw==", "dev": true, "dependencies": { - "postcss": "^7.0.26" + "chalk": "^2.4.1", + "lodash": "^4.17.11", + "log-symbols": "^2.2.0", + "postcss": "^7.0.7" }, "engines": { - "node": ">=6.0.0" + "node": ">=6" } }, - "node_modules/postcss-sass": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.4.4.tgz", - "integrity": "sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==", - "dev": true, - "dependencies": { - "gonzales-pe": "^4.3.0", - "postcss": "^7.0.21" - } - }, - "node_modules/postcss-scss": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.1.1.tgz", - "integrity": "sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==", - "dev": true, - "dependencies": { - "postcss": "^7.0.6" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", - "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", - "dev": true, - "dependencies": { - "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-syntax": { - "version": "0.36.2", - "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.36.2.tgz", - "integrity": "sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==", - "dev": true, - "peerDependencies": { - "postcss": ">=5.0.0" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", - "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==", - "dev": true - }, - "node_modules/postcss/node_modules/ansi-styles": { + "node_modules/postcss-reporter/node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", @@ -5322,7 +7963,7 @@ "node": ">=4" } }, - "node_modules/postcss/node_modules/chalk": { + "node_modules/postcss-reporter/node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", @@ -5336,7 +7977,43 @@ "node": ">=4" } }, - "node_modules/postcss/node_modules/chalk/node_modules/supports-color": { + "node_modules/postcss-reporter/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/postcss-reporter/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/postcss-reporter/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-reporter/node_modules/log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "dependencies": { + "chalk": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-reporter/node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", @@ -5348,11 +8025,121 @@ "node": ">=4" } }, + "node_modules/postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" + }, + "node_modules/postcss-safe-parser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.2.tgz", + "integrity": "sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==", + "dependencies": { + "postcss": "^7.0.26" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/postcss-sass": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.4.4.tgz", + "integrity": "sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==", + "dependencies": { + "gonzales-pe": "^4.3.0", + "postcss": "^7.0.21" + } + }, + "node_modules/postcss-scss": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.1.1.tgz", + "integrity": "sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==", + "dependencies": { + "postcss": "^7.0.6" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", + "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", + "dependencies": { + "cssesc": "^3.0.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-sorting": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-5.0.1.tgz", + "integrity": "sha512-Y9fUFkIhfrm6i0Ta3n+89j56EFqaNRdUKqXyRp6kvTcSXnmgEjaVowCXH+JBe9+YKWqd4nc28r2sgwnzJalccA==", + "dev": true, + "dependencies": { + "lodash": "^4.17.14", + "postcss": "^7.0.17" + }, + "engines": { + "node": ">=8.7.0" + } + }, + "node_modules/postcss-syntax": { + "version": "0.36.2", + "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.36.2.tgz", + "integrity": "sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==", + "peerDependencies": { + "postcss": ">=5.0.0" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" + }, + "node_modules/postcss/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss/node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/postcss/node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -5360,14 +8147,12 @@ "node_modules/postcss/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/postcss/node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, "engines": { "node": ">=4" } @@ -5376,7 +8161,6 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -5385,7 +8169,6 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -5426,6 +8209,12 @@ "node": ">=6.0.0" } }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -5435,6 +8224,23 @@ "node": ">=0.4.0" } }, + "node_modules/prop-types": { + "version": "15.7.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", + "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", + "dev": true, + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.8.1" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -5449,16 +8255,23 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, "engines": { "node": ">=6" } }, + "node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, "funding": [ { "type": "github", @@ -5478,7 +8291,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true, "engines": { "node": ">=8" } @@ -5507,11 +8319,16 @@ "node": ">=0.10.0" } }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -5526,7 +8343,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -5543,7 +8359,6 @@ "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, "engines": { "node": ">=8" } @@ -5551,14 +8366,12 @@ "node_modules/read-pkg/node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -5570,7 +8383,6 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, "bin": { "semver": "bin/semver" } @@ -5579,7 +8391,6 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, "engines": { "node": ">=8" } @@ -5588,7 +8399,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -5602,7 +8412,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -5611,6 +8420,12 @@ "node": ">=8" } }, + "node_modules/regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", + "dev": true + }, "node_modules/regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -5624,6 +8439,22 @@ "node": ">=0.10.0" } }, + "node_modules/regexp.prototype.flags": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", + "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/regexpp": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", @@ -5636,6 +8467,15 @@ "url": "https://github.com/sponsors/mysticatea" } }, + "node_modules/regextras": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz", + "integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==", + "dev": true, + "engines": { + "node": ">=0.1.14" + } + }, "node_modules/relateurl": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", @@ -5649,7 +8489,6 @@ "version": "13.0.0", "resolved": "https://registry.npmjs.org/remark/-/remark-13.0.0.tgz", "integrity": "sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==", - "dev": true, "dependencies": { "remark-parse": "^9.0.0", "remark-stringify": "^9.0.0", @@ -5664,7 +8503,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-9.0.0.tgz", "integrity": "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==", - "dev": true, "dependencies": { "mdast-util-from-markdown": "^0.8.0" }, @@ -5677,7 +8515,6 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-9.0.1.tgz", "integrity": "sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==", - "dev": true, "dependencies": { "mdast-util-to-markdown": "^0.6.0" }, @@ -5699,25 +8536,99 @@ "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true, "engines": { "node": ">=0.10" } }, + "node_modules/repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, "engines": { "node": ">=0.10.0" } }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/requireindex": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/requireindex/-/requireindex-1.2.0.tgz", + "integrity": "sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==", + "dev": true, + "engines": { + "node": ">=0.10.5" + } + }, "node_modules/resolve": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "dependencies": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -5785,7 +8696,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, "engines": { "node": ">=4" } @@ -5836,7 +8746,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -5846,7 +8755,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, "dependencies": { "glob": "^7.1.3" }, @@ -5870,7 +8778,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, "funding": [ { "type": "github", @@ -5904,8 +8811,7 @@ "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/safe-regex": { "version": "1.1.0", @@ -5922,11 +8828,47 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "node_modules/sass-graph": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", + "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", + "dev": true, + "dependencies": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^13.3.2" + }, + "bin": { + "sassgraph": "bin/sassgraph" + } + }, + "node_modules/scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "dependencies": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + } + }, + "node_modules/scss-tokenizer/node_modules/source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -5955,6 +8897,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, "node_modules/set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", @@ -6012,17 +8960,29 @@ "node": ">=8" } }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "dev": true + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, "engines": { "node": ">=8" } @@ -6031,7 +8991,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -6248,7 +9207,6 @@ "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -6295,7 +9253,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -6304,14 +9261,12 @@ "node_modules/spdx-exceptions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -6320,14 +9275,12 @@ "node_modules/spdx-license-ids": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==", - "dev": true + "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==" }, "node_modules/specificity": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.4.1.tgz", "integrity": "sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==", - "dev": true, "bin": { "specificity": "bin/specificity" } @@ -6350,6 +9303,41 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, + "node_modules/sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/state-toggle": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", + "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -6452,11 +9440,43 @@ "node": ">=0.10.0" } }, + "node_modules/stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "dependencies": { + "readable-stream": "^2.0.1" + } + }, + "node_modules/stdout-stream/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/stdout-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -6465,7 +9485,6 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, "funding": [ { "type": "github", @@ -6494,7 +9513,6 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -6504,6 +9522,62 @@ "node": ">=8" } }, + "node_modules/string.prototype.matchall": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.4.tgz", + "integrity": "sha512-pknFIWVachNcyqRfaQSeu/FUfpvJTe4uskUSZ9Wc1RijsPuzbZ8TyYT8WCNnntCjUEqQ3vUHMAfVj2+wLAisPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has-symbols": "^1.0.1", + "internal-slot": "^1.0.3", + "regexp.prototype.flags": "^1.3.1", + "side-channel": "^1.0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-entities": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.2.tgz", + "integrity": "sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A==", + "dev": true, + "dependencies": { + "character-entities-html4": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, "node_modules/stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", @@ -6531,7 +9605,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.0" }, @@ -6561,7 +9634,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, "dependencies": { "min-indent": "^1.0.0" }, @@ -6584,14 +9656,12 @@ "node_modules/style-search": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", - "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=", - "dev": true + "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "node_modules/stylelint": { "version": "13.12.0", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-13.12.0.tgz", "integrity": "sha512-P8O1xDy41B7O7iXaSlW+UuFbE5+ZWQDb61ndGDxKIt36fMH50DtlQTbwLpFLf8DikceTAb3r6nPrRv30wBlzXw==", - "dev": true, "dependencies": { "@stylelint/postcss-css-in-js": "^0.37.2", "@stylelint/postcss-markdown": "^0.36.2", @@ -6653,6 +9723,1023 @@ "url": "https://opencollective.com/stylelint" } }, + "node_modules/stylelint-a11y": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stylelint-a11y/-/stylelint-a11y-1.2.3.tgz", + "integrity": "sha512-S/iiKFUsYBfa4suxP0pYQqoPB9R1+SnvxVuzHHlz9al0IWxLZzXlnZEqEez0zNOhVh5iO3rATUmDnbZE5wm/pQ==", + "engines": { + "node": ">=8.7.0" + }, + "peerDependencies": { + "stylelint": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" + } + }, + "node_modules/stylelint-config-rational-order": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/stylelint-config-rational-order/-/stylelint-config-rational-order-0.1.2.tgz", + "integrity": "sha512-Qo7ZQaihCwTqijfZg4sbdQQHtugOX/B1/fYh018EiDZHW+lkqH9uHOnsDwDPGZrYJuB6CoyI7MZh2ecw2dOkew==", + "dev": true, + "dependencies": { + "stylelint": "^9.10.1", + "stylelint-order": "^2.2.1" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/@nodelib/fs.stat": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", + "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "dependencies": { + "array-uniq": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/camelcase-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", + "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", + "dev": true, + "dependencies": { + "camelcase": "^4.1.0", + "map-obj": "^2.0.0", + "quick-lru": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/clone-regexp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", + "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", + "dev": true, + "dependencies": { + "is-regexp": "^1.0.0", + "is-supported-regexp-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "dependencies": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/dir-glob": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", + "dev": true, + "dependencies": { + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/execall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", + "integrity": "sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=", + "dev": true, + "dependencies": { + "clone-regexp": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/fast-glob": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", + "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", + "dev": true, + "dependencies": { + "@mrmlnc/readdir-enhanced": "^2.2.1", + "@nodelib/fs.stat": "^1.1.2", + "glob-parent": "^3.1.0", + "is-glob": "^4.0.0", + "merge2": "^1.2.3", + "micromatch": "^3.1.10" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/file-entry-cache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-4.0.0.tgz", + "integrity": "sha512-AVSwsnbV8vH/UVbvgEhf3saVQXORNv0ZzSkvkhQIaia5Tia+JhGTaa/ePUSVoPHQyGayQNmYfkzFi3WZV5zcpA==", + "dev": true, + "dependencies": { + "flat-cache": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "dev": true, + "dependencies": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/flatted": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/globby": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", + "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", + "dev": true, + "dependencies": { + "@types/glob": "^7.1.1", + "array-union": "^1.0.2", + "dir-glob": "^2.2.2", + "fast-glob": "^2.2.6", + "glob": "^7.1.3", + "ignore": "^4.0.3", + "pify": "^4.0.1", + "slash": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/html-tags": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", + "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "dependencies": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/import-fresh/node_modules/resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/import-lazy": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.1.0.tgz", + "integrity": "sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/known-css-properties": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.11.0.tgz", + "integrity": "sha512-bEZlJzXo5V/ApNNa5z375mJC6Nrz4vG43UgcSCrg2OHC+yuB6j0iDSrY7RQ/+PRofFB03wNIIt9iXIVLr4wc7w==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/load-json-file/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "dependencies": { + "chalk": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/map-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", + "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/meow": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", + "integrity": "sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==", + "dev": true, + "dependencies": { + "camelcase-keys": "^4.0.0", + "decamelize-keys": "^1.0.0", + "loud-rejection": "^1.0.0", + "minimist-options": "^3.0.1", + "normalize-package-data": "^2.3.4", + "read-pkg-up": "^3.0.0", + "redent": "^2.0.0", + "trim-newlines": "^2.0.0", + "yargs-parser": "^10.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/minimist-options": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", + "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", + "dev": true, + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/path-type/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/postcss-sass": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.3.5.tgz", + "integrity": "sha512-B5z2Kob4xBxFjcufFnhQ2HqJQ2y/Zs/ic5EZbCywCkxKd756Q40cIQ/veRDwSrw1BF6+4wUgmpm0sBASqVi65A==", + "dev": true, + "dependencies": { + "gonzales-pe": "^4.2.3", + "postcss": "^7.0.1" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "dependencies": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/postcss-sorting": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-4.1.0.tgz", + "integrity": "sha512-r4T2oQd1giURJdHQ/RMb72dKZCuLOdWx2B/XhXN1Y1ZdnwXsKH896Qz6vD4tFy9xSjpKNYhlZoJmWyhH/7JUQw==", + "dev": true, + "dependencies": { + "lodash": "^4.17.4", + "postcss": "^7.0.0" + }, + "engines": { + "node": ">=6.14.3" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "node_modules/stylelint-config-rational-order/node_modules/quick-lru": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", + "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/redent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", + "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", + "dev": true, + "dependencies": { + "indent-string": "^3.0.0", + "strip-indent": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/slice-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/stylelint": { + "version": "9.10.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-9.10.1.tgz", + "integrity": "sha512-9UiHxZhOAHEgeQ7oLGwrwoDR8vclBKlSX7r4fH0iuu0SfPwFaLkb1c7Q2j1cqg9P7IDXeAV2TvQML/fRQzGBBQ==", + "dev": true, + "dependencies": { + "autoprefixer": "^9.0.0", + "balanced-match": "^1.0.0", + "chalk": "^2.4.1", + "cosmiconfig": "^5.0.0", + "debug": "^4.0.0", + "execall": "^1.0.0", + "file-entry-cache": "^4.0.0", + "get-stdin": "^6.0.0", + "global-modules": "^2.0.0", + "globby": "^9.0.0", + "globjoin": "^0.1.4", + "html-tags": "^2.0.0", + "ignore": "^5.0.4", + "import-lazy": "^3.1.0", + "imurmurhash": "^0.1.4", + "known-css-properties": "^0.11.0", + "leven": "^2.1.0", + "lodash": "^4.17.4", + "log-symbols": "^2.0.0", + "mathml-tag-names": "^2.0.1", + "meow": "^5.0.0", + "micromatch": "^3.1.10", + "normalize-selector": "^0.2.0", + "pify": "^4.0.0", + "postcss": "^7.0.13", + "postcss-html": "^0.36.0", + "postcss-jsx": "^0.36.0", + "postcss-less": "^3.1.0", + "postcss-markdown": "^0.36.0", + "postcss-media-query-parser": "^0.2.3", + "postcss-reporter": "^6.0.0", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^4.0.0", + "postcss-sass": "^0.3.5", + "postcss-scss": "^2.0.0", + "postcss-selector-parser": "^3.1.0", + "postcss-syntax": "^0.36.2", + "postcss-value-parser": "^3.3.0", + "resolve-from": "^4.0.0", + "signal-exit": "^3.0.2", + "slash": "^2.0.0", + "specificity": "^0.4.1", + "string-width": "^3.0.0", + "style-search": "^0.1.0", + "sugarss": "^2.0.0", + "svg-tags": "^1.0.0", + "table": "^5.0.0" + }, + "bin": { + "stylelint": "bin/stylelint.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/stylelint-order": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-2.2.1.tgz", + "integrity": "sha512-019KBV9j8qp1MfBjJuotse6MgaZqGVtXMc91GU9MsS9Feb+jYUvUU3Z8XiClqPdqJZQ0ryXQJGg3U3PcEjXwfg==", + "dev": true, + "dependencies": { + "lodash": "^4.17.10", + "postcss": "^7.0.2", + "postcss-sorting": "^4.1.0" + }, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "stylelint": "^9.10.1 || ^10.0.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/stylelint/node_modules/ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/table": { + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "dev": true, + "dependencies": { + "ajv": "^6.10.2", + "lodash": "^4.17.14", + "slice-ansi": "^2.1.0", + "string-width": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/trim-newlines": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", + "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint-config-rational-order/node_modules/yargs-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "dev": true, + "dependencies": { + "camelcase": "^4.1.0" + } + }, "node_modules/stylelint-config-recommended": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz", @@ -6693,6 +10780,20 @@ "stylelint": "^10.1.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" } }, + "node_modules/stylelint-order": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-4.1.0.tgz", + "integrity": "sha512-sVTikaDvMqg2aJjh4r48jsdfmqLT+nqB1MOsaBnvM3OwLx4S+WXcsxsgk5w18h/OZoxZCxuyXMh61iBHcj9Qiw==", + "dev": true, + "dependencies": { + "lodash": "^4.17.15", + "postcss": "^7.0.31", + "postcss-sorting": "^5.0.1" + }, + "peerDependencies": { + "stylelint": "^10.0.1 || ^11.0.0 || ^12.0.0 || ^13.0.0" + } + }, "node_modules/stylelint-scss": { "version": "3.19.0", "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.19.0.tgz", @@ -6716,7 +10817,6 @@ "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", - "dev": true, "engines": { "node": ">= 4" } @@ -6725,7 +10825,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, "engines": { "node": ">=8" } @@ -6734,7 +10833,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-2.0.0.tgz", "integrity": "sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==", - "dev": true, "dependencies": { "postcss": "^7.0.2" } @@ -6743,7 +10841,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -6754,14 +10851,12 @@ "node_modules/svg-tags": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", - "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", - "dev": true + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "node_modules/table": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/table/-/table-6.1.0.tgz", "integrity": "sha512-T4G5KMmqIk6X87gLKWyU5exPpTjLjY5KyrFWaIjv3SvgaIUGXV7UEzGEnZJdTA38/yUS6f9PlKezQ0bYXG3iIQ==", - "dev": true, "dependencies": { "ajv": "^8.0.1", "is-boolean-object": "^1.1.0", @@ -6781,7 +10876,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz", "integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==", - "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -6796,8 +10890,36 @@ "node_modules/table/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/tar": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", + "integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", + "dev": true, + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } }, "node_modules/terser": { "version": "5.6.1", @@ -6859,7 +10981,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, "engines": { "node": ">=4" } @@ -6913,7 +11034,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -6921,25 +11041,61 @@ "node": ">=8.0" } }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, "node_modules/trim-newlines": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/trim-trailing-lines": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", + "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "dependencies": { + "glob": "^7.1.2" + } + }, "node_modules/try-to-catch": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/try-to-catch/-/try-to-catch-3.0.0.tgz", @@ -6949,12 +11105,78 @@ "node": ">=6" } }, + "node_modules/tsconfig-paths": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", + "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -6983,22 +11205,63 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } }, + "node_modules/typescript": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", + "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", + "dev": true, + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "dev": true }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unherit": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", + "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.0", + "xtend": "^4.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/unified": { "version": "9.2.1", "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.1.tgz", "integrity": "sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA==", - "dev": true, "dependencies": { "bail": "^1.0.0", "extend": "^3.0.0", @@ -7016,7 +11279,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, "engines": { "node": ">=8" } @@ -7048,14 +11310,12 @@ "node_modules/uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", - "dev": true + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=" }, "node_modules/unist-util-find-all-after": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-3.0.2.tgz", "integrity": "sha512-xaTC/AGZ0rIM2gM28YVRAFPIZpzbpDtU3dRmp7EXlNVA8ziQc4hY3H7BHXM1J49nEmiqc3svnqMReW+PGqbZKQ==", - "dev": true, "dependencies": { "unist-util-is": "^4.0.0" }, @@ -7068,7 +11328,19 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz", + "integrity": "sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==", "dev": true, + "dependencies": { + "unist-util-visit": "^1.1.0" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" @@ -7078,7 +11350,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", - "dev": true, "dependencies": { "@types/unist": "^2.0.2" }, @@ -7087,6 +11358,30 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unist-util-visit": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.1.tgz", + "integrity": "sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==", + "dev": true, + "dependencies": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz", + "integrity": "sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==", + "dev": true, + "dependencies": { + "unist-util-is": "^3.0.0" + } + }, + "node_modules/unist-util-visit-parents/node_modules/unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true + }, "node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -7148,7 +11443,6 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, "dependencies": { "punycode": "^2.1.0" } @@ -7172,30 +11466,49 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } }, "node_modules/v8-compile-cache": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, "node_modules/vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", - "dev": true, "dependencies": { "@types/unist": "^2.0.0", "is-buffer": "^2.0.0", @@ -7207,11 +11520,20 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/vfile-location": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.6.tgz", + "integrity": "sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/vfile-message": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", - "dev": true, "dependencies": { "@types/unist": "^2.0.0", "unist-util-stringify-position": "^2.0.0" @@ -7236,12 +11558,86 @@ "node": ">= 8" } }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, "node_modules/which-pm-runs": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", "dev": true }, + "node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/wide-align/node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -7271,14 +11667,24 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/write": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", + "dev": true, + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=4" + } }, "node_modules/write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -7286,30 +11692,3545 @@ "typedarray-to-buffer": "^3.1.5" } }, + "node_modules/x-is-string": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz", + "integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=", + "dev": true + }, + "node_modules/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", + "dev": true + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, "engines": { "node": ">= 6" } }, + "node_modules/yaml-validator": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/yaml-validator/-/yaml-validator-3.0.1.tgz", + "integrity": "sha512-6mLR0UJ8P044TkgUYQyGbNXCUE/Ic5sY5qjy+5T1a/l5ur8tQe8n6MMtASuNvLwq1C2GFS/cD7l5iuGHHX2U0g==", + "dev": true, + "hasShrinkwrap": true, + "dependencies": { + "check-type": "^0.4.11", + "js-yaml": "^4.0.0", + "optionator": "^0.9.1" + }, + "bin": { + "yaml-validator": "bin/yaml-validator.js" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/yaml-validator/node_modules/@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "extraneous": true, + "dependencies": { + "@babel/highlight": "^7.10.4" + } + }, + "node_modules/yaml-validator/node_modules/@babel/core": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz", + "integrity": "sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==", + "extraneous": true, + "dependencies": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.2", + "@babel/helper-module-transforms": "^7.10.1", + "@babel/helpers": "^7.10.1", + "@babel/parser": "^7.10.2", + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.2", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.13", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/yaml-validator/node_modules/@babel/core/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "extraneous": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/yaml-validator/node_modules/@babel/generator": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz", + "integrity": "sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.2", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-function-name": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz", + "integrity": "sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==", + "extraneous": true, + "dependencies": { + "@babel/helper-get-function-arity": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-get-function-arity": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz", + "integrity": "sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz", + "integrity": "sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-module-imports": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz", + "integrity": "sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-module-transforms": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz", + "integrity": "sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==", + "extraneous": true, + "dependencies": { + "@babel/helper-module-imports": "^7.10.1", + "@babel/helper-replace-supers": "^7.10.1", + "@babel/helper-simple-access": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1", + "lodash": "^4.17.13" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-optimise-call-expression": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz", + "integrity": "sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-replace-supers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz", + "integrity": "sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==", + "extraneous": true, + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.10.1", + "@babel/helper-optimise-call-expression": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-simple-access": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz", + "integrity": "sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==", + "extraneous": true, + "dependencies": { + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "extraneous": true, + "dependencies": { + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/helper-validator-identifier": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/@babel/helpers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz", + "integrity": "sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==", + "extraneous": true, + "dependencies": { + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/highlight": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.12.13.tgz", + "integrity": "sha512-kocDQvIbgMKlWxXe9fof3TQ+gkIPOUSEYhJjqUjvKMez3krV7vbzYCDq39Oj11UAVK7JqPVGQPlgE85dPNlQww==", + "extraneous": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.12.11", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "node_modules/yaml-validator/node_modules/@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==", + "extraneous": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "extraneous": true, + "dependencies": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "node_modules/yaml-validator/node_modules/@babel/traverse": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz", + "integrity": "sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==", + "extraneous": true, + "dependencies": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.1", + "@babel/helper-function-name": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "node_modules/yaml-validator/node_modules/@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "extraneous": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "node_modules/yaml-validator/node_modules/@eslint/eslintrc": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", + "integrity": "sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg==", + "extraneous": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "lodash": "^4.17.20", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/yaml-validator/node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/yaml-validator/node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "extraneous": true, + "dependencies": { + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/yaml-validator/node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "extraneous": true, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/yaml-validator/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/yaml-validator/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/@istanbuljs/schema": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz", + "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "extraneous": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yaml-validator/node_modules/@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/@types/node": { + "version": "14.14.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.28.tgz", + "integrity": "sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "extraneous": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/yaml-validator/node_modules/acorn-jsx": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", + "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "extraneous": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/yaml-validator/node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "extraneous": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/aggregate-error": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz", + "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==", + "extraneous": true, + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "extraneous": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/yaml-validator/node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "extraneous": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "extraneous": true, + "dependencies": { + "default-require-extensions": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/yaml-validator/node_modules/argv": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz", + "integrity": "sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=", + "extraneous": true, + "engines": { + "node": ">=0.6.10" + } + }, + "node_modules/yaml-validator/node_modules/array-filter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", + "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/available-typed-arrays": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", + "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", + "extraneous": true, + "dependencies": { + "array-filter": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "extraneous": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/yaml-validator/node_modules/caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "extraneous": true, + "dependencies": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/call-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", + "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "extraneous": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "extraneous": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/check-type": { + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/check-type/-/check-type-0.4.11.tgz", + "integrity": "sha1-q+P1NKUdMfXOVyY0e7dMDQ+RDM8=", + "dev": true, + "dependencies": { + "underscore": "1.6.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/yaml-validator/node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "extraneous": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/yaml-validator/node_modules/codecov": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/codecov/-/codecov-3.8.1.tgz", + "integrity": "sha512-Qm7ltx1pzLPsliZY81jyaQ80dcNR4/JpcX0IHCIWrHBXgseySqbdbYfkdiXd7o/xmzQpGRVCKGYeTrHUpn6Dcw==", + "extraneous": true, + "dependencies": { + "argv": "0.0.2", + "ignore-walk": "3.0.3", + "js-yaml": "3.14.0", + "teeny-request": "6.0.1", + "urlgrey": "0.4.4" + }, + "bin": { + "codecov": "bin/codecov" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yaml-validator/node_modules/codecov/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/yaml-validator/node_modules/codecov/node_modules/js-yaml": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", + "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", + "extraneous": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/yaml-validator/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "extraneous": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/yaml-validator/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "extraneous": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/yaml-validator/node_modules/cross-spawn": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", + "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", + "extraneous": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/yaml-validator/node_modules/debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "extraneous": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/yaml-validator/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/deep-equal": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.0.5.tgz", + "integrity": "sha512-nPiRgmbAtm1a3JsnLCf6/SLfXcjyN5v8L1TXzdCmHrXJ4hx+gW/w1YCcn7z8gJtSiDArZCgYtbao3QqLm/N1Sw==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "es-get-iterator": "^1.1.1", + "get-intrinsic": "^1.0.1", + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.2", + "is-regex": "^1.1.1", + "isarray": "^2.0.5", + "object-is": "^1.1.4", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "regexp.prototype.flags": "^1.3.0", + "side-channel": "^1.0.3", + "which-boxed-primitive": "^1.0.1", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "node_modules/yaml-validator/node_modules/default-require-extensions": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", + "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "extraneous": true, + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "extraneous": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/yaml-validator/node_modules/defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "extraneous": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/dotignore": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", + "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", + "extraneous": true, + "dependencies": { + "minimatch": "^3.0.4" + }, + "bin": { + "ignored": "bin/ignored" + } + }, + "node_modules/yaml-validator/node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "extraneous": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/yaml-validator/node_modules/es-abstract": { + "version": "1.17.7", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", + "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", + "extraneous": true, + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/es-get-iterator": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.1.tgz", + "integrity": "sha512-qorBw8Y7B15DVLaJWy6WdEV/ZkieBcu6QCq/xzWzGOKJqgG1j754vXRfZ3NY7HSShneqU43mPB4OkQBTkvHhFw==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.1", + "has-symbols": "^1.0.1", + "is-arguments": "^1.0.4", + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-string": "^1.0.5", + "isarray": "^2.0.5" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "extraneous": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "extraneous": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/eslint": { + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.20.0.tgz", + "integrity": "sha512-qGi0CTcOGP2OtCQBgWZlQjcTuP0XkIpYFj25XtRTQSHC+umNnp7UMshr2G8SLsRFYDdAPFeHOsiteadmMH02Yw==", + "extraneous": true, + "dependencies": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.3.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "file-entry-cache": "^6.0.0", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash": "^4.17.20", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.4", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/yaml-validator/node_modules/eslint-config-paazmaya": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-config-paazmaya/-/eslint-config-paazmaya-7.2.0.tgz", + "integrity": "sha512-NSYSaEVAnpsFRD6a+TfoB2FpPmolL+hg7kvWtyX3b4OpiSUBt5qmnWSvKG+qc7ueHaFFrU3o5S2TzvxJUXytOA==", + "extraneous": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/yaml-validator/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "extraneous": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/yaml-validator/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "extraneous": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/yaml-validator/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "extraneous": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "extraneous": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "extraneous": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "extraneous": true, + "dependencies": { + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "extraneous": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yaml-validator/node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "extraneous": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "extraneous": true, + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/yaml-validator/node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "extraneous": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "extraneous": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/yaml-validator/node_modules/esquery/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "extraneous": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yaml-validator/node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "extraneous": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yaml-validator/node_modules/esrecurse/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "extraneous": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yaml-validator/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "extraneous": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yaml-validator/node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "node_modules/yaml-validator/node_modules/file-entry-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.0.tgz", + "integrity": "sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA==", + "extraneous": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/yaml-validator/node_modules/find-cache-dir": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", + "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "extraneous": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "extraneous": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "extraneous": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/yaml-validator/node_modules/flatted": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz", + "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "extraneous": true, + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/yaml-validator/node_modules/foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/foreground-child": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "extraneous": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/yaml-validator/node_modules/fromentries": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.0.tgz", + "integrity": "sha512-33X7H/wdfO99GdRLLgkjUrD4geAFdq/Uv0kl3HD4da6HDixd2GUg8Mw7dahLCV9r/EARkmtYBB6Tch4EEokFTQ==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/gensync": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", + "extraneous": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/yaml-validator/node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "extraneous": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/yaml-validator/node_modules/get-intrinsic": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", + "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", + "extraneous": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "extraneous": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/yaml-validator/node_modules/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "extraneous": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/yaml-validator/node_modules/glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "extraneous": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yaml-validator/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "extraneous": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/yaml-validator/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/hasha": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.0.tgz", + "integrity": "sha512-2W+jKdQbAdSIrggA8Q35Br8qKadTrqCTC8+XZvBWepKDK6m9XkX6Iz1a2yh2KP01kzAR/dpuMeUnocoLYDcskw==", + "extraneous": true, + "dependencies": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "extraneous": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yaml-validator/node_modules/https-proxy-agent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", + "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "extraneous": true, + "dependencies": { + "agent-base": "5", + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/https-proxy-agent/node_modules/agent-base": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", + "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "extraneous": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "extraneous": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/yaml-validator/node_modules/ignore-walk": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", + "extraneous": true, + "dependencies": { + "minimatch": "^3.0.4" + } + }, + "node_modules/yaml-validator/node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "extraneous": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "extraneous": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/yaml-validator/node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "extraneous": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/yaml-validator/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/is-arguments": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", + "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-bigint": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", + "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-boolean-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", + "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-callable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "extraneous": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "extraneous": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/is-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-number-object": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", + "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", + "extraneous": true, + "dependencies": { + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-set": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "extraneous": true, + "dependencies": { + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-typed-array": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.4.tgz", + "integrity": "sha512-ILaRgn4zaSrVNXNGtON6iFNotXW3hAPF3+0fB1usg2jFlWqo5fEDdmJkz0zBfoi7Dgskr8Khi2xZ8cXqZEfXNA==", + "extraneous": true, + "dependencies": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.0", + "es-abstract": "^1.18.0-next.1", + "foreach": "^2.0.5", + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-typed-array/node_modules/es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/is-weakmap": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", + "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-weakset": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.1.tgz", + "integrity": "sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "extraneous": true, + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "extraneous": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-processinfo": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", + "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", + "extraneous": true, + "dependencies": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.0", + "istanbul-lib-coverage": "^3.0.0-alpha.1", + "make-dir": "^3.0.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^3.3.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "extraneous": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "extraneous": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-source-maps": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "extraneous": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/istanbul-reports": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "extraneous": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/js-yaml": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/yaml-validator/node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "extraneous": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/json5": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", + "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", + "extraneous": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "extraneous": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "extraneous": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "extraneous": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "extraneous": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/yaml-validator/node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "extraneous": true, + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/yaml-validator/node_modules/node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "extraneous": true, + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/nyc": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "extraneous": true, + "dependencies": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/yaml-validator/node_modules/nyc/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/yaml-validator/node_modules/nyc/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", + "extraneous": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/object-is": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.4.tgz", + "integrity": "sha512-1ZvAZ4wlF7IyPVOcE1Omikt7UpaFlOQq0HlSti+ZvDH3UiD2brwGMwDbyV43jao2bKJ+4+WdPJHSd7kgzKYVqg==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "extraneous": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/yaml-validator/node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "extraneous": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/yaml-validator/node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/optionator/node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/optionator/node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/optionator/node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "extraneous": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "extraneous": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "extraneous": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/package-hash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "extraneous": true, + "dependencies": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "extraneous": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "extraneous": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "extraneous": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/process-on-spawn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", + "extraneous": true, + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "extraneous": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/yaml-validator/node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "extraneous": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yaml-validator/node_modules/regexp.prototype.flags": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", + "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", + "extraneous": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/regexpp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", + "extraneous": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/yaml-validator/node_modules/release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", + "extraneous": true, + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "extraneous": true, + "dependencies": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "extraneous": true, + "dependencies": { + "through": "~2.3.4" + } + }, + "node_modules/yaml-validator/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "extraneous": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/yaml-validator/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "extraneous": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/yaml-validator/node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "extraneous": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "extraneous": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "extraneous": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/slice-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/yaml-validator/node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "extraneous": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/spawn-wrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", + "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", + "extraneous": true, + "dependencies": { + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/stream-events": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", + "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", + "extraneous": true, + "dependencies": { + "stubs": "^3.0.0" + } + }, + "node_modules/yaml-validator/node_modules/string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "extraneous": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/string-width/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/string.prototype.trim": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.3.tgz", + "integrity": "sha512-16IL9pIBA5asNOSukPfxX2W68BaBvxyiRK16H3RA/lWW9BDosh+w7f+LhomPHpXJ82QEe7w7/rY/S1CV97raLg==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/string.prototype.trim/node_modules/es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/string.prototype.trimend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", + "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/string.prototype.trimstart": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", + "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "extraneous": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "extraneous": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yaml-validator/node_modules/stubs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", + "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "extraneous": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/table": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/table/-/table-6.0.4.tgz", + "integrity": "sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw==", + "extraneous": true, + "dependencies": { + "ajv": "^6.12.4", + "lodash": "^4.17.20", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/yaml-validator/node_modules/tape": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/tape/-/tape-5.1.1.tgz", + "integrity": "sha512-ujhT+ZJPqSGY9Le02mIGBnyWo7Ks05FEGS9PnlqECr3sM3KyV4CSCXAvSBJKMN+t+aZYLKEFUEo0l4wFJMhppQ==", + "extraneous": true, + "dependencies": { + "call-bind": "^1.0.0", + "deep-equal": "^2.0.5", + "defined": "^1.0.0", + "dotignore": "^0.1.2", + "for-each": "^0.3.3", + "glob": "^7.1.6", + "has": "^1.0.3", + "inherits": "^2.0.4", + "is-regex": "^1.1.1", + "minimist": "^1.2.5", + "object-inspect": "^1.9.0", + "object-is": "^1.1.4", + "object.assign": "^4.1.2", + "resolve": "^1.19.0", + "resumer": "^0.0.0", + "string.prototype.trim": "^1.2.3", + "through": "^2.3.8" + }, + "bin": { + "tape": "bin/tape" + } + }, + "node_modules/yaml-validator/node_modules/tape/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/yaml-validator/node_modules/tape/node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/teeny-request": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-6.0.1.tgz", + "integrity": "sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==", + "extraneous": true, + "dependencies": { + "http-proxy-agent": "^4.0.0", + "https-proxy-agent": "^4.0.0", + "node-fetch": "^2.2.0", + "stream-events": "^1.0.5", + "uuid": "^3.3.2" + } + }, + "node_modules/yaml-validator/node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "extraneous": true, + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/test-exclude/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/yaml-validator/node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "extraneous": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yaml-validator/node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "extraneous": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/yaml-validator/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "extraneous": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "extraneous": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/yaml-validator/node_modules/typescript": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.5.tgz", + "integrity": "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==", + "extraneous": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/yaml-validator/node_modules/underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + }, + "node_modules/yaml-validator/node_modules/uri-js": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "extraneous": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/yaml-validator/node_modules/urlgrey": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz", + "integrity": "sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "extraneous": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/yaml-validator/node_modules/v8-compile-cache": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", + "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "extraneous": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/yaml-validator/node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "extraneous": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/which-collection": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", + "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "extraneous": true, + "dependencies": { + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-weakmap": "^2.0.1", + "is-weakset": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/which-typed-array": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", + "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "extraneous": true, + "dependencies": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.0", + "es-abstract": "^1.18.0-next.1", + "foreach": "^2.0.5", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.1", + "is-typed-array": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/which-typed-array/node_modules/es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/yaml-validator/node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yaml-validator/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "extraneous": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "extraneous": true, + "dependencies": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/yaml-validator/node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/yaml-validator/node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "extraneous": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/yaml-validator/node_modules/y18n": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "extraneous": true + }, + "node_modules/yaml-validator/node_modules/yargs": { + "version": "15.3.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz", + "integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==", + "extraneous": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml-validator/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "extraneous": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dev": true, + "dependencies": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + } + }, "node_modules/yargs-parser": { "version": "20.2.7", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==", - "dev": true, "engines": { "node": ">=10" } }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "node_modules/yargs/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yargs/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -7326,7 +15247,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -7338,7 +15258,6 @@ "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", - "dev": true, "requires": { "@babel/highlight": "^7.10.4" } @@ -7346,14 +15265,12 @@ "@babel/compat-data": { "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz", - "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==", - "dev": true + "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA==" }, "@babel/core": { "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.15.tgz", "integrity": "sha512-6GXmNYeNjS2Uz+uls5jalOemgIhnTMeaXo+yBUA72kC2uX/8VW6XyhVIo2L8/q0goKQA3EVKx0KOQpVKSeWadQ==", - "dev": true, "requires": { "@babel/code-frame": "^7.12.13", "@babel/generator": "^7.13.9", @@ -7376,7 +15293,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "requires": { "@babel/highlight": "^7.12.13" } @@ -7384,8 +15300,7 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" } } }, @@ -7393,7 +15308,6 @@ "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", - "dev": true, "requires": { "@babel/types": "^7.13.0", "jsesc": "^2.5.1", @@ -7404,7 +15318,6 @@ "version": "7.13.13", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz", "integrity": "sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ==", - "dev": true, "requires": { "@babel/compat-data": "^7.13.12", "@babel/helper-validator-option": "^7.12.17", @@ -7415,8 +15328,7 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" } } }, @@ -7424,7 +15336,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", - "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.12.13", "@babel/template": "^7.12.13", @@ -7435,7 +15346,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", - "dev": true, "requires": { "@babel/types": "^7.12.13" } @@ -7444,7 +15354,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", - "dev": true, "requires": { "@babel/types": "^7.13.12" } @@ -7453,7 +15362,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", - "dev": true, "requires": { "@babel/types": "^7.13.12" } @@ -7462,7 +15370,6 @@ "version": "7.13.14", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz", "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==", - "dev": true, "requires": { "@babel/helper-module-imports": "^7.13.12", "@babel/helper-replace-supers": "^7.13.12", @@ -7478,7 +15385,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", - "dev": true, "requires": { "@babel/types": "^7.12.13" } @@ -7487,7 +15393,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz", "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==", - "dev": true, "requires": { "@babel/helper-member-expression-to-functions": "^7.13.12", "@babel/helper-optimise-call-expression": "^7.12.13", @@ -7499,7 +15404,6 @@ "version": "7.13.12", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", - "dev": true, "requires": { "@babel/types": "^7.13.12" } @@ -7508,7 +15412,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", - "dev": true, "requires": { "@babel/types": "^7.12.13" } @@ -7516,20 +15419,17 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", - "dev": true + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" }, "@babel/helper-validator-option": { "version": "7.12.17", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==", - "dev": true + "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==" }, "@babel/helpers": { "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", - "dev": true, "requires": { "@babel/template": "^7.12.13", "@babel/traverse": "^7.13.0", @@ -7540,7 +15440,6 @@ "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz", "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==", - "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "chalk": "^2.0.0", @@ -7551,7 +15450,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -7560,7 +15458,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -7571,7 +15468,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "requires": { "color-name": "1.1.3" } @@ -7579,20 +15475,17 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "requires": { "has-flag": "^3.0.0" } @@ -7602,14 +15495,31 @@ "@babel/parser": { "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.15.tgz", - "integrity": "sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ==", - "dev": true + "integrity": "sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ==" + }, + "@babel/runtime": { + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.17.tgz", + "integrity": "sha512-NCdgJEelPTSh+FEFylhnP1ylq848l1z9t9N0j1Lfbcw0+KXGjsTvUmkxy+voLLXB5SOKMbLLx4jxYliGrYQseA==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/runtime-corejs3": { + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.13.17.tgz", + "integrity": "sha512-RGXINY1YvduBlGrP+vHjJqd/nK7JVpfM4rmZLGMx77WoL3sMrhheA0qxii9VNn1VHnxJLEyxmvCB+Wqc+x/FMw==", + "dev": true, + "requires": { + "core-js-pure": "^3.0.0", + "regenerator-runtime": "^0.13.4" + } }, "@babel/template": { "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", - "dev": true, "requires": { "@babel/code-frame": "^7.12.13", "@babel/parser": "^7.12.13", @@ -7620,7 +15530,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "requires": { "@babel/highlight": "^7.12.13" } @@ -7631,7 +15540,6 @@ "version": "7.13.15", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.15.tgz", "integrity": "sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ==", - "dev": true, "requires": { "@babel/code-frame": "^7.12.13", "@babel/generator": "^7.13.9", @@ -7647,7 +15555,6 @@ "version": "7.12.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, "requires": { "@babel/highlight": "^7.12.13" } @@ -7655,8 +15562,7 @@ "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" } } }, @@ -7664,7 +15570,6 @@ "version": "7.13.14", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz", "integrity": "sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==", - "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -7769,11 +15674,20 @@ } } }, + "@mrmlnc/readdir-enhanced": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", + "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", + "dev": true, + "requires": { + "call-me-maybe": "^1.0.1", + "glob-to-regexp": "^0.3.0" + } + }, "@nodelib/fs.scandir": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", - "dev": true, "requires": { "@nodelib/fs.stat": "2.0.4", "run-parallel": "^1.1.9" @@ -7782,14 +15696,12 @@ "@nodelib/fs.stat": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", - "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", - "dev": true + "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" }, "@nodelib/fs.walk": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", - "dev": true, "requires": { "@nodelib/fs.scandir": "2.1.4", "fastq": "^1.6.0" @@ -7799,7 +15711,6 @@ "version": "0.37.2", "resolved": "https://registry.npmjs.org/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.37.2.tgz", "integrity": "sha512-nEhsFoJurt8oUmieT8qy4nk81WRHmJynmVwn/Vts08PL9fhgIsMhk1GId5yAN643OzqEEb5S/6At2TZW7pqPDA==", - "dev": true, "requires": { "@babel/core": ">=7.9.0" } @@ -7808,43 +15719,240 @@ "version": "0.36.2", "resolved": "https://registry.npmjs.org/@stylelint/postcss-markdown/-/postcss-markdown-0.36.2.tgz", "integrity": "sha512-2kGbqUVJUGE8dM+bMzXG/PYUWKkjLIkRLWNh39OaADkiabDRdw8ATFCgbMz5xdIcvwspPAluSL7uY+ZiTWdWmQ==", - "dev": true, "requires": { "remark": "^13.0.0", "unist-util-find-all-after": "^3.0.2" } }, + "@types/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "dev": true, + "requires": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "@types/json-schema": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", + "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", + "dev": true + }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, "@types/mdast": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.3.tgz", "integrity": "sha512-SXPBMnFVQg1s00dlMCc/jCdvPqdE4mXaMMCeRlxLDmTAEoegHT53xKtkDnzDTOcmMHUfcjyf36/YYZ6SxRdnsw==", - "dev": true, "requires": { "@types/unist": "*" } }, + "@types/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", + "dev": true + }, "@types/minimist": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz", - "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==", + "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==" + }, + "@types/node": { + "version": "14.14.41", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.41.tgz", + "integrity": "sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g==", "dev": true }, "@types/normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", - "dev": true + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==" }, "@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "@types/unist": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz", - "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==", + "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==" + }, + "@types/vfile": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/vfile/-/vfile-3.0.2.tgz", + "integrity": "sha512-b3nLFGaGkJ9rzOcuXRfHkZMdjsawuDD0ENL9fzTophtBg8FJHSGbH7daXkEpcwy3v7Xol3pAvsmlYyFhR4pqJw==", + "dev": true, + "requires": { + "@types/node": "*", + "@types/unist": "*", + "@types/vfile-message": "*" + } + }, + "@types/vfile-message": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/vfile-message/-/vfile-message-2.0.0.tgz", + "integrity": "sha512-GpTIuDpb9u4zIO165fUy9+fXcULdD8HFRNli04GehoMVbeNq7D6OBnqSmg3lxZnC+UvgUhEWKxdKiwYUkGltIw==", + "dev": true, + "requires": { + "vfile-message": "*" + } + }, + "@typescript-eslint/eslint-plugin": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz", + "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==", + "dev": true, + "requires": { + "@typescript-eslint/experimental-utils": "4.22.0", + "@typescript-eslint/scope-manager": "4.22.0", + "debug": "^4.1.1", + "functional-red-black-tree": "^1.0.1", + "lodash": "^4.17.15", + "regexpp": "^3.0.0", + "semver": "^7.3.2", + "tsutils": "^3.17.1" + } + }, + "@typescript-eslint/experimental-utils": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz", + "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.3", + "@typescript-eslint/scope-manager": "4.22.0", + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/typescript-estree": "4.22.0", + "eslint-scope": "^5.0.0", + "eslint-utils": "^2.0.0" + } + }, + "@typescript-eslint/parser": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz", + "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "4.22.0", + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/typescript-estree": "4.22.0", + "debug": "^4.1.1" + } + }, + "@typescript-eslint/scope-manager": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz", + "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/visitor-keys": "4.22.0" + } + }, + "@typescript-eslint/types": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz", + "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz", + "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.22.0", + "@typescript-eslint/visitor-keys": "4.22.0", + "debug": "^4.1.1", + "globby": "^11.0.1", + "is-glob": "^4.0.1", + "semver": "^7.3.2", + "tsutils": "^3.17.1" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz", + "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.22.0", + "eslint-visitor-keys": "^2.0.0" + } + }, + "@wordpress/eslint-plugin": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-9.0.3.tgz", + "integrity": "sha512-XRIV1oxCStVEzCjou6XDQfUNWzF025GBT4594nsDRcsgWKCUENnHaJqEOXK8RU5wSe1ApvctwpKoDCrvuIEGlg==", + "dev": true, + "requires": { + "@typescript-eslint/eslint-plugin": "^4.15.0", + "@typescript-eslint/parser": "^4.15.0", + "@wordpress/prettier-config": "^1.0.3", + "babel-eslint": "^10.1.0", + "cosmiconfig": "^7.0.0", + "eslint-config-prettier": "^7.1.0", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-jest": "^24.1.3", + "eslint-plugin-jsdoc": "^30.7.13", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-prettier": "^3.3.0", + "eslint-plugin-react": "^7.22.0", + "eslint-plugin-react-hooks": "^4.2.0", + "globals": "^12.0.0", + "prettier": "npm:wp-prettier@2.2.1-beta-1", + "requireindex": "^1.2.0" + }, + "dependencies": { + "eslint-config-prettier": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz", + "integrity": "sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg==", + "dev": true, + "requires": {} + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "prettier": { + "version": "npm:wp-prettier@2.2.1-beta-1", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", + "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", + "dev": true + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } + } + }, + "@wordpress/prettier-config": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-1.0.3.tgz", + "integrity": "sha512-BWiped4eH3EWZ4FckDTFWrDKmb2Xi5zGef9fm9f1vg+MiloNvEItVczoXHY3BK4nF9m171xsGx22WZSi7dVopA==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "acorn": { @@ -7882,6 +15990,12 @@ "uri-js": "^4.2.2" } }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, "ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", @@ -7908,18 +16022,58 @@ "ansi-regex": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "requires": { "color-convert": "^2.0.1" } }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -7929,6 +16083,16 @@ "sprintf-js": "~1.0.2" } }, + "aria-query": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz", + "integrity": "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.2", + "@babel/runtime-corejs3": "^7.10.2" + } + }, "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -7947,10 +16111,34 @@ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-includes": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", + "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.5" + } + }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", "dev": true }, "array-unique": { @@ -7959,10 +16147,47 @@ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true }, + "array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + } + }, + "array.prototype.flatmap": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz", + "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "function-bind": "^1.1.1" + } + }, "arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true }, "assign-symbols": { @@ -7971,10 +16196,33 @@ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", "dev": true }, + "ast-types-flow": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", + "integrity": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=", + "dev": true + }, "astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" + }, + "async": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", + "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, "atob": { @@ -7987,7 +16235,6 @@ "version": "9.8.6", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz", "integrity": "sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==", - "dev": true, "requires": { "browserslist": "^4.12.0", "caniuse-lite": "^1.0.30001109", @@ -7998,17 +16245,61 @@ "postcss-value-parser": "^4.1.0" } }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "axe-core": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.1.4.tgz", + "integrity": "sha512-Pdgfv6iP0gNx9ejRGa3zE7Xgkj/iclXqLfe7BnatdZz0QnLZ3jrRHUVH8wNSdN68w05Sk3ShGTb3ydktMTooig==", + "dev": true + }, + "axobject-query": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", + "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==", + "dev": true + }, + "babel-eslint": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", + "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.7.0", + "@babel/traverse": "^7.7.0", + "@babel/types": "^7.7.0", + "eslint-visitor-keys": "^1.0.0", + "resolve": "^1.12.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } + } + }, "bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", - "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", - "dev": true + "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==" }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "base": { "version": "0.11.2", @@ -8036,11 +16327,19 @@ } } }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8050,7 +16349,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "requires": { "fill-range": "^7.0.1" } @@ -8059,7 +16357,6 @@ "version": "4.16.4", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.4.tgz", "integrity": "sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ==", - "dev": true, "requires": { "caniuse-lite": "^1.0.30001208", "colorette": "^1.2.2", @@ -8101,17 +16398,47 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" } }, + "call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "dev": true + }, + "caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "requires": { + "callsites": "^2.0.0" + }, + "dependencies": { + "callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "dev": true + } + } + }, + "caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "dev": true, + "requires": { + "caller-callsite": "^2.0.0" + } + }, "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "camel-case": { "version": "4.1.2", @@ -8134,14 +16461,12 @@ "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" }, "camelcase-keys": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, "requires": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -8151,14 +16476,24 @@ "caniuse-lite": { "version": "1.0.30001208", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001208.tgz", - "integrity": "sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA==", + "integrity": "sha512-OE5UE4+nBOro8Dyvv0lfx+SRtfVIOM9uhKqFmJeUbGriqhhStgp1A0OyBpgy3OUF8AhYCT+PVwPC1gMl2ZcQMA==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "ccount": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", + "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", "dev": true }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -8167,20 +16502,23 @@ "character-entities": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", - "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==" + }, + "character-entities-html4": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.4.tgz", + "integrity": "sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g==", "dev": true }, "character-entities-legacy": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", - "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", - "dev": true + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==" }, "character-reference-invalid": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", - "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", - "dev": true + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" }, "chardet": { "version": "0.7.0", @@ -8188,6 +16526,12 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true + }, "ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", @@ -8341,15 +16685,112 @@ "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", "dev": true }, + "cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "dev": true, + "requires": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + } + } + } + }, "clone-regexp": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-2.2.0.tgz", "integrity": "sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==", - "dev": true, "requires": { "is-regexp": "^2.0.0" } }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "collapse-white-space": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", + "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", + "dev": true + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -8364,7 +16805,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "requires": { "color-name": "~1.1.4" } @@ -8372,14 +16812,21 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "colorette": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true + "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } }, "commander": { "version": "6.2.1", @@ -8387,6 +16834,12 @@ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", "dev": true }, + "comment-parser": { + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.6.tgz", + "integrity": "sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==", + "dev": true + }, "commitizen": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.2.3.tgz", @@ -8511,7 +16964,18 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true }, "conventional-commit-types": { @@ -8524,7 +16988,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "dev": true, "requires": { "safe-buffer": "~5.1.1" } @@ -8535,11 +16998,22 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "core-js-pure": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.11.0.tgz", + "integrity": "sha512-PxEiQGjzC+5qbvE7ZIs5Zn6BynNeZO9zHhrrWmkRff2SZLq0CE/H5LuZOJHhmOQ8L38+eMzEHAmPYWrUtDfuDQ==", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, "cosmiconfig": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", - "dev": true, "requires": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -8568,8 +17042,16 @@ "cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } }, "cz-conventional-changelog": { "version": "3.3.0", @@ -8638,11 +17120,25 @@ } } }, + "damerau-levenshtein": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", + "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==", + "dev": true + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, "requires": { "ms": "2.1.2" } @@ -8650,14 +17146,12 @@ "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" }, "decamelize-keys": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "dev": true, "requires": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -8666,8 +17160,7 @@ "map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" } } }, @@ -8695,6 +17188,15 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -8705,6 +17207,18 @@ "isobject": "^3.0.1" } }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, "detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -8721,7 +17235,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, "requires": { "path-type": "^4.0.0" } @@ -8739,7 +17252,6 @@ "version": "0.2.2", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", - "dev": true, "requires": { "domelementtype": "^2.0.1", "entities": "^2.0.0" @@ -8748,28 +17260,24 @@ "domelementtype": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "dev": true + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "entities": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" } } }, "domelementtype": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", - "dev": true + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" }, "domhandler": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", - "dev": true, "requires": { "domelementtype": "1" } @@ -8778,7 +17286,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", - "dev": true, "requires": { "dom-serializer": "0", "domelementtype": "1" @@ -8802,17 +17309,42 @@ } } }, + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "requires": { + "is-obj": "^2.0.0" + }, + "dependencies": { + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true + } + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, "electron-to-chromium": { "version": "1.3.717", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz", - "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ==", - "dev": true + "integrity": "sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ==" }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "end-of-stream": { "version": "1.4.4", @@ -8835,29 +17367,66 @@ "entities": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, "requires": { "is-arrayish": "^0.2.1" } }, + "es-abstract": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz", + "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "is-callable": "^1.2.3", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.2", + "is-string": "^1.0.5", + "object-inspect": "^1.9.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.0" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "eslint": { "version": "7.24.0", @@ -8911,11 +17480,319 @@ "dev": true, "requires": {} }, - "eslint-config-wordpress": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-wordpress/-/eslint-config-wordpress-2.0.0.tgz", - "integrity": "sha1-UgEgbGlk1kgxUjLt9t+9LpJeTNY=", - "dev": true + "eslint-import-resolver-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", + "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + } + } + }, + "eslint-plugin-import": { + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", + "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", + "dev": true, + "requires": { + "array-includes": "^3.1.1", + "array.prototype.flat": "^1.2.3", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.4", + "eslint-module-utils": "^2.6.0", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.1", + "read-pkg-up": "^2.0.0", + "resolve": "^1.17.0", + "tsconfig-paths": "^3.9.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "eslint-plugin-jest": { + "version": "24.3.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.5.tgz", + "integrity": "sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug==", + "dev": true, + "requires": { + "@typescript-eslint/experimental-utils": "^4.0.1" + } + }, + "eslint-plugin-jsdoc": { + "version": "30.7.13", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.7.13.tgz", + "integrity": "sha512-YM4WIsmurrp0rHX6XiXQppqKB8Ne5ATiZLJe2+/fkp9l9ExXFr43BbAbjZaVrpCT+tuPYOZ8k1MICARHnURUNQ==", + "dev": true, + "requires": { + "comment-parser": "^0.7.6", + "debug": "^4.3.1", + "jsdoctypeparser": "^9.0.0", + "lodash": "^4.17.20", + "regextras": "^0.7.1", + "semver": "^7.3.4", + "spdx-expression-parse": "^3.0.1" + } + }, + "eslint-plugin-jsx-a11y": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz", + "integrity": "sha512-0rGPJBbwHoGNPU73/QCLP/vveMlM1b1Z9PponxO87jfr6tuH5ligXbDT6nHSSzBC8ovX2Z+BQu7Bk5D/Xgq9zg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.11.2", + "aria-query": "^4.2.2", + "array-includes": "^3.1.1", + "ast-types-flow": "^0.0.7", + "axe-core": "^4.0.2", + "axobject-query": "^2.2.0", + "damerau-levenshtein": "^1.0.6", + "emoji-regex": "^9.0.0", + "has": "^1.0.3", + "jsx-ast-utils": "^3.1.0", + "language-tags": "^1.0.5" + }, + "dependencies": { + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + } + } }, "eslint-plugin-prettier": { "version": "3.4.0", @@ -8926,6 +17803,54 @@ "prettier-linter-helpers": "^1.0.0" } }, + "eslint-plugin-react": { + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.23.2.tgz", + "integrity": "sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==", + "dev": true, + "requires": { + "array-includes": "^3.1.3", + "array.prototype.flatmap": "^1.2.4", + "doctrine": "^2.1.0", + "has": "^1.0.3", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.0.4", + "object.entries": "^1.1.3", + "object.fromentries": "^2.0.4", + "object.values": "^1.1.3", + "prop-types": "^15.7.2", + "resolve": "^2.0.0-next.3", + "string.prototype.matchall": "^4.0.4" + }, + "dependencies": { + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "resolve": { + "version": "2.0.0-next.3", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.3.tgz", + "integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==", + "dev": true, + "requires": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + } + } + } + }, + "eslint-plugin-react-hooks": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz", + "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==", + "dev": true, + "requires": {} + }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -9051,7 +17976,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/execall/-/execall-2.0.0.tgz", "integrity": "sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==", - "dev": true, "requires": { "clone-regexp": "^2.1.0" } @@ -9187,8 +18111,7 @@ "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extend-shallow": { "version": "3.0.2", @@ -9253,11 +18176,16 @@ } } }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-diff": { "version": "1.2.0", @@ -9269,7 +18197,6 @@ "version": "3.2.5", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz", "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==", - "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -9294,14 +18221,12 @@ "fastest-levenshtein": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==" }, "fastq": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==", - "dev": true, "requires": { "reusify": "^1.0.4" } @@ -9319,7 +18244,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, "requires": { "flat-cache": "^3.0.4" } @@ -9328,7 +18252,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -9353,7 +18276,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, "requires": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -9501,7 +18423,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, "requires": { "flatted": "^3.1.0", "rimraf": "^3.0.2" @@ -9510,8 +18431,7 @@ "flatted": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", - "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", - "dev": true + "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==" }, "for-in": { "version": "1.0.2", @@ -9519,6 +18439,23 @@ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -9539,17 +18476,24 @@ "universalify": "^0.1.0" } }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "requires": { + "minipass": "^3.0.0" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "functional-red-black-tree": { "version": "1.0.1", @@ -9557,17 +18501,83 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "^1.0.0" + } + }, "gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-intrinsic": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -9583,8 +18593,7 @@ "get-stdin": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==" }, "get-stream": { "version": "5.2.0", @@ -9601,11 +18610,19 @@ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", "dev": true }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -9615,15 +18632,56 @@ "path-is-absolute": "^1.0.0" } }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + } + } + }, "glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "requires": { "is-glob": "^4.0.1" } }, + "glob-to-regexp": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", + "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", + "dev": true + }, "global-dirs": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", @@ -9638,7 +18696,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", - "dev": true, "requires": { "global-prefix": "^3.0.0" } @@ -9647,7 +18704,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dev": true, "requires": { "ini": "^1.3.5", "kind-of": "^6.0.2", @@ -9658,7 +18714,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, "requires": { "isexe": "^2.0.0" } @@ -9678,7 +18733,6 @@ "version": "11.0.3", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==", - "dev": true, "requires": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -9691,22 +18745,30 @@ "ignore": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", - "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", - "dev": true + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" } } }, "globjoin": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", - "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=", - "dev": true + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=" + }, + "globule": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz", + "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==", + "dev": true, + "requires": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + } }, "gonzales-pe": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", - "dev": true, "requires": { "minimist": "^1.2.5" } @@ -9717,31 +18779,72 @@ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", "dev": true }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, "hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + } + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "has-symbols": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "dev": true }, "has-value": { @@ -9821,7 +18924,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", - "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -9886,14 +18988,42 @@ "html-tags": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz", - "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==", - "dev": true + "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==" + }, + "htmlhint": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/htmlhint/-/htmlhint-0.14.2.tgz", + "integrity": "sha512-lUCgGVZ/oyCkpgDkIa5IfClwX8Ppy11Dk7XdeVboAGSmKjIuOKx6yy86WS0W08KFtCRuxftzNy+KdQjM4UjqCA==", + "dev": true, + "requires": { + "async": "3.2.0", + "chalk": "4.1.0", + "commander": "5.1.0", + "glob": "7.1.6", + "parse-glob": "3.0.4", + "request": "2.88.2", + "strip-json-comments": "3.1.0", + "xml": "1.0.1" + }, + "dependencies": { + "commander": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz", + "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==", + "dev": true + } + } }, "htmlparser2": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "dev": true, "requires": { "domelementtype": "^1.3.1", "domhandler": "^2.3.0", @@ -9903,6 +19033,17 @@ "readable-stream": "^3.1.1" } }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, "human-signals": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", @@ -9946,7 +19087,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, "requires": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -9955,32 +19095,27 @@ "import-lazy": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", - "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", - "dev": true + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==" }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" }, "indexes-of": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", - "dev": true + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -9989,14 +19124,12 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "inquirer": { "version": "6.5.2", @@ -10168,6 +19301,17 @@ } } }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", @@ -10180,14 +19324,18 @@ "is-alphabetical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", - "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==" + }, + "is-alphanumeric": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz", + "integrity": "sha1-Spzvcdr0wAHB2B1j0UDPU/1oifQ=", "dev": true }, "is-alphanumerical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", - "dev": true, "requires": { "is-alphabetical": "^1.0.0", "is-decimal": "^1.0.0" @@ -10196,14 +19344,18 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "is-bigint": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", + "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", "dev": true }, "is-boolean-object": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", - "dev": true, "requires": { "call-bind": "^1.0.0" } @@ -10211,14 +19363,18 @@ "is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + }, + "is-callable": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", + "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", "dev": true }, "is-core-module": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", - "dev": true, "requires": { "has": "^1.0.3" } @@ -10232,11 +19388,16 @@ "kind-of": "^6.0.0" } }, + "is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "dev": true + }, "is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", - "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", - "dev": true + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==" }, "is-descriptor": { "version": "1.0.2", @@ -10249,6 +19410,18 @@ "kind-of": "^6.0.2" } }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", @@ -10261,20 +19434,23 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -10282,20 +19458,23 @@ "is-hexadecimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", - "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==" + }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", "dev": true }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" }, "is-number-object": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "dev": true + "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==" }, "is-obj": { "version": "1.0.1", @@ -10306,8 +19485,7 @@ "is-plain-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "dev": true + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" }, "is-plain-object": { "version": "2.0.4", @@ -10318,11 +19496,20 @@ "isobject": "^3.0.1" } }, + "is-regex": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", + "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-symbols": "^1.0.1" + } + }, "is-regexp": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-2.1.0.tgz", - "integrity": "sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==", - "dev": true + "integrity": "sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==" }, "is-stream": { "version": "2.0.0", @@ -10333,20 +19520,32 @@ "is-string": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==" + }, + "is-supported-regexp-flag": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", + "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==", "dev": true }, + "is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" }, "is-utf8": { "version": "0.2.1", @@ -10354,12 +19553,24 @@ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, + "is-whitespace-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", + "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", + "dev": true + }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "is-word-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", + "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", + "dev": true + }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -10369,8 +19580,7 @@ "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "isobject": { "version": "3.0.1", @@ -10378,11 +19588,22 @@ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { "version": "3.14.1", @@ -10394,16 +19615,38 @@ "esprima": "^4.0.0" } }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsdoctypeparser": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz", + "integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==", + "dev": true + }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true }, "json-schema-traverse": { @@ -10418,11 +19661,16 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, "json5": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, "requires": { "minimist": "^1.2.5" } @@ -10442,16 +19690,57 @@ "graceful-fs": "^4.1.6" } }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "jsx-ast-utils": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz", + "integrity": "sha512-EIsmt3O3ljsU6sot/J4E1zDRxfBNrhjyf/OKjlydwgEimQuznlM4Wv7U+ueONJMyEn1WRE0K8dhi3dVAXYT24Q==", + "dev": true, + "requires": { + "array-includes": "^3.1.2", + "object.assign": "^4.1.2" + } + }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "known-css-properties": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.21.0.tgz", - "integrity": "sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==", + "integrity": "sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==" + }, + "language-subtag-registry": { + "version": "0.3.21", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz", + "integrity": "sha512-L0IqwlIXjilBVVYKFT37X9Ih11Um5NEl9cbJIuU/SwP/zEEAbBPOnEeeuxVMf45ydWQRDQN3Nqc96OgbH1K+Pg==", + "dev": true + }, + "language-tags": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", + "integrity": "sha1-0yHbxNowuovzAk4ED6XBRmH5GTo=", + "dev": true, + "requires": { + "language-subtag-registry": "~0.3.2" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", "dev": true }, "levn": { @@ -10467,8 +19756,7 @@ "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", - "dev": true + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" }, "linkify-it": { "version": "3.0.2", @@ -10519,11 +19807,39 @@ "wrap-ansi": "^7.0.0" } }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } + } + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, "requires": { "p-locate": "^4.1.0" } @@ -10531,14 +19847,12 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", - "dev": true + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" }, "lodash.differencewith": { "version": "4.5.0", @@ -10549,8 +19863,7 @@ "lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", - "dev": true + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" }, "lodash.map": { "version": "4.6.0", @@ -10561,14 +19874,12 @@ "lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", - "dev": true + "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=" }, "log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, "requires": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -10608,8 +19919,26 @@ "longest-streak": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", - "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", - "dev": true + "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } }, "lower-case": { "version": "2.0.2", @@ -10632,7 +19961,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, "requires": { "yallist": "^4.0.0" } @@ -10646,8 +19974,7 @@ "map-obj": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", - "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", - "dev": true + "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==" }, "map-visit": { "version": "1.0.0", @@ -10658,6 +19985,12 @@ "object-visit": "^1.0.0" } }, + "markdown-escapes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", + "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", + "dev": true + }, "markdown-it": { "version": "12.0.4", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.4.tgz", @@ -10685,6 +20018,12 @@ } } }, + "markdown-table": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz", + "integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==", + "dev": true + }, "markdownlint": { "version": "0.23.1", "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.23.1.tgz", @@ -10754,14 +20093,21 @@ "mathml-tag-names": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", - "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", - "dev": true + "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" + }, + "mdast-util-compact": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mdast-util-compact/-/mdast-util-compact-1.0.4.tgz", + "integrity": "sha512-3YDMQHI5vRiS2uygEFYaqckibpJtKq5Sj2c8JioeOQBU6INpKbdWzfyLqFFnDwEcEnRFIdMsguzs5pC1Jp4Isg==", + "dev": true, + "requires": { + "unist-util-visit": "^1.1.0" + } }, "mdast-util-from-markdown": { "version": "0.8.5", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", - "dev": true, "requires": { "@types/mdast": "^3.0.0", "mdast-util-to-string": "^2.0.0", @@ -10774,7 +20120,6 @@ "version": "0.6.5", "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", - "dev": true, "requires": { "@types/unist": "^2.0.0", "longest-streak": "^2.0.0", @@ -10787,8 +20132,7 @@ "mdast-util-to-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", - "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", - "dev": true + "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==" }, "mdurl": { "version": "1.0.1", @@ -10800,7 +20144,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", - "dev": true, "requires": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -10819,8 +20162,7 @@ "type-fest": { "version": "0.18.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "dev": true + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" } } }, @@ -10839,14 +20181,12 @@ "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "micromark": { "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", - "dev": true, "requires": { "debug": "^4.0.0", "parse-entities": "^2.0.0" @@ -10856,12 +20196,26 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, "requires": { "braces": "^3.0.1", "picomatch": "^2.2.3" } }, + "mime-db": { + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", + "dev": true + }, + "mime-types": { + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "dev": true, + "requires": { + "mime-db": "1.47.0" + } + }, "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -10871,8 +20225,7 @@ "min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, "minify": { "version": "7.0.1", @@ -10892,7 +20245,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -10900,20 +20252,37 @@ "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, "minimist-options": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, "requires": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", "kind-of": "^6.0.3" } }, + "minipass": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", + "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + } + }, "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -10924,11 +20293,19 @@ "is-extendable": "^1.0.1" } }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "mute-stream": { "version": "0.0.7", @@ -10936,6 +20313,12 @@ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "dev": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -10979,17 +20362,294 @@ } } }, + "node-gyp": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz", + "integrity": "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==", + "dev": true, + "requires": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "nopt": "^5.0.0", + "npmlog": "^4.1.2", + "request": "^2.88.2", + "rimraf": "^3.0.2", + "semver": "^7.3.2", + "tar": "^6.0.2", + "which": "^2.0.2" + } + }, "node-releases": { "version": "1.1.71", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==", - "dev": true + "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" + }, + "node-sass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-5.0.0.tgz", + "integrity": "sha512-opNgmlu83ZCF792U281Ry7tak9IbVC+AKnXGovcQ8LG8wFaJv6cLnRlc6DIHlmNxWEexB5bZxi9SZ9JyUuOYjw==", + "dev": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^7.0.3", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "lodash": "^4.17.15", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.13.2", + "node-gyp": "^7.1.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "2.2.5", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + } + } + }, + "nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "requires": { + "abbrev": "1" + } }, "normalize-package-data": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.2.tgz", "integrity": "sha512-6CdZocmfGaKnIHPVFhJJZ3GuR8SsLKvDANFp47Jmy51aKIr8akjAWTSxtpI+MBgBFdSMRyo4hMpDlT6dTffgZg==", - "dev": true, "requires": { "hosted-git-info": "^4.0.1", "resolve": "^1.20.0", @@ -11006,14 +20666,12 @@ "normalize-range": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", - "dev": true + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=" }, "normalize-selector": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", - "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", - "dev": true + "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=" }, "npm-run-path": { "version": "4.0.1", @@ -11024,10 +20682,39 @@ "path-key": "^3.0.0" } }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, "num2fraction": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=" + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, "object-copy": { @@ -11104,6 +20791,18 @@ } } }, + "object-inspect": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz", + "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -11113,6 +20812,42 @@ "isobject": "^3.0.0" } }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.entries": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz", + "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + } + }, + "object.fromentries": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.4.tgz", + "integrity": "sha512-EsFBshs5RUUpQEY1D4q/m59kMfz4YJvxuNCJcv/jWwOJr34EaVnG11ZrZa0UHB3wnzV1wx8m58T4hQL8IuNXlQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has": "^1.0.3" + } + }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -11122,11 +20857,22 @@ "isobject": "^3.0.1" } }, + "object.values": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", + "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has": "^1.0.3" + } + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -11170,7 +20916,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, "requires": { "p-try": "^2.0.0" } @@ -11179,7 +20924,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, "requires": { "p-limit": "^2.2.0" } @@ -11196,8 +20940,7 @@ "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" }, "param-case": { "version": "3.0.4", @@ -11221,7 +20964,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, "requires": { "callsites": "^3.0.0" } @@ -11230,7 +20972,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", - "dev": true, "requires": { "character-entities": "^1.0.0", "character-entities-legacy": "^1.0.0", @@ -11240,11 +20981,39 @@ "is-hexadecimal": "^1.0.0" } }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + } + } + }, "parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -11282,17 +21051,21 @@ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", "dev": true }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-key": { "version": "3.1.1", @@ -11303,21 +21076,45 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, "picomatch": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, "pkg-dir": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", @@ -11385,12 +21182,254 @@ "version": "7.0.35", "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dev": true, "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", "supports-color": "^6.1.0" }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-html": { + "version": "0.36.0", + "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.36.0.tgz", + "integrity": "sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==", + "requires": { + "htmlparser2": "^3.10.0" + } + }, + "postcss-jsx": { + "version": "0.36.4", + "resolved": "https://registry.npmjs.org/postcss-jsx/-/postcss-jsx-0.36.4.tgz", + "integrity": "sha512-jwO/7qWUvYuWYnpOb0+4bIIgJt7003pgU3P6nETBLaOyBXuTD55ho21xnals5nBrlpTIFodyd3/jBi6UO3dHvA==", + "dev": true, + "requires": { + "@babel/core": ">=7.2.2" + } + }, + "postcss-less": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-3.1.4.tgz", + "integrity": "sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==", + "requires": { + "postcss": "^7.0.14" + } + }, + "postcss-markdown": { + "version": "0.36.0", + "resolved": "https://registry.npmjs.org/postcss-markdown/-/postcss-markdown-0.36.0.tgz", + "integrity": "sha512-rl7fs1r/LNSB2bWRhyZ+lM/0bwKv9fhl38/06gF6mKMo/NPnp55+K1dSTosSVjFZc0e1ppBlu+WT91ba0PMBfQ==", + "dev": true, + "requires": { + "remark": "^10.0.1", + "unist-util-find-all-after": "^1.0.2" + }, + "dependencies": { + "parse-entities": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz", + "integrity": "sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==", + "dev": true, + "requires": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, + "remark": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/remark/-/remark-10.0.1.tgz", + "integrity": "sha512-E6lMuoLIy2TyiokHprMjcWNJ5UxfGQjaMSMhV+f4idM625UjjK4j798+gPs5mfjzDE6vL0oFKVeZM6gZVSVrzQ==", + "dev": true, + "requires": { + "remark-parse": "^6.0.0", + "remark-stringify": "^6.0.0", + "unified": "^7.0.0" + } + }, + "remark-parse": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-6.0.3.tgz", + "integrity": "sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg==", + "dev": true, + "requires": { + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^1.1.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "trim": "0.0.1", + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^1.0.0", + "vfile-location": "^2.0.0", + "xtend": "^4.0.1" + } + }, + "remark-stringify": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-6.0.4.tgz", + "integrity": "sha512-eRWGdEPMVudijE/psbIDNcnJLRVx3xhfuEsTDGgH4GsFF91dVhw5nhmnBppafJ7+NWINW6C7ZwWbi30ImJzqWg==", + "dev": true, + "requires": { + "ccount": "^1.0.0", + "is-alphanumeric": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "longest-streak": "^2.0.1", + "markdown-escapes": "^1.0.0", + "markdown-table": "^1.1.0", + "mdast-util-compact": "^1.0.0", + "parse-entities": "^1.0.2", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "stringify-entities": "^1.0.1", + "unherit": "^1.0.4", + "xtend": "^4.0.1" + } + }, + "unified": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-7.1.0.tgz", + "integrity": "sha512-lbk82UOIGuCEsZhPj8rNAkXSDXd6p0QLzIuSsCdxrqnqU56St4eyOB+AlXsVgVeRmetPTYydIuvFfpDIed8mqw==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "@types/vfile": "^3.0.0", + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^1.1.0", + "trough": "^1.0.0", + "vfile": "^3.0.0", + "x-is-string": "^0.1.0" + } + }, + "unist-util-find-all-after": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-1.0.5.tgz", + "integrity": "sha512-lWgIc3rrTMTlK1Y0hEuL+k+ApzFk78h+lsaa2gHf63Gp5Ww+mt11huDniuaoq1H+XMK2lIIjjPkncxXcDp3QDw==", + "dev": true, + "requires": { + "unist-util-is": "^3.0.0" + } + }, + "unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true + }, + "unist-util-stringify-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", + "dev": true + }, + "vfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-3.0.1.tgz", + "integrity": "sha512-y7Y3gH9BsUSdD4KzHsuMaCzRjglXN0W2EcMf0gpvu6+SbsGhMje7xDc8AEoeXy6mIwCKMI6BkjMsRjzQbhMEjQ==", + "dev": true, + "requires": { + "is-buffer": "^2.0.0", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^1.0.0", + "vfile-message": "^1.0.0" + } + }, + "vfile-message": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.1.1.tgz", + "integrity": "sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA==", + "dev": true, + "requires": { + "unist-util-stringify-position": "^1.1.1" + } + } + } + }, + "postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=" + }, + "postcss-reporter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-6.0.1.tgz", + "integrity": "sha512-LpmQjfRWyabc+fRygxZjpRxfhRf9u/fdlKf4VHG4TSPbV2XNsuISzYW1KL+1aQzx53CAppa1bKG4APIB/DOXXw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "lodash": "^4.17.11", + "log-symbols": "^2.2.0", + "postcss": "^7.0.7" + }, "dependencies": { "ansi-styles": { "version": "3.2.1", @@ -11410,17 +21449,6 @@ "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } } }, "color-convert": { @@ -11444,16 +21472,19 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" @@ -11461,41 +21492,15 @@ } } }, - "postcss-html": { - "version": "0.36.0", - "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.36.0.tgz", - "integrity": "sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==", - "dev": true, - "requires": { - "htmlparser2": "^3.10.0" - } - }, - "postcss-less": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-3.1.4.tgz", - "integrity": "sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==", - "dev": true, - "requires": { - "postcss": "^7.0.14" - } - }, - "postcss-media-query-parser": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", - "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", - "dev": true - }, "postcss-resolve-nested-selector": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", - "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=", - "dev": true + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" }, "postcss-safe-parser": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.2.tgz", "integrity": "sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==", - "dev": true, "requires": { "postcss": "^7.0.26" } @@ -11504,7 +21509,6 @@ "version": "0.4.4", "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.4.4.tgz", "integrity": "sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==", - "dev": true, "requires": { "gonzales-pe": "^4.3.0", "postcss": "^7.0.21" @@ -11514,7 +21518,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.1.1.tgz", "integrity": "sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==", - "dev": true, "requires": { "postcss": "^7.0.6" } @@ -11523,7 +21526,6 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", - "dev": true, "requires": { "cssesc": "^3.0.0", "indexes-of": "^1.0.1", @@ -11531,18 +21533,26 @@ "util-deprecate": "^1.0.2" } }, + "postcss-sorting": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-5.0.1.tgz", + "integrity": "sha512-Y9fUFkIhfrm6i0Ta3n+89j56EFqaNRdUKqXyRp6kvTcSXnmgEjaVowCXH+JBe9+YKWqd4nc28r2sgwnzJalccA==", + "dev": true, + "requires": { + "lodash": "^4.17.14", + "postcss": "^7.0.17" + } + }, "postcss-syntax": { "version": "0.36.2", "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.36.2.tgz", "integrity": "sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==", - "dev": true, "requires": {} }, "postcss-value-parser": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", - "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==", - "dev": true + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" }, "prelude-ls": { "version": "1.2.1", @@ -11565,12 +21575,35 @@ "fast-diff": "^1.1.2" } }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, + "prop-types": { + "version": "15.7.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", + "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", + "dev": true, + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.8.1" + } + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -11584,20 +21617,23 @@ "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" }, "quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" }, "rc": { "version": "1.2.8", @@ -11619,11 +21655,16 @@ } } }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, "requires": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -11634,14 +21675,12 @@ "hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, "requires": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -11652,14 +21691,12 @@ "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" } } }, @@ -11667,7 +21704,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, "requires": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -11677,8 +21713,7 @@ "type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" } } }, @@ -11686,7 +21721,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -11697,12 +21731,17 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, "requires": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" } }, + "regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", + "dev": true + }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -11713,12 +21752,28 @@ "safe-regex": "^1.1.0" } }, + "regexp.prototype.flags": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", + "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, "regexpp": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", "dev": true }, + "regextras": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz", + "integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==", + "dev": true + }, "relateurl": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", @@ -11729,7 +21784,6 @@ "version": "13.0.0", "resolved": "https://registry.npmjs.org/remark/-/remark-13.0.0.tgz", "integrity": "sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==", - "dev": true, "requires": { "remark-parse": "^9.0.0", "remark-stringify": "^9.0.0", @@ -11740,7 +21794,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-9.0.0.tgz", "integrity": "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==", - "dev": true, "requires": { "mdast-util-from-markdown": "^0.8.0" } @@ -11749,7 +21802,6 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-9.0.1.tgz", "integrity": "sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==", - "dev": true, "requires": { "mdast-util-to-markdown": "^0.6.0" } @@ -11763,20 +21815,78 @@ "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, "require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "requireindex": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/requireindex/-/requireindex-1.2.0.tgz", + "integrity": "sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==", "dev": true }, "resolve": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "requires": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -11830,8 +21940,7 @@ "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" }, "resolve-global": { "version": "1.0.0", @@ -11868,14 +21977,12 @@ "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, "requires": { "glob": "^7.1.3" } @@ -11890,7 +21997,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, "requires": { "queue-microtask": "^1.2.2" } @@ -11907,8 +22013,7 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "safe-regex": { "version": "1.1.0", @@ -11925,11 +22030,43 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "sass-graph": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", + "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^13.3.2" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -11946,6 +22083,12 @@ "integrity": "sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==", "dev": true }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, "set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", @@ -11990,23 +22133,31 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, "signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "dev": true + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" }, "slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, "requires": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -12184,8 +22335,7 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" }, "source-map-resolve": { "version": "0.5.3", @@ -12228,7 +22378,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -12237,14 +22386,12 @@ "spdx-exceptions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" }, "spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -12253,14 +22400,12 @@ "spdx-license-ids": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==", - "dev": true + "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==" }, "specificity": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.4.1.tgz", - "integrity": "sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==", - "dev": true + "integrity": "sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==" }, "split-string": { "version": "3.1.0", @@ -12277,6 +22422,29 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "state-toggle": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", + "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", + "dev": true + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -12361,11 +22529,45 @@ } } }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, "requires": { "safe-buffer": "~5.2.0" }, @@ -12373,8 +22575,7 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" } } }, @@ -12388,13 +22589,59 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", - "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" } }, + "string.prototype.matchall": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.4.tgz", + "integrity": "sha512-pknFIWVachNcyqRfaQSeu/FUfpvJTe4uskUSZ9Wc1RijsPuzbZ8TyYT8WCNnntCjUEqQ3vUHMAfVj2+wLAisPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "has-symbols": "^1.0.1", + "internal-slot": "^1.0.3", + "regexp.prototype.flags": "^1.3.1", + "side-channel": "^1.0.4" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "stringify-entities": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.2.tgz", + "integrity": "sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A==", + "dev": true, + "requires": { + "character-entities-html4": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, "stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", @@ -12418,7 +22665,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, "requires": { "ansi-regex": "^5.0.0" } @@ -12439,7 +22685,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, "requires": { "min-indent": "^1.0.0" } @@ -12453,14 +22698,12 @@ "style-search": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", - "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=", - "dev": true + "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "stylelint": { "version": "13.12.0", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-13.12.0.tgz", "integrity": "sha512-P8O1xDy41B7O7iXaSlW+UuFbE5+ZWQDb61ndGDxKIt36fMH50DtlQTbwLpFLf8DikceTAb3r6nPrRv30wBlzXw==", - "dev": true, "requires": { "@stylelint/postcss-css-in-js": "^0.37.2", "@stylelint/postcss-markdown": "^0.36.2", @@ -12515,14 +22758,823 @@ "ignore": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", - "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", - "dev": true + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" }, "resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + } + } + }, + "stylelint-a11y": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stylelint-a11y/-/stylelint-a11y-1.2.3.tgz", + "integrity": "sha512-S/iiKFUsYBfa4suxP0pYQqoPB9R1+SnvxVuzHHlz9al0IWxLZzXlnZEqEez0zNOhVh5iO3rATUmDnbZE5wm/pQ==", + "requires": {} + }, + "stylelint-config-rational-order": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/stylelint-config-rational-order/-/stylelint-config-rational-order-0.1.2.tgz", + "integrity": "sha512-Qo7ZQaihCwTqijfZg4sbdQQHtugOX/B1/fYh018EiDZHW+lkqH9uHOnsDwDPGZrYJuB6CoyI7MZh2ecw2dOkew==", + "dev": true, + "requires": { + "stylelint": "^9.10.1", + "stylelint-order": "^2.2.1" + }, + "dependencies": { + "@nodelib/fs.stat": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", + "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", "dev": true + }, + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "camelcase-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", + "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", + "dev": true, + "requires": { + "camelcase": "^4.1.0", + "map-obj": "^2.0.0", + "quick-lru": "^1.0.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "clone-regexp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", + "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", + "dev": true, + "requires": { + "is-regexp": "^1.0.0", + "is-supported-regexp-flag": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "requires": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + } + }, + "dir-glob": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", + "dev": true, + "requires": { + "path-type": "^3.0.0" + } + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "execall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", + "integrity": "sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=", + "dev": true, + "requires": { + "clone-regexp": "^1.0.0" + } + }, + "fast-glob": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", + "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", + "dev": true, + "requires": { + "@mrmlnc/readdir-enhanced": "^2.2.1", + "@nodelib/fs.stat": "^1.1.2", + "glob-parent": "^3.1.0", + "is-glob": "^4.0.0", + "merge2": "^1.2.3", + "micromatch": "^3.1.10" + } + }, + "file-entry-cache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-4.0.0.tgz", + "integrity": "sha512-AVSwsnbV8vH/UVbvgEhf3saVQXORNv0ZzSkvkhQIaia5Tia+JhGTaa/ePUSVoPHQyGayQNmYfkzFi3WZV5zcpA==", + "dev": true, + "requires": { + "flat-cache": "^2.0.1" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "dev": true, + "requires": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + } + }, + "flatted": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "dev": true + }, + "get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "dev": true + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "globby": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", + "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", + "dev": true, + "requires": { + "@types/glob": "^7.1.1", + "array-union": "^1.0.2", + "dir-glob": "^2.2.2", + "fast-glob": "^2.2.6", + "glob": "^7.1.3", + "ignore": "^4.0.3", + "pify": "^4.0.1", + "slash": "^2.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "html-tags": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", + "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", + "dev": true + }, + "import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "requires": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + } + } + }, + "import-lazy": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.1.0.tgz", + "integrity": "sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==", + "dev": true + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true + }, + "known-css-properties": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.11.0.tgz", + "integrity": "sha512-bEZlJzXo5V/ApNNa5z375mJC6Nrz4vG43UgcSCrg2OHC+yuB6j0iDSrY7RQ/+PRofFB03wNIIt9iXIVLr4wc7w==", + "dev": true + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } + }, + "map-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", + "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", + "dev": true + }, + "meow": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", + "integrity": "sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==", + "dev": true, + "requires": { + "camelcase-keys": "^4.0.0", + "decamelize-keys": "^1.0.0", + "loud-rejection": "^1.0.0", + "minimist-options": "^3.0.1", + "normalize-package-data": "^2.3.4", + "read-pkg-up": "^3.0.0", + "redent": "^2.0.0", + "trim-newlines": "^2.0.0", + "yargs-parser": "^10.0.0" + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "minimist-options": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", + "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, + "postcss-sass": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.3.5.tgz", + "integrity": "sha512-B5z2Kob4xBxFjcufFnhQ2HqJQ2y/Zs/ic5EZbCywCkxKd756Q40cIQ/veRDwSrw1BF6+4wUgmpm0sBASqVi65A==", + "dev": true, + "requires": { + "gonzales-pe": "^4.2.3", + "postcss": "^7.0.1" + } + }, + "postcss-selector-parser": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", + "dev": true, + "requires": { + "dot-prop": "^5.2.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + }, + "postcss-sorting": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-4.1.0.tgz", + "integrity": "sha512-r4T2oQd1giURJdHQ/RMb72dKZCuLOdWx2B/XhXN1Y1ZdnwXsKH896Qz6vD4tFy9xSjpKNYhlZoJmWyhH/7JUQw==", + "dev": true, + "requires": { + "lodash": "^4.17.4", + "postcss": "^7.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "quick-lru": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", + "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + } + }, + "redent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", + "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", + "dev": true, + "requires": { + "indent-string": "^3.0.0", + "strip-indent": "^2.0.0" + } + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true + }, + "slice-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + } + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "stylelint": { + "version": "9.10.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-9.10.1.tgz", + "integrity": "sha512-9UiHxZhOAHEgeQ7oLGwrwoDR8vclBKlSX7r4fH0iuu0SfPwFaLkb1c7Q2j1cqg9P7IDXeAV2TvQML/fRQzGBBQ==", + "dev": true, + "requires": { + "autoprefixer": "^9.0.0", + "balanced-match": "^1.0.0", + "chalk": "^2.4.1", + "cosmiconfig": "^5.0.0", + "debug": "^4.0.0", + "execall": "^1.0.0", + "file-entry-cache": "^4.0.0", + "get-stdin": "^6.0.0", + "global-modules": "^2.0.0", + "globby": "^9.0.0", + "globjoin": "^0.1.4", + "html-tags": "^2.0.0", + "ignore": "^5.0.4", + "import-lazy": "^3.1.0", + "imurmurhash": "^0.1.4", + "known-css-properties": "^0.11.0", + "leven": "^2.1.0", + "lodash": "^4.17.4", + "log-symbols": "^2.0.0", + "mathml-tag-names": "^2.0.1", + "meow": "^5.0.0", + "micromatch": "^3.1.10", + "normalize-selector": "^0.2.0", + "pify": "^4.0.0", + "postcss": "^7.0.13", + "postcss-html": "^0.36.0", + "postcss-jsx": "^0.36.0", + "postcss-less": "^3.1.0", + "postcss-markdown": "^0.36.0", + "postcss-media-query-parser": "^0.2.3", + "postcss-reporter": "^6.0.0", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^4.0.0", + "postcss-sass": "^0.3.5", + "postcss-scss": "^2.0.0", + "postcss-selector-parser": "^3.1.0", + "postcss-syntax": "^0.36.2", + "postcss-value-parser": "^3.3.0", + "resolve-from": "^4.0.0", + "signal-exit": "^3.0.2", + "slash": "^2.0.0", + "specificity": "^0.4.1", + "string-width": "^3.0.0", + "style-search": "^0.1.0", + "sugarss": "^2.0.0", + "svg-tags": "^1.0.0", + "table": "^5.0.0" + }, + "dependencies": { + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true + } + } + }, + "stylelint-order": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-2.2.1.tgz", + "integrity": "sha512-019KBV9j8qp1MfBjJuotse6MgaZqGVtXMc91GU9MsS9Feb+jYUvUU3Z8XiClqPdqJZQ0ryXQJGg3U3PcEjXwfg==", + "dev": true, + "requires": { + "lodash": "^4.17.10", + "postcss": "^7.0.2", + "postcss-sorting": "^4.1.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "table": { + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "dev": true, + "requires": { + "ajv": "^6.10.2", + "lodash": "^4.17.14", + "slice-ansi": "^2.1.0", + "string-width": "^3.0.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "trim-newlines": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", + "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", + "dev": true + }, + "yargs-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } } } }, @@ -12553,6 +23605,17 @@ "stylelint-scss": "^3.17.2" } }, + "stylelint-order": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-4.1.0.tgz", + "integrity": "sha512-sVTikaDvMqg2aJjh4r48jsdfmqLT+nqB1MOsaBnvM3OwLx4S+WXcsxsgk5w18h/OZoxZCxuyXMh61iBHcj9Qiw==", + "dev": true, + "requires": { + "lodash": "^4.17.15", + "postcss": "^7.0.31", + "postcss-sorting": "^5.0.1" + } + }, "stylelint-scss": { "version": "3.19.0", "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.19.0.tgz", @@ -12570,7 +23633,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-2.0.0.tgz", "integrity": "sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==", - "dev": true, "requires": { "postcss": "^7.0.2" } @@ -12579,7 +23641,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -12587,14 +23648,12 @@ "svg-tags": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", - "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", - "dev": true + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "table": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/table/-/table-6.1.0.tgz", "integrity": "sha512-T4G5KMmqIk6X87gLKWyU5exPpTjLjY5KyrFWaIjv3SvgaIUGXV7UEzGEnZJdTA38/yUS6f9PlKezQ0bYXG3iIQ==", - "dev": true, "requires": { "ajv": "^8.0.1", "is-boolean-object": "^1.1.0", @@ -12611,7 +23670,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz", "integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==", - "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -12622,7 +23680,28 @@ "json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + } + } + }, + "tar": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", + "integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", + "dev": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "dependencies": { + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true } } @@ -12676,8 +23755,7 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" }, "to-object-path": { "version": "0.3.0", @@ -12721,22 +23799,50 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "requires": { "is-number": "^7.0.0" } }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, "trim-newlines": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==" + }, + "trim-trailing-lines": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", + "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", "dev": true }, "trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", - "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", - "dev": true + "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "^7.1.2" + } }, "try-to-catch": { "version": "3.0.0", @@ -12744,12 +23850,65 @@ "integrity": "sha512-eIm6ZXwR35jVF8By/HdbbkcaCDTBI5PpCPkejRKrYp0jyf/DbCCcRhHD7/O9jtFI3ewsqo9WctFEiJTS6i+CQA==", "dev": true }, + "tsconfig-paths": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", + "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } + } + }, "tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, + "tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -12769,22 +23928,49 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, "requires": { "is-typedarray": "^1.0.0" } }, + "typescript": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", + "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", + "dev": true, + "peer": true + }, "uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "dev": true }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "unherit": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", + "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", + "dev": true, + "requires": { + "inherits": "^2.0.0", + "xtend": "^4.0.0" + } + }, "unified": { "version": "9.2.1", "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.1.tgz", "integrity": "sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA==", - "dev": true, "requires": { "bail": "^1.0.0", "extend": "^3.0.0", @@ -12797,8 +23983,7 @@ "is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" } } }, @@ -12825,14 +24010,12 @@ "uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", - "dev": true + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=" }, "unist-util-find-all-after": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-3.0.2.tgz", "integrity": "sha512-xaTC/AGZ0rIM2gM28YVRAFPIZpzbpDtU3dRmp7EXlNVA8ziQc4hY3H7BHXM1J49nEmiqc3svnqMReW+PGqbZKQ==", - "dev": true, "requires": { "unist-util-is": "^4.0.0" } @@ -12840,18 +24023,51 @@ "unist-util-is": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", - "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", - "dev": true + "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==" + }, + "unist-util-remove-position": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz", + "integrity": "sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==", + "dev": true, + "requires": { + "unist-util-visit": "^1.1.0" + } }, "unist-util-stringify-position": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", - "dev": true, "requires": { "@types/unist": "^2.0.2" } }, + "unist-util-visit": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.1.tgz", + "integrity": "sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==", + "dev": true, + "requires": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "unist-util-visit-parents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz", + "integrity": "sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==", + "dev": true, + "requires": { + "unist-util-is": "^3.0.0" + }, + "dependencies": { + "unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true + } + } + }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -12902,7 +24118,6 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, "requires": { "punycode": "^2.1.0" } @@ -12922,30 +24137,43 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "dev": true }, "v8-compile-cache": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, "vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", - "dev": true, "requires": { "@types/unist": "^2.0.0", "is-buffer": "^2.0.0", @@ -12953,11 +24181,16 @@ "vfile-message": "^2.0.0" } }, + "vfile-location": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.6.tgz", + "integrity": "sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA==", + "dev": true + }, "vfile-message": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", - "dev": true, "requires": { "@types/unist": "^2.0.0", "unist-util-stringify-position": "^2.0.0" @@ -12972,12 +24205,73 @@ "isexe": "^2.0.0" } }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, "which-pm-runs": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", "dev": true }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -12998,14 +24292,21 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "write": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", + "dev": true, + "requires": { + "mkdirp": "^0.5.1" + } }, "write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -13013,23 +24314,2777 @@ "typedarray-to-buffer": "^3.1.5" } }, + "x-is-string": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz", + "integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=", + "dev": true + }, + "xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", + "dev": true + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true + }, + "y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + }, + "yaml-validator": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/yaml-validator/-/yaml-validator-3.0.1.tgz", + "integrity": "sha512-6mLR0UJ8P044TkgUYQyGbNXCUE/Ic5sY5qjy+5T1a/l5ur8tQe8n6MMtASuNvLwq1C2GFS/cD7l5iuGHHX2U0g==", + "dev": true, + "requires": { + "check-type": "^0.4.11", + "js-yaml": "^4.0.0", + "optionator": "^0.9.1" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "extraneous": true, + "requires": { + "@babel/highlight": "^7.10.4" + } + }, + "@babel/core": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz", + "integrity": "sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==", + "extraneous": true, + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.2", + "@babel/helper-module-transforms": "^7.10.1", + "@babel/helpers": "^7.10.1", + "@babel/parser": "^7.10.2", + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.2", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.13", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "extraneous": true + } + } + }, + "@babel/generator": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz", + "integrity": "sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.2", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz", + "integrity": "sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==", + "extraneous": true, + "requires": { + "@babel/helper-get-function-arity": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz", + "integrity": "sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz", + "integrity": "sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-module-imports": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz", + "integrity": "sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-module-transforms": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz", + "integrity": "sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==", + "extraneous": true, + "requires": { + "@babel/helper-module-imports": "^7.10.1", + "@babel/helper-replace-supers": "^7.10.1", + "@babel/helper-simple-access": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1", + "lodash": "^4.17.13" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz", + "integrity": "sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-replace-supers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz", + "integrity": "sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==", + "extraneous": true, + "requires": { + "@babel/helper-member-expression-to-functions": "^7.10.1", + "@babel/helper-optimise-call-expression": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-simple-access": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz", + "integrity": "sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==", + "extraneous": true, + "requires": { + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "extraneous": true, + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "extraneous": true + }, + "@babel/helpers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz", + "integrity": "sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==", + "extraneous": true, + "requires": { + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/highlight": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.12.13.tgz", + "integrity": "sha512-kocDQvIbgMKlWxXe9fof3TQ+gkIPOUSEYhJjqUjvKMez3krV7vbzYCDq39Oj11UAVK7JqPVGQPlgE85dPNlQww==", + "extraneous": true, + "requires": { + "@babel/helper-validator-identifier": "^7.12.11", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==", + "extraneous": true + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "extraneous": true, + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/traverse": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz", + "integrity": "sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==", + "extraneous": true, + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.1", + "@babel/helper-function-name": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "extraneous": true, + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "@eslint/eslintrc": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", + "integrity": "sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg==", + "extraneous": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "lodash": "^4.17.20", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "extraneous": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + } + } + }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "extraneous": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "extraneous": true + } + } + }, + "@istanbuljs/schema": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz", + "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==", + "extraneous": true + }, + "@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "extraneous": true + }, + "@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "extraneous": true + }, + "@types/node": { + "version": "https://registry.npmjs.org/@types/node/-/node-14.14.28.tgz", + "integrity": "sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g==", + "extraneous": true + }, + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "extraneous": true + }, + "acorn-jsx": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", + "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "extraneous": true, + "requires": {} + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "extraneous": true, + "requires": { + "debug": "4" + } + }, + "aggregate-error": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz", + "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==", + "extraneous": true, + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "extraneous": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "extraneous": true + }, + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "extraneous": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "extraneous": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "extraneous": true, + "requires": { + "default-require-extensions": "^3.0.0" + } + }, + "archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", + "extraneous": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "argv": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz", + "integrity": "sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=", + "extraneous": true + }, + "array-filter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", + "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=", + "extraneous": true + }, + "astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "extraneous": true + }, + "available-typed-arrays": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", + "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", + "extraneous": true, + "requires": { + "array-filter": "^1.0.0" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "extraneous": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "extraneous": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "extraneous": true, + "requires": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + } + }, + "call-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", + "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "extraneous": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "extraneous": true + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "extraneous": true + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "extraneous": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "check-type": { + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/check-type/-/check-type-0.4.11.tgz", + "integrity": "sha1-q+P1NKUdMfXOVyY0e7dMDQ+RDM8=", + "dev": true, + "requires": { + "underscore": "1.6.0" + } + }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "extraneous": true + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "extraneous": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "codecov": { + "version": "https://registry.npmjs.org/codecov/-/codecov-3.8.1.tgz", + "integrity": "sha512-Qm7ltx1pzLPsliZY81jyaQ80dcNR4/JpcX0IHCIWrHBXgseySqbdbYfkdiXd7o/xmzQpGRVCKGYeTrHUpn6Dcw==", + "extraneous": true, + "requires": { + "argv": "0.0.2", + "ignore-walk": "3.0.3", + "js-yaml": "3.14.0", + "teeny-request": "6.0.1", + "urlgrey": "0.4.4" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", + "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", + "extraneous": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "extraneous": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "extraneous": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "extraneous": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "extraneous": true + }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "extraneous": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cross-spawn": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", + "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", + "extraneous": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "extraneous": true, + "requires": { + "ms": "^2.1.1" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "extraneous": true + }, + "deep-equal": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.0.5.tgz", + "integrity": "sha512-nPiRgmbAtm1a3JsnLCf6/SLfXcjyN5v8L1TXzdCmHrXJ4hx+gW/w1YCcn7z8gJtSiDArZCgYtbao3QqLm/N1Sw==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "es-get-iterator": "^1.1.1", + "get-intrinsic": "^1.0.1", + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.2", + "is-regex": "^1.1.1", + "isarray": "^2.0.5", + "object-is": "^1.1.4", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "regexp.prototype.flags": "^1.3.0", + "side-channel": "^1.0.3", + "which-boxed-primitive": "^1.0.1", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.2" + } + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "default-require-extensions": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", + "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "extraneous": true, + "requires": { + "strip-bom": "^4.0.0" + } + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "extraneous": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "extraneous": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "extraneous": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dotignore": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", + "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", + "extraneous": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "extraneous": true, + "requires": { + "ansi-colors": "^4.1.1" + } + }, + "es-abstract": { + "version": "1.17.7", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", + "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", + "extraneous": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "es-get-iterator": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.1.tgz", + "integrity": "sha512-qorBw8Y7B15DVLaJWy6WdEV/ZkieBcu6QCq/xzWzGOKJqgG1j754vXRfZ3NY7HSShneqU43mPB4OkQBTkvHhFw==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.1", + "has-symbols": "^1.0.1", + "is-arguments": "^1.0.4", + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-string": "^1.0.5", + "isarray": "^2.0.5" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "extraneous": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "extraneous": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "extraneous": true + }, + "eslint": { + "version": "https://registry.npmjs.org/eslint/-/eslint-7.20.0.tgz", + "integrity": "sha512-qGi0CTcOGP2OtCQBgWZlQjcTuP0XkIpYFj25XtRTQSHC+umNnp7UMshr2G8SLsRFYDdAPFeHOsiteadmMH02Yw==", + "extraneous": true, + "requires": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.3.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "file-entry-cache": "^6.0.0", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash": "^4.17.20", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.4", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "extraneous": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "extraneous": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "extraneous": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "extraneous": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "extraneous": true + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "extraneous": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "extraneous": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "extraneous": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-config-paazmaya": { + "version": "https://registry.npmjs.org/eslint-config-paazmaya/-/eslint-config-paazmaya-7.2.0.tgz", + "integrity": "sha512-NSYSaEVAnpsFRD6a+TfoB2FpPmolL+hg7kvWtyX3b4OpiSUBt5qmnWSvKG+qc7ueHaFFrU3o5S2TzvxJUXytOA==", + "extraneous": true + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "extraneous": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "extraneous": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "extraneous": true + } + } + }, + "eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "extraneous": true + }, + "espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "extraneous": true, + "requires": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "extraneous": true + } + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "extraneous": true + }, + "esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "extraneous": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "extraneous": true + } + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "extraneous": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "extraneous": true + } + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "extraneous": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "extraneous": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "extraneous": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "extraneous": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "file-entry-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.0.tgz", + "integrity": "sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA==", + "extraneous": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "find-cache-dir": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", + "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "extraneous": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "extraneous": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "extraneous": true, + "requires": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz", + "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==", + "extraneous": true + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "extraneous": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "extraneous": true + }, + "foreground-child": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "extraneous": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + } + }, + "fromentries": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.0.tgz", + "integrity": "sha512-33X7H/wdfO99GdRLLgkjUrD4geAFdq/Uv0kl3HD4da6HDixd2GUg8Mw7dahLCV9r/EARkmtYBB6Tch4EEokFTQ==", + "extraneous": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "extraneous": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "extraneous": true + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "extraneous": true + }, + "gensync": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", + "extraneous": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "extraneous": true + }, + "get-intrinsic": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", + "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", + "extraneous": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "extraneous": true + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "extraneous": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "extraneous": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "extraneous": true + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "extraneous": true + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "extraneous": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "extraneous": true + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "extraneous": true + }, + "hasha": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.0.tgz", + "integrity": "sha512-2W+jKdQbAdSIrggA8Q35Br8qKadTrqCTC8+XZvBWepKDK6m9XkX6Iz1a2yh2KP01kzAR/dpuMeUnocoLYDcskw==", + "extraneous": true, + "requires": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + } + }, + "html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "extraneous": true + }, + "http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "extraneous": true, + "requires": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + } + }, + "https-proxy-agent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", + "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "extraneous": true, + "requires": { + "agent-base": "5", + "debug": "4" + }, + "dependencies": { + "agent-base": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", + "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "extraneous": true + } + } + }, + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "extraneous": true + }, + "ignore-walk": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", + "extraneous": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "extraneous": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "extraneous": true + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "extraneous": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "extraneous": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "extraneous": true + }, + "is-arguments": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", + "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0" + } + }, + "is-bigint": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", + "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", + "extraneous": true + }, + "is-boolean-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", + "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", + "extraneous": true + }, + "is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "extraneous": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "extraneous": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "extraneous": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "extraneous": true + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "extraneous": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "extraneous": true + }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "extraneous": true + }, + "is-number-object": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", + "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", + "extraneous": true + }, + "is-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", + "extraneous": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-set": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "extraneous": true + }, + "is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "extraneous": true + }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "extraneous": true + }, + "is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "extraneous": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-typed-array": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.4.tgz", + "integrity": "sha512-ILaRgn4zaSrVNXNGtON6iFNotXW3hAPF3+0fB1usg2jFlWqo5fEDdmJkz0zBfoi7Dgskr8Khi2xZ8cXqZEfXNA==", + "extraneous": true, + "requires": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.0", + "es-abstract": "^1.18.0-next.1", + "foreach": "^2.0.5", + "has-symbols": "^1.0.1" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + } + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "extraneous": true + }, + "is-weakmap": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", + "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "extraneous": true + }, + "is-weakset": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.1.tgz", + "integrity": "sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw==", + "extraneous": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "extraneous": true + }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "extraneous": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "extraneous": true + }, + "istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "extraneous": true + }, + "istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "extraneous": true, + "requires": { + "append-transform": "^2.0.0" + } + }, + "istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "extraneous": true, + "requires": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + } + }, + "istanbul-lib-processinfo": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", + "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", + "extraneous": true, + "requires": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.0", + "istanbul-lib-coverage": "^3.0.0-alpha.1", + "make-dir": "^3.0.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^3.3.3" + } + }, + "istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "extraneous": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "extraneous": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "extraneous": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "extraneous": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "extraneous": true + } + } + }, + "istanbul-reports": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "extraneous": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "extraneous": true + }, + "js-yaml": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "extraneous": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "extraneous": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "extraneous": true + }, + "json5": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", + "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", + "extraneous": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "extraneous": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "extraneous": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "extraneous": true + }, + "lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "extraneous": true + }, + "make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "extraneous": true, + "requires": { + "semver": "^6.0.0" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "extraneous": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "extraneous": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "extraneous": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "extraneous": true + }, + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "extraneous": true + }, + "node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "extraneous": true, + "requires": { + "process-on-spawn": "^1.0.0" + } + }, + "nyc": { + "version": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "extraneous": true, + "requires": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "extraneous": true + } + } + }, + "object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", + "extraneous": true + }, + "object-is": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.4.tgz", + "integrity": "sha512-1ZvAZ4wlF7IyPVOcE1Omikt7UpaFlOQq0HlSti+ZvDH3UiD2brwGMwDbyV43jao2bKJ+4+WdPJHSd7kgzKYVqg==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "extraneous": true + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "extraneous": true, + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "dependencies": { + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + } + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "extraneous": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "extraneous": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "extraneous": true, + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "extraneous": true + }, + "package-hash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "extraneous": true, + "requires": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + } + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "extraneous": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "extraneous": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "extraneous": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "extraneous": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "extraneous": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "extraneous": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "extraneous": true + }, + "process-on-spawn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", + "extraneous": true, + "requires": { + "fromentries": "^1.2.0" + } + }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "extraneous": true + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "extraneous": true + }, + "regexp.prototype.flags": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", + "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", + "extraneous": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + } + }, + "regexpp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", + "extraneous": true + }, + "release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", + "extraneous": true, + "requires": { + "es6-error": "^4.0.1" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "extraneous": true + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "extraneous": true + }, + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "extraneous": true, + "requires": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "extraneous": true + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "extraneous": true, + "requires": { + "through": "~2.3.4" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "extraneous": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "extraneous": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "extraneous": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "extraneous": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "extraneous": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "extraneous": true + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "extraneous": true + }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "extraneous": true, + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "extraneous": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + } + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "extraneous": true + }, + "spawn-wrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", + "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", + "extraneous": true, + "requires": { + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "extraneous": true + }, + "stream-events": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", + "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", + "extraneous": true, + "requires": { + "stubs": "^3.0.0" + } + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "extraneous": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "extraneous": true + } + } + }, + "string.prototype.trim": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.3.tgz", + "integrity": "sha512-16IL9pIBA5asNOSukPfxX2W68BaBvxyiRK16H3RA/lWW9BDosh+w7f+LhomPHpXJ82QEe7w7/rY/S1CV97raLg==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + } + } + }, + "string.prototype.trimend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", + "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", + "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "extraneous": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "extraneous": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "extraneous": true + }, + "stubs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", + "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=", + "extraneous": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "extraneous": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "table": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/table/-/table-6.0.4.tgz", + "integrity": "sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw==", + "extraneous": true, + "requires": { + "ajv": "^6.12.4", + "lodash": "^4.17.20", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0" + } + }, + "tape": { + "version": "https://registry.npmjs.org/tape/-/tape-5.1.1.tgz", + "integrity": "sha512-ujhT+ZJPqSGY9Le02mIGBnyWo7Ks05FEGS9PnlqECr3sM3KyV4CSCXAvSBJKMN+t+aZYLKEFUEo0l4wFJMhppQ==", + "extraneous": true, + "requires": { + "call-bind": "^1.0.0", + "deep-equal": "^2.0.5", + "defined": "^1.0.0", + "dotignore": "^0.1.2", + "for-each": "^0.3.3", + "glob": "^7.1.6", + "has": "^1.0.3", + "inherits": "^2.0.4", + "is-regex": "^1.1.1", + "minimist": "^1.2.5", + "object-inspect": "^1.9.0", + "object-is": "^1.1.4", + "object.assign": "^4.1.2", + "resolve": "^1.19.0", + "resumer": "^0.0.0", + "string.prototype.trim": "^1.2.3", + "through": "^2.3.8" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "extraneous": true + } + } + }, + "teeny-request": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-6.0.1.tgz", + "integrity": "sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==", + "extraneous": true, + "requires": { + "http-proxy-agent": "^4.0.0", + "https-proxy-agent": "^4.0.0", + "node-fetch": "^2.2.0", + "stream-events": "^1.0.5", + "uuid": "^3.3.2" + } + }, + "test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "extraneous": true, + "requires": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "extraneous": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "extraneous": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "extraneous": true + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "extraneous": true + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "extraneous": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "extraneous": true + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "extraneous": true, + "requires": { + "is-typedarray": "^1.0.0" + } + }, + "typescript": { + "version": "https://registry.npmjs.org/typescript/-/typescript-4.1.5.tgz", + "integrity": "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==", + "extraneous": true + }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + }, + "uri-js": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "extraneous": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urlgrey": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz", + "integrity": "sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=", + "extraneous": true + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "extraneous": true + }, + "v8-compile-cache": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", + "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", + "extraneous": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "extraneous": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "extraneous": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-collection": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", + "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "extraneous": true, + "requires": { + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-weakmap": "^2.0.1", + "is-weakset": "^2.0.1" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "extraneous": true + }, + "which-typed-array": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", + "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "extraneous": true, + "requires": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.0", + "es-abstract": "^1.18.0-next.1", + "foreach": "^2.0.5", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.1", + "is-typed-array": "^1.1.3" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "extraneous": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + } + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "extraneous": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "extraneous": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "extraneous": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "extraneous": true + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "extraneous": true + }, + "write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "extraneous": true, + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "y18n": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "extraneous": true + }, + "yargs": { + "version": "15.3.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz", + "integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==", + "extraneous": true, + "requires": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.1" + } + }, + "yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "extraneous": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + }, + "yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dev": true, + "requires": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } }, "yargs-parser": { "version": "20.2.7", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", - "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==", - "dev": true + "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==" }, "yocto-queue": { "version": "0.1.0", @@ -13040,8 +27095,7 @@ "zwitch": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", - "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", - "dev": true + "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==" } } } diff --git a/package.json b/package.json index 5f47a41..52c9d07 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { + "name": "footnotes", "scripts": { "cm": "cz", "format": "npm run format:js", "format:fix": "npm run format:js:fix", - "format:js": "prettier --config .prettierrc './src/**/*.js'", + "format:js": "prettier './src/**/*.js'", "format:js:fix": "npm run format:js -- --write", - "lint": "npm run lint:js && npm run lint:css && npm run lint:md", + "lint": "npm run lint:js && npm run lint:css && npm run lint:md && npm run lint:html", "lint:fix": "npm run lint:js:fix && npm run lint:css:fix && npm run lint:md:fix", "lint:php": "composer run lint:php", "lint:php:fix": "composer run lint:php:fix", @@ -15,6 +16,9 @@ "lint:css:fix": "npm run lint:css -- --fix", "lint:md": "markdownlint '*.md'", "lint:md:fix": "npm run lint:md -- --fix", + "lint:html": "htmlhint ./src/**/*.html", + "validate": "npm run validate:json && npm run validate:yaml", + "validate:yaml": "yaml-validator ./.github/workflows/*.yml", "minify": "npm run minify:css && npm run minify:js", "minify:css": "for f in ./dist/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", "minify:js": "for f in ./dist/*/js/*.js; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .js).min.js; done" @@ -38,26 +42,89 @@ ], "*.md": [ "npm run lint:md" + ], + "*.htm(l)?": [ + "npm run lint:html" + ], + "*.y(a)?ml": [ + "npm run validate:yaml" ] }, "devDependencies": { + "@wordpress/eslint-plugin": "^9.0.3", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.24.0", "eslint-config-prettier": "^8.2.0", - "eslint-config-wordpress": "^2.0.0", "eslint-plugin-prettier": "^3.4.0", + "htmlhint": "^0.14.2", "husky": "^4.3.8", "lint-staged": "^10.5.4", "markdownlint-cli": "^0.27.1", "minify": "^7.0.1", + "node-sass": "^5.0.0", "prettier": "^2.2.1", "stylelint": "^13.12.0", - "stylelint-config-wordpress": "^17.0.0" + "stylelint-config-rational-order": "^0.1.2", + "stylelint-config-recommended": "^3.0.0", + "stylelint-config-wordpress": "^17.0.0", + "stylelint-order": "^4.1.0", + "stylelint-scss": "^3.19.0", + "yaml-validator": "^3.0.1" }, "license": "GPL-3.0", "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } + }, + "dependencies": { + "stylelint-a11y": "^1.2.3" + }, + "eslintConfig": { + "env": { + "browser": true, + "jquery": true, + "es6": true + }, + "extends": [ + "plugin:@wordpress/eslint-plugin/esnext", + "plugin:@wordpress/eslint-plugin/jsdoc", + "plugin:@wordpress/eslint-plugin/i18n", + "plugin:prettier/recommended" + ], + "rules": {} + }, + "eslintIgnore": [ + "tmp/", + "*.min.js", + "jquery.tools.js" + ], + "prettier": { + "semi": true, + "trailingComma": "all", + "singleQuote": true, + "printWidth": 120, + "tabWidth": 2 + }, + "stylelint": { + "extends": [ + "stylelint-config-wordpress", + "stylelint-config-recommended", + "stylelint-a11y/recommended", + "stylelint-config-rational-order" + ], + "plugins": [ + "stylelint-scss", + "stylelint-a11y", + "stylelint-order" + ], + "rules": { + "at-rule-no-unknown": null, + "scss/at-rule-no-unknown": true + }, + "ignoreFiles": [ + "tmp/", + "*.min.css" + ] } } diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index 6dfdd6f..47acf1e 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -1,25 +1,25 @@ - - docs - - - - - src - - docs - - php - - footnotes - true - - + + docs + + + + + src + + docs + + php + + footnotes + true + + diff --git a/src/admin/js/wysiwyg-editor.js b/src/admin/js/wysiwyg-editor.js index b43ab65..4d25e21 100644 --- a/src/admin/js/wysiwyg-editor.js +++ b/src/admin/js/wysiwyg-editor.js @@ -4,8 +4,11 @@ * Edit: be careful to maintain version number near EOF */ +/*eslint-disable no-undef */ (function () { tinymce.create('tinymce.plugins.Footnotes', { + /*eslint-enable no-undef */ + /*eslint-disable jsdoc/no-undefined-types */ /** * Initializes the plugin, this will be executed after the plugin has been created. * This call is done before the editor instance has finished its initialization so use the onInit event @@ -14,7 +17,8 @@ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. * @param {string} url Absolute URL to where the plugin is located. */ - init: function (ed, url) { + init: (ed, url) => { + /*eslint-enable jsdoc/no-undefined-types */ ed.addButton('footnotes', { title: 'footnotes', cmd: 'footnotes', @@ -28,43 +32,33 @@ data: { action: 'footnotes_getTags', }, - success: function (data, textStatus, XMLHttpRequest) { - var tags = JSON.parse(data); - var returnText = tags.start + ed.selection.getContent() + tags.end; - ed.execCommand('insertHTML', true, returnText); + success: (data) => { + const tags = JSON.parse(data); + const returnText = tags.start + ed.selection.getContent() + tags.end; + ed.insertContent(returnText); }, - error: function (MLHttpRequest, textStatus, errorThrown) { - console.log('Error: ' + errorThrown); + /*eslint-disable no-unused-vars */ + error: (XMLHttpRequest, textStatus, errorThrown) => { + /*eslint-enable no-unused-vars */ + /*eslint-disable no-console */ + console.error('Error: ' + errorThrown); + /*eslint-enable no-console */ }, }); }); }, - /** - * Creates control instances based on the incoming name. This method is normally not - * needed since the addButton method of the tinymce.Editor class is an easier way of adding buttons, - * but you sometimes need to create more complex controls like listboxes, split buttons etc then this - * method can be used to create those. - * - * @param {String} n Name of the control to create. - * @param {tinymce.ControlManager} cm Control manager to use in order to create new control. - * @return {tinymce.ui.Control} New control instance or null if no control was created. - */ - createControl: function (n, cm) { - return null; - }, - /** * Returns information about the plugin as a name/value array. * The current keys are longname, author, authorurl, infourl and version. * - * @return {Object} Name/value array containing information about the plugin. + * @return {Object} Information about the Plugin. * * Edit: needs updating the version number manually */ - getInfo: function () { + getInfo: () => { return { - longname: 'Inserts the Footnotes short code.', + longname: 'footnotes', author: 'Mark Cheret', authorurl: 'https://cheret.org/footnotes/', infourl: 'https://wordpress.org/plugins/footnotes/', @@ -73,6 +67,8 @@ }, }); + /*eslint-disable no-undef */ // Register plugin tinymce.PluginManager.add('footnotes', tinymce.plugins.Footnotes); + /*eslint-enable no-undef */ })(); diff --git a/src/admin/partials/other-plugins.html b/src/admin/partials/other-plugins.html index 03ad002..92973a7 100644 --- a/src/admin/partials/other-plugins.html +++ b/src/admin/partials/other-plugins.html @@ -1,7 +1,7 @@
- + footnotes Plugin logo

diff --git a/src/css/dev-amp-tooltips.css b/src/css/dev-amp-tooltips.css index baaabd4..c48fe3d 100644 --- a/src/css/dev-amp-tooltips.css +++ b/src/css/dev-amp-tooltips.css @@ -57,8 +57,8 @@ span.footnote_referrer:hover > span.footnote_tooltip { } .footnote_tooltip.position { - display: unset; position: absolute; + display: unset; /* bottom: 24px; diff --git a/src/css/dev-common.css b/src/css/dev-common.css index daf14ed..ca8db05 100644 --- a/src/css/dev-common.css +++ b/src/css/dev-common.css @@ -77,16 +77,16 @@ */ .footnotes_validation_error { - border: 4px solid red; - padding: 20px 40px; margin: 20px 0; - background: #f005; + padding: 20px 40px; text-align: start; + background: #f005; + border: 4px solid red; } .footnotes_validation_error p:first-child { - font-size: 20px; font-weight: bold; + font-size: 20px; text-align: center; } @@ -96,8 +96,8 @@ } .footnotes_validation_error p:nth-child(3) { - font-size: 14px; font-weight: bold; + font-size: 14px; } .footnotes_validation_error p:last-child { @@ -140,8 +140,8 @@ .footnote_url_wrap { word-wrap: anywhere; - overflow-wrap: anywhere; word-break: break-all; + overflow-wrap: anywhere; } /** @@ -205,7 +205,23 @@ .main-content .footnote_referrer > a:link, .main-content .footnote_referrer > a:hover, .main-content .footnote_plugin_tooltip_text, -.main-content .footnote_plugin_tooltip_text:hover { +.main-content .footnote_plugin_tooltip_text:hover, +.footnote_referrer, +.footnote_referrer:link, +.footnote_referrer:focus, +.footnote_referrer > a, +.footnote_referrer > a:link, +.footnote_referrer > a:focus, +.footnote_plugin_tooltip_text, +.footnote_plugin_tooltip_text:focus, +.main-content .footnote_referrer, +.main-content .footnote_referrer:link, +.main-content .footnote_referrer:focus, +.main-content .footnote_referrer > a, +.main-content .footnote_referrer > a:link, +.main-content .footnote_referrer > a:focus, +.main-content .footnote_plugin_tooltip_text, +.main-content .footnote_plugin_tooltip_text:focus { text-decoration: none !important; border-bottom: none !important; box-shadow: none !important; @@ -230,8 +246,8 @@ */ .footnote_plugin_tooltip_text { - line-height: 0; position: relative !important; + line-height: 0; cursor: pointer; } @@ -298,26 +314,26 @@ Classes: } .footnote_container_prepare > p { - line-height: 1.3 !important; + + /* bottom border optional since 2.2.5 */ + display: block !important; margin-top: 1em !important; margin-bottom: 0.25em !important; padding: 0 !important; font-weight: normal !important; - - /* bottom border optional since 2.2.5 */ - display: block !important; + line-height: 1.3 !important; + text-align: start !important; + vertical-align: middle; -webkit-margin-before: 0.83em !important; -webkit-margin-after: 0.83em !important; -webkit-margin-start: 0 !important; -webkit-margin-end: 0 !important; - text-align: start !important; - vertical-align: middle; } .footnote_container_prepare > p > span:first-child, .footnote_container_prepare > p > span:nth-child(3) { - text-align: start !important; font-size: 1.5em !important; + text-align: start !important; } /* @@ -326,11 +342,11 @@ fully clickable, not sign only */ .footnote_reference_container_collapse_button { - cursor: pointer; padding: 0 0.5em; font-size: 1.3em !important; - vertical-align: 2px; text-decoration: none !important; + vertical-align: 2px; + cursor: pointer; } h2 > .footnote_reference_container_collapse_button, @@ -371,13 +387,13 @@ table */ .footnotes_table caption.accessibility { - text-align: start; - margin-top: -2px !important; - height: 1px !important; width: 1px !important; - white-space: nowrap !important; + height: 1px !important; + margin-top: -2px !important; overflow: hidden !important; color: #fff0 !important; + white-space: nowrap !important; + text-align: start; background-color: #fff0 !important; } @@ -429,10 +445,10 @@ table .footnote_plugin_index_combi, .footnote_plugin_symbol, .footnote_plugin_text { - border: none !important; + padding: 5px 6px 10px 0 !important; text-align: start !important; vertical-align: top !important; - padding: 5px 6px 10px 0 !important; + border: none !important; } html[dir="rtl"] .footnote_plugin_index, @@ -476,7 +492,10 @@ when hovered in some themes, not in others: .footnote_backlink:hover, .footnote_plugin_link:hover, -.footnote_plugin_text a:hover { +.footnote_plugin_text a:hover, +.footnote_backlink:focus, +.footnote_plugin_link:focus, +.footnote_plugin_text a:focus { text-decoration: unset; text-decoration: underline; /*deprioritized to ease customization*/ } @@ -497,8 +516,8 @@ These are overridden if settings are enabled. .footnote_plugin_index, .footnote_plugin_index_combi { - max-width: 100px; width: 2.5em; + max-width: 100px; } /* @@ -574,9 +593,11 @@ Link color set to inherit, so referrers/numbers are not grayed out. */ .footnotes_logo, -.footnotes_logo:hover { - text-decoration: none; +.footnotes_logo:hover, +.footnotes_logo, +.footnotes_logo:focus { font-weight: normal; + text-decoration: none; } .footnotes_logo_part1 { diff --git a/src/css/dev-layout-entry-content.css b/src/css/dev-layout-entry-content.css index 491b025..c32066b 100644 --- a/src/css/dev-layout-entry-content.css +++ b/src/css/dev-layout-entry-content.css @@ -9,9 +9,9 @@ * * Since v2.1.4 of Footnotes * - * Modified for 2.2.2 - * Modified for 2.2.5 - * Modified for 2.3.0 + * Modified for 2.2.2 + * Modified for 2.2.5 + * Modified for 2.3.0 * * The enqueuing of this stylesheet is optional and can be * enabled in the dashboard under General settings > diff --git a/src/css/dev-layout-main-content.css b/src/css/dev-layout-main-content.css index f3498b4..9d1e7e9 100644 --- a/src/css/dev-layout-main-content.css +++ b/src/css/dev-layout-main-content.css @@ -9,7 +9,7 @@ * * Since v2.1.4 of Footnotes * - * Last modified for v2.2.4 + * Last modified for v2.2.4 * * The enqueuing of this stylesheet is optional and can be * enabled in the Reference container settings. diff --git a/src/css/dev-layout-reference-container.css b/src/css/dev-layout-reference-container.css index 8768559..1e946e6 100644 --- a/src/css/dev-layout-reference-container.css +++ b/src/css/dev-layout-reference-container.css @@ -9,7 +9,7 @@ * * Since v2.1.4 of Footnotes * - * Last modified for v2.2.4 + * Last modified for v2.2.4 * * The enqueuing of this stylesheet is optional and can be * enabled in the Reference container settings. diff --git a/src/css/dev-tooltips-alternative.css b/src/css/dev-tooltips-alternative.css index 0e906c0..e5c0b69 100644 --- a/src/css/dev-tooltips-alternative.css +++ b/src/css/dev-tooltips-alternative.css @@ -21,8 +21,8 @@ } .footnote_tooltip.position { - display: unset; position: absolute; + display: unset; /* bottom: 24px; @@ -42,8 +42,8 @@ .footnote_tooltip.shown { visibility: visible; opacity: 1; - transition-property: visibility, opacity; transition-timing-function: linear; + transition-property: visibility, opacity; /* transition-delay: 0ms; @@ -54,8 +54,8 @@ .footnote_tooltip.hidden { visibility: hidden; opacity: 0; - transition-property: visibility, opacity; transition-timing-function: linear; + transition-property: visibility, opacity; /* transition-delay: 400ms; diff --git a/src/css/dev-tooltips.css b/src/css/dev-tooltips.css index e625ec5..2ff9e5c 100644 --- a/src/css/dev-tooltips.css +++ b/src/css/dev-tooltips.css @@ -25,14 +25,14 @@ */ .footnote_tooltip { - display: none; z-index: 2147483647 !important; - cursor: auto; - text-align: start !important; + display: none; padding: 12px !important; - line-height: 1.2; font-weight: normal; font-style: normal; + line-height: 1.2; + text-align: start !important; + cursor: auto; } /* @@ -40,14 +40,15 @@ Read-on button */ .footnote_tooltip_continue { - font-style: italic; color: green; + font-style: italic; + white-space: nowrap; text-decoration: none !important; cursor: pointer; - white-space: nowrap; } -.footnote_tooltip_continue:hover { +.footnote_tooltip_continue:hover, +.footnote_tooltip_continue:focus { color: blue; text-decoration: underline !important; } diff --git a/src/css/settings.css b/src/css/settings.css index 8afd034..4be768c 100644 --- a/src/css/settings.css +++ b/src/css/settings.css @@ -22,11 +22,11 @@ */ .footnotes_logo_heading { + position: absolute; display: inline-block; float: left; - position: absolute; - text-decoration: none; font-weight: normal; + text-decoration: none; } .footnotes_logo_part1_heading { @@ -40,10 +40,10 @@ } .footnotes_heart_heading { - color: #ff6d3b; - font-weight: bold; position: absolute; left: 96px; + color: #ff6d3b; + font-weight: bold; } /** @@ -67,9 +67,9 @@ Limited to a number of IDs to not affect all dashboards #footnote_inputfield_readon_label, #footnote_inputfield_references_label, #footnote_inputfield_love { - padding-left: 8px !important; - padding-right: 8px !important; width: 80% !important; + padding-right: 8px !important; + padding-left: 8px !important; } #footnote_inputfield_reference_container_place { @@ -162,18 +162,18 @@ label { } span.footnote_highlight_placeholder { - font-weight: bold !important; padding: 0 8px !important; + font-weight: bold !important; } .footnote_placeholder_box_example { + display: block !important; + width: 50% !important; + margin: 20px auto !important; + padding: 16px 0 !important; + text-align: center !important; border: 2px solid #2bb975 !important; border-radius: 4px !important; - padding: 16px 0 !important; - width: 50% !important; - display: block !important; - margin: 20px auto !important; - text-align: center !important; } /************************************************************ @@ -238,10 +238,10 @@ helping edit CSS, like tab support and syntactic colors. } .customize_css_new .list p { - font-family: monospace; - padding: 0 10px; - text-indent: -10px; margin: 0.5em 0; + padding: 0 10px; + font-family: monospace; + text-indent: -10px; } #footnote_inputfield_custom_css_new { @@ -251,9 +251,9 @@ helping edit CSS, like tab support and syntactic colors. #footnote_inputfield_custom_css, #footnote_inputfield_custom_css_new { width: 96%; - resize: both; overflow: scroll; font-family: monospace; + resize: both; } /************************************************************ @@ -273,8 +273,8 @@ look weird. since 2.1.4 */ .footnotes_notice { - font-style: italic; display: inline-block; + font-style: italic; text-align: end; } diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index d414cc5..89a06fb 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -258,7 +258,11 @@ class Footnotes { */ wp_enqueue_script( 'mci-footnotes-jquery-tools', +<<<<<<< HEAD:src/includes/class-footnotes.php plugins_url( 'footnotes/public/js/jquery.tools.min.js' ), +======= + plugins_url( 'footnotes/js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js' ), +>>>>>>> linting:src/class/init.php array(), '1.2.7.redacted.2', false @@ -402,7 +406,7 @@ class Footnotes { * Enqueues external stylesheets, ONLY in development now. * * @since 2.1.4 optionally enqueue an extra stylesheet. - * + * * This optional layout fix is useful by lack of layout support. */ wp_enqueue_style( diff --git a/src/includes/dashboard/layout.php b/src/includes/dashboard/layout.php index 8bde0b4..692a9cb 100644 --- a/src/includes/dashboard/layout.php +++ b/src/includes/dashboard/layout.php @@ -500,7 +500,9 @@ abstract class Footnotes_Layout_Engine { '', $l_str_value, // Only check for equality, not identity, WRT backlink symbol arrows. + // phpcs:disable WordPress.PHP.StrictComparisons.LooseComparison $l_str_value == $l_arr_data['value'] ? 'selected' : '', + // phpcs:enable WordPress.PHP.StrictComparisons.LooseComparison $l_str_caption ); } diff --git a/src/includes/dashboard/subpage-main.php b/src/includes/dashboard/subpage-main.php index 43b4275..23cb641 100644 --- a/src/includes/dashboard/subpage-main.php +++ b/src/includes/dashboard/subpage-main.php @@ -529,34 +529,34 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { $l_obj_template->replace( array( - 'label-scroll-css' => $this->add_label( Footnotes_Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, __( 'CSS-based smooth scrolling:', 'footnotes' ) ), - 'scroll-css' => $this->add_select_box( Footnotes_Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, $l_arr_enable ), - 'notice-scroll-css' => __( 'May slightly disturb jQuery scrolling and is therefore disabled by default. Works in recent browsers.', 'footnotes' ), + 'label-scroll-css' => $this->add_label( Footnotes_Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, __( 'CSS-based smooth scrolling:', 'footnotes' ) ), + 'scroll-css' => $this->add_select_box( Footnotes_Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, $l_arr_enable ), + 'notice-scroll-css' => __( 'May slightly disturb jQuery scrolling and is therefore disabled by default. Works in recent browsers.', 'footnotes' ), - 'label-scroll-offset' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, __( 'Scroll offset:', 'footnotes' ) ), - 'scroll-offset' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, 0, 100 ), - 'notice-scroll-offset' => __( 'per cent viewport height from the upper edge', 'footnotes' ), + 'label-scroll-offset' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, __( 'Scroll offset:', 'footnotes' ) ), + 'scroll-offset' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, 0, 100 ), + 'notice-scroll-offset' => __( 'per cent viewport height from the upper edge', 'footnotes' ), - 'label-scroll-duration' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DURATION, __( 'Scroll duration:', 'footnotes' ) ), - 'scroll-duration' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DURATION, 0, 20000 ), - 'notice-scroll-duration' => __( 'milliseconds. If asymmetric scroll durations are enabled, this is the scroll-up duration.', 'footnotes' ), + 'label-scroll-duration' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DURATION, __( 'Scroll duration:', 'footnotes' ) ), + 'scroll-duration' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DURATION, 0, 20000 ), + 'notice-scroll-duration' => __( 'milliseconds. If asymmetric scroll durations are enabled, this is the scroll-up duration.', 'footnotes' ), // Enable scroll duration asymmetricity. - 'label-scroll-asymmetricity' => $this->add_label( Footnotes_Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, __( 'Enable asymmetric scroll durations:', 'footnotes' ) ), - 'scroll-asymmetricity' => $this->add_select_box( Footnotes_Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, $l_arr_enable ), - 'notice-scroll-asymmetricity' => __( 'With this option enabled, scrolling up may take longer than down, or conversely.', 'footnotes' ), + 'label-scroll-asymmetricity' => $this->add_label( Footnotes_Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, __( 'Enable asymmetric scroll durations:', 'footnotes' ) ), + 'scroll-asymmetricity' => $this->add_select_box( Footnotes_Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, $l_arr_enable ), + 'notice-scroll-asymmetricity' => __( 'With this option enabled, scrolling up may take longer than down, or conversely.', 'footnotes' ), - 'label-scroll-down-duration' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, __( 'Scroll-down duration:', 'footnotes' ) ), - 'scroll-down-duration' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, 0, 20000 ), - 'notice-scroll-down-duration' => __( 'milliseconds', 'footnotes' ), + 'label-scroll-down-duration' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, __( 'Scroll-down duration:', 'footnotes' ) ), + 'scroll-down-duration' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, 0, 20000 ), + 'notice-scroll-down-duration' => __( 'milliseconds', 'footnotes' ), - 'label-scroll-down-delay' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, __( 'Scroll-down delay:', 'footnotes' ) ), - 'scroll-down-delay' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, 0, 20000 ), - 'notice-scroll-down-delay' => __( 'milliseconds. Useful to see the effect on input elements when referrers without hard links are clicked in form labels.', 'footnotes' ), + 'label-scroll-down-delay' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, __( 'Scroll-down delay:', 'footnotes' ) ), + 'scroll-down-delay' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, 0, 20000 ), + 'notice-scroll-down-delay' => __( 'milliseconds. Useful to see the effect on input elements when referrers without hard links are clicked in form labels.', 'footnotes' ), - 'label-scroll-up-delay' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, __( 'Scroll-up delay:', 'footnotes' ) ), - 'scroll-up-delay' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, 0, 20000 ), - 'notice-scroll-up-delay' => __( 'milliseconds. Less useful than the scroll-down delay.', 'footnotes' ), + 'label-scroll-up-delay' => $this->add_label( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, __( 'Scroll-up delay:', 'footnotes' ) ), + 'scroll-up-delay' => $this->add_num_box( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, 0, 20000 ), + 'notice-scroll-up-delay' => __( 'milliseconds. Less useful than the scroll-down delay.', 'footnotes' ), ) ); @@ -683,9 +683,9 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { public function excerpts() { // Options for options select box. $l_arr_excerpt_mode = array( - 'yes' => __( 'Yes, generate excerpts from posts with effectively processed footnotes and other markup', 'footnotes' ), - 'no' => __( 'No, generate excerpts from posts but remove all footnotes and output plain text', 'footnotes' ), - 'manual' => __( 'Yes but run the process only to display tooltips in manual excerpts with footnote short codes', 'footnotes' ), + 'yes' => __( 'Yes, generate excerpts from posts with effectively processed footnotes and other markup', 'footnotes' ), + 'no' => __( 'No, generate excerpts from posts but remove all footnotes and output plain text', 'footnotes' ), + 'manual' => __( 'Yes but run the process only to display tooltips in manual excerpts with footnote short codes', 'footnotes' ), ); // Load template file. diff --git a/src/includes/task.php b/src/includes/task.php index fbf4071..9e10d1e 100644 --- a/src/includes/task.php +++ b/src/includes/task.php @@ -948,7 +948,7 @@ class Footnotes_Task { * Alternative tooltips. * * To streamline internal CSS, immutable rules are in external stylesheet. - * + * * @see dev-tooltips-alternative.css. */ } else { @@ -1285,7 +1285,7 @@ class Footnotes_Task { ); // Prevent the footnotes from altering the excerpt: previously hard-coded '5ED84D6'. - $l_int_placeholder = '@' . mt_rand( 100000000, 2147483647 ) . '@'; + $l_int_placeholder = '@' . wp_rand( 100000000, 2147483647 ) . '@'; $p_str_content = preg_replace( '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', $l_int_placeholder, @@ -2414,7 +2414,7 @@ class Footnotes_Task { * - Bugfix: Reference container: option to restore pre-2.0.0 layout with the backlink symbol in an extra column. * * @since 2.1.1 - */ + */ $l_bool_combine_identical_footnotes = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES ) ); // AMP compatibility requires a full set of AMP compatible table row templates. diff --git a/src/includes/wysiwyg.php b/src/includes/wysiwyg.php index aade969..7be3623 100644 --- a/src/includes/wysiwyg.php +++ b/src/includes/wysiwyg.php @@ -96,7 +96,7 @@ class Footnotes_WYSIWYG { $l_str_starting_tag = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED ); $l_str_ending_tag = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED ); } - echo json_encode( + echo wp_json_encode( array( 'start' => htmlspecialchars( $l_str_starting_tag ), 'end' => htmlspecialchars( $l_str_ending_tag ), diff --git a/wpml-config.xml b/src/wpml-config.xml similarity index 100% rename from wpml-config.xml rename to src/wpml-config.xml From c81e9236703893493950411ec3d5e78f3b957513 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 17:16:36 +0100 Subject: [PATCH 16/99] fix: clear up merge conflict --- src/includes/class-footnotes.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 89a06fb..f442673 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -258,11 +258,7 @@ class Footnotes { */ wp_enqueue_script( 'mci-footnotes-jquery-tools', -<<<<<<< HEAD:src/includes/class-footnotes.php - plugins_url( 'footnotes/public/js/jquery.tools.min.js' ), -======= - plugins_url( 'footnotes/js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js' ), ->>>>>>> linting:src/class/init.php + plugins_url( 'footnotes/public/js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js' ), array(), '1.2.7.redacted.2', false From 222dcadbd5d396304015d2abff970fff1981bba7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 17:18:14 +0100 Subject: [PATCH 17/99] chore: remove WPML config file See https://github.com/markcheret/footnotes/issues/147#issuecomment-826425665 --- src/wpml-config.xml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 src/wpml-config.xml diff --git a/src/wpml-config.xml b/src/wpml-config.xml deleted file mode 100644 index b57699d..0000000 --- a/src/wpml-config.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - From 101f6dc67320c0a32937b8a1eb19ab02fcce1e89 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 17:23:32 +0100 Subject: [PATCH 18/99] refactor: remove last remaining MCI references --- src/includes/class-footnotes.php | 14 +++++++------- src/includes/dashboard/layout.php | 6 +++--- src/includes/template.php | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index f442673..2270c96 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -257,7 +257,7 @@ class Footnotes { * Deferring to the footer breaks jQuery tooltip display. */ wp_enqueue_script( - 'mci-footnotes-jquery-tools', + 'footnotes-jquery-tools', plugins_url( 'footnotes/public/js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js' ), array(), '1.2.7.redacted.2', @@ -387,7 +387,7 @@ class Footnotes { // Enqueue the tailored united minified stylesheet. wp_enqueue_style( - 'mci-footnotes-' . $l_str_tooltip_mode_long . '-pagelayout-' . $l_str_page_layout_option, + 'footnotes-' . $l_str_tooltip_mode_long . '-pagelayout-' . $l_str_page_layout_option, plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/footnotes-' . $l_str_tooltip_mode_short . 'brpl' . $l_str_layout_mode . '.min.css' ), @@ -406,7 +406,7 @@ class Footnotes { * This optional layout fix is useful by lack of layout support. */ wp_enqueue_style( - 'mci-footnotes-common', + 'footnotes-common', plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-common.css' ), array(), filemtime( @@ -416,7 +416,7 @@ class Footnotes { ) ); wp_enqueue_style( - 'mci-footnotes-tooltips', + 'footnotes-tooltips', plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips.css' ), array(), filemtime( @@ -428,7 +428,7 @@ class Footnotes { if ( self::$a_bool_amp_enabled ) { wp_enqueue_style( - 'mci-footnotes-amp', + 'footnotes-amp', plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-amp-tooltips.css' ), array(), filemtime( @@ -441,7 +441,7 @@ class Footnotes { if ( self::$a_bool_alternative_tooltips_enabled ) { wp_enqueue_style( - 'mci-footnotes-alternative', + 'footnotes-alternative', plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips-alternative.css' ), array(), filemtime( @@ -455,7 +455,7 @@ class Footnotes { $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); if ( 'none' !== $l_str_page_layout_option ) { wp_enqueue_style( - 'mci-footnotes-layout-' . $l_str_page_layout_option, + 'footnotes-layout-' . $l_str_page_layout_option, plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-layout-' . $l_str_page_layout_option . '.css' ), diff --git a/src/includes/dashboard/layout.php b/src/includes/dashboard/layout.php index 692a9cb..41d13f6 100644 --- a/src/includes/dashboard/layout.php +++ b/src/includes/dashboard/layout.php @@ -216,15 +216,15 @@ abstract class Footnotes_Layout_Engine { */ if ( true === PRODUCTION_ENV ) { - wp_register_style( 'mci-footnotes-admin', plugins_url( 'footnotes/css/settings.min.css' ), array(), C_STR_FOOTNOTES_VERSION ); + wp_register_style( 'footnotes-admin', plugins_url( 'footnotes/css/settings.min.css' ), array(), C_STR_FOOTNOTES_VERSION ); } else { - wp_register_style( 'mci-footnotes-admin', plugins_url( 'footnotes/css/settings.css' ), array(), C_STR_FOOTNOTES_VERSION ); + wp_register_style( 'footnotes-admin', plugins_url( 'footnotes/css/settings.css' ), array(), C_STR_FOOTNOTES_VERSION ); } - wp_enqueue_style( 'mci-footnotes-admin' ); + wp_enqueue_style( 'footnotes-admin' ); } // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing diff --git a/src/includes/template.php b/src/includes/template.php index ff8d1ef..2c91542 100644 --- a/src/includes/template.php +++ b/src/includes/template.php @@ -194,7 +194,7 @@ class Footnotes_Template { * The directory can be changed. * * @usage to change location of templates to 'template_parts/footnotes/': - * add_filter( 'mci_footnotes_template_directory', function( $directory ) { + * add_filter( 'footnotes_template_directory', function( $directory ) { * return 'template_parts/footnotes/'; * } ); */ From 32161f79be856e9a71c7cc2ec364c4e1ac70fcae Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 22:52:58 +0100 Subject: [PATCH 19/99] chore: all-caps Plugin license and readme --- src/{license.txt => LICENSE.txt} | 0 src/{readme.txt => README.txt} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/{license.txt => LICENSE.txt} (100%) rename src/{readme.txt => README.txt} (100%) diff --git a/src/license.txt b/src/LICENSE.txt similarity index 100% rename from src/license.txt rename to src/LICENSE.txt diff --git a/src/readme.txt b/src/README.txt similarity index 100% rename from src/readme.txt rename to src/README.txt From 871d05f929de29d280dd7e0ca29b240458382a9d Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 22:53:51 +0100 Subject: [PATCH 20/99] chore: add placeholder uninstall file --- src/uninstall.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/uninstall.php diff --git a/src/uninstall.php b/src/uninstall.php new file mode 100644 index 0000000..0683715 --- /dev/null +++ b/src/uninstall.php @@ -0,0 +1,23 @@ + Date: Mon, 26 Apr 2021 22:55:20 +0100 Subject: [PATCH 21/99] chore: add standard WP index files --- composer.json | 4 ++-- src/admin/index.php | 1 + src/includes/index.php | 1 + src/index.php | 1 + src/public/index.php | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/admin/index.php create mode 100644 src/includes/index.php create mode 100644 src/index.php create mode 100644 src/public/index.php diff --git a/composer.json b/composer.json index 6e6f621..2ab4cd5 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ "lint:fix": "composer run lint:php:fix && npm run lint:fix", "format": "npm run format", "format:fix": "npm run format:fix", - "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", - "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", + "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", + "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", "lint:css": "npm run lint:css", "lint:css:fix": "npm run lint:css:fix", "lint:js": "npm run lint:js", diff --git a/src/admin/index.php b/src/admin/index.php new file mode 100644 index 0000000..8142269 --- /dev/null +++ b/src/admin/index.php @@ -0,0 +1 @@ + Date: Mon, 26 Apr 2021 22:57:04 +0100 Subject: [PATCH 22/99] refactor: rename files in line with WPCS, split into public/admin/includes (a.k.a. common) --- src/admin/class-footnotes-admin.php | 137 ++++ .../class-footnotes-wysiwyg.php} | 17 +- .../layout/class-footnotes-layout-engine.php} | 13 +- .../layout/class-footnotes-layout-init.php} | 6 +- .../class-footnotes-layout-settings.php} | 10 +- src/footnotes.php | 6 - ...{config.php => class-footnotes-config.php} | 2 +- ...onvert.php => class-footnotes-convert.php} | 2 +- src/includes/class-footnotes-i18n.php | 44 ++ src/includes/class-footnotes-loader.php | 140 ++++ ...tings.php => class-footnotes-settings.php} | 4 +- ...plate.php => class-footnotes-template.php} | 4 +- src/includes/class-footnotes.php | 613 +++++------------- src/includes/hooks.php | 67 -- src/includes/language.php | 99 --- src/public/class-footnotes-public.php | 275 ++++++++ .../class-footnotes-task.php} | 61 +- .../widget/class-footnotes-widget-base.php} | 2 +- ...-footnotes-widget-reference-container.php} | 6 +- 19 files changed, 838 insertions(+), 670 deletions(-) create mode 100644 src/admin/class-footnotes-admin.php rename src/{includes/wysiwyg.php => admin/class-footnotes-wysiwyg.php} (88%) rename src/{includes/dashboard/layout.php => admin/layout/class-footnotes-layout-engine.php} (97%) rename src/{includes/dashboard/init.php => admin/layout/class-footnotes-layout-init.php} (95%) rename src/{includes/dashboard/subpage-main.php => admin/layout/class-footnotes-layout-settings.php} (99%) rename src/includes/{config.php => class-footnotes-config.php} (96%) rename src/includes/{convert.php => class-footnotes-convert.php} (98%) create mode 100644 src/includes/class-footnotes-i18n.php create mode 100644 src/includes/class-footnotes-loader.php rename src/includes/{settings.php => class-footnotes-settings.php} (99%) rename src/includes/{template.php => class-footnotes-template.php} (97%) delete mode 100644 src/includes/hooks.php delete mode 100644 src/includes/language.php create mode 100644 src/public/class-footnotes-public.php rename src/{includes/task.php => public/class-footnotes-task.php} (98%) rename src/{includes/widgets/base.php => public/widget/class-footnotes-widget-base.php} (97%) rename src/{includes/widgets/reference-container.php => public/widget/class-footnotes-widget-reference-container.php} (87%) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php new file mode 100644 index 0000000..687b7c2 --- /dev/null +++ b/src/admin/class-footnotes-admin.php @@ -0,0 +1,137 @@ +plugin_name = $plugin_name; + $this->version = $version; + + $this->load_dependencies(); + + } + + /** + * Load the required admin-specific dependencies. + * + * Include the following files that provide the admin-specific functionality + * of this plugin: + * + * - `Footnotes_WYSIWYG`. TODO + * - `Footnotes_Layout_Settings`. TODO + * + * @since 2.8.0 + * @access private + */ + private function load_dependencies() { + // TODO: neaten up and document once placements and names are settled. + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/layout/class-footnotes-layout-init.php'; + + new Footnotes_Layout_Init(); + } + + /** + * Register the stylesheets for the admin area. + * + * @since 2.8.0 + */ + public function enqueue_styles() { + + wp_enqueue_style( + $this->plugin_name, + plugin_dir_url( __FILE__ ) . 'css/settings' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.css', + array(), + ( PRODUCTION_ENV ) ? $this->version : filemtime( + plugin_dir_path( + dirname( __FILE__ ) + ) . 'css/settings.css' + ), + 'all' + ); + } + + /** + * Register the JavaScript for the admin area. + * + * @since 2.8.0 + */ + public function enqueue_scripts() { + + wp_enqueue_script( + $this->plugin_name, + plugin_dir_url( __FILE__ ) . 'js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', + array(), + ( PRODUCTION_ENV ) ? $this->version : filemtime( + plugin_dir_path( + dirname( __FILE__ ) + ) . 'js/wysiwyg-editor.js' + ), + false + ); + + } + + /** + * Appends the Plugin links for display in the dashboard Plugins page. + * + * @since 1.5.0 + * @since 2.8.0 Moved into `Footnote_Admin` class. + * @param array $plugin_links The WP-default set of links to display. + * @return string[] The full set of links to display. + */ + public static function get_plugin_links( array $plugin_links ): array { + // Append link to the WordPress Plugin page. + $plugin_links[] = sprintf( '%s', __( 'Support', 'footnotes' ) ); + // Append link to the settings page. + $plugin_links[] = sprintf( '%s', admin_url( 'options-general.php?page=footnotes' ), __( 'Settings', 'footnotes' ) ); + // Append link to the PayPal donate function. + $plugin_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); + // Return new links. + return $plugin_links; + } + +} + diff --git a/src/includes/wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php similarity index 88% rename from src/includes/wysiwyg.php rename to src/admin/class-footnotes-wysiwyg.php index 7be3623..d45ae4d 100644 --- a/src/includes/wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -1,15 +1,16 @@ -run(); - - // Add the links to the dashboard plugins page. - // TODO: Move this somewhere more appropriate. - add_filter( 'plugin_action_links_footnotes/footnotes.php', array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); } run_footnotes(); diff --git a/src/includes/config.php b/src/includes/class-footnotes-config.php similarity index 96% rename from src/includes/config.php rename to src/includes/class-footnotes-config.php index 990fc3e..192cfc8 100644 --- a/src/includes/config.php +++ b/src/includes/class-footnotes-config.php @@ -1,4 +1,4 @@ -actions = array(); + $this->filters = array(); + + } + + /** + * Add a new action to the collection to be registered with WordPress. + * + * @since 2.8.0 + * @param string $hook The name of the WordPress action that is being registered. + * @param object $component A reference to the instance of the object on which the action is defined. + * @param string $callback The name of the function definition on the $component. + * @param int $priority Optional. The priority at which the function should be fired. Default is 10. + * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1. + */ + public function add_action( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { + $this->actions = $this->add( $this->actions, $hook, $component, $callback, $priority, $accepted_args ); + } + + /** + * Add a new filter to the collection to be registered with WordPress. + * + * @since 2.8.0 + * @param string $hook The name of the WordPress filter that is being registered. + * @param object $component A reference to the instance of the object on which the filter is defined. + * @param string $callback The name of the function definition on the $component. + * @param int $priority Optional. The priority at which the function should be fired. Default is 10. + * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1. + */ + public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { + $this->filters = $this->add( $this->filters, $hook, $component, $callback, $priority, $accepted_args ); + } + + /** + * Initializes all Widgets of the Plugin. + * + * @since 1.5.0 + * @since 2.8.0 Moved to `Footnotes_Loader` class. + */ + public function initialize_widgets() { + // TODO: This probably shouldn't be necessary here. + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-reference-container.php'; + + register_widget( 'Footnotes_Widget_Reference_Container' ); + } + + /** + * A utility function that is used to register the actions and hooks into a single + * collection. + * + * @since 2.8.0 + * @access private + * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). + * @param string $hook The name of the WordPress filter that is being registered. + * @param object $component A reference to the instance of the object on which the filter is defined. + * @param string $callback The name of the function definition on the $component. + * @param int $priority The priority at which the function should be fired. + * @param int $accepted_args The number of arguments that should be passed to the $callback. + * @return array The collection of actions and filters registered with WordPress. + */ + private function add( $hooks, $hook, $component, $callback, $priority, $accepted_args ) { + + $hooks[] = array( + 'hook' => $hook, + 'component' => $component, + 'callback' => $callback, + 'priority' => $priority, + 'accepted_args' => $accepted_args, + ); + + return $hooks; + + } + + /** + * Register the filters and actions with WordPress. + * + * @since 2.8.0 + */ + public function run() { + + foreach ( $this->filters as $hook ) { + add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); + } + + foreach ( $this->actions as $hook ) { + add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); + } + + add_action( 'widgets_init', array( $this, 'initialize_widgets' ) ); + + } + +} diff --git a/src/includes/settings.php b/src/includes/class-footnotes-settings.php similarity index 99% rename from src/includes/settings.php rename to src/includes/class-footnotes-settings.php index 62c2dfa..1eb7f3f 100644 --- a/src/includes/settings.php +++ b/src/includes/class-footnotes-settings.php @@ -1,4 +1,4 @@ -version = C_STR_FOOTNOTES_VERSION; + } else { + $this->version = '0.0.0'; + } + $this->plugin_name = 'footnotes'; + + $this->load_dependencies(); + $this->set_locale(); + $this->define_admin_hooks(); + $this->define_public_hooks(); + + } + + /** + * Load the required dependencies for this plugin. + * + * Include the following files that make up the plugin: + * + * - Footnotes_Loader. Orchestrates the hooks of the plugin. + * - Footnotes_i18n. Defines internationalization functionality. + * - Footnotes_Admin. Defines all hooks for the admin area. + * - Footnotes_Public. Defines all hooks for the public side of the site. + * + * Create an instance of the loader which will be used to register the hooks + * with WordPress. + * + * @since 2.8.0 + * @access private + */ + private function load_dependencies() { + + /** + * The class responsible for orchestrating the actions and filters of the + * core plugin. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-loader.php'; + + /** + * The class responsible for defining internationalization functionality + * of the plugin. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php'; + // TODO: neaten up and document once placements and names are settled. + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; + + /** + * The class responsible for defining all actions that occur in the admin area. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-admin.php'; + + /** + * The class responsible for defining all actions that occur in the public-facing + * side of the site. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-public.php'; + + $this->loader = new Footnotes_Loader(); + + } + + /** + * Define the locale for this plugin for internationalization. + * + * Uses the `Footnotes_i18n` class in order to set the domain and to register the hook + * with WordPress. + * + * @since 2.8.0 + * @access private + */ + private function set_locale() { + + $plugin_i18n = new Footnotes_i18n(); + + $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' ); + + } + + /** + * Register all of the hooks related to the admin area functionality + * of the plugin. + * + * @since 2.8.0 + * @access private + */ + private function define_admin_hooks() { + + $plugin_admin = new Footnotes_Admin( $this->get_plugin_name(), $this->get_version() ); + + $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); + $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); + + $this->loader->add_filter( 'admin_get_plugin_links', $plugin_admin, 'get_plugin_links', 10, 1 ); + + } + + /** + * Register all of the hooks related to the public-facing functionality + * of the plugin. + * + * @since 2.8.0 + * @access private + */ + private function define_public_hooks() { + + $plugin_public = new Footnotes_Public( $this->get_plugin_name(), $this->get_version() ); + + $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' ); + $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); + } + + /** + * Run the loader to execute all of the hooks with WordPress. * * @since 1.5.0 - * @var Task $task The Plugin task. - */ - public $a_obj_task = null; - - /** - * Flag for using tooltips. - * - * @since 2.4.0 - * - * @var bool $tooltips_enabled Whether tooltips are enabled or not. - */ - public static $a_bool_tooltips_enabled = false; - - /** - * Allows to determine whether alternative tooltips are enabled. - * - * - Bugfix: Tooltips: optional alternative JS implementation with CSS transitions to fix configuration-related outage, thanks to @andreasra feedback. - * - * @since 2.1.1 - * - * @reporter @andreasra - * @link https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13632566 - * - * @since 2.4.0 - * @contributor Patrizia Lutz @misfist - * @var bool - */ - public static $a_bool_alternative_tooltips_enabled = false; - - /** - * Allows to determine whether AMP compatibility mode is enabled. - * - * - Adding: Tooltips: make display work purely by style rules for AMP compatibility, thanks to @milindmore22 code contribution. - * - Bugfix: Tooltips: enable accessibility by keyboard navigation, thanks to @westonruter code contribution. - * - Adding: Reference container: get expanding and collapsing to work also in AMP compatibility mode, thanks to @westonruter code contribution. - * - * @since 2.5.11 (draft) - * @since 2.6.0 (release) - * - * @contributor @milindmore22 - * @link https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785306933 - * - * @contributor @westonruter - * @link https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785419655 - * @link https://github.com/markcheret/footnotes/issues/48#issuecomment-799580854 - * @link https://github.com/markcheret/footnotes/issues/48#issuecomment-799582394 - * - * @var bool - */ - public static $a_bool_amp_enabled = false; - - /** - * Allows to determine the script mode among jQuery or plain JS. - * - * - Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports. - * - * @since 2.5.6 - * - * @reporter @hopper87it - * @link https://wordpress.org/support/topic/footnotes-wp-rocket/ - * - * @reporter @pkverma99 - * @link https://wordpress.org/support/topic/footnotes-wp-rocket/#post-14076188 - * - * @var str 'js' Plain JavaScript. - * 'jquery' Use jQuery libraries. - */ - public static $a_str_script_mode = 'js'; - - /** - * Executes the Plugin. - * - * @since 1.5.0 - * - * - Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution. - * - * @since 1.6.5 - * - * @contributor @felipelavinz - * @link https://github.com/benleyjyc/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 - * @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 * * @see self::initialize_widgets() */ public function run() { - // Register language. - Footnotes_Language::register_hooks(); - // Register Button hooks. - Footnotes_WYSIWYG::register_hooks(); - // Register general hooks. - Footnotes_Hooks::register_hooks(); - - // Initialize the Plugin Dashboard. - $this->initialize_dashboard(); - // Initialize the Plugin Task. - $this->initialize_task(); - - // Register all Public Stylesheets and Scripts. - add_action( 'init', array( $this, 'register_public' ) ); - // Enqueue all Public Stylesheets and Scripts. - add_action( 'wp_enqueue_scripts', array( $this, 'register_public' ) ); - // Register all Widgets of the Plugin.. - add_action( 'widgets_init', array( $this, 'initialize_widgets' ) ); + $this->loader->run(); } /** - * Initializes all Widgets of the Plugin. + * The name of the plugin used to uniquely identify it within the context of + * WordPress and to define internationalization functionality. * - * @since 1.5.0 - * - * - Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution - * - * @since 1.6.5 - * - * @contributor @felipelavinz - * @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 - * - * @reporter @psykonevro - * @link https://wordpress.org/support/topic/bug-function-create_function-is-deprecated/ - * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/ - * - * @reporter @daliasued - * @link https://wordpress.org/support/topic/deprecated-function-create_function-14/#post-13312853 - * - * create_function() was deprecated in PHP 7.2.0 and removed in PHP 8.0.0. - * @link https://www.php.net/manual/en/function.create-function.php - * - * The fix is to move add_action() above into run(), - * and use the bare register_widget() here. - * @see self::run() - * - * Also, the visibility of initialize_widgets() is not private any longer. + * @since 1.0.0 + * @return string The name of the plugin. */ - public function initialize_widgets() { - register_widget( 'Footnotes_Widget_Reference_Container' ); + public function get_plugin_name() { + return $this->plugin_name; } /** - * Initializes the Dashboard of the Plugin and loads them. + * The reference to the class that orchestrates the hooks with the plugin. * - * @since 1.5.0 + * @since 1.0.0 + * @return Footnotes_Loader Orchestrates the hooks of the plugin. */ - private function initialize_dashboard() { - new Footnotes_Layout_Init(); + public function get_loader() { + return $this->loader; } /** - * Initializes the Plugin Task and registers the Task hooks. + * Retrieve the version number of the plugin. * - * @since 1.5.0 + * @since 1.0.0 + * @return string The version number of the plugin. */ - private function initialize_task() { - $this->a_obj_task = new Footnotes_Task(); - $this->a_obj_task->register_hooks(); - } - - /** - * Registers and enqueues scripts and stylesheets to the public pages. - * - * @since 1.5.0 - * - * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. - * @since 2.0.3 add versioning of public.css for cache busting - * @since 2.0.4 add jQuery UI from WordPress - * @since 2.1.4 automate passing version number for cache busting - * @since 2.1.4 optionally enqueue an extra stylesheet - */ - public function register_public() { - - /** - * Enqueues external scripts. - * - * - Bugfix: Libraries: optimize processes by loading external and internal scripts only if needed, thanks to @docteurfitness issue report. - * - * @since 2.5.5 - * @reporter @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * The condition about tooltips was missing, only the not-alternative-tooltips part was present. - */ - // Set conditions re-used for stylesheet enqueuing and in class/task.php. - self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); - self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); - self::$a_bool_alternative_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); - self::$a_str_script_mode = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); - - /** - * Enqueues the jQuery library registered by WordPress. - * - * - Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports. - * - * @since 2.5.6 - * - * @reporter @hopper87it - * @link https://wordpress.org/support/topic/footnotes-wp-rocket/ - * - * jQuery is also used for animated scrolling, so it was loaded by default. - * The function wp_enqueue_script() avoids loading the same library multiple times. - * After adding the alternative reference container, jQuery has become optional, - * but still enabled by default. - */ - if ( ! self::$a_bool_amp_enabled ) { - - if ( 'jquery' === self::$a_str_script_mode || ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) ) { - - wp_enqueue_script( 'jquery' ); - - } - - if ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) { - - /** - * Enqueues the jQuery Tools library shipped with the plugin. - * - * Redacted jQuery.browser, completed minification; - * see full header in js/jquery.tools.js. - * - * Add versioning. - * - * @since 2.1.2 - * - * No '-js' in the handle, is appended automatically. - * - * Deferring to the footer breaks jQuery tooltip display. - */ - wp_enqueue_script( - 'footnotes-jquery-tools', - plugins_url( 'footnotes/public/js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js' ), - array(), - '1.2.7.redacted.2', - false - ); - - /** - * Enqueues some jQuery UI libraries registered by WordPress. - * - * - Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. - * - * @since 2.0.0 - * - * @reporter @rajinderverma - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/ - * - * @reporter @ericcorbett2 - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13324142 - * - * @reporter @honlapdavid - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13355421 - * - * @reporter @mmallett - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13445437 - * - * Fetch jQuery UI from cdnjs.cloudflare.com. - * @since 2.0.0 - * @contributor @vonpiernik - * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762 - * - * jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released. * @since 2.1.2 - * - * - Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report. - * - * @since 2.0.4 - * @reporter @check2020de - * @link https://wordpress.org/support/topic/gdpr-issue-with-jquery/ - * @link https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui - * - * If alternative tooltips are enabled, these libraries are not needed. - */ - wp_enqueue_script( 'jquery-ui-core' ); - wp_enqueue_script( 'jquery-ui-widget' ); - wp_enqueue_script( 'jquery-ui-position' ); - wp_enqueue_script( 'jquery-ui-tooltip' ); - - } - } - - /** - * Enables enqueuing a new-scheme stylesheet. - * - * @since 2.5.5 - * - * Enables enqueuing the formatted individual stylesheets if false. - * WARNING: This facility is designed for development and must NOT be used in production. - * - * The Boolean may be set at the bottom of the plugin’s main PHP file. - * @see footnotes.php - */ - if ( PRODUCTION_ENV ) { - - /** - * Enqueues a minified united external stylesheet in production. - * - * - Update: Stylesheets: increase speed and energy efficiency by tailoring stylesheets to the needs of the instance, thanks to @docteurfitness design contribution. - * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. - * - * @since 2.5.5 - * - * @contributor @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * @reporter @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * The dashboard stylesheet is minified as-is. - * @see class/dashboard/layout.php - * - * @since 2.0.3 add versioning of public.css for cache busting. - * Plugin version number is needed for busting browser caches after each plugin update. - * - * @since 2.1.4 automate passing version number for cache busting. - * The constant C_STR_FOOTNOTES_VERSION is defined at start of footnotes.php. - * - * The media scope argument 'all' is the default. - * No need to use '-css' in the handle, as this is appended automatically. - */ - // Set tooltip mode for use in stylesheet name. - if ( self::$a_bool_tooltips_enabled ) { - - if ( self::$a_bool_amp_enabled ) { - $l_str_tooltip_mode_short = 'ampt'; - $l_str_tooltip_mode_long = 'amp-tooltips'; - - } elseif ( self::$a_bool_alternative_tooltips_enabled ) { - $l_str_tooltip_mode_short = 'altt'; - $l_str_tooltip_mode_long = 'alternative-tooltips'; - - } else { - $l_str_tooltip_mode_short = 'jqtt'; - $l_str_tooltip_mode_long = 'jquery-tooltips'; - - } - } else { - $l_str_tooltip_mode_short = 'nott'; - $l_str_tooltip_mode_long = 'no-tooltips'; - } - - // Set basic responsive page layout mode for use in stylesheet name. - $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); - switch ( $l_str_page_layout_option ) { - case 'reference-container': - $l_str_layout_mode = '1'; - break; - case 'entry-content': - $l_str_layout_mode = '2'; - break; - case 'main-content': - $l_str_layout_mode = '3'; - break; - case 'none': - default: - $l_str_layout_mode = '0'; - break; - } - - // Enqueue the tailored united minified stylesheet. - wp_enqueue_style( - 'footnotes-' . $l_str_tooltip_mode_long . '-pagelayout-' . $l_str_page_layout_option, - plugins_url( - Footnotes_Config::C_STR_PLUGIN_NAME . '/css/footnotes-' . $l_str_tooltip_mode_short . 'brpl' . $l_str_layout_mode . '.min.css' - ), - array(), - C_STR_FOOTNOTES_VERSION, - 'all' - ); - - } else { - - /** - * Enqueues external stylesheets, ONLY in development now. - * - * @since 2.1.4 optionally enqueue an extra stylesheet. - * - * This optional layout fix is useful by lack of layout support. - */ - wp_enqueue_style( - 'footnotes-common', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-common.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-common.css' - ) - ); - wp_enqueue_style( - 'footnotes-tooltips', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-tooltips.css' - ) - ); - - if ( self::$a_bool_amp_enabled ) { - wp_enqueue_style( - 'footnotes-amp', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-amp-tooltips.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-amp-tooltips.css' - ) - ); - } - - if ( self::$a_bool_alternative_tooltips_enabled ) { - wp_enqueue_style( - 'footnotes-alternative', - plugins_url( Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-tooltips-alternative.css' ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-tooltips-alternative.css' - ) - ); - } - - $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); - if ( 'none' !== $l_str_page_layout_option ) { - wp_enqueue_style( - 'footnotes-layout-' . $l_str_page_layout_option, - plugins_url( - Footnotes_Config::C_STR_PLUGIN_NAME . '/css/dev-layout-' . $l_str_page_layout_option . '.css' - ), - array(), - filemtime( - plugin_dir_path( - dirname( __FILE__, 1 ) - ) . 'css/dev-layout-' . $l_str_page_layout_option . '.css' - ), - 'all' - ); - } - } + public function get_version() { + return $this->version; } } diff --git a/src/includes/hooks.php b/src/includes/hooks.php deleted file mode 100644 index fdc321c..0000000 --- a/src/includes/hooks.php +++ /dev/null @@ -1,67 +0,0 @@ -%s', __( 'Support', 'footnotes' ) ); - // Append link to the settings page. - $plugin_links[] = sprintf( '%s', admin_url( 'options-general.php?page=footnotes' ), __( 'Settings', 'footnotes' ) ); - // Append link to the PayPal donate function. - $plugin_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); - // Return new links. - return $plugin_links; - } -} diff --git a/src/includes/language.php b/src/includes/language.php deleted file mode 100644 index 56696cc..0000000 --- a/src/includes/language.php +++ /dev/null @@ -1,99 +0,0 @@ -plugin_name = $plugin_name; + $this->version = $version; + + $this->load_dependencies(); + + // Set conditions re-used for stylesheet enqueuing and in class/task.php. + self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); + self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); + self::$a_bool_alternative_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); + self::$a_str_script_mode = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); + } + + /** + * Load the required public-facing dependencies. + * + * Include the following files that provide the public-facing functionality + * of this plugin: + * + * - `Footnotes_Task`. TODO + * - `Footnotes_Widget_Reference_Container`. TODO + * + * @since 2.8.0 + * @access private + */ + private function load_dependencies() { + // TODO: neaten up and document once placements and names are settled. + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; + + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-task.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-base.php'; + + $this->a_obj_task = new Footnotes_Task(); + } + + /** + * Register the stylesheets for the public-facing side of the site. + * + * @since 2.8.0 + */ + public function enqueue_styles() { + /** + * Enables enqueuing a new-scheme stylesheet. + * + * Enables enqueuing the formatted individual stylesheets if false. + * WARNING: This facility is designed for development and must NOT be used in production. + * + * The Boolean may be set at the bottom of the plugin's main PHP file. + * + * @see footnotes.php + * + * @since 2.5.5 + * @since 2.8.0 Moved into `Footnotes_Public` class. + */ + if ( PRODUCTION_ENV ) { + + /** + * Enqueues a minified united external stylesheet in production. + * + * The media scope argument 'all' is the default. + * No need to use '-css' in the handle, as this is appended automatically. + * + * @since 2.5.5 + * @since 2.8.0 Moved into `Footnotes_Public` class. + */ + // Set tooltip mode for use in stylesheet name. + if ( self::$a_bool_tooltips_enabled ) { + + if ( self::$a_bool_amp_enabled ) { + $l_str_tooltip_mode_short = 'ampt'; + $l_str_tooltip_mode_long = 'amp-tooltips'; + + } elseif ( self::$a_bool_alternative_tooltips_enabled ) { + $l_str_tooltip_mode_short = 'altt'; + $l_str_tooltip_mode_long = 'alternative-tooltips'; + + } else { + $l_str_tooltip_mode_short = 'jqtt'; + $l_str_tooltip_mode_long = 'jquery-tooltips'; + + } + } else { + $l_str_tooltip_mode_short = 'nott'; + $l_str_tooltip_mode_long = 'no-tooltips'; + } + + // Set basic responsive page layout mode for use in stylesheet name. + $l_str_page_layout_option = Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); + switch ( $l_str_page_layout_option ) { + case 'reference-container': + $l_str_layout_mode = '1'; + break; + case 'entry-content': + $l_str_layout_mode = '2'; + break; + case 'main-content': + $l_str_layout_mode = '3'; + break; + case 'none': + default: + $l_str_layout_mode = '0'; + break; + } + + // Enqueue the tailored united minified stylesheet. + wp_enqueue_style( + "footnotes-{$l_str_tooltip_mode_long}-pagelayout-{$l_str_page_layout_option}", + plugin_dir_url( __FILE__ ) . "css/footnotes-{$l_str_tooltip_mode_short}brpl{$l_str_layout_mode}.min.css", + array(), + ( PRODUCTION_ENV ) ? $this->version : filemtime( + plugin_dir_path( + dirname( __FILE__ ) + ) . "css/footnotes-{$l_str_tooltip_mode_short}brpl{$l_str_layout_mode}.min.css" + ), + 'all' + ); + } + } + + /** + * Register the JavaScript for the public-facing side of the site. + * + * @since 2.8.0 + */ + public function enqueue_scripts() { + /** + * Enqueues the jQuery library registered by WordPress. + * + * As jQuery is also used for animated scrolling, it was loaded by default. + * The function `wp_enqueue_script()` avoids loading the same library multiple times. + * After adding the alternative reference container, jQuery has become optional, + * but still enabled by default. + * + * @since 2.5.6 + * @since 2.8.0 Moved into `Footnotes_Public` class. + */ + if ( ! self::$a_bool_amp_enabled ) { + + if ( 'jquery' === self::$a_str_script_mode || ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) ) { + + wp_enqueue_script( 'jquery' ); + + } + + if ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) { + /** + * Enqueues the jQuery Tools library shipped with the plugin. + * + * Redacted jQuery.browser, completed minification; + * see full header in `public/js/jquery.tools.js`. + * No '-js' in the handle, is appended automatically. + * Deferring to the footer breaks jQuery tooltip display. + * + * Add versioning. + * + * @since 2.1.2 + * @since 2.8.0 Moved into `Footnotes_Public` class. + */ + wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', array(), '1.2.7.redacted.2', false ); + + /** + * Enqueues some jQuery UI libraries registered by WordPress. + * + * If alternative tooltips are enabled, these libraries are not needed. + * + * @since 2.0.0 + * @since 2.8.0 Moved into `Footnotes_Public` class. + */ + wp_enqueue_script( 'jquery-ui-core' ); + wp_enqueue_script( 'jquery-ui-widget' ); + wp_enqueue_script( 'jquery-ui-position' ); + wp_enqueue_script( 'jquery-ui-tooltip' ); + + } + } + + } + +} + diff --git a/src/includes/task.php b/src/public/class-footnotes-task.php similarity index 98% rename from src/includes/task.php rename to src/public/class-footnotes-task.php index 9e10d1e..818e689 100644 --- a/src/includes/task.php +++ b/src/public/class-footnotes-task.php @@ -1,4 +1,4 @@ -register_hooks(); + } + /** * Register WordPress hooks to replace Footnotes in the content of a public page. * @@ -421,7 +427,6 @@ class Footnotes_Task { * @since 2.5.1 Bugfix: Hooks: support footnotes in Popup Maker popups, thanks to @squatcher bug report. */ public function register_hooks() { - // Get values from settings. $l_int_the_title_priority = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL ) ); $l_int_the_content_priority = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL ) ); @@ -762,7 +767,7 @@ class Footnotes_Task { self::$a_bool_hard_links_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_HARD_LINKS_ENABLE ) ); // Correct hard links enabled status depending on AMP compatible or alternative reference container enabled status. - if ( Footnotes::$a_bool_amp_enabled || 'jquery' !== Footnotes::$a_str_script_mode ) { + if ( Footnotes_Public::$a_bool_amp_enabled || 'jquery' !== Footnotes_Public::$a_str_script_mode ) { self::$a_bool_hard_links_enabled = true; } @@ -776,7 +781,7 @@ class Footnotes_Task { /* * Tooltips. */ - if ( Footnotes::$a_bool_tooltips_enabled ) { + if ( Footnotes_Public::$a_bool_tooltips_enabled ) { echo '.footnote_tooltip {'; /** @@ -856,7 +861,7 @@ class Footnotes_Task { * * @since 2.2.5 */ - if ( ! Footnotes::$a_bool_alternative_tooltips_enabled && ! Footnotes::$a_bool_amp_enabled ) { + if ( ! Footnotes_Public::$a_bool_alternative_tooltips_enabled && ! Footnotes_Public::$a_bool_amp_enabled ) { /** * Dimensions of jQuery tooltips. @@ -932,7 +937,7 @@ class Footnotes_Task { * * @see dev-amp-tooltips.css. */ - if ( Footnotes::$a_bool_amp_enabled ) { + if ( Footnotes_Public::$a_bool_amp_enabled ) { echo 'span.footnote_referrer > span.footnote_tooltip {'; echo 'transition-delay: ' . $l_int_fade_out_delay . 'ms;'; @@ -997,7 +1002,7 @@ class Footnotes_Task { * The script for alternative tooltips is printed formatted, not minified, * for transparency. It isn’t indented though (the PHP open tag neither). */ - if ( Footnotes::$a_bool_alternative_tooltips_enabled ) { + if ( Footnotes_Public::$a_bool_alternative_tooltips_enabled ) { // Start internal script. ?> @@ -1727,7 +1732,7 @@ class Footnotes_Task { if ( ! $p_bool_hide_footnotes_text ) { // Whether AMP compatibility mode is enabled. - if ( Footnotes::$a_bool_amp_enabled ) { + if ( Footnotes_Public::$a_bool_amp_enabled ) { // Whether first clicking a referrer needs to expand the reference container. if ( Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { @@ -1740,7 +1745,7 @@ class Footnotes_Task { // Load 'public/partials/amp-footnote.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-footnote' ); } - } elseif ( Footnotes::$a_bool_alternative_tooltips_enabled ) { + } elseif ( Footnotes_Public::$a_bool_alternative_tooltips_enabled ) { // Load 'public/partials/footnote-alternative.html'. $l_obj_template = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'footnote-alternative' ); @@ -1964,7 +1969,7 @@ class Footnotes_Task { * This is equivalent to the WordPress default excerpt generation, i.e. without a * custom excerpt and without a delimiter. But WordPress does word count, usually 55. */ - if ( Footnotes::$a_bool_tooltips_enabled && $l_bool_enable_excerpt ) { + if ( Footnotes_Public::$a_bool_tooltips_enabled && $l_bool_enable_excerpt ) { $l_str_dummy_text = wp_strip_all_tags( $l_str_footnote_text ); if ( is_int( $l_int_max_length ) && strlen( $l_str_dummy_text ) > $l_int_max_length ) { $l_str_excerpt_text = substr( $l_str_dummy_text, 0, $l_int_max_length ); @@ -1974,7 +1979,7 @@ class Footnotes_Task { $l_str_excerpt_text .= ' class="footnote_tooltip_continue" '; // If AMP compatibility mode is enabled. - if ( Footnotes::$a_bool_amp_enabled ) { + if ( Footnotes_Public::$a_bool_amp_enabled ) { // If the reference container is also collapsed by default. if ( Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { @@ -2097,7 +2102,7 @@ class Footnotes_Task { } // Determine tooltip content. - if ( Footnotes::$a_bool_tooltips_enabled ) { + if ( Footnotes_Public::$a_bool_tooltips_enabled ) { $l_str_tooltip_content = $l_bool_has_tooltip_text ? $l_str_tooltip_text : $l_str_excerpt_text; /** * Ensures paragraph separation @@ -2119,7 +2124,7 @@ class Footnotes_Task { * @since 2.5.6 */ $l_str_tooltip_style = ''; - if ( Footnotes::$a_bool_alternative_tooltips_enabled && Footnotes::$a_bool_tooltips_enabled ) { + if ( Footnotes_Public::$a_bool_alternative_tooltips_enabled && Footnotes_Public::$a_bool_tooltips_enabled ) { $l_int_tooltip_length = strlen( wp_strip_all_tags( $l_str_tooltip_content ) ); if ( $l_int_tooltip_length < 70 ) { $l_str_tooltip_style = ' style="width: '; @@ -2151,7 +2156,7 @@ class Footnotes_Task { $l_obj_template->reload(); // If tooltips are enabled but neither AMP nor alternative are. - if ( Footnotes::$a_bool_tooltips_enabled && ! Footnotes::$a_bool_amp_enabled && ! Footnotes::$a_bool_alternative_tooltips_enabled ) { + if ( Footnotes_Public::$a_bool_tooltips_enabled && ! Footnotes_Public::$a_bool_amp_enabled && ! Footnotes_Public::$a_bool_alternative_tooltips_enabled ) { $l_int_offset_y = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y ) ); $l_int_offset_x = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X ) ); @@ -2418,7 +2423,7 @@ class Footnotes_Task { $l_bool_combine_identical_footnotes = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES ) ); // AMP compatibility requires a full set of AMP compatible table row templates. - if ( Footnotes::$a_bool_amp_enabled ) { + if ( Footnotes_Public::$a_bool_amp_enabled ) { // When combining identical footnotes is turned on, another template is needed. if ( $l_bool_combine_identical_footnotes ) { @@ -2802,7 +2807,7 @@ class Footnotes_Task { // Select the reference container template. // Whether AMP compatibility mode is enabled. - if ( Footnotes::$a_bool_amp_enabled ) { + if ( Footnotes_Public::$a_bool_amp_enabled ) { // Whether the reference container is collapsed by default. if ( Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { @@ -2815,7 +2820,7 @@ class Footnotes_Task { // Load 'public/partials/amp-reference-container.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'amp-reference-container' ); } - } elseif ( 'js' === Footnotes::$a_str_script_mode ) { + } elseif ( 'js' === Footnotes_Public::$a_str_script_mode ) { // Load 'public/partials/js-reference-container.html'. $l_obj_template_container = new Footnotes_Template( Footnotes_Template::C_STR_PUBLIC, 'js-reference-container' ); @@ -2832,7 +2837,7 @@ class Footnotes_Task { $l_int_scroll_up_delay = ''; $l_int_scroll_up_duration = ''; - if ( 'jquery' === Footnotes::$a_str_script_mode ) { + if ( 'jquery' === Footnotes_Public::$a_str_script_mode ) { $l_int_scroll_offset = ( self::$a_int_scroll_offset / 100 ); $l_int_scroll_up_duration = intval( Footnotes_Settings::instance()->get( Footnotes_Settings::C_INT_FOOTNOTES_SCROLL_DURATION ) ); diff --git a/src/includes/widgets/base.php b/src/public/widget/class-footnotes-widget-base.php similarity index 97% rename from src/includes/widgets/base.php rename to src/public/widget/class-footnotes-widget-base.php index f27eacc..9dded2a 100644 --- a/src/includes/widgets/base.php +++ b/src/public/widget/class-footnotes-widget-base.php @@ -1,4 +1,4 @@ - Date: Mon, 26 Apr 2021 22:57:30 +0100 Subject: [PATCH 23/99] refactor: split stylesheets into admin/public --- src/{ => admin}/css/settings.css | 0 src/{ => public}/css/dev-amp-tooltips.css | 0 src/{ => public}/css/dev-common.css | 0 src/{ => public}/css/dev-layout-entry-content.css | 0 src/{ => public}/css/dev-layout-main-content.css | 0 src/{ => public}/css/dev-layout-reference-container.css | 0 src/{ => public}/css/dev-tooltips-alternative.css | 0 src/{ => public}/css/dev-tooltips.css | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename src/{ => admin}/css/settings.css (100%) rename src/{ => public}/css/dev-amp-tooltips.css (100%) rename src/{ => public}/css/dev-common.css (100%) rename src/{ => public}/css/dev-layout-entry-content.css (100%) rename src/{ => public}/css/dev-layout-main-content.css (100%) rename src/{ => public}/css/dev-layout-reference-container.css (100%) rename src/{ => public}/css/dev-tooltips-alternative.css (100%) rename src/{ => public}/css/dev-tooltips.css (100%) diff --git a/src/css/settings.css b/src/admin/css/settings.css similarity index 100% rename from src/css/settings.css rename to src/admin/css/settings.css diff --git a/src/css/dev-amp-tooltips.css b/src/public/css/dev-amp-tooltips.css similarity index 100% rename from src/css/dev-amp-tooltips.css rename to src/public/css/dev-amp-tooltips.css diff --git a/src/css/dev-common.css b/src/public/css/dev-common.css similarity index 100% rename from src/css/dev-common.css rename to src/public/css/dev-common.css diff --git a/src/css/dev-layout-entry-content.css b/src/public/css/dev-layout-entry-content.css similarity index 100% rename from src/css/dev-layout-entry-content.css rename to src/public/css/dev-layout-entry-content.css diff --git a/src/css/dev-layout-main-content.css b/src/public/css/dev-layout-main-content.css similarity index 100% rename from src/css/dev-layout-main-content.css rename to src/public/css/dev-layout-main-content.css diff --git a/src/css/dev-layout-reference-container.css b/src/public/css/dev-layout-reference-container.css similarity index 100% rename from src/css/dev-layout-reference-container.css rename to src/public/css/dev-layout-reference-container.css diff --git a/src/css/dev-tooltips-alternative.css b/src/public/css/dev-tooltips-alternative.css similarity index 100% rename from src/css/dev-tooltips-alternative.css rename to src/public/css/dev-tooltips-alternative.css diff --git a/src/css/dev-tooltips.css b/src/public/css/dev-tooltips.css similarity index 100% rename from src/css/dev-tooltips.css rename to src/public/css/dev-tooltips.css From 0e5a6830fe6bdad6a2a8858a5a038f9760da903e Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 22:57:56 +0100 Subject: [PATCH 24/99] ci: update build process and linter to reflect new layout --- _tools/build-stylesheets.sh | 39 +++++++++++++++++++------------------ _tools/build.sh | 4 ++-- package.json | 2 +- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/_tools/build-stylesheets.sh b/_tools/build-stylesheets.sh index 4eae42e..73650d8 100755 --- a/_tools/build-stylesheets.sh +++ b/_tools/build-stylesheets.sh @@ -14,31 +14,32 @@ echo "Running $(dirname "$0")/build-stylesheets.sh" if [[ $1 == "-c" ]]; then - echo "Concatenating files and placing in \`dist/css/\`..." + echo "Concatenating files and placing in \`dist/{public,admin}/css/\`..." - mkdir -p ./dist/css - cat ./src/css/dev-common.css > ./dist/css/footnotes-nottbrpl0.css + mkdir -p ./dist/{public,admin}/css - cat ./src/css/dev-{common,layout-reference-container}.css > ./dist/css/footnotes-nottbrpl1.css - cat ./src/css/dev-{common,layout-entry-content}.css > ./dist/css/footnotes-nottbrpl2.css - cat ./src/css/dev-{common,layout-main-content}.css > ./dist/css/footnotes-nottbrpl3.css + cat ./src/public/css/dev-common.css > ./dist/public/css/footnotes-nottbrpl0.css - cat ./src/css/dev-{common,tooltips}.css > ./dist/css/footnotes-jqttbrpl0.css - cat ./src/css/dev-{common,tooltips,layout-reference-container}.css > ./dist/css/footnotes-jqttbrpl1.css - cat ./src/css/dev-{common,tooltips,layout-entry-content}.css > ./dist/css/footnotes-jqttbrpl2.css - cat ./src/css/dev-{common,tooltips,layout-main-content}.css > ./dist/css/footnotes-jqttbrpl3.css + cat ./src/public/css/dev-{common,layout-reference-container}.css > ./dist/public/css/footnotes-nottbrpl1.css + cat ./src/public/css/dev-{common,layout-entry-content}.css > ./dist/public/css/footnotes-nottbrpl2.css + cat ./src/public/css/dev-{common,layout-main-content}.css > ./dist/public/css/footnotes-nottbrpl3.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative}.css > ./dist/css/footnotes-alttbrpl0.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-reference-container}.css > ./dist/css/footnotes-alttbrpl1.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-entry-content}.css > ./dist/css/footnotes-alttbrpl2.css - cat ./src/css/dev-{common,tooltips,tooltips-alternative,layout-main-content}.css > ./dist/css/footnotes-alttbrpl3.css + cat ./src/public/css/dev-{common,tooltips}.css > ./dist/public/css/footnotes-jqttbrpl0.css + cat ./src/public/css/dev-{common,tooltips,layout-reference-container}.css > ./dist/public/css/footnotes-jqttbrpl1.css + cat ./src/public/css/dev-{common,tooltips,layout-entry-content}.css > ./dist/public/css/footnotes-jqttbrpl2.css + cat ./src/public/css/dev-{common,tooltips,layout-main-content}.css > ./dist/public/css/footnotes-jqttbrpl3.css - cat ./src/css/dev-{common,tooltips,amp-tooltips}.css > ./dist/css/footnotes-amptbrpl0.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-reference-container}.css > ./dist/css/footnotes-amptbrpl1.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./dist/css/footnotes-amptbrpl2.css - cat ./src/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./dist/css/footnotes-amptbrpl3.css + cat ./src/public/css/dev-{common,tooltips,tooltips-alternative}.css > ./dist/public/css/footnotes-alttbrpl0.css + cat ./src/public/css/dev-{common,tooltips,tooltips-alternative,layout-reference-container}.css > ./dist/public/css/footnotes-alttbrpl1.css + cat ./src/public/css/dev-{common,tooltips,tooltips-alternative,layout-entry-content}.css > ./dist/public/css/footnotes-alttbrpl2.css + cat ./src/public/css/dev-{common,tooltips,tooltips-alternative,layout-main-content}.css > ./dist/public/css/footnotes-alttbrpl3.css - cat ./src/css/settings.css > ./dist/css/settings.css + cat ./src/public/css/dev-{common,tooltips,amp-tooltips}.css > ./dist/public/css/footnotes-amptbrpl0.css + cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-reference-container}.css > ./dist/public/css/footnotes-amptbrpl1.css + cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./dist/public/css/footnotes-amptbrpl2.css + cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./dist/public/css/footnotes-amptbrpl3.css + + cat ./src/admin/css/settings.css > ./dist/admin/css/settings.css echo "Stylesheet concatenation complete." exit 0 diff --git a/_tools/build.sh b/_tools/build.sh index c544c5e..09ade5d 100755 --- a/_tools/build.sh +++ b/_tools/build.sh @@ -8,7 +8,7 @@ rm -rf dist/ mkdir dist rsync -av --progress --exclude css src/* dist echo "Setting production flag environment flag..." -sed -i "s/'PRODUCTION_ENV' , false/'PRODUCTION_ENV' , true/g" ./dist/footnotes.php +sed -i -E "s/('PRODUCTION_ENV'[ ]?,[ ]?)false/\1true/g" ./dist/footnotes.php echo "Production environment flag set." echo "Setting pre-release version tags..." @@ -29,7 +29,7 @@ echo "Minifying CSS and JS..." npm run minify if [ $? != 0 ]; then echo "Minification failed!"; exit 1; fi echo "Deleting unminified files from `dist/`..." -rm -r dist/**/*[^.min].{js,css} +rm -r dist/*/{js,css}/*[^\.min].{js,css} echo "Minification complete." if [[ $1 == "-v" ]]; then diff --git a/package.json b/package.json index 52c9d07..1497952 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "validate": "npm run validate:json && npm run validate:yaml", "validate:yaml": "yaml-validator ./.github/workflows/*.yml", "minify": "npm run minify:css && npm run minify:js", - "minify:css": "for f in ./dist/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", + "minify:css": "for f in ./dist/*/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", "minify:js": "for f in ./dist/*/js/*.js; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .js).min.js; done" }, "husky": { From 4267f3fe6cc5eaaa546a444f9b96ee937a189bd7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 23:03:58 +0100 Subject: [PATCH 25/99] ci: clean up NPM scripts a bit --- package.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1497952..e48a57c 100644 --- a/package.json +++ b/package.json @@ -2,22 +2,20 @@ "name": "footnotes", "scripts": { "cm": "cz", - "format": "npm run format:js", - "format:fix": "npm run format:js:fix", "format:js": "prettier './src/**/*.js'", "format:js:fix": "npm run format:js -- --write", - "lint": "npm run lint:js && npm run lint:css && npm run lint:md && npm run lint:html", - "lint:fix": "npm run lint:js:fix && npm run lint:css:fix && npm run lint:md:fix", + "lint": "npm run lint:js && npm run lint:css && npm run lint:md && npm run lint:html && composer run lint", + "lint:fix": "npm run lint:js:fix && npm run lint:css:fix && npm run lint:md:fix && composer run lint:fix", "lint:php": "composer run lint:php", "lint:php:fix": "composer run lint:php:fix", - "lint:js": "eslint \"./src/**/*.js\"", - "lint:js:fix": "npm run lint:js -- --fix", + "lint:js": "npm run format:js && eslint \"./src/**/*.js\"", + "lint:js:fix": "npm run format:js:fix && npm run lint:js -- --fix", "lint:css": "stylelint \"./src/**/*.css\"", "lint:css:fix": "npm run lint:css -- --fix", "lint:md": "markdownlint '*.md'", "lint:md:fix": "npm run lint:md -- --fix", "lint:html": "htmlhint ./src/**/*.html", - "validate": "npm run validate:json && npm run validate:yaml", + "validate": "npm run validate:yaml", "validate:yaml": "yaml-validator ./.github/workflows/*.yml", "minify": "npm run minify:css && npm run minify:js", "minify:css": "for f in ./dist/*/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", From ebf098d45b380d4fcdcfe9293c0fac7255a38e96 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 23:04:20 +0100 Subject: [PATCH 26/99] chore: lint --- .../layout/class-footnotes-layout-engine.php | 30 +------------------ src/public/class-footnotes-public.php | 2 +- src/public/class-footnotes-task.php | 4 +-- 3 files changed, 4 insertions(+), 32 deletions(-) diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index f70d6ca..e836201 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -190,38 +190,10 @@ abstract class Footnotes_Layout_Engine { * @since 1.5.0 */ private function append_scripts() { + // TODO: Move to `Footnotes_Admin`. wp_enqueue_script( 'postbox' ); wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_script( 'wp-color-picker' ); - - /** - * Registers and enqueues the dashboard stylesheet. - * - * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. - * - * @since 2.5.5 - * - * @reporter @docteurfitness - * @link https://wordpress.org/support/topic/simply-speed-optimisation/ - * - * See the public stylesheet enqueuing: - * @see class/init.php - * - * added version # after changes started to settings.css from 2.1.2 on. - * automated update of version number for cache busting. - * No need to use '-styles' in the handle, as '-css' is appended automatically. - */ - /*if ( true === PRODUCTION_ENV ) { - - wp_register_style( 'footnotes-admin', plugins_url( 'footnotes/css/settings.min.css' ), array(), C_STR_FOOTNOTES_VERSION ); - - } else { - - wp_register_style( 'footnotes-admin', plugins_url( 'footnotes/css/settings.css' ), array(), C_STR_FOOTNOTES_VERSION ); - - } - - wp_enqueue_style( 'footnotes-admin' );*/ } // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 6f6db99..598fb65 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -96,7 +96,7 @@ class Footnotes_Public { $this->version = $version; $this->load_dependencies(); - + // Set conditions re-used for stylesheet enqueuing and in class/task.php. self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); diff --git a/src/public/class-footnotes-task.php b/src/public/class-footnotes-task.php index 818e689..57888df 100644 --- a/src/public/class-footnotes-task.php +++ b/src/public/class-footnotes-task.php @@ -403,11 +403,11 @@ class Footnotes_Task { require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-template.php'; - + // TODO: Move to `Footnotes_Loader`. $this->register_hooks(); } - + /** * Register WordPress hooks to replace Footnotes in the content of a public page. * From e379da2687c2d549279cf73d3e771cc82afcd3f2 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 23:06:05 +0100 Subject: [PATCH 27/99] ci: update docs command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e48a57c..de386e4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "husky": { "hooks": { "pre-commit": "lint-staged", - "pre-push": "composer run docs" + "pre-push": "composer run docs && git add docs && git commit -m \"docs: update documentation\" --no-verify" } }, "lint-staged": { From 6d8232b69d353466432d4996961ef6fba30a528c Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 23:06:10 +0100 Subject: [PATCH 28/99] docs: update documentation --- docs/classes/Footnotes-Activator.html | 244 ++++ docs/classes/Footnotes-Admin.html | 652 +++++++++++ docs/classes/Footnotes-Config.html | 33 +- docs/classes/Footnotes-Convert.html | 35 +- docs/classes/Footnotes-Deactivator.html | 244 ++++ docs/classes/Footnotes-Layout-Engine.html | 131 ++- docs/classes/Footnotes-Layout-Init.html | 51 +- docs/classes/Footnotes-Layout-Settings.html | 229 ++-- docs/classes/Footnotes-Loader.html | 823 ++++++++++++++ docs/classes/Footnotes-Public.html | 895 +++++++++++++++ docs/classes/Footnotes-Settings.html | 495 ++++---- docs/classes/Footnotes-Task.html | 223 ++-- docs/classes/Footnotes-Template.html | 59 +- docs/classes/Footnotes-WYSIWYG.html | 43 +- docs/classes/Footnotes-Widget-Base.html | 31 +- .../Footnotes-Widget-Reference-Container.html | 47 +- docs/classes/Footnotes-i18n.html | 264 +++++ docs/classes/Footnotes.html | 1002 ++++++++--------- .../src-admin-class-footnotes-admin.html | 131 +++ .../src-admin-class-footnotes-wysiwyg.html | 131 +++ docs/files/src-admin-index.html | 119 ++ ...-layout-class-footnotes-layout-engine.html | 130 +++ ...in-layout-class-footnotes-layout-init.html | 130 +++ ...ayout-class-footnotes-layout-settings.html | 130 +++ docs/files/src-footnotes.html | 141 ++- ...rc-includes-class-footnotes-activator.html | 131 +++ .../src-includes-class-footnotes-config.html | 130 +++ .../src-includes-class-footnotes-convert.html | 130 +++ ...-includes-class-footnotes-deactivator.html | 131 +++ .../src-includes-class-footnotes-i18n.html | 131 +++ .../src-includes-class-footnotes-loader.html | 131 +++ ...src-includes-class-footnotes-settings.html | 130 +++ ...src-includes-class-footnotes-template.html | 130 +++ docs/files/src-includes-class-footnotes.html | 131 +++ docs/files/src-includes-index.html | 119 ++ docs/files/src-index.html | 119 ++ .../src-public-class-footnotes-public.html | 131 +++ .../src-public-class-footnotes-task.html | 130 +++ docs/files/src-public-index.html | 119 ++ ...ic-widget-class-footnotes-widget-base.html | 130 +++ ...-footnotes-widget-reference-container.html | 130 +++ docs/files/src-uninstall.html | 119 ++ docs/graphs/classes.html | 13 +- docs/index.html | 172 ++- docs/indices/files.html | 77 +- docs/js/searchIndex.js | 715 +++++++----- docs/namespaces/default.html | 161 ++- docs/packages/Default.html | 117 ++ docs/packages/default.html | 14 +- docs/packages/footnotes-footnotesadmin.html | 129 +++ .../packages/footnotes-footnotesincludes.html | 137 +++ docs/packages/footnotes-footnotespublic.html | 129 +++ docs/packages/footnotes.html | 151 ++- docs/reports/deprecated.html | 13 +- docs/reports/errors.html | 43 +- docs/reports/markers.html | 13 +- 56 files changed, 8846 insertions(+), 1623 deletions(-) create mode 100644 docs/classes/Footnotes-Activator.html create mode 100644 docs/classes/Footnotes-Admin.html create mode 100644 docs/classes/Footnotes-Deactivator.html create mode 100644 docs/classes/Footnotes-Loader.html create mode 100644 docs/classes/Footnotes-Public.html create mode 100644 docs/classes/Footnotes-i18n.html create mode 100644 docs/files/src-admin-class-footnotes-admin.html create mode 100644 docs/files/src-admin-class-footnotes-wysiwyg.html create mode 100644 docs/files/src-admin-index.html create mode 100644 docs/files/src-admin-layout-class-footnotes-layout-engine.html create mode 100644 docs/files/src-admin-layout-class-footnotes-layout-init.html create mode 100644 docs/files/src-admin-layout-class-footnotes-layout-settings.html create mode 100644 docs/files/src-includes-class-footnotes-activator.html create mode 100644 docs/files/src-includes-class-footnotes-config.html create mode 100644 docs/files/src-includes-class-footnotes-convert.html create mode 100644 docs/files/src-includes-class-footnotes-deactivator.html create mode 100644 docs/files/src-includes-class-footnotes-i18n.html create mode 100644 docs/files/src-includes-class-footnotes-loader.html create mode 100644 docs/files/src-includes-class-footnotes-settings.html create mode 100644 docs/files/src-includes-class-footnotes-template.html create mode 100644 docs/files/src-includes-class-footnotes.html create mode 100644 docs/files/src-includes-index.html create mode 100644 docs/files/src-index.html create mode 100644 docs/files/src-public-class-footnotes-public.html create mode 100644 docs/files/src-public-class-footnotes-task.html create mode 100644 docs/files/src-public-index.html create mode 100644 docs/files/src-public-widget-class-footnotes-widget-base.html create mode 100644 docs/files/src-public-widget-class-footnotes-widget-reference-container.html create mode 100644 docs/files/src-uninstall.html create mode 100644 docs/packages/Default.html create mode 100644 docs/packages/footnotes-footnotesadmin.html create mode 100644 docs/packages/footnotes-footnotesincludes.html create mode 100644 docs/packages/footnotes-footnotespublic.html diff --git a/docs/classes/Footnotes-Activator.html b/docs/classes/Footnotes-Activator.html new file mode 100644 index 0000000..5dff791 --- /dev/null +++ b/docs/classes/Footnotes-Activator.html @@ -0,0 +1,244 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
+

Documentation

+ + + + + +
+ +
+
+ + + + +
+ + +
+

+ Footnotes_Activator + + +
+ in package + +
+ + +

+ + + +

Fired during plugin activation.

+ +

This class defines all code necessary to run during the plugin's activation.

+
+ + +
+ Tags + +
+
+
+ since +
+
+ 2.8.0 + +
+ +
+
+ subpackage +
+
+ +

footnotes/includes

+
+ +
+
+ + + + + + +

+ Table of Contents + +

+ +
+
+ activate() + +  : mixed +
+
Runs when the Plugin is deactivated.
+ +
+ + + + + + + +
+

+ Methods + +

+
+

+ activate() + +

+ + +

Runs when the Plugin is deactivated.

+ + + public + static activate() : mixed + +

Currently NOP.

+
+ + + +
+ Tags + +
+
+
+ since +
+
+ 2.8.0 + +
+ +
+
+ +
Return values
+ mixed + — +
+ + +
+
+ +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + diff --git a/docs/classes/Footnotes-Admin.html b/docs/classes/Footnotes-Admin.html new file mode 100644 index 0000000..85b55d7 --- /dev/null +++ b/docs/classes/Footnotes-Admin.html @@ -0,0 +1,652 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
    +

    Documentation

    + + + + + +
    + +
    +
    + + + + +
    + + +
    +

    + Footnotes_Admin + + +
    + in package + +
    + + +

    + + + +

    The admin-specific functionality of the plugin.

    + +

    Defines the plugin name, version, and enqueues all admin-specific stylesheets +and JavaScript.

    +
    + + +
    + Tags + +
    +
    +
    + subpackage +
    +
    + +

    footnotes/admin

    +
    + +
    +
    + + + + + + +

    + Table of Contents + +

    + +
    +
    + $plugin_name + +  : string +
    +
    The ID of this plugin.
    + +
    + $version + +  : string +
    +
    The version of this plugin.
    + +
    + __construct() + +  : mixed +
    +
    Initialize the class and set its properties.
    + +
    + enqueue_scripts() + +  : mixed +
    +
    Register the JavaScript for the admin area.
    + +
    + enqueue_styles() + +  : mixed +
    +
    Register the stylesheets for the admin area.
    + +
    + get_plugin_links() + +  : array<string|int, string> +
    +
    Appends the Plugin links for display in the dashboard Plugins page.
    + +
    + load_dependencies() + +  : mixed +
    +
    Load the required admin-specific dependencies.
    + +
    + + + + + + +
    +

    + Properties + +

    +
    +

    + $plugin_name + + + +

    + + +

    The ID of this plugin.

    + + + private + string + $plugin_name + + +
    + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + access +
    +
    + +

    private

    +
    + +
    +
    + +
    +
    +

    + $version + + + +

    + + +

    The version of this plugin.

    + + + private + string + $version + + +
    + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + access +
    +
    + +

    private

    +
    + +
    +
    + +
    +
    + +
    +

    + Methods + +

    +
    +

    + __construct() + +

    + + +

    Initialize the class and set its properties.

    + + + public + __construct(string $plugin_name, string $version) : mixed + +
    + +
    Parameters
    +
    +
    + $plugin_name + : string +
    +
    +

    The name of this plugin.

    +
    + +
    +
    + $version + : string +
    +
    +

    The version of this plugin.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + +
    Return values
    + mixed + — +
    + + +
    +
    +

    + enqueue_scripts() + +

    + + +

    Register the JavaScript for the admin area.

    + + + public + enqueue_scripts() : mixed + +
    + + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + +
    Return values
    + mixed + — +
    + + +
    +
    +

    + enqueue_styles() + +

    + + +

    Register the stylesheets for the admin area.

    + + + public + enqueue_styles() : mixed + +
    + + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + +
    Return values
    + mixed + — +
    + + +
    +
    + + + +

    Appends the Plugin links for display in the dashboard Plugins page.

    + + + public + static get_plugin_links(array<string|int, mixed> $plugin_links) : array<string|int, string> + +
    + +
    Parameters
    +
    +
    + $plugin_links + : array<string|int, mixed> +
    +
    +

    The WP-default set of links to display.

    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + since +
    +
    + 1.5.0 + +
    + +
    +
    + since +
    +
    + 2.8.0 + +

    Moved into Footnote_Admin class.

    +
    + +
    +
    + +
    Return values
    + array<string|int, string> + — +

    The full set of links to display.

    +
    + + +
    +
    +

    + load_dependencies() + +

    + + +

    Load the required admin-specific dependencies.

    + + + private + load_dependencies() : mixed + +

    Include the following files that provide the admin-specific functionality +of this plugin:

    +
      +
    • +Footnotes_WYSIWYG. TODO
    • +
    • +Footnotes_Layout_Settings. TODO
    • +
    +
    + + + +
    + Tags + +
    +
    +
    + since +
    +
    + 2.8.0 + +
    + +
    +
    + access +
    +
    + +

    private

    +
    + +
    +
    + +
    Return values
    + mixed + — +
    + + +
    +
    + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + diff --git a/docs/classes/Footnotes-Config.html b/docs/classes/Footnotes-Config.html index 50a827d..c96b051 100644 --- a/docs/classes/Footnotes-Config.html +++ b/docs/classes/Footnotes-Config.html @@ -51,9 +51,18 @@

      Namespaces

      -

      Global

      -
      + +
      +

      Packages

      +

      footnotes

      + +

      Default

      +

      Reports

      @@ -78,12 +87,18 @@ Footnotes_Config +
      + in package + +

      @@ -179,7 +194,7 @@ @@ -221,7 +236,7 @@ @@ -263,7 +278,7 @@ @@ -305,7 +320,7 @@ @@ -352,7 +367,7 @@ that isn’t translated, and dropping the logo in another, translatable heading. @@ -394,7 +409,7 @@ that isn’t translated, and dropping the logo in another, translatable heading. diff --git a/docs/classes/Footnotes-Convert.html b/docs/classes/Footnotes-Convert.html index 7cfd36b..70b4c6d 100644 --- a/docs/classes/Footnotes-Convert.html +++ b/docs/classes/Footnotes-Convert.html @@ -51,9 +51,18 @@

      Namespaces

      -

      Global

      -
      + +
      +

      Packages

      +

      footnotes

      + +

      Default

      +

      Reports

      @@ -78,12 +87,18 @@ Footnotes_Convert +
      + in package + +
      @@ -193,7 +208,7 @@ @@ -254,7 +269,7 @@ @@ -316,7 +331,7 @@ @@ -398,7 +413,7 @@ @@ -460,7 +475,7 @@ @@ -522,7 +537,7 @@ @@ -593,7 +608,7 @@ diff --git a/docs/classes/Footnotes-Deactivator.html b/docs/classes/Footnotes-Deactivator.html new file mode 100644 index 0000000..d25fc4e --- /dev/null +++ b/docs/classes/Footnotes-Deactivator.html @@ -0,0 +1,244 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
      +

      Documentation

      + + + + + +
      + +
      +
      + + + + +
      + + +
      +

      + Footnotes_Deactivator + + +
      + in package + +
      + + +

      + + + +

      Fired during plugin deactivation.

      + +

      This class defines all code necessary to run during the plugin's deactivation.

      +
      + + +
      + Tags + +
      +
      +
      + since +
      +
      + 2.8.0 + +
      + +
      +
      + subpackage +
      +
      + +

      footnotes/includes

      +
      + +
      +
      + + + + + + +

      + Table of Contents + +

      + +
      +
      + deactivate() + +  : mixed +
      +
      Runs when the Plugin is deactivated.
      + +
      + + + + + + + +
      +

      + Methods + +

      +
      +

      + deactivate() + +

      + + +

      Runs when the Plugin is deactivated.

      + + + public + static deactivate() : mixed + +

      Currently NOP.

      +
      + + + +
      + Tags + +
      +
      +
      + since +
      +
      + 2.8.0 + +
      + +
      +
      + +
      Return values
      + mixed + — +
      + + +
      +
      + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + diff --git a/docs/classes/Footnotes-Layout-Engine.html b/docs/classes/Footnotes-Layout-Engine.html index e632707..0f717e2 100644 --- a/docs/classes/Footnotes-Layout-Engine.html +++ b/docs/classes/Footnotes-Layout-Engine.html @@ -51,9 +51,18 @@

        Namespaces

        -

        Global

        -
        +
        +
        +

        Packages

        +

        footnotes

        + +

        Default

        +

        Reports

        @@ -78,14 +87,20 @@ Footnotes_Layout_Engine +
        + in package + +

        Layout Engine for the administration dashboard.

        @@ -335,9 +350,9 @@

        Stores all Sections for the child sub page.

        @@ -382,9 +397,9 @@

        Stores the Hook connection string for the child sub page.

        @@ -434,9 +449,9 @@ ull

        Output the Description of a section. May be overwritten in any section.

        @@ -483,9 +498,9 @@ ull

        Displays the content of specific sub page.

        @@ -532,9 +547,9 @@ ull

        Returns a Priority index. Lower numbers have a higher Priority.

        @@ -581,9 +596,9 @@ ull

        Registers all sections for a sub page.

        @@ -630,9 +645,9 @@ ull

        Registers a sub page.

        @@ -679,9 +694,9 @@ ull

        Returns the html tag for an input [type = checkbox].

        @@ -740,9 +755,9 @@ ull

        Returns the html tag for an input [type = text] with color selection class.

        @@ -801,9 +816,9 @@ ull

        Returns the html tag for an input/select label.

        @@ -871,9 +886,9 @@ ull

        Returns a line break to have a space between two lines.

        @@ -920,9 +935,9 @@ ull

        Returns an array describing a meta box.

        @@ -1009,9 +1024,9 @@ ull

        Returns a line break to start a new line.

        @@ -1058,9 +1073,9 @@ ull

        Returns the html tag for an input [type = num].

        @@ -1157,9 +1172,9 @@ ull

        Returns an array describing a sub page section.

        @@ -1246,9 +1261,9 @@ ull

        Returns the html tag for a select box.

        @@ -1357,9 +1372,9 @@ ull

        Returns a simple text inside html <span> text.

        @@ -1418,9 +1433,9 @@ ull

        Returns the html tag for an input [type = text].

        @@ -1506,9 +1521,9 @@ ull

        Returns the html tag for a text area.

        @@ -1567,9 +1582,9 @@ ull

        Returns an array of all registered meta boxes.

        @@ -1616,9 +1631,9 @@ ull

        Returns an array of all registered sections for a sub page.

        @@ -1665,9 +1680,9 @@ ull

        Returns the unique slug of the child sub page.

        @@ -1714,9 +1729,9 @@ ull

        Returns the title of the child sub page.

        @@ -1763,9 +1778,9 @@ ull

        Loads specific setting and returns an array with the keys [id, name, value].

        @@ -1891,9 +1906,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Append javascript and css files for specific sub page.

        @@ -1940,9 +1955,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Registers all Meta boxes for a sub page.

        @@ -2001,9 +2016,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Save all Plugin settings.

        diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index ec5f7e4..75bcd0f 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -51,9 +51,18 @@

        Namespaces

        -

        Global

        -
        +
        +
        +

        Packages

        +

        footnotes

        + +

        Default

        +

        Reports

        @@ -78,14 +87,20 @@ Footnotes_Layout_Init +
        + in package + +

        Handles the Settings interface of the Plugin.

        @@ -186,9 +201,9 @@

        Slug for the Plugin main menu.

        @@ -228,9 +243,9 @@

        Plugin main menu name.

        @@ -285,9 +300,9 @@

        Contains the settings layoutEngine

        @@ -336,9 +351,9 @@

        Class Constructor. Initializes all WordPress hooks for the Plugin Settings.

        @@ -385,9 +400,9 @@

        AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

        @@ -434,9 +449,9 @@

        Registers the settings and initialises the settings page.

        @@ -483,9 +498,9 @@

        Registers the footnotes submenu page.

        diff --git a/docs/classes/Footnotes-Layout-Settings.html b/docs/classes/Footnotes-Layout-Settings.html index ff4d841..67f34dc 100644 --- a/docs/classes/Footnotes-Layout-Settings.html +++ b/docs/classes/Footnotes-Layout-Settings.html @@ -51,9 +51,18 @@

        Namespaces

        -

        Global

        -
        +
        +
        +

        Packages

        +

        footnotes

        + +

        Default

        +

        Reports

        @@ -81,14 +90,20 @@ extends Footnotes_Layout_Engine +
        + in package + +

        Displays and handles all Settings of the Plugin.

        @@ -506,9 +521,9 @@

        Stores all Sections for the child sub page.

        @@ -553,9 +568,9 @@

        Stores the Hook connection string for the child sub page.

        @@ -605,9 +620,9 @@ ull

        Displays the AMP compatibility mode option.

        @@ -665,9 +680,9 @@ ull

        Displays the Custom CSS box.

        @@ -741,7 +756,7 @@ list directly in the template, as CSS is in English anyway

        -

        templates/dashboard/customize-css.html

        +

        admin/partials/customize-css.html

        @@ -765,9 +780,9 @@ list directly in the template, as CSS is in English anyway

        Displays transitional legacy Custom CSS box.

        @@ -814,9 +829,9 @@ list directly in the template, as CSS is in English anyway

        Displays the new Custom CSS box.

        @@ -863,9 +878,9 @@ list directly in the template, as CSS is in English anyway

        Output the Description of a section. May be overwritten in any section.

        @@ -912,9 +927,9 @@ list directly in the template, as CSS is in English anyway

        Displays the content of specific sub page.

        @@ -961,9 +976,9 @@ list directly in the template, as CSS is in English anyway

        Displays all Donate button to support the developers.

        @@ -1010,9 +1025,9 @@ list directly in the template, as CSS is in English anyway

        Displays the footnotes in excerpt setting.

        @@ -1094,9 +1109,9 @@ list directly in the template, as CSS is in English anyway

        Returns a Priority index. Lower numbers have a higher Priority.

        @@ -1143,9 +1158,9 @@ list directly in the template, as CSS is in English anyway

        Displays all options for the fragment identifier configuration.

        @@ -1203,9 +1218,9 @@ list directly in the template, as CSS is in English anyway

        Displays a short introduction to the Plugin.

        @@ -1269,9 +1284,9 @@ list directly in the template, as CSS is in English anyway

        Displays all settings for the backlink symbol.

        @@ -1391,9 +1406,9 @@ list directly in the template, as CSS is in English anyway

        Displays the setting for the input label issue solution.

        @@ -1440,9 +1455,9 @@ list directly in the template, as CSS is in English anyway

        Displays available Hooks to look for Footnote short codes.

        @@ -1535,9 +1550,9 @@ define -1 as PHP_INT_MAX instead

        Displays all settings for 'I love Footnotes'.

        @@ -1605,9 +1620,9 @@ define -1 as PHP_INT_MAX instead

        Displays enabled status for the footnotes mouse-over box.

        @@ -1675,9 +1690,9 @@ define -1 as PHP_INT_MAX instead

        Displays style settings for the footnotes mouse-over box.

        @@ -1724,9 +1739,9 @@ define -1 as PHP_INT_MAX instead

        Displays dimensions setting for the footnotes mouse-over box.

        @@ -1773,9 +1788,9 @@ define -1 as PHP_INT_MAX instead

        Displays position settings for the footnotes mouse-over box.

        @@ -1822,9 +1837,9 @@ define -1 as PHP_INT_MAX instead

        Displays dedicated tooltip text settings for the footnotes mouse-over box.

        @@ -1871,9 +1886,9 @@ define -1 as PHP_INT_MAX instead

        Displays timing settings for the footnotes mouse-over box.

        @@ -1920,9 +1935,9 @@ define -1 as PHP_INT_MAX instead

        Displays truncation settings for the footnotes mouse-over box.

        @@ -1969,9 +1984,9 @@ define -1 as PHP_INT_MAX instead

        Displays all options for the footnotes numbering.

        @@ -2018,9 +2033,9 @@ define -1 as PHP_INT_MAX instead

        Displays all settings for the reference container.

        @@ -2095,9 +2110,9 @@ define -1 as PHP_INT_MAX instead

        Registers all sections for a sub page.

        @@ -2144,9 +2159,9 @@ define -1 as PHP_INT_MAX instead

        Registers a sub page.

        @@ -2193,9 +2208,9 @@ define -1 as PHP_INT_MAX instead

        Displays all options for the scrolling behavior.

        @@ -2242,9 +2257,9 @@ define -1 as PHP_INT_MAX instead

        Displays all options for the footnotes start and end tag short codes.

        @@ -2373,9 +2388,9 @@ define -1 as PHP_INT_MAX instead

        Displays all settings for the footnote referrers.

        @@ -2443,9 +2458,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for an input [type = checkbox].

        @@ -2504,9 +2519,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for an input [type = text] with color selection class.

        @@ -2565,9 +2580,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for an input/select label.

        @@ -2635,9 +2650,9 @@ define -1 as PHP_INT_MAX instead

        Returns a line break to have a space between two lines.

        @@ -2684,9 +2699,9 @@ define -1 as PHP_INT_MAX instead

        Returns an array describing a meta box.

        @@ -2773,9 +2788,9 @@ define -1 as PHP_INT_MAX instead

        Returns a line break to start a new line.

        @@ -2822,9 +2837,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for an input [type = num].

        @@ -2921,9 +2936,9 @@ define -1 as PHP_INT_MAX instead

        Returns an array describing a sub page section.

        @@ -3010,9 +3025,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for a select box.

        @@ -3121,9 +3136,9 @@ define -1 as PHP_INT_MAX instead

        Returns a simple text inside html <span> text.

        @@ -3182,9 +3197,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for an input [type = text].

        @@ -3270,9 +3285,9 @@ define -1 as PHP_INT_MAX instead

        Returns the html tag for a text area.

        @@ -3331,9 +3346,9 @@ define -1 as PHP_INT_MAX instead

        Returns an array of all registered meta boxes for each section of the sub page.

        @@ -3445,9 +3460,9 @@ Change string "%s styling" to "Footnotes styling" to fix lay

        Returns an array of all registered sections for the sub page.

        @@ -3522,9 +3537,9 @@ Change string "%s styling" to "Footnotes styling" to fix lay

        Returns the unique slug of the sub page.

        @@ -3571,9 +3586,9 @@ Change string "%s styling" to "Footnotes styling" to fix lay

        Returns the title of the sub page.

        @@ -3620,9 +3635,9 @@ Change string "%s styling" to "Footnotes styling" to fix lay

        Loads specific setting and returns an array with the keys [id, name, value].

        @@ -3748,9 +3763,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Append javascript and css files for specific sub page.

        @@ -3797,9 +3812,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Registers all Meta boxes for a sub page.

        @@ -3858,9 +3873,9 @@ Removing this did not fix the quotation mark backslash escapement bug.

        Save all Plugin settings.

        diff --git a/docs/classes/Footnotes-Loader.html b/docs/classes/Footnotes-Loader.html new file mode 100644 index 0000000..8b2c87a --- /dev/null +++ b/docs/classes/Footnotes-Loader.html @@ -0,0 +1,823 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
        +

        Documentation

        + + + + + +
        + +
        +
        + + + + +
        + + +
        +

        + Footnotes_Loader + + +
        + in package + +
        + + +

        + + + +

        Register all actions and filters for the plugin.

        + +

        Maintain a list of all hooks that are registered throughout +the plugin, and register them with the WordPress API. Call the +run function to execute the list of actions and filters.

        +
        + + +
        + Tags + +
        +
        +
        + subpackage +
        +
        + +

        footnotes/includes

        +
        + +
        +
        + + + + + + +

        + Table of Contents + +

        + +
        +
        + $actions + +  : array<string|int, mixed> +
        +
        The array of actions registered with WordPress.
        + +
        + $filters + +  : array<string|int, mixed> +
        +
        The array of filters registered with WordPress.
        + +
        + __construct() + +  : mixed +
        +
        Initialize the collections used to maintain the actions and filters.
        + +
        + add_action() + +  : mixed +
        +
        Add a new action to the collection to be registered with WordPress.
        + +
        + add_filter() + +  : mixed +
        +
        Add a new filter to the collection to be registered with WordPress.
        + +
        + initialize_widgets() + +  : mixed +
        +
        Initializes all Widgets of the Plugin.
        + +
        + run() + +  : mixed +
        +
        Register the filters and actions with WordPress.
        + +
        + add() + +  : array<string|int, mixed> +
        +
        A utility function that is used to register the actions and hooks into a single +collection.
        + +
        + + + + + + +
        +

        + Properties + +

        +
        +

        + $actions + + + +

        + + +

        The array of actions registered with WordPress.

        + + + protected + array<string|int, mixed> + $actions + + +
        + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + access +
        +
        + +

        protected

        +
        + +
        +
        + +
        +
        +

        + $filters + + + +

        + + +

        The array of filters registered with WordPress.

        + + + protected + array<string|int, mixed> + $filters + + +
        + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + access +
        +
        + +

        protected

        +
        + +
        +
        + +
        +
        + +
        +

        + Methods + +

        +
        +

        + __construct() + +

        + + +

        Initialize the collections used to maintain the actions and filters.

        + + + public + __construct() : mixed + +
        + + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + +
        Return values
        + mixed + — +
        + + +
        +
        +

        + add_action() + +

        + + +

        Add a new action to the collection to be registered with WordPress.

        + + + public + add_action(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : mixed + +
        + +
        Parameters
        +
        +
        + $hook + : string +
        +
        +

        The name of the WordPress action that is being registered.

        +
        + +
        +
        + $component + : object +
        +
        +

        A reference to the instance of the object on which the action is defined.

        +
        + +
        +
        + $callback + : string +
        +
        +

        The name of the function definition on the $component.

        +
        + +
        +
        + $priority + : int + = 10
        +
        +

        Optional. The priority at which the function should be fired. Default is 10.

        +
        + +
        +
        + $accepted_args + : int + = 1
        +
        +

        Optional. The number of arguments that should be passed to the $callback. Default is 1.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + +
        Return values
        + mixed + — +
        + + +
        +
        +

        + add_filter() + +

        + + +

        Add a new filter to the collection to be registered with WordPress.

        + + + public + add_filter(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : mixed + +
        + +
        Parameters
        +
        +
        + $hook + : string +
        +
        +

        The name of the WordPress filter that is being registered.

        +
        + +
        +
        + $component + : object +
        +
        +

        A reference to the instance of the object on which the filter is defined.

        +
        + +
        +
        + $callback + : string +
        +
        +

        The name of the function definition on the $component.

        +
        + +
        +
        + $priority + : int + = 10
        +
        +

        Optional. The priority at which the function should be fired. Default is 10.

        +
        + +
        +
        + $accepted_args + : int + = 1
        +
        +

        Optional. The number of arguments that should be passed to the $callback. Default is 1.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + +
        Return values
        + mixed + — +
        + + +
        +
        +

        + initialize_widgets() + +

        + + +

        Initializes all Widgets of the Plugin.

        + + + public + initialize_widgets() : mixed + +
        + + + +
        + Tags + +
        +
        +
        + since +
        +
        + 1.5.0 + +
        + +
        +
        + since +
        +
        + 2.8.0 + +

        Moved to Footnotes_Loader class.

        +
        + +
        +
        + +
        Return values
        + mixed + — +
        + + +
        +
        +

        + run() + +

        + + +

        Register the filters and actions with WordPress.

        + + + public + run() : mixed + +
        + + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + +
        Return values
        + mixed + — +
        + + +
        +
        +

        + add() + +

        + + +

        A utility function that is used to register the actions and hooks into a single +collection.

        + + + private + add(array<string|int, mixed> $hooks, string $hook, object $component, string $callback, int $priority, int $accepted_args) : array<string|int, mixed> + +
        + +
        Parameters
        +
        +
        + $hooks + : array<string|int, mixed> +
        +
        +

        The collection of hooks that is being registered (that is, actions or filters).

        +
        + +
        +
        + $hook + : string +
        +
        +

        The name of the WordPress filter that is being registered.

        +
        + +
        +
        + $component + : object +
        +
        +

        A reference to the instance of the object on which the filter is defined.

        +
        + +
        +
        + $callback + : string +
        +
        +

        The name of the function definition on the $component.

        +
        + +
        +
        + $priority + : int +
        +
        +

        The priority at which the function should be fired.

        +
        + +
        +
        + $accepted_args + : int +
        +
        +

        The number of arguments that should be passed to the $callback.

        +
        + +
        +
        + + +
        + Tags + +
        +
        +
        + since +
        +
        + 2.8.0 + +
        + +
        +
        + access +
        +
        + +

        private

        +
        + +
        +
        + +
        Return values
        + array<string|int, mixed> + — +

        The collection of actions and filters registered with WordPress.

        +
        + + +
        +
        + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + diff --git a/docs/classes/Footnotes-Public.html b/docs/classes/Footnotes-Public.html new file mode 100644 index 0000000..3927580 --- /dev/null +++ b/docs/classes/Footnotes-Public.html @@ -0,0 +1,895 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
          +

          Documentation

          + + + + + +
          + +
          +
          + + + + +
          + + +
          +

          + Footnotes_Public + + +
          + in package + +
          + + +

          + + + +

          The public-facing functionality of the plugin.

          + +

          Defines the plugin name, version, and enqueues all public-facing stylesheets +and JavaScript.

          +
          + + +
          + Tags + +
          +
          +
          + subpackage +
          +
          + +

          footnotes/public

          +
          + +
          +
          + + + + + + +

          + Table of Contents + +

          + +
          +
          + $a_bool_alternative_tooltips_enabled + +  : bool +
          +
          Allows to determine whether alternative tooltips are enabled.
          + +
          + $a_bool_amp_enabled + +  : bool +
          +
          Allows to determine whether AMP compatibility mode is enabled.
          + +
          + $a_bool_tooltips_enabled + +  : bool +
          +
          Flag for using tooltips.
          + +
          + $a_obj_task + +  : Task +
          +
          The Plugin task.
          + +
          + $a_str_script_mode + +  : str +
          +
          Allows to determine the script mode among jQuery or plain JS.
          + +
          + $plugin_name + +  : string +
          +
          The ID of this plugin.
          + +
          + $version + +  : string +
          +
          The version of this plugin.
          + +
          + __construct() + +  : mixed +
          +
          Initialize the class and set its properties.
          + +
          + enqueue_scripts() + +  : mixed +
          +
          Register the JavaScript for the public-facing side of the site.
          + +
          + enqueue_styles() + +  : mixed +
          +
          Register the stylesheets for the public-facing side of the site.
          + +
          + load_dependencies() + +  : mixed +
          +
          Load the required public-facing dependencies.
          + +
          + + + + + + +
          +

          + Properties + +

          +
          +

          + $a_bool_alternative_tooltips_enabled + + + +

          + + +

          Allows to determine whether alternative tooltips are enabled.

          + + + public + static bool + $a_bool_alternative_tooltips_enabled + = alse + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.1.1 + +
          + +
          +
          + since +
          +
          + 2.8.0 + +

          Moved to Footnotes_Public class.

          +
          + +
          +
          + +
          +
          +

          + $a_bool_amp_enabled + + + +

          + + +

          Allows to determine whether AMP compatibility mode is enabled.

          + + + public + static bool + $a_bool_amp_enabled + = alse + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.6.0 + +

          (release)

          +
          + +
          +
          + since +
          +
          + 2.8.0 + +

          Moved to Footnotes_Public class.

          +
          + +
          +
          + +
          +
          +

          + $a_bool_tooltips_enabled + + + +

          + + +

          Flag for using tooltips.

          + + + public + static bool + $a_bool_tooltips_enabled + = alse + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.4.0 + +
          + +
          +
          + since +
          +
          + 2.8.0 + +

          Moved to Footnotes_Public class.

          +
          + +
          +
          + +
          +
          +

          + $a_obj_task + + + +

          + + +

          The Plugin task.

          + + + public + Task + $a_obj_task + = +ull + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 1.5.0 + +
          + +
          +
          + since +
          +
          + 2.8.0 + +

          Moved to Footnotes_Public class.

          +
          + +
          +
          + +
          +
          +

          + $a_str_script_mode + + + +

          + + +

          Allows to determine the script mode among jQuery or plain JS.

          + + + public + static str + $a_str_script_mode + = 'js' + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.5.6 + +
          + +
          +
          + since +
          +
          + 2.8.0 + +

          Moved to Footnotes_Public class.

          +
          + +
          +
          + +
          +
          +

          + $plugin_name + + + +

          + + +

          The ID of this plugin.

          + + + private + string + $plugin_name + + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + access +
          +
          + +

          private

          +
          + +
          +
          + +
          +
          +

          + $version + + + +

          + + +

          The version of this plugin.

          + + + private + string + $version + + +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + access +
          +
          + +

          private

          +
          + +
          +
          + +
          +
          + +
          +

          + Methods + +

          +
          +

          + __construct() + +

          + + +

          Initialize the class and set its properties.

          + + + public + __construct(string $plugin_name, string $version) : mixed + +
          + +
          Parameters
          +
          +
          + $plugin_name + : string +
          +
          +

          The name of this plugin.

          +
          + +
          +
          + $version + : string +
          +
          +

          The version of this plugin.

          +
          + +
          +
          + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + +
          Return values
          + mixed + — +
          + + +
          +
          +

          + enqueue_scripts() + +

          + + +

          Register the JavaScript for the public-facing side of the site.

          + + + public + enqueue_scripts() : mixed + +
          + + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + +
          Return values
          + mixed + — +
          + + +
          +
          +

          + enqueue_styles() + +

          + + +

          Register the stylesheets for the public-facing side of the site.

          + + + public + enqueue_styles() : mixed + +
          + + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + +
          Return values
          + mixed + — +
          + + +
          +
          +

          + load_dependencies() + +

          + + +

          Load the required public-facing dependencies.

          + + + private + load_dependencies() : mixed + +

          Include the following files that provide the public-facing functionality +of this plugin:

          +
            +
          • +Footnotes_Task. TODO
          • +
          • +Footnotes_Widget_Reference_Container. TODO
          • +
          +
          + + + +
          + Tags + +
          +
          +
          + since +
          +
          + 2.8.0 + +
          + +
          +
          + access +
          +
          + +

          private

          +
          + +
          +
          + +
          Return values
          + mixed + — +
          + + +
          +
          + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + diff --git a/docs/classes/Footnotes-Settings.html b/docs/classes/Footnotes-Settings.html index 21d0a2f..86bf800 100644 --- a/docs/classes/Footnotes-Settings.html +++ b/docs/classes/Footnotes-Settings.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -78,14 +87,20 @@ Footnotes_Settings +
            + in package + +

            Loads the settings values, sets to default values if undefined.

            @@ -963,9 +978,9 @@

            Settings container key for the scalar value of the tooltip font size.

            @@ -1005,9 +1020,9 @@

            Settings container key for the backlinks column max width scalar.

            @@ -1047,9 +1062,9 @@

            Settings container key for the backlinks column width scalar.

            @@ -1089,9 +1104,9 @@

            Settings container key for 'the_content' hook priority level.

            @@ -1263,9 +1278,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for 'the_excerpt' hook priority level.

            @@ -1305,9 +1320,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for 'the_title' hook priority level.

            @@ -1366,9 +1381,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for 'widget_text' hook priority level.

            @@ -1408,9 +1423,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for 'widget_title' hook priority level.

            @@ -1450,9 +1465,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for alternative tooltip x offset.

            @@ -1492,9 +1507,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for alternative tooltip y offset.

            @@ -1534,9 +1549,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for alternative tooltip width.

            @@ -1576,9 +1591,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for the mouse-over box to define the border radius.

            @@ -1628,9 +1643,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for the mouse-over box to define the border width.

            @@ -1670,9 +1685,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for the mouse-over box to define the max. length of the enabled excerpt.

            @@ -1722,9 +1737,9 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

            Settings container key for the mouse-over box to define the max. width.

            @@ -1775,9 +1790,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the mouse-over box to define the offset (x).

            @@ -1817,9 +1832,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the mouse-over box to define the offset (y).

            @@ -1859,9 +1874,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for scroll down delay.

            @@ -1901,9 +1916,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for scroll down duration.

            @@ -1943,9 +1958,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for scroll duration.

            @@ -1988,9 +2003,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for scroll offset.

            @@ -2033,9 +2048,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for scroll up delay.

            @@ -2075,9 +2090,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for tooltip display fade-in delay.

            @@ -2117,9 +2132,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for tooltip display fade-in duration.

            @@ -2159,9 +2174,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for tooltip display fade-out delay.

            @@ -2201,9 +2216,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for tooltip display fade-out duration.

            @@ -2243,9 +2258,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for reference container bottom margin.

            @@ -2304,9 +2319,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for reference container top margin.

            @@ -2365,9 +2380,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable a max width for the backlinks column.

            @@ -2407,9 +2422,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the backlinks column max width unit.

            @@ -2449,9 +2464,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable the backlinks column width.

            @@ -2491,9 +2506,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the backlinks column width unit.

            @@ -2533,9 +2548,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable line breaks between backlinks.

            @@ -2575,9 +2590,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for a custom backlink separator.

            @@ -2617,9 +2632,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable the presence of a backlink separator.

            @@ -2678,9 +2693,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the backlink separator options.

            @@ -2720,9 +2735,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for a custom backlink terminator.

            @@ -2762,9 +2777,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable the presence of a backlink terminator.

            @@ -2804,9 +2819,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the backlink terminator options.

            @@ -2846,9 +2861,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for combining identical footnotes.

            @@ -2888,9 +2903,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key for the Custom CSS.

            @@ -2940,9 +2955,9 @@ The width should be limited to start with, for the box to have shape.

            Settings container key to enable display of legacy Custom CSS metaboxes.

            @@ -2993,9 +3008,9 @@ because when saving, all missing constants are emptied, and to_bool() converts e

            Settings container key for the Custom CSS migrated to a dedicated tab.

            @@ -3038,9 +3053,9 @@ because when saving, all missing constants are emptied, and to_bool() converts e

            Settings container key to enable the 'the_content' hook.

            @@ -3080,9 +3095,9 @@ because when saving, all missing constants are emptied, and to_bool() converts e

            Settings container key to enable the 'the_excerpt' hook.

            @@ -3218,9 +3233,9 @@ because when saving, all missing constants are emptied, and to_bool() converts e

            Settings container key to enable the 'the_title' hook.

            @@ -3270,9 +3285,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key to enable the 'widget_text' hook.

            @@ -3312,9 +3327,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key to enable the 'widget_title' hook.

            @@ -3354,9 +3369,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key for the fragment ID slug in footnotes.

            @@ -3396,9 +3411,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key to enable superscript style normalization.

            @@ -3455,9 +3470,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key for the footnote section shortcode.

            @@ -3516,9 +3531,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key to enable shortcode syntax validation.

            @@ -3558,9 +3573,9 @@ Footnotes doesn’t delete footnotes therein.

            Settings container key for URL wrap option.

            @@ -3602,9 +3617,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key for alternative tooltip position.

            @@ -3644,9 +3659,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key to enable AMP compatibility mode.

            @@ -3748,9 +3763,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key to enable backlink tooltips.

            @@ -3816,9 +3831,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key to configure the backlink tooltip.

            @@ -3877,9 +3892,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key for the counter style of the footnotes.

            @@ -3919,9 +3934,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key to enable CSS smooth scrolling.

            @@ -3996,9 +4011,9 @@ Unicode-compliant browsers break URLs at slashes.

            Settings container key for the Expert mode.

            @@ -4050,9 +4065,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key to enable hard links.

            @@ -4127,9 +4142,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key to look for footnotes in post excerpts.

            @@ -4226,9 +4241,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key to set the solution of the input element label issue.

            @@ -4275,9 +4290,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key for the 'I love footnotes' text.

            @@ -4317,9 +4332,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key to enable the alternative tooltips.

            @@ -4378,9 +4393,9 @@ All users, not experts only, need to be able to control relative positioning.

            Settings container key for the mouse-over box to define the background color.

            @@ -4508,9 +4523,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the mouse-over box to define the border color.

            @@ -4550,9 +4565,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the mouse-over box to define the color.

            @@ -4629,9 +4644,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key to enable the mouse-over box.

            @@ -4671,9 +4686,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key to enable tooltip truncation.

            @@ -4713,9 +4728,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the mouse-over box to define the position.

            @@ -4755,9 +4770,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the mouse-over box to define the box-shadow color.

            @@ -4797,9 +4812,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for basic responsive page layout support options.

            @@ -4839,9 +4854,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key to select the script mode for the reference container.

            @@ -4900,9 +4915,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the referrer element.

            @@ -4961,9 +4976,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for scroll duration asymmetricity.

            @@ -5003,9 +5018,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the short code of the footnote’s end.

            @@ -5045,9 +5060,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the user-defined short code of the footnotes end.

            @@ -5087,9 +5102,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the short code of the footnote’s start.

            @@ -5129,9 +5144,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the user-defined short code of the footnotes start.

            @@ -5171,9 +5186,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the string after the footnote referrer.

            @@ -5213,9 +5228,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key for the string before the footnote referrer.

            @@ -5255,9 +5270,9 @@ But theme default background color doesn’t seem to exist.

            Settings container key to configure the tooltip excerpt delimiter.

            @@ -5318,9 +5333,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable mirroring the tooltip excerpt in the reference container.

            @@ -5375,9 +5390,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to configure the tooltip excerpt separator in the reference container.

            @@ -5417,9 +5432,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the label of the Read-on button in truncated tooltips.

            @@ -5478,9 +5493,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the ID separator in fragment IDs.

            @@ -5520,9 +5535,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the backlink symbol selection.

            @@ -5590,9 +5605,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the user-defined backlink symbol.

            @@ -5632,9 +5647,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the link element option.

            @@ -5693,9 +5708,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable setting the tooltip font size.

            @@ -5735,9 +5750,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the unit of the tooltip font size.

            @@ -5777,9 +5792,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable the legacy layout of the reference container.

            @@ -5822,9 +5837,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable the display of a backlink symbol.

            @@ -5883,9 +5898,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to get the backlink symbol switch side.

            @@ -5944,9 +5959,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to collapse the reference container by default.

            @@ -5995,9 +6010,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable the reference container label bottom border.

            @@ -6056,9 +6071,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the reference container label element.

            @@ -6117,9 +6132,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the label of the reference container.

            @@ -6159,9 +6174,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the position of the reference container.

            @@ -6201,9 +6216,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for reference container position shortcode.

            @@ -6262,9 +6277,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to enable reference container table row borders.

            @@ -6323,9 +6338,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key to not display the reference container on the homepage.

            @@ -6384,9 +6399,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Settings container key for the fragment ID slug in referrers.

            @@ -6441,9 +6456,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Contains all Settings Container names.

            @@ -6488,9 +6503,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Contains all Default Settings for each Settings Container.

            @@ -6674,9 +6689,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Contains all Settings from each Settings container as soon as this class is initialized.

            @@ -6721,9 +6736,9 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

            Stores a singleton reference of this class.

            @@ -6773,9 +6788,9 @@ ull

            Deletes each Settings Container and loads the default values for each Settings Container.

            @@ -6835,9 +6850,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Returns the value of specified Settings name.

            @@ -6897,9 +6912,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Returns the name of a specified Settings Container.

            @@ -6959,9 +6974,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Returns the default values of a specific Settings Container.

            @@ -7020,9 +7035,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Returns a singleton of this class.

            @@ -7069,9 +7084,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Register all Settings Container for the Plugin Settings Page in the Dashboard.

            @@ -7119,9 +7134,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Updates a whole Settings container.

            @@ -7189,9 +7204,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Class Constructor. Loads all Settings from each WordPress Settings container.

            @@ -7238,9 +7253,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Loads all settings from specified settings container.

            @@ -7328,9 +7343,9 @@ done by deleting and reinstalling (see the warning about database backup).

            Loads all Settings from each Settings container.

            diff --git a/docs/classes/Footnotes-Task.html b/docs/classes/Footnotes-Task.html index 81f562b..a2daae5 100644 --- a/docs/classes/Footnotes-Task.html +++ b/docs/classes/Footnotes-Task.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -78,14 +87,20 @@ Footnotes_Task +
            + in package + +

            Searches and replaces the footnotes and generates the reference container.

            @@ -275,6 +290,13 @@
            The slug and identifier separator.
            + __construct() + +  : mixed +
            +
            Initialize the class and set its properties.
            + +
            exec()  : string @@ -398,9 +420,9 @@

            Contains all footnotes found in the searched content.

            @@ -445,9 +467,9 @@

            Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.

            @@ -492,9 +514,9 @@

            Hard links for AMP compatibility.

            @@ -612,9 +634,9 @@

            Whether to mirror the tooltip text in the reference container.

            @@ -659,9 +681,9 @@

            Footnote delimiter syntax validation enabled.

            @@ -709,9 +731,9 @@

            Autoload a.k.a. infinite scroll, or archive view.

            @@ -791,9 +813,9 @@

            Multiple reference containers in content and widgets.

            @@ -864,9 +886,9 @@

            Scroll offset.

            @@ -942,9 +964,9 @@

            The tooltip delimiter shortcode length.

            @@ -989,9 +1011,9 @@

            Footnote delimiter end short code.

            @@ -1047,9 +1069,9 @@

            Footnote delimiter end short code in regex format.

            @@ -1105,9 +1127,9 @@

            The footnote slug.

            @@ -1152,9 +1174,9 @@

            The closing tag.

            @@ -1199,9 +1221,9 @@

            The opening tag.

            @@ -1246,9 +1268,9 @@

            The span element name.

            @@ -1293,9 +1315,9 @@

            Contains the concatenated fragment ID base.

            @@ -1340,9 +1362,9 @@

            Prefix for the Footnote html element ID.

            @@ -1387,9 +1409,9 @@

            The referrer slug.

            @@ -1434,9 +1456,9 @@

            Footnote delimiter start short code.

            @@ -1492,9 +1514,9 @@

            Footnote delimiter start short code in regex format.

            @@ -1550,9 +1572,9 @@

            The tooltip delimiter shortcode.

            @@ -1597,9 +1619,9 @@

            The slug and identifier separator.

            @@ -1642,15 +1664,64 @@ -method -public " +> +

            + __construct() + +

            + + +

            Initialize the class and set its properties.

            + + + public + __construct() : mixed + +
            + + + +
            + Tags + +
            +
            +
            + since +
            +
            + 2.8.0 + +
            + +
            +
            + +
            Return values
            + mixed + — +
            + + + +

            exec()

            Replaces all footnotes that occur in the given content.

            @@ -1727,9 +1798,9 @@

            Replaces footnotes in the content of the current page/post.

            @@ -1817,9 +1888,9 @@

            Processes existing excerpt or replaces it with a new one generated on the basis of the post.

            @@ -1930,9 +2001,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Replaces footnotes in the post/page title.

            @@ -1992,9 +2063,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Replaces footnotes in the content of the current widget.

            @@ -2054,9 +2125,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Replaces footnotes in the widget title.

            @@ -2116,9 +2187,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Displays the 'LOVE FOOTNOTES' slug if enabled.

            @@ -2175,9 +2246,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Outputs the custom css to the header of the public page.

            @@ -2314,9 +2385,9 @@ Default 'manual' is fallback and is backward compatible with the initial setup.<

            Generates excerpt on the basis of the post.

            @@ -2449,9 +2520,9 @@ Applies full WordPress excerpt processing.

            Generates excerpt with footnotes on the basis of the post.

            @@ -2631,9 +2702,9 @@ Does not apply full WordPress excerpt processing.

            Generates the reference container.

            @@ -2740,9 +2811,9 @@ Does not apply full WordPress excerpt processing.

            Register WordPress hooks to replace Footnotes in the content of a public page.

            @@ -2909,9 +2980,9 @@ Does not apply full WordPress excerpt processing.

            Replaces all footnotes in the given content and appends them to the static property.

            @@ -3073,9 +3144,9 @@ Does not apply full WordPress excerpt processing.

            Brings the delimiters and unifies their various HTML escapement schemas.

            diff --git a/docs/classes/Footnotes-Template.html b/docs/classes/Footnotes-Template.html index 2a7c5a3..b4bdfd1 100644 --- a/docs/classes/Footnotes-Template.html +++ b/docs/classes/Footnotes-Template.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -78,12 +87,18 @@ Footnotes_Template +
            + in package + +
            @@ -124,16 +139,16 @@
            C_STR_DASHBOARD -  = 'dashboard' +  = 'admin/partials'
            -
            Directory name for dashboard templates.
            +
            Directory name for dashboard partials.
            C_STR_PUBLIC -  = 'public' +  = 'public/partials'
            -
            Directory name for public templates.
            +
            Directory name for public partials.
            $plugin_directory @@ -215,18 +230,18 @@ -

            Directory name for dashboard templates.

            +

            Directory name for dashboard partials.

            public string C_STR_DASHBOARD - = 'dashboard' + = 'admin/partials' @@ -257,18 +272,18 @@ -

            Directory name for public templates.

            +

            Directory name for public partials.

            public string C_STR_PUBLIC - = 'public' + = 'public/partials' @@ -314,7 +329,7 @@ @@ -361,7 +376,7 @@ @@ -408,7 +423,7 @@ @@ -459,7 +474,7 @@ @@ -566,7 +581,7 @@ @@ -616,7 +631,7 @@ @@ -726,7 +741,7 @@ @@ -837,7 +852,7 @@ @@ -886,7 +901,7 @@ diff --git a/docs/classes/Footnotes-WYSIWYG.html b/docs/classes/Footnotes-WYSIWYG.html index 366618f..841207b 100644 --- a/docs/classes/Footnotes-WYSIWYG.html +++ b/docs/classes/Footnotes-WYSIWYG.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -78,14 +87,20 @@ Footnotes_WYSIWYG +
            + in package + +

            Handles the WSYIWYG-Buttons.

            @@ -179,9 +194,9 @@

            AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.

            @@ -229,9 +244,9 @@

            Includes the Plugins WYSIWYG editor script.

            @@ -290,9 +305,9 @@

            Add a new button to the plain text editor.

            @@ -339,9 +354,9 @@

            Append a new Button to the WYSIWYG editor of Posts and Pages.

            @@ -400,9 +415,9 @@

            Registers Button hooks.

            diff --git a/docs/classes/Footnotes-Widget-Base.html b/docs/classes/Footnotes-Widget-Base.html index da53be0..c31e2aa 100644 --- a/docs/classes/Footnotes-Widget-Base.html +++ b/docs/classes/Footnotes-Widget-Base.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -81,12 +90,18 @@ extends WP_Widget +
            + in package + +
            @@ -194,7 +209,7 @@ @@ -272,7 +287,7 @@ @@ -321,7 +336,7 @@ @@ -370,7 +385,7 @@ @@ -419,7 +434,7 @@ diff --git a/docs/classes/Footnotes-Widget-Reference-Container.html b/docs/classes/Footnotes-Widget-Reference-Container.html index c71ae8a..4a409a9 100644 --- a/docs/classes/Footnotes-Widget-Reference-Container.html +++ b/docs/classes/Footnotes-Widget-Reference-Container.html @@ -51,9 +51,18 @@

            Namespaces

            -

            Global

            -
            +
            +
            +

            Packages

            +

            footnotes

            + +

            Default

            +

            Reports

            @@ -81,14 +90,20 @@ extends Footnotes_Widget_Base +
            + in package + +

            Registers a Widget to put the Reference Container to the widget area.

            @@ -196,7 +211,7 @@ @@ -274,9 +289,9 @@

            Outputs the Settings of the Widget.

            @@ -336,9 +351,9 @@

            Outputs the Content of the Widget.

            @@ -406,9 +421,9 @@

            Returns the Description of the child widget.

            @@ -456,9 +471,9 @@

            Returns an unique ID as string used for the Widget Base ID.

            @@ -505,9 +520,9 @@

            Returns the Public name of the Widget to be displayed in the Configuration page.

            @@ -554,7 +569,7 @@ diff --git a/docs/classes/Footnotes-i18n.html b/docs/classes/Footnotes-i18n.html new file mode 100644 index 0000000..2ec15bd --- /dev/null +++ b/docs/classes/Footnotes-i18n.html @@ -0,0 +1,264 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
            +

            Documentation

            + + + + + +
            + +
            +
            + + + + +
            + + +
            +

            + Footnotes_i18n + + +
            + in package + +
            + + +

            + + + +

            Define the internationalization functionality.

            + +

            Loads and defines the internationalization files for this plugin +so that it is ready for translation.

            +
            + + +
            + Tags + +
            +
            +
            + since +
            +
            + 1.5.0 + +
            + +
            +
            + since +
            +
            + 2.8.0 + +

            Renamed class to Footnotes_i18n.

            +
            + +
            +
            + subpackage +
            +
            + +

            footnotes/includes

            +
            + +
            +
            + + + + + + +

            + Table of Contents + +

            + +
            +
            + load_plugin_textdomain() + +  : mixed +
            +
            Load the plugin text domain for translation.
            + +
            + + + + + + + +
            +

            + Methods + +

            +
            +

            + load_plugin_textdomain() + +

            + + +

            Load the plugin text domain for translation.

            + + + public + load_plugin_textdomain() : mixed + +
            + + + +
            + Tags + +
            +
            +
            + since +
            +
            + 1.5.1 + +
            + +
            +
            + since +
            +
            + 2.8.0 + +

            Rename from load() to load_plugin_textdomain(). Remove unused $p_str_language_code parameter.

            +
            + +
            +
            + +
            Return values
            + mixed + — +
            + + +
            +
            + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + diff --git a/docs/classes/Footnotes.html b/docs/classes/Footnotes.html index a03c538..9fc4fd8 100644 --- a/docs/classes/Footnotes.html +++ b/docs/classes/Footnotes.html @@ -51,9 +51,18 @@

              Namespaces

              -

              Global

              -
              +
              +
              +

              Packages

              +

              footnotes

              + +

              Default

              +

              Reports

              @@ -71,6 +80,7 @@
              @@ -78,19 +88,29 @@ Footnotes +
              + in package + +
              -

              Provides an entry point to the Plugin.

              +

              The core plugin class.

              -

              Loads the dashboard and executes the task.

              +

              This is used to define internationalization, admin-specific hooks, and +public-facing site hooks.

              +

              Also maintains the unique identifier of this plugin as well as the current +version of the plugin.

              @@ -107,6 +127,15 @@
              + +
              + subpackage +
              +
              + +

              footnotes/includes

              +
              +
              @@ -121,75 +150,93 @@
              -
              - $a_bool_alternative_tooltips_enabled +
              + $loader -  : bool +  : Footnotes_Loader
              -
              Allows to determine whether alternative tooltips are enabled.
              +
              The loader that's responsible for maintaining and registering all hooks that power +the plugin.
              -
              - $a_bool_amp_enabled +
              + $plugin_name -  : bool +  : string
              -
              Allows to determine whether AMP compatibility mode is enabled.
              +
              The unique identifier of this plugin.
              -
              - $a_bool_tooltips_enabled +
              + $version -  : bool +  : string
              -
              Flag for using tooltips.
              - -
              - $a_obj_task - -  : Task -
              -
              The Plugin task.
              - -
              - $a_str_script_mode - -  : str -
              -
              Allows to determine the script mode among jQuery or plain JS.
              +
              The current version of the plugin.
              - initialize_widgets() + __construct()  : mixed
              -
              Initializes all Widgets of the Plugin.
              +
              Define the core functionality of the plugin.
              - register_public() + get_loader() -  : mixed +  : Footnotes_Loader
              -
              Registers and enqueues scripts and stylesheets to the public pages.
              +
              The reference to the class that orchestrates the hooks with the plugin.
              + +
              + get_plugin_name() + +  : string +
              +
              The name of the plugin used to uniquely identify it within the context of +WordPress and to define internationalization functionality.
              + +
              + get_version() + +  : string +
              +
              Retrieve the version number of the plugin.
              run()  : mixed
              -
              Executes the Plugin.
              +
              Run the loader to execute all of the hooks with WordPress.
              - initialize_dashboard() + define_admin_hooks()  : mixed
              -
              Initializes the Dashboard of the Plugin and loads them.
              +
              Register all of the hooks related to the admin area functionality +of the plugin.
              - initialize_task() + define_public_hooks()  : mixed
              -
              Initializes the Plugin Task and registers the Task hooks.
              +
              Register all of the hooks related to the public-facing functionality +of the plugin.
              + +
              + load_dependencies() + +  : mixed +
              +
              Load the required dependencies for this plugin.
              + +
              + set_locale() + +  : mixed +
              +
              Define the locale for this plugin for internationalization.
              @@ -207,269 +254,29 @@ class=" phpdocumentor-element -property - -public - -static " -> -

              - $a_bool_alternative_tooltips_enabled - - - -

              - - -

              Allows to determine whether alternative tooltips are enabled.

              - - - public - static bool - $a_bool_alternative_tooltips_enabled - = alse - -
                -
              • Bugfix: Tooltips: optional alternative JS implementation with CSS transitions to fix configuration-related outage, thanks to @andreasra feedback.
              • -
              -
              - - -
              - Tags - -
              -
              -
              - since -
              -
              - 2.1.1 - -
              - -
              -
              - since -
              -
              - 2.4.0 - -
              - -
              -
              - reporter -
              -
              - -

              @andreasra

              -
              - -
              -
              - link -
              -
              - https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13632566 - -
              -
              - contributor -
              -
              - -

              Patrizia Lutz @misfist

              -
              - -
              -
              - -
              -
              -

              - $a_bool_amp_enabled - - - -

              - - -

              Allows to determine whether AMP compatibility mode is enabled.

              - - - public - static bool - $a_bool_amp_enabled - = alse - -
                -
              • Adding: Tooltips: make display work purely by style rules for AMP compatibility, thanks to @milindmore22 code contribution.
              • -
              • Bugfix: Tooltips: enable accessibility by keyboard navigation, thanks to @westonruter code contribution.
              • -
              • Adding: Reference container: get expanding and collapsing to work also in AMP compatibility mode, thanks to @westonruter code contribution.
              • -
              -
              - - -
              - Tags - -
              -
              -
              - since -
              -
              - 2.5.11 - -

              (draft)

              -
              - -
              -
              - since -
              -
              - 2.6.0 - -

              (release)

              -
              - -
              -
              - contributor -
              -
              - -

              @milindmore22

              -
              - -
              -
              - contributor -
              -
              - -

              @westonruter

              -
              - -
              -
              - link -
              -
              - https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785306933 - -
              -
              - link -
              -
              - https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785419655 - -
              -
              - link -
              -
              - https://github.com/markcheret/footnotes/issues/48#issuecomment-799580854 - -
              -
              - link -
              -
              - https://github.com/markcheret/footnotes/issues/48#issuecomment-799582394 - -
              -
              - -
              -
              -

              - $a_bool_tooltips_enabled - - - -

              - - -

              Flag for using tooltips.

              - - - public - static bool - $a_bool_tooltips_enabled - = alse - -
              - - -
              - Tags - -
              -
              -
              - since -
              -
              - 2.4.0 - -
              - -
              -
              - -
              -
              -

              - $a_obj_task - +

              + $loader +

              -

              The Plugin task.

              +

              The loader that's responsible for maintaining and registering all hooks that power +the plugin.

              - public - Task - $a_obj_task - = -ull + protected + Footnotes_Loader + $loader +
              @@ -483,10 +290,19 @@ ull since
              - 1.5.0 + 2.8.0
              +
              +
              + access +
              +
              + +

              protected

              +
              +
              @@ -495,33 +311,30 @@ ull class=" phpdocumentor-element -property - -public - -static " + -protected + " > -

              - $a_str_script_mode - +

              + $plugin_name +

              -

              Allows to determine the script mode among jQuery or plain JS.

              +

              The unique identifier of this plugin.

              - public - static str - $a_str_script_mode - = 'js' + protected + string + $plugin_name + -
                -
              • Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports.
              • -
              -
              +
              @@ -533,42 +346,75 @@ ull since
              - 2.5.6 + 2.8.0
              - reporter + access
              -

              @hopper87it

              +

              protected

              -
              - reporter + + +
              +
              +

              + $version + + + +

              + + +

              The current version of the plugin.

              + + + protected + string + $version + + +
              + + +
              + Tags + +
              +
              +
              + since
              + 2.8.0 -

              @pkverma99

              -
              +
              - link + access
              - https://wordpress.org/support/topic/footnotes-wp-rocket/ - -
              -
              - link -
              -
              - https://wordpress.org/support/topic/footnotes-wp-rocket/#post-14076188 - + +

              protected

              +
              +
              @@ -586,23 +432,26 @@ ull -public " > -

              - initialize_widgets() - +

              + __construct() +

              -

              Initializes all Widgets of the Plugin.

              +

              Define the core functionality of the plugin.

              public - initialize_widgets() : mixed + __construct() : mixed -
              +

              Set the plugin name and the plugin version that can be used throughout the plugin. +Load the dependencies, define the locale, and set the hooks for the admin area and +the public-facing side of the site.

              +
              @@ -615,97 +464,10 @@ ull since
              - 1.5.0 - -
                -
              • Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution
              • -
              -
              - -
              -
              - since -
              -
              - 1.6.5 + 1.0.0
              -
              -
              - contributor -
              -
              - -

              @felipelavinz

              -
              - -
              -
              - link -
              -
              - https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 - -
              -
              - link -
              -
              - https://wordpress.org/support/topic/bug-function-create_function-is-deprecated/ - -
              -
              - link -
              -
              - https://wordpress.org/support/topic/deprecated-function-create_function-14/ - -
              -
              - link -
              -
              -

              create_function() was deprecated in PHP 7.2.0 and removed in PHP 8.0.0.

              -
              - -
              -
              - link -
              -
              -

              The fix is to move add_action() above into run(), -and use the bare register_widget() here.

              -
              - -
              -
              - reporter -
              -
              - -

              @psykonevro

              -
              - -
              -
              - reporter -
              -
              - -

              @daliasued

              -
              - -
              -
              - see -
              -
              - self::run() - -

              Also, the visibility of initialize_widgets() is not private any longer.

              -
              -
              @@ -722,21 +484,21 @@ and use the bare register_widget() here.

              -public " > -

              - register_public() - +

              + get_loader() +

              -

              Registers and enqueues scripts and stylesheets to the public pages.

              +

              The reference to the class that orchestrates the hooks with the plugin.

              public - register_public() : mixed + get_loader() : Footnotes_Loader
              @@ -751,67 +513,119 @@ and use the bare register_widget() here.

              since
              - 1.5.0 + 1.0.0
              -
              -
              - since -
              -
              - 2.0.0 - -

              Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution.

              -
              - -
              -
              - since -
              -
              - 2.0.3 - -

              add versioning of public.css for cache busting

              -
              - -
              -
              - since -
              -
              - 2.0.4 - -

              add jQuery UI from WordPress

              -
              - -
              -
              - since -
              -
              - 2.1.4 - -

              automate passing version number for cache busting

              -
              - -
              -
              - since -
              -
              - 2.1.4 - -

              optionally enqueue an extra stylesheet

              -
              -
              Return values
              - mixed + Footnotes_Loader — -
              +

              Orchestrates the hooks of the plugin.

              +
              + + +
              +
              +

              + get_plugin_name() + +

              + + +

              The name of the plugin used to uniquely identify it within the context of +WordPress and to define internationalization functionality.

              + + + public + get_plugin_name() : string + +
              + + + +
              + Tags + +
              +
              +
              + since +
              +
              + 1.0.0 + +
              + +
              +
              + +
              Return values
              + string + — +

              The name of the plugin.

              +
              + + +
              +
              +

              + get_version() + +

              + + +

              Retrieve the version number of the plugin.

              + + + public + get_version() : string + +
              + + + +
              + Tags + +
              +
              +
              + since +
              +
              + 1.0.0 + +
              + +
              +
              + +
              Return values
              + string + — +

              The version number of the plugin.

              +
              @@ -826,12 +640,12 @@ and use the bare register_widget() here.

              -

              Executes the Plugin.

              +

              Run the loader to execute all of the hooks with WordPress.

              public @@ -852,43 +666,8 @@ and use the bare register_widget() here.

              1.5.0 -
                -
              • Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution.
              • -
              -
              - -
              -
              - since -
              -
              - 1.6.5 -
              -
              -
              - contributor -
              -
              - -

              @felipelavinz

              -
              - -
              -
              - link -
              -
              - https://github.com/benleyjyc/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 - -
              -
              - link -
              -
              - https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 -
              see @@ -914,21 +693,22 @@ and use the bare register_widget() here.

              -private " > -

              - initialize_dashboard() - +

              + define_admin_hooks() +

              -

              Initializes the Dashboard of the Plugin and loads them.

              +

              Register all of the hooks related to the admin area functionality +of the plugin.

              private - initialize_dashboard() : mixed + define_admin_hooks() : mixed
              @@ -943,10 +723,19 @@ and use the bare register_widget() here.

              since
              - 1.5.0 + 2.8.0
              +
              +
              + access +
              +
              + +

              private

              +
              +
              @@ -963,21 +752,22 @@ and use the bare register_widget() here.

              -private " > -

              - initialize_task() - +

              + define_public_hooks() +

              -

              Initializes the Plugin Task and registers the Task hooks.

              +

              Register all of the hooks related to the public-facing functionality +of the plugin.

              private - initialize_task() : mixed + define_public_hooks() : mixed
              @@ -992,10 +782,146 @@ and use the bare register_widget() here.

              since
              - 1.5.0 + 2.8.0
              +
              +
              + access +
              +
              + +

              private

              +
              + +
              + + +
              Return values
              + mixed + — +
              + + + +
              +

              + load_dependencies() + +

              + + +

              Load the required dependencies for this plugin.

              + + + private + load_dependencies() : mixed + +

              Include the following files that make up the plugin:

              +
                +
              • Footnotes_Loader. Orchestrates the hooks of the plugin.
              • +
              • Footnotes_i18n. Defines internationalization functionality.
              • +
              • Footnotes_Admin. Defines all hooks for the admin area.
              • +
              • Footnotes_Public. Defines all hooks for the public side of the site.
              • +
              +

              Create an instance of the loader which will be used to register the hooks +with WordPress.

              +
              + + + +
              + Tags + +
              +
              +
              + since +
              +
              + 2.8.0 + +
              + +
              +
              + access +
              +
              + +

              private

              +
              + +
              +
              + +
              Return values
              + mixed + — +
              + + +
              +
              +

              + set_locale() + +

              + + +

              Define the locale for this plugin for internationalization.

              + + + private + set_locale() : mixed + +

              Uses the Footnotes_i18n class in order to set the domain and to register the hook +with WordPress.

              +
              + + + +
              + Tags + +
              +
              +
              + since +
              +
              + 2.8.0 + +
              + +
              +
              + access +
              +
              + +

              private

              +
              +
              diff --git a/docs/files/src-admin-class-footnotes-admin.html b/docs/files/src-admin-class-footnotes-admin.html new file mode 100644 index 0000000..dc2146e --- /dev/null +++ b/docs/files/src-admin-class-footnotes-admin.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
              +

              Documentation

              + + + + + +
              + +
              +
              + + + + +
              + + +
              +

              class-footnotes-admin.php

              + + + +

              + Interfaces, Classes and Traits + +

              + +
              + +
              Footnotes_Admin
              +
              The admin-specific functionality of the plugin.
              + +
              + + + + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + diff --git a/docs/files/src-admin-class-footnotes-wysiwyg.html b/docs/files/src-admin-class-footnotes-wysiwyg.html new file mode 100644 index 0000000..24cf02d --- /dev/null +++ b/docs/files/src-admin-class-footnotes-wysiwyg.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                +

                Documentation

                + + + + + +
                + +
                +
                + + + + +
                + + +
                +

                class-footnotes-wysiwyg.php

                + + + +

                + Interfaces, Classes and Traits + +

                + +
                + +
                Footnotes_WYSIWYG
                +
                Handles the WSYIWYG-Buttons.
                + +
                + + + + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + diff --git a/docs/files/src-admin-index.html b/docs/files/src-admin-index.html new file mode 100644 index 0000000..4827a6d --- /dev/null +++ b/docs/files/src-admin-index.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                  +

                  Documentation

                  + + + + + +
                  + +
                  +
                  + + + + +
                  + + +
                  +

                  index.php

                  + + + + + + + + + + +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + diff --git a/docs/files/src-admin-layout-class-footnotes-layout-engine.html b/docs/files/src-admin-layout-class-footnotes-layout-engine.html new file mode 100644 index 0000000..6cfd198 --- /dev/null +++ b/docs/files/src-admin-layout-class-footnotes-layout-engine.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                    +

                    Documentation

                    + + + + + +
                    + +
                    +
                    + + + + +
                    + + +
                    +

                    class-footnotes-layout-engine.php

                    + + + +

                    + Interfaces, Classes and Traits + +

                    + +
                    + +
                    Footnotes_Layout_Engine
                    +
                    Layout Engine for the administration dashboard.
                    + +
                    + + + + + + + +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + diff --git a/docs/files/src-admin-layout-class-footnotes-layout-init.html b/docs/files/src-admin-layout-class-footnotes-layout-init.html new file mode 100644 index 0000000..65a1547 --- /dev/null +++ b/docs/files/src-admin-layout-class-footnotes-layout-init.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                      +

                      Documentation

                      + + + + + +
                      + +
                      +
                      + + + + +
                      + + +
                      +

                      class-footnotes-layout-init.php

                      + + + +

                      + Interfaces, Classes and Traits + +

                      + +
                      + +
                      Footnotes_Layout_Init
                      +
                      Handles the Settings interface of the Plugin.
                      + +
                      + + + + + + + +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + diff --git a/docs/files/src-admin-layout-class-footnotes-layout-settings.html b/docs/files/src-admin-layout-class-footnotes-layout-settings.html new file mode 100644 index 0000000..95b4419 --- /dev/null +++ b/docs/files/src-admin-layout-class-footnotes-layout-settings.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                        +

                        Documentation

                        + + + + + +
                        + +
                        +
                        + + + + +
                        + + +
                        +

                        class-footnotes-layout-settings.php

                        + + + +

                        + Interfaces, Classes and Traits + +

                        + +
                        + +
                        Footnotes_Layout_Settings
                        +
                        Displays and handles all Settings of the Plugin.
                        + +
                        + + + + + + + +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + diff --git a/docs/files/src-footnotes.html b/docs/files/src-footnotes.html index 4362c2d..ee94d33 100644 --- a/docs/files/src-footnotes.html +++ b/docs/files/src-footnotes.html @@ -51,9 +51,18 @@

                          Namespaces

                          -

                          Global

                          -
                          +
                          +
                          +

                          Packages

                          +

                          footnotes

                          + +

                          Default

                          +

                          Reports

                          @@ -80,11 +89,137 @@ +

                          + Table of Contents + +

                          + +
                          +
                          + activate_footnotes() + +  : mixed +
                          +
                          The code that runs during plugin activation.
                          + +
                          + deactivate_plugin_name() + +  : mixed +
                          +
                          The code that runs during plugin deactivation.
                          + +
                          + run_footnotes() + +  : mixed +
                          +
                          Begins execution of the plugin.
                          + +
                          - +
                          +

                          + Functions + +

                          +
                          +

                          + activate_footnotes() + +

                          + + +

                          The code that runs during plugin activation.

                          + + + + activate_footnotes() : mixed + +

                          This action is documented in includes/class-plugin-name-activator.php

                          +
                          + + + + + +
                          +
                          +

                          + deactivate_plugin_name() + +

                          + + +

                          The code that runs during plugin deactivation.

                          + + + + deactivate_plugin_name() : mixed + +

                          This action is documented in includes/class-plugin-name-deactivator.php

                          +
                          + + + + + +
                          +
                          +

                          + run_footnotes() + +

                          + + +

                          Begins execution of the plugin.

                          + + + + run_footnotes() : mixed + +

                          Since everything within the plugin is registered via hooks, +then kicking off the plugin from this point in the file does +not affect the page life cycle.

                          +
                          + + + +
                          + Tags + +
                          +
                          +
                          + since +
                          +
                          + 2.8.0 + +
                          + +
                          +
                          + + +
                          +
                          +
                          diff --git a/docs/files/src-includes-class-footnotes-activator.html b/docs/files/src-includes-class-footnotes-activator.html new file mode 100644 index 0000000..23ebe44 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-activator.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                          +

                          Documentation

                          + + + + + +
                          + +
                          +
                          + + + + +
                          + + +
                          +

                          class-footnotes-activator.php

                          + + + +

                          + Interfaces, Classes and Traits + +

                          + +
                          + +
                          Footnotes_Activator
                          +
                          Fired during plugin activation.
                          + +
                          + + + + + + + +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + diff --git a/docs/files/src-includes-class-footnotes-config.html b/docs/files/src-includes-class-footnotes-config.html new file mode 100644 index 0000000..7c1fac2 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-config.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                            +

                            Documentation

                            + + + + + +
                            + +
                            +
                            + + + + +
                            + + +
                            +

                            class-footnotes-config.php

                            + + + +

                            + Interfaces, Classes and Traits + +

                            + +
                            + +
                            Footnotes_Config
                            +
                            Contains all Plugin Constants. Contains no Method or Property.
                            + +
                            + + + + + + + +
                            +
                            +
                            +
                            +

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + diff --git a/docs/files/src-includes-class-footnotes-convert.html b/docs/files/src-includes-class-footnotes-convert.html new file mode 100644 index 0000000..876dff2 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-convert.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                              +

                              Documentation

                              + + + + + +
                              + +
                              +
                              + + + + +
                              + + +
                              +

                              class-footnotes-convert.php

                              + + + +

                              + Interfaces, Classes and Traits + +

                              + +
                              + +
                              Footnotes_Convert
                              +
                              Converts data types and Footnotes specific values.
                              + +
                              + + + + + + + +
                              +
                              +
                              +
                              +

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + diff --git a/docs/files/src-includes-class-footnotes-deactivator.html b/docs/files/src-includes-class-footnotes-deactivator.html new file mode 100644 index 0000000..5da7018 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-deactivator.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                +

                                Documentation

                                + + + + + +
                                + +
                                +
                                + + + + +
                                + + +
                                +

                                class-footnotes-deactivator.php

                                + + + +

                                + Interfaces, Classes and Traits + +

                                + +
                                + +
                                Footnotes_Deactivator
                                +
                                Fired during plugin deactivation.
                                + +
                                + + + + + + + +
                                +
                                +
                                +
                                +

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + diff --git a/docs/files/src-includes-class-footnotes-i18n.html b/docs/files/src-includes-class-footnotes-i18n.html new file mode 100644 index 0000000..1c28315 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-i18n.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                  +

                                  Documentation

                                  + + + + + +
                                  + +
                                  +
                                  + + + + +
                                  + + +
                                  +

                                  class-footnotes-i18n.php

                                  + + + +

                                  + Interfaces, Classes and Traits + +

                                  + +
                                  + +
                                  Footnotes_i18n
                                  +
                                  Define the internationalization functionality.
                                  + +
                                  + + + + + + + +
                                  +
                                  +
                                  +
                                  +

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + diff --git a/docs/files/src-includes-class-footnotes-loader.html b/docs/files/src-includes-class-footnotes-loader.html new file mode 100644 index 0000000..149e066 --- /dev/null +++ b/docs/files/src-includes-class-footnotes-loader.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                    +

                                    Documentation

                                    + + + + + +
                                    + +
                                    +
                                    + + + + +
                                    + + +
                                    +

                                    class-footnotes-loader.php

                                    + + + +

                                    + Interfaces, Classes and Traits + +

                                    + +
                                    + +
                                    Footnotes_Loader
                                    +
                                    Register all actions and filters for the plugin.
                                    + +
                                    + + + + + + + +
                                    +
                                    +
                                    +
                                    +

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + diff --git a/docs/files/src-includes-class-footnotes-settings.html b/docs/files/src-includes-class-footnotes-settings.html new file mode 100644 index 0000000..658d74e --- /dev/null +++ b/docs/files/src-includes-class-footnotes-settings.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                      +

                                      Documentation

                                      + + + + + +
                                      + +
                                      +
                                      + + + + +
                                      + + +
                                      +

                                      class-footnotes-settings.php

                                      + + + +

                                      + Interfaces, Classes and Traits + +

                                      + +
                                      + +
                                      Footnotes_Settings
                                      +
                                      Loads the settings values, sets to default values if undefined.
                                      + +
                                      + + + + + + + +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + diff --git a/docs/files/src-includes-class-footnotes-template.html b/docs/files/src-includes-class-footnotes-template.html new file mode 100644 index 0000000..56d379d --- /dev/null +++ b/docs/files/src-includes-class-footnotes-template.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                        +

                                        Documentation

                                        + + + + + +
                                        + +
                                        +
                                        + + + + +
                                        + + +
                                        +

                                        class-footnotes-template.php

                                        + + + +

                                        + Interfaces, Classes and Traits + +

                                        + +
                                        + +
                                        Footnotes_Template
                                        +
                                        Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                        + +
                                        + + + + + + + +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + diff --git a/docs/files/src-includes-class-footnotes.html b/docs/files/src-includes-class-footnotes.html new file mode 100644 index 0000000..1ece9e5 --- /dev/null +++ b/docs/files/src-includes-class-footnotes.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                          +

                                          Documentation

                                          + + + + + +
                                          + +
                                          +
                                          + + + + +
                                          + + +
                                          +

                                          class-footnotes.php

                                          + + + +

                                          + Interfaces, Classes and Traits + +

                                          + +
                                          + +
                                          Footnotes
                                          +
                                          The core plugin class.
                                          + +
                                          + + + + + + + +
                                          +
                                          +
                                          +
                                          +

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + diff --git a/docs/files/src-includes-index.html b/docs/files/src-includes-index.html new file mode 100644 index 0000000..2e12629 --- /dev/null +++ b/docs/files/src-includes-index.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                            +

                                            Documentation

                                            + + + + + +
                                            + +
                                            +
                                            + + + + +
                                            + + +
                                            +

                                            index.php

                                            + + + + + + + + + + +
                                            +
                                            +
                                            +
                                            +

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + diff --git a/docs/files/src-index.html b/docs/files/src-index.html new file mode 100644 index 0000000..5166573 --- /dev/null +++ b/docs/files/src-index.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                              +

                                              Documentation

                                              + + + + + +
                                              + +
                                              +
                                              + + + + +
                                              + + +
                                              +

                                              index.php

                                              + + + + + + + + + + +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + diff --git a/docs/files/src-public-class-footnotes-public.html b/docs/files/src-public-class-footnotes-public.html new file mode 100644 index 0000000..a1f03bc --- /dev/null +++ b/docs/files/src-public-class-footnotes-public.html @@ -0,0 +1,131 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                +

                                                Documentation

                                                + + + + + +
                                                + +
                                                +
                                                + + + + +
                                                + + +
                                                +

                                                class-footnotes-public.php

                                                + + + +

                                                + Interfaces, Classes and Traits + +

                                                + +
                                                + +
                                                Footnotes_Public
                                                +
                                                The public-facing functionality of the plugin.
                                                + +
                                                + + + + + + + +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + diff --git a/docs/files/src-public-class-footnotes-task.html b/docs/files/src-public-class-footnotes-task.html new file mode 100644 index 0000000..a47ce16 --- /dev/null +++ b/docs/files/src-public-class-footnotes-task.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                  +

                                                  Documentation

                                                  + + + + + +
                                                  + +
                                                  +
                                                  + + + + +
                                                  + + +
                                                  +

                                                  class-footnotes-task.php

                                                  + + + +

                                                  + Interfaces, Classes and Traits + +

                                                  + +
                                                  + +
                                                  Footnotes_Task
                                                  +
                                                  Searches and replaces the footnotes and generates the reference container.
                                                  + +
                                                  + + + + + + + +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + diff --git a/docs/files/src-public-index.html b/docs/files/src-public-index.html new file mode 100644 index 0000000..b09f9b2 --- /dev/null +++ b/docs/files/src-public-index.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                    +

                                                    Documentation

                                                    + + + + + +
                                                    + +
                                                    +
                                                    + + + + +
                                                    + + +
                                                    +

                                                    index.php

                                                    + + + + + + + + + + +
                                                    +
                                                    +
                                                    +
                                                    +

                                                    Search results

                                                    + +
                                                    +
                                                    +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      + + +
                                                      + + + + diff --git a/docs/files/src-public-widget-class-footnotes-widget-base.html b/docs/files/src-public-widget-class-footnotes-widget-base.html new file mode 100644 index 0000000..069bbb2 --- /dev/null +++ b/docs/files/src-public-widget-class-footnotes-widget-base.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                      +

                                                      Documentation

                                                      + + + + + +
                                                      + +
                                                      +
                                                      + + + + +
                                                      + + +
                                                      +

                                                      class-footnotes-widget-base.php

                                                      + + + +

                                                      + Interfaces, Classes and Traits + +

                                                      + +
                                                      + +
                                                      Footnotes_Widget_Base
                                                      +
                                                      Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                      + +
                                                      + + + + + + + +
                                                      +
                                                      +
                                                      +
                                                      +

                                                      Search results

                                                      + +
                                                      +
                                                      +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + + +
                                                        + + + + diff --git a/docs/files/src-public-widget-class-footnotes-widget-reference-container.html b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html new file mode 100644 index 0000000..9c7f5ca --- /dev/null +++ b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html @@ -0,0 +1,130 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                        +

                                                        Documentation

                                                        + + + + + +
                                                        + +
                                                        +
                                                        + + + + +
                                                        + + +
                                                        +

                                                        class-footnotes-widget-reference-container.php

                                                        + + + +

                                                        + Interfaces, Classes and Traits + +

                                                        + +
                                                        + +
                                                        Footnotes_Widget_Reference_Container
                                                        +
                                                        Registers a Widget to put the Reference Container to the widget area.
                                                        + +
                                                        + + + + + + + +
                                                        +
                                                        +
                                                        +
                                                        +

                                                        Search results

                                                        + +
                                                        +
                                                        +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          + + +
                                                          + + + + diff --git a/docs/files/src-uninstall.html b/docs/files/src-uninstall.html new file mode 100644 index 0000000..1e0e617 --- /dev/null +++ b/docs/files/src-uninstall.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                          +

                                                          Documentation

                                                          + + + + + +
                                                          + +
                                                          +
                                                          + + + + +
                                                          + + +
                                                          +

                                                          uninstall.php

                                                          + + + + + + + + + + +
                                                          +
                                                          +
                                                          +
                                                          +

                                                          Search results

                                                          + +
                                                          +
                                                          +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            + + +
                                                            + + + + diff --git a/docs/graphs/classes.html b/docs/graphs/classes.html index f77584f..8361330 100644 --- a/docs/graphs/classes.html +++ b/docs/graphs/classes.html @@ -44,9 +44,18 @@

                                                            Namespaces

                                                            -

                                                            Global

                                                            -
                                                            +
                                                            +
                                                            +

                                                            Packages

                                                            +

                                                            footnotes

                                                            + +

                                                            Default

                                                            +

                                                            Reports

                                                            diff --git a/docs/index.html b/docs/index.html index 3706b3f..5637e63 100644 --- a/docs/index.html +++ b/docs/index.html @@ -51,9 +51,18 @@

                                                            Namespaces

                                                            -

                                                            Global

                                                            -
                                                            +
                                                            +
                                                            +

                                                            Packages

                                                            +

                                                            footnotes

                                                            + +

                                                            Default

                                                            +

                                                            Reports

                                                            @@ -72,7 +81,16 @@

                                                            Documentation

                                                            - +

                                                            + Packages + +

                                                            + +
                                                            +
                                                            footnotes
                                                            +
                                                            Default
                                                            +
                                                            +

                                                            Interfaces, Classes and Traits @@ -81,34 +99,42 @@
                                                            +
                                                            Footnotes_Activator
                                                            +
                                                            Fired during plugin activation.
                                                            +
                                                            Footnotes_Deactivator
                                                            +
                                                            Fired during plugin deactivation.
                                                            +
                                                            Footnotes
                                                            +
                                                            The core plugin class.
                                                            +
                                                            Footnotes_Admin
                                                            +
                                                            The admin-specific functionality of the plugin.
                                                            +
                                                            Footnotes_WYSIWYG
                                                            +
                                                            Handles the WSYIWYG-Buttons.
                                                            +
                                                            Footnotes_Layout_Engine
                                                            +
                                                            Layout Engine for the administration dashboard.
                                                            +
                                                            Footnotes_Layout_Init
                                                            +
                                                            Handles the Settings interface of the Plugin.
                                                            +
                                                            Footnotes_Layout_Settings
                                                            +
                                                            Displays and handles all Settings of the Plugin.
                                                            Footnotes_Config
                                                            Contains all Plugin Constants. Contains no Method or Property.
                                                            Footnotes_Convert
                                                            Converts data types and Footnotes specific values.
                                                            -
                                                            Footnotes_Layout_Init
                                                            -
                                                            Handles the Settings interface of the Plugin.
                                                            -
                                                            Footnotes_Layout_Engine
                                                            -
                                                            Layout Engine for the administration dashboard.
                                                            -
                                                            Footnotes_Layout_Settings
                                                            -
                                                            Displays and handles all Settings of the Plugin.
                                                            -
                                                            Footnotes_Hooks
                                                            -
                                                            Registers all WordPress hooks and executes them on demand.
                                                            -
                                                            Footnotes
                                                            -
                                                            Provides an entry point to the Plugin.
                                                            -
                                                            Footnotes_Language
                                                            -
                                                            Loads text domain of current or default language for localization.
                                                            +
                                                            Footnotes_i18n
                                                            +
                                                            Define the internationalization functionality.
                                                            +
                                                            Footnotes_Loader
                                                            +
                                                            Register all actions and filters for the plugin.
                                                            Footnotes_Settings
                                                            Loads the settings values, sets to default values if undefined.
                                                            -
                                                            Footnotes_Task
                                                            -
                                                            Searches and replaces the footnotes and generates the reference container.
                                                            Footnotes_Template
                                                            Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                            +
                                                            Footnotes_Public
                                                            +
                                                            The public-facing functionality of the plugin.
                                                            +
                                                            Footnotes_Task
                                                            +
                                                            Searches and replaces the footnotes and generates the reference container.
                                                            Footnotes_Widget_Base
                                                            Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                            Footnotes_Widget_Reference_Container
                                                            Registers a Widget to put the Reference Container to the widget area.
                                                            -
                                                            Footnotes_WYSIWYG
                                                            -
                                                            Handles the WSYIWYG-Buttons.
                                                            @@ -120,11 +146,25 @@
                                                            - mci_footnotes_require_php_files() + activate_footnotes()  : mixed
                                                            -
                                                            Requires (`require_once`) all `*.php` files inside a specific Directory.
                                                            +
                                                            The code that runs during plugin activation.
                                                            + +
                                                            + deactivate_plugin_name() + +  : mixed +
                                                            +
                                                            The code that runs during plugin deactivation.
                                                            + +
                                                            + run_footnotes() + +  : mixed +
                                                            +
                                                            Begins execution of the plugin.
                                                            @@ -136,57 +176,89 @@

                                                            -

                                                            - mci_footnotes_require_php_files() - +

                                                            + activate_footnotes() +

                                                            -

                                                            Requires (`require_once`) all `*.php` files inside a specific Directory.

                                                            +

                                                            The code that runs during plugin activation.

                                                            - mci_footnotes_require_php_files(string $p_str_directory) : mixed + activate_footnotes() : mixed -
                                                            - -
                                                            Parameters
                                                            -
                                                            -
                                                            - $p_str_directory - : string -
                                                            -
                                                            -

                                                            Absolute Directory path to lookup for *.php files.

                                                            +

                                                            This action is documented in includes/class-plugin-name-activator.php

                                                            -
                                                            -
                                                            + + +
                                                            +
                                                            +

                                                            + deactivate_plugin_name() + +

                                                            + + +

                                                            The code that runs during plugin deactivation.

                                                            + + + + deactivate_plugin_name() : mixed + +

                                                            This action is documented in includes/class-plugin-name-deactivator.php

                                                            +
                                                            + + + + + +
                                                            +
                                                            +

                                                            + run_footnotes() + +

                                                            + + +

                                                            Begins execution of the plugin.

                                                            + + + + run_footnotes() : mixed + +

                                                            Since everything within the plugin is registered via hooks, +then kicking off the plugin from this point in the file does +not affect the page life cycle.

                                                            +
                                                            + + +
                                                            Tags
                                                            - author -
                                                            -
                                                            - -

                                                            Stefan Herndler

                                                            -
                                                            - -
                                                            -
                                                            since
                                                            - 1.5.0 + 2.8.0
                                                            diff --git a/docs/indices/files.html b/docs/indices/files.html index 3d651d0..c68514a 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -51,9 +51,18 @@

                                                            Namespaces

                                                            -

                                                            Global

                                                            -
                                                            +
                                                            +
                                                            +

                                                            Packages

                                                            +

                                                            footnotes

                                                            + +

                                                            Default

                                                            +

                                                            Reports

                                                            @@ -71,53 +80,43 @@

                                                            Files

                                                            -

                                                            B

                                                            +

                                                            C

                                                            -

                                                            C

                                                            -

                                                            F

                                                            -

                                                            H

                                                            +

                                                            I

                                                            -

                                                            I

                                                            +

                                                            U

                                                            -

                                                            L

                                                            - -

                                                            R

                                                            - -

                                                            S

                                                            - -

                                                            T

                                                            - -

                                                            W

                                                            - -
                                                            +

                                                            Search results

                                                            diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index 2c5b880..25edadf 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -1,120 +1,175 @@ Search.appendIndex( [ { - "fqsen": "\\Footnotes_Config", - "name": "Footnotes_Config", - "summary": "Contains\u0020all\u0020Plugin\u0020Constants.\u0020Contains\u0020no\u0020Method\u0020or\u0020Property.", - "url": "classes/Footnotes-Config.html" + "fqsen": "\\activate_footnotes\u0028\u0029", + "name": "activate_footnotes", + "summary": "The\u0020code\u0020that\u0020runs\u0020during\u0020plugin\u0020activation.", + "url": "namespaces/default.html#function_activate_footnotes" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_NAME", - "name": "C_STR_PLUGIN_NAME", - "summary": "Internal\u0020Plugin\u0020name.", - "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_NAME" + "fqsen": "\\deactivate_plugin_name\u0028\u0029", + "name": "deactivate_plugin_name", + "summary": "The\u0020code\u0020that\u0020runs\u0020during\u0020plugin\u0020deactivation.", + "url": "namespaces/default.html#function_deactivate_plugin_name" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_PUBLIC_NAME", - "name": "C_STR_PLUGIN_PUBLIC_NAME", - "summary": "Public\u0020Plugin\u0020name.", - "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_PUBLIC_NAME" + "fqsen": "\\run_footnotes\u0028\u0029", + "name": "run_footnotes", + "summary": "Begins\u0020execution\u0020of\u0020the\u0020plugin.", + "url": "namespaces/default.html#function_run_footnotes" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_HEADING_NAME", - "name": "C_STR_PLUGIN_HEADING_NAME", - "summary": "Public\u0020Plugin\u0020name\u0020for\u0020dashboard\u0020heading", - "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_HEADING_NAME" + "fqsen": "\\Footnotes_Activator", + "name": "Footnotes_Activator", + "summary": "Fired\u0020during\u0020plugin\u0020activation.", + "url": "classes/Footnotes-Activator.html" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_LOVE_SYMBOL", - "name": "C_STR_LOVE_SYMBOL", - "summary": "Html\u0020tag\u0020for\u0020the\u0020LOVE\u0020symbol.", - "url": "classes/Footnotes-Config.html#constant_C_STR_LOVE_SYMBOL" + "fqsen": "\\Footnotes_Activator\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Runs\u0020when\u0020the\u0020Plugin\u0020is\u0020deactivated.", + "url": "classes/Footnotes-Activator.html#method_activate" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_LOVE_SYMBOL_HEADING", - "name": "C_STR_LOVE_SYMBOL_HEADING", - "summary": "HTML\u0020code\u0020for\u0020the\u0020\u0027love\u0027\u0020symbol\u0020used\u0020in\u0020dashboard\u0020heading", - "url": "classes/Footnotes-Config.html#constant_C_STR_LOVE_SYMBOL_HEADING" + "fqsen": "\\Footnotes_Deactivator", + "name": "Footnotes_Deactivator", + "summary": "Fired\u0020during\u0020plugin\u0020deactivation.", + "url": "classes/Footnotes-Deactivator.html" }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_NO_LOVE_SLUG", - "name": "C_STR_NO_LOVE_SLUG", - "summary": "Short\u0020code\u0020to\u0020DON\u0027T\u0020display\u0020the\u0020\u0027LOVE\u0020ME\u0027\u0020slug\u0020on\u0020certain\u0020pages.", - "url": "classes/Footnotes-Config.html#constant_C_STR_NO_LOVE_SLUG" + "fqsen": "\\Footnotes_Deactivator\u003A\u003Adeactivate\u0028\u0029", + "name": "deactivate", + "summary": "Runs\u0020when\u0020the\u0020Plugin\u0020is\u0020deactivated.", + "url": "classes/Footnotes-Deactivator.html#method_deactivate" }, { - "fqsen": "\\Footnotes_Convert", - "name": "Footnotes_Convert", - "summary": "Converts\u0020data\u0020types\u0020and\u0020Footnotes\u0020specific\u0020values.", - "url": "classes/Footnotes-Convert.html" + "fqsen": "\\Footnotes", + "name": "Footnotes", + "summary": "The\u0020core\u0020plugin\u0020class.", + "url": "classes/Footnotes.html" }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Aindex\u0028\u0029", - "name": "index", - "summary": "Converts\u0020a\u0020integer\u0020into\u0020the\u0020user\u002Ddefined\u0020counter\u0020style\u0020for\u0020the\u0020footnotes.", - "url": "classes/Footnotes-Convert.html#method_index" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Ato_latin\u0028\u0029", - "name": "to_latin", - "summary": "Converts\u0020an\u0020integer\u0020into\u0020latin\u0020ascii\u0020characters,\u0020either\u0020lower\u0020or\u0020upper\u002Dcase.", - "url": "classes/Footnotes-Convert.html#method_to_latin" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Ato_arabic_leading\u0028\u0029", - "name": "to_arabic_leading", - "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020leading\u002D0\u0020integer.", - "url": "classes/Footnotes-Convert.html#method_to_arabic_leading" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Ato_romanic\u0028\u0029", - "name": "to_romanic", - "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020romanic\u0020letter.", - "url": "classes/Footnotes-Convert.html#method_to_romanic" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Ato_bool\u0028\u0029", - "name": "to_bool", - "summary": "Converts\u0020a\u0020string\u0020depending\u0020on\u0020its\u0020value\u0020to\u0020a\u0020boolean.", - "url": "classes/Footnotes-Convert.html#method_to_bool" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Aget_arrow\u0028\u0029", - "name": "get_arrow", - "summary": "Get\u0020a\u0020html\u0020Array\u0020short\u0020code\u0020depending\u0020on\u0020Arrow\u002DArray\u0020key\u0020index.", - "url": "classes/Footnotes-Convert.html#method_get_arrow" - }, { - "fqsen": "\\Footnotes_Convert\u003A\u003Adebug\u0028\u0029", - "name": "debug", - "summary": "Displays\u0020a\u0020Variable.", - "url": "classes/Footnotes-Convert.html#method_debug" - }, { - "fqsen": "\\Footnotes_Layout_Init", - "name": "Footnotes_Layout_Init", - "summary": "Handles\u0020the\u0020Settings\u0020interface\u0020of\u0020the\u0020Plugin.", - "url": "classes/Footnotes-Layout-Init.html" - }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003A__construct\u0028\u0029", + "fqsen": "\\Footnotes\u003A\u003A__construct\u0028\u0029", "name": "__construct", - "summary": "Class\u0020Constructor.\u0020Initializes\u0020all\u0020WordPress\u0020hooks\u0020for\u0020the\u0020Plugin\u0020Settings.", - "url": "classes/Footnotes-Layout-Init.html#method___construct" + "summary": "Define\u0020the\u0020core\u0020functionality\u0020of\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#method___construct" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003Ainitialize_settings\u0028\u0029", - "name": "initialize_settings", - "summary": "Registers\u0020the\u0020settings\u0020and\u0020initialises\u0020the\u0020settings\u0020page.", - "url": "classes/Footnotes-Layout-Init.html#method_initialize_settings" + "fqsen": "\\Footnotes\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020this\u0020plugin.", + "url": "classes/Footnotes.html#method_load_dependencies" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003Aregister_options_submenu\u0028\u0029", - "name": "register_options_submenu", - "summary": "Registers\u0020the\u0020footnotes\u0020submenu\u0020page.", - "url": "classes/Footnotes-Layout-Init.html#method_register_options_submenu" + "fqsen": "\\Footnotes\u003A\u003Aset_locale\u0028\u0029", + "name": "set_locale", + "summary": "Define\u0020the\u0020locale\u0020for\u0020this\u0020plugin\u0020for\u0020internationalization.", + "url": "classes/Footnotes.html#method_set_locale" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003Aget_plugin_meta_information\u0028\u0029", - "name": "get_plugin_meta_information", - "summary": "AJAX\u0020call.\u0020returns\u0020a\u0020JSON\u0020string\u0020containing\u0020meta\u0020information\u0020about\u0020a\u0020specific\u0020WordPress\u0020Plugin.", - "url": "classes/Footnotes-Layout-Init.html#method_get_plugin_meta_information" + "fqsen": "\\Footnotes\u003A\u003Adefine_admin_hooks\u0028\u0029", + "name": "define_admin_hooks", + "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020admin\u0020area\u0020functionality\nof\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#method_define_admin_hooks" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003AC_STR_MAIN_MENU_SLUG", - "name": "C_STR_MAIN_MENU_SLUG", - "summary": "Slug\u0020for\u0020the\u0020Plugin\u0020main\u0020menu.", - "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_SLUG" + "fqsen": "\\Footnotes\u003A\u003Adefine_public_hooks\u0028\u0029", + "name": "define_public_hooks", + "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020public\u002Dfacing\u0020functionality\nof\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#method_define_public_hooks" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003AC_STR_MAIN_MENU_TITLE", - "name": "C_STR_MAIN_MENU_TITLE", - "summary": "Plugin\u0020main\u0020menu\u0020name.", - "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_TITLE" + "fqsen": "\\Footnotes\u003A\u003Arun\u0028\u0029", + "name": "run", + "summary": "Run\u0020the\u0020loader\u0020to\u0020execute\u0020all\u0020of\u0020the\u0020hooks\u0020with\u0020WordPress.", + "url": "classes/Footnotes.html#method_run" }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003A\u0024settings_page", - "name": "settings_page", - "summary": "Contains\u0020the\u0020settings\u0020layoutEngine", - "url": "classes/Footnotes-Layout-Init.html#property_settings_page" + "fqsen": "\\Footnotes\u003A\u003Aget_plugin_name\u0028\u0029", + "name": "get_plugin_name", + "summary": "The\u0020name\u0020of\u0020the\u0020plugin\u0020used\u0020to\u0020uniquely\u0020identify\u0020it\u0020within\u0020the\u0020context\u0020of\nWordPress\u0020and\u0020to\u0020define\u0020internationalization\u0020functionality.", + "url": "classes/Footnotes.html#method_get_plugin_name" + }, { + "fqsen": "\\Footnotes\u003A\u003Aget_loader\u0028\u0029", + "name": "get_loader", + "summary": "The\u0020reference\u0020to\u0020the\u0020class\u0020that\u0020orchestrates\u0020the\u0020hooks\u0020with\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#method_get_loader" + }, { + "fqsen": "\\Footnotes\u003A\u003Aget_version\u0028\u0029", + "name": "get_version", + "summary": "Retrieve\u0020the\u0020version\u0020number\u0020of\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#method_get_version" + }, { + "fqsen": "\\Footnotes\u003A\u003A\u0024loader", + "name": "loader", + "summary": "The\u0020loader\u0020that\u0027s\u0020responsible\u0020for\u0020maintaining\u0020and\u0020registering\u0020all\u0020hooks\u0020that\u0020power\nthe\u0020plugin.", + "url": "classes/Footnotes.html#property_loader" + }, { + "fqsen": "\\Footnotes\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020unique\u0020identifier\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes.html#property_plugin_name" + }, { + "fqsen": "\\Footnotes\u003A\u003A\u0024version", + "name": "version", + "summary": "The\u0020current\u0020version\u0020of\u0020the\u0020plugin.", + "url": "classes/Footnotes.html#property_version" + }, { + "fqsen": "\\Footnotes_Admin", + "name": "Footnotes_Admin", + "summary": "The\u0020admin\u002Dspecific\u0020functionality\u0020of\u0020the\u0020plugin.", + "url": "classes/Footnotes-Admin.html" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Admin.html#method___construct" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020admin\u002Dspecific\u0020dependencies.", + "url": "classes/Footnotes-Admin.html#method_load_dependencies" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003Aenqueue_styles\u0028\u0029", + "name": "enqueue_styles", + "summary": "Register\u0020the\u0020stylesheets\u0020for\u0020the\u0020admin\u0020area.", + "url": "classes/Footnotes-Admin.html#method_enqueue_styles" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003Aenqueue_scripts\u0028\u0029", + "name": "enqueue_scripts", + "summary": "Register\u0020the\u0020JavaScript\u0020for\u0020the\u0020admin\u0020area.", + "url": "classes/Footnotes-Admin.html#method_enqueue_scripts" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003Aget_plugin_links\u0028\u0029", + "name": "get_plugin_links", + "summary": "Appends\u0020the\u0020Plugin\u0020links\u0020for\u0020display\u0020in\u0020the\u0020dashboard\u0020Plugins\u0020page.", + "url": "classes/Footnotes-Admin.html#method_get_plugin_links" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Admin.html#property_plugin_name" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003A\u0024version", + "name": "version", + "summary": "The\u0020version\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Admin.html#property_version" + }, { + "fqsen": "\\Footnotes_WYSIWYG", + "name": "Footnotes_WYSIWYG", + "summary": "Handles\u0020the\u0020WSYIWYG\u002DButtons.", + "url": "classes/Footnotes-WYSIWYG.html" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Aregister_hooks\u0028\u0029", + "name": "register_hooks", + "summary": "Registers\u0020Button\u0020hooks.", + "url": "classes/Footnotes-WYSIWYG.html#method_register_hooks" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Anew_visual_editor_button\u0028\u0029", + "name": "new_visual_editor_button", + "summary": "Append\u0020a\u0020new\u0020Button\u0020to\u0020the\u0020WYSIWYG\u0020editor\u0020of\u0020Posts\u0020and\u0020Pages.", + "url": "classes/Footnotes-WYSIWYG.html#method_new_visual_editor_button" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Anew_plain_text_editor_button\u0028\u0029", + "name": "new_plain_text_editor_button", + "summary": "Add\u0020a\u0020new\u0020button\u0020to\u0020the\u0020plain\u0020text\u0020editor.", + "url": "classes/Footnotes-WYSIWYG.html#method_new_plain_text_editor_button" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Ainclude_scripts\u0028\u0029", + "name": "include_scripts", + "summary": "Includes\u0020the\u0020Plugins\u0020WYSIWYG\u0020editor\u0020script.", + "url": "classes/Footnotes-WYSIWYG.html#method_include_scripts" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Aajax_callback\u0028\u0029", + "name": "ajax_callback", + "summary": "AJAX\u0020Callback\u0020function\u0020when\u0020the\u0020Footnotes\u0020Button\u0020is\u0020clicked.\u0020Either\u0020in\u0020the\u0020Plain\u0020text\u0020or\u0020Visual\u0020editor.", + "url": "classes/Footnotes-WYSIWYG.html#method_ajax_callback" }, { "fqsen": "\\Footnotes_Layout_Engine", "name": "Footnotes_Layout_Engine", @@ -255,6 +310,46 @@ Search.appendIndex( "name": "a_arr_sections", "summary": "Stores\u0020all\u0020Sections\u0020for\u0020the\u0020child\u0020sub\u0020page.", "url": "classes/Footnotes-Layout-Engine.html#property_a_arr_sections" + }, { + "fqsen": "\\Footnotes_Layout_Init", + "name": "Footnotes_Layout_Init", + "summary": "Handles\u0020the\u0020Settings\u0020interface\u0020of\u0020the\u0020Plugin.", + "url": "classes/Footnotes-Layout-Init.html" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Class\u0020Constructor.\u0020Initializes\u0020all\u0020WordPress\u0020hooks\u0020for\u0020the\u0020Plugin\u0020Settings.", + "url": "classes/Footnotes-Layout-Init.html#method___construct" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003Ainitialize_settings\u0028\u0029", + "name": "initialize_settings", + "summary": "Registers\u0020the\u0020settings\u0020and\u0020initialises\u0020the\u0020settings\u0020page.", + "url": "classes/Footnotes-Layout-Init.html#method_initialize_settings" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003Aregister_options_submenu\u0028\u0029", + "name": "register_options_submenu", + "summary": "Registers\u0020the\u0020footnotes\u0020submenu\u0020page.", + "url": "classes/Footnotes-Layout-Init.html#method_register_options_submenu" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003Aget_plugin_meta_information\u0028\u0029", + "name": "get_plugin_meta_information", + "summary": "AJAX\u0020call.\u0020returns\u0020a\u0020JSON\u0020string\u0020containing\u0020meta\u0020information\u0020about\u0020a\u0020specific\u0020WordPress\u0020Plugin.", + "url": "classes/Footnotes-Layout-Init.html#method_get_plugin_meta_information" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003AC_STR_MAIN_MENU_SLUG", + "name": "C_STR_MAIN_MENU_SLUG", + "summary": "Slug\u0020for\u0020the\u0020Plugin\u0020main\u0020menu.", + "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_SLUG" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003AC_STR_MAIN_MENU_TITLE", + "name": "C_STR_MAIN_MENU_TITLE", + "summary": "Plugin\u0020main\u0020menu\u0020name.", + "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_TITLE" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003A\u0024settings_page", + "name": "settings_page", + "summary": "Contains\u0020the\u0020settings\u0020layoutEngine", + "url": "classes/Footnotes-Layout-Init.html#property_settings_page" }, { "fqsen": "\\Footnotes_Layout_Settings", "name": "Footnotes_Layout_Settings", @@ -406,105 +501,135 @@ Search.appendIndex( "summary": "Displays\u0020all\u0020Donate\u0020button\u0020to\u0020support\u0020the\u0020developers.", "url": "classes/Footnotes-Layout-Settings.html#method_donate" }, { - "fqsen": "\\Footnotes_Hooks", - "name": "Footnotes_Hooks", - "summary": "Registers\u0020all\u0020WordPress\u0020hooks\u0020and\u0020executes\u0020them\u0020on\u0020demand.", - "url": "classes/Footnotes-Hooks.html" + "fqsen": "\\Footnotes_Config", + "name": "Footnotes_Config", + "summary": "Contains\u0020all\u0020Plugin\u0020Constants.\u0020Contains\u0020no\u0020Method\u0020or\u0020Property.", + "url": "classes/Footnotes-Config.html" }, { - "fqsen": "\\Footnotes_Hooks\u003A\u003Aregister_hooks\u0028\u0029", - "name": "register_hooks", - "summary": "Registers\u0020all\u0020WordPress\u0020hooks.", - "url": "classes/Footnotes-Hooks.html#method_register_hooks" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_NAME", + "name": "C_STR_PLUGIN_NAME", + "summary": "Internal\u0020Plugin\u0020name.", + "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_NAME" }, { - "fqsen": "\\Footnotes_Hooks\u003A\u003Aactivate_plugin\u0028\u0029", - "name": "activate_plugin", - "summary": "Executes\u0020when\u0020the\u0020Plugin\u0020is\u0020activated.", - "url": "classes/Footnotes-Hooks.html#method_activate_plugin" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_PUBLIC_NAME", + "name": "C_STR_PLUGIN_PUBLIC_NAME", + "summary": "Public\u0020Plugin\u0020name.", + "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_PUBLIC_NAME" }, { - "fqsen": "\\Footnotes_Hooks\u003A\u003Adeactivate_plugin\u0028\u0029", - "name": "deactivate_plugin", - "summary": "Executes\u0020when\u0020the\u0020Plugin\u0020is\u0020deactivated.", - "url": "classes/Footnotes-Hooks.html#method_deactivate_plugin" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_HEADING_NAME", + "name": "C_STR_PLUGIN_HEADING_NAME", + "summary": "Public\u0020Plugin\u0020name\u0020for\u0020dashboard\u0020heading", + "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_HEADING_NAME" }, { - "fqsen": "\\Footnotes_Hooks\u003A\u003Aget_plugin_links\u0028\u0029", - "name": "get_plugin_links", - "summary": "Appends\u0020the\u0020Plugin\u0020links\u0020for\u0020display\u0020in\u0020the\u0020dashboard\u0020\u201CPlugins\u201D\u0020page.", - "url": "classes/Footnotes-Hooks.html#method_get_plugin_links" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_LOVE_SYMBOL", + "name": "C_STR_LOVE_SYMBOL", + "summary": "Html\u0020tag\u0020for\u0020the\u0020LOVE\u0020symbol.", + "url": "classes/Footnotes-Config.html#constant_C_STR_LOVE_SYMBOL" }, { - "fqsen": "\\Footnotes", - "name": "Footnotes", - "summary": "Provides\u0020an\u0020entry\u0020point\u0020to\u0020the\u0020Plugin.", - "url": "classes/Footnotes.html" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_LOVE_SYMBOL_HEADING", + "name": "C_STR_LOVE_SYMBOL_HEADING", + "summary": "HTML\u0020code\u0020for\u0020the\u0020\u0027love\u0027\u0020symbol\u0020used\u0020in\u0020dashboard\u0020heading", + "url": "classes/Footnotes-Config.html#constant_C_STR_LOVE_SYMBOL_HEADING" }, { - "fqsen": "\\Footnotes\u003A\u003Arun\u0028\u0029", - "name": "run", - "summary": "Executes\u0020the\u0020Plugin.", - "url": "classes/Footnotes.html#method_run" + "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_NO_LOVE_SLUG", + "name": "C_STR_NO_LOVE_SLUG", + "summary": "Short\u0020code\u0020to\u0020DON\u0027T\u0020display\u0020the\u0020\u0027LOVE\u0020ME\u0027\u0020slug\u0020on\u0020certain\u0020pages.", + "url": "classes/Footnotes-Config.html#constant_C_STR_NO_LOVE_SLUG" }, { - "fqsen": "\\Footnotes\u003A\u003Ainitialize_widgets\u0028\u0029", + "fqsen": "\\Footnotes_Convert", + "name": "Footnotes_Convert", + "summary": "Converts\u0020data\u0020types\u0020and\u0020Footnotes\u0020specific\u0020values.", + "url": "classes/Footnotes-Convert.html" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Aindex\u0028\u0029", + "name": "index", + "summary": "Converts\u0020a\u0020integer\u0020into\u0020the\u0020user\u002Ddefined\u0020counter\u0020style\u0020for\u0020the\u0020footnotes.", + "url": "classes/Footnotes-Convert.html#method_index" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Ato_latin\u0028\u0029", + "name": "to_latin", + "summary": "Converts\u0020an\u0020integer\u0020into\u0020latin\u0020ascii\u0020characters,\u0020either\u0020lower\u0020or\u0020upper\u002Dcase.", + "url": "classes/Footnotes-Convert.html#method_to_latin" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Ato_arabic_leading\u0028\u0029", + "name": "to_arabic_leading", + "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020leading\u002D0\u0020integer.", + "url": "classes/Footnotes-Convert.html#method_to_arabic_leading" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Ato_romanic\u0028\u0029", + "name": "to_romanic", + "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020romanic\u0020letter.", + "url": "classes/Footnotes-Convert.html#method_to_romanic" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Ato_bool\u0028\u0029", + "name": "to_bool", + "summary": "Converts\u0020a\u0020string\u0020depending\u0020on\u0020its\u0020value\u0020to\u0020a\u0020boolean.", + "url": "classes/Footnotes-Convert.html#method_to_bool" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Aget_arrow\u0028\u0029", + "name": "get_arrow", + "summary": "Get\u0020a\u0020html\u0020Array\u0020short\u0020code\u0020depending\u0020on\u0020Arrow\u002DArray\u0020key\u0020index.", + "url": "classes/Footnotes-Convert.html#method_get_arrow" + }, { + "fqsen": "\\Footnotes_Convert\u003A\u003Adebug\u0028\u0029", + "name": "debug", + "summary": "Displays\u0020a\u0020Variable.", + "url": "classes/Footnotes-Convert.html#method_debug" + }, { + "fqsen": "\\Footnotes_i18n", + "name": "Footnotes_i18n", + "summary": "Define\u0020the\u0020internationalization\u0020functionality.", + "url": "classes/Footnotes-i18n.html" + }, { + "fqsen": "\\Footnotes_i18n\u003A\u003Aload_plugin_textdomain\u0028\u0029", + "name": "load_plugin_textdomain", + "summary": "Load\u0020the\u0020plugin\u0020text\u0020domain\u0020for\u0020translation.", + "url": "classes/Footnotes-i18n.html#method_load_plugin_textdomain" + }, { + "fqsen": "\\Footnotes_Loader", + "name": "Footnotes_Loader", + "summary": "Register\u0020all\u0020actions\u0020and\u0020filters\u0020for\u0020the\u0020plugin.", + "url": "classes/Footnotes-Loader.html" + }, { + "fqsen": "\\Footnotes_Loader\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020collections\u0020used\u0020to\u0020maintain\u0020the\u0020actions\u0020and\u0020filters.", + "url": "classes/Footnotes-Loader.html#method___construct" + }, { + "fqsen": "\\Footnotes_Loader\u003A\u003Aadd_action\u0028\u0029", + "name": "add_action", + "summary": "Add\u0020a\u0020new\u0020action\u0020to\u0020the\u0020collection\u0020to\u0020be\u0020registered\u0020with\u0020WordPress.", + "url": "classes/Footnotes-Loader.html#method_add_action" + }, { + "fqsen": "\\Footnotes_Loader\u003A\u003Aadd_filter\u0028\u0029", + "name": "add_filter", + "summary": "Add\u0020a\u0020new\u0020filter\u0020to\u0020the\u0020collection\u0020to\u0020be\u0020registered\u0020with\u0020WordPress.", + "url": "classes/Footnotes-Loader.html#method_add_filter" + }, { + "fqsen": "\\Footnotes_Loader\u003A\u003Ainitialize_widgets\u0028\u0029", "name": "initialize_widgets", "summary": "Initializes\u0020all\u0020Widgets\u0020of\u0020the\u0020Plugin.", - "url": "classes/Footnotes.html#method_initialize_widgets" + "url": "classes/Footnotes-Loader.html#method_initialize_widgets" }, { - "fqsen": "\\Footnotes\u003A\u003Ainitialize_dashboard\u0028\u0029", - "name": "initialize_dashboard", - "summary": "Initializes\u0020the\u0020Dashboard\u0020of\u0020the\u0020Plugin\u0020and\u0020loads\u0020them.", - "url": "classes/Footnotes.html#method_initialize_dashboard" + "fqsen": "\\Footnotes_Loader\u003A\u003Aadd\u0028\u0029", + "name": "add", + "summary": "A\u0020utility\u0020function\u0020that\u0020is\u0020used\u0020to\u0020register\u0020the\u0020actions\u0020and\u0020hooks\u0020into\u0020a\u0020single\ncollection.", + "url": "classes/Footnotes-Loader.html#method_add" }, { - "fqsen": "\\Footnotes\u003A\u003Ainitialize_task\u0028\u0029", - "name": "initialize_task", - "summary": "Initializes\u0020the\u0020Plugin\u0020Task\u0020and\u0020registers\u0020the\u0020Task\u0020hooks.", - "url": "classes/Footnotes.html#method_initialize_task" + "fqsen": "\\Footnotes_Loader\u003A\u003Arun\u0028\u0029", + "name": "run", + "summary": "Register\u0020the\u0020filters\u0020and\u0020actions\u0020with\u0020WordPress.", + "url": "classes/Footnotes-Loader.html#method_run" }, { - "fqsen": "\\Footnotes\u003A\u003Aregister_public\u0028\u0029", - "name": "register_public", - "summary": "Registers\u0020and\u0020enqueues\u0020scripts\u0020and\u0020stylesheets\u0020to\u0020the\u0020public\u0020pages.", - "url": "classes/Footnotes.html#method_register_public" + "fqsen": "\\Footnotes_Loader\u003A\u003A\u0024actions", + "name": "actions", + "summary": "The\u0020array\u0020of\u0020actions\u0020registered\u0020with\u0020WordPress.", + "url": "classes/Footnotes-Loader.html#property_actions" }, { - "fqsen": "\\Footnotes\u003A\u003A\u0024a_obj_task", - "name": "a_obj_task", - "summary": "The\u0020Plugin\u0020task.", - "url": "classes/Footnotes.html#property_a_obj_task" - }, { - "fqsen": "\\Footnotes\u003A\u003A\u0024a_bool_tooltips_enabled", - "name": "a_bool_tooltips_enabled", - "summary": "Flag\u0020for\u0020using\u0020tooltips.", - "url": "classes/Footnotes.html#property_a_bool_tooltips_enabled" - }, { - "fqsen": "\\Footnotes\u003A\u003A\u0024a_bool_alternative_tooltips_enabled", - "name": "a_bool_alternative_tooltips_enabled", - "summary": "Allows\u0020to\u0020determine\u0020whether\u0020alternative\u0020tooltips\u0020are\u0020enabled.", - "url": "classes/Footnotes.html#property_a_bool_alternative_tooltips_enabled" - }, { - "fqsen": "\\Footnotes\u003A\u003A\u0024a_bool_amp_enabled", - "name": "a_bool_amp_enabled", - "summary": "Allows\u0020to\u0020determine\u0020whether\u0020AMP\u0020compatibility\u0020mode\u0020is\u0020enabled.", - "url": "classes/Footnotes.html#property_a_bool_amp_enabled" - }, { - "fqsen": "\\Footnotes\u003A\u003A\u0024a_str_script_mode", - "name": "a_str_script_mode", - "summary": "Allows\u0020to\u0020determine\u0020the\u0020script\u0020mode\u0020among\u0020jQuery\u0020or\u0020plain\u0020JS.", - "url": "classes/Footnotes.html#property_a_str_script_mode" - }, { - "fqsen": "\\Footnotes_Language", - "name": "Footnotes_Language", - "summary": "Loads\u0020text\u0020domain\u0020of\u0020current\u0020or\u0020default\u0020language\u0020for\u0020localization.", - "url": "classes/Footnotes-Language.html" - }, { - "fqsen": "\\Footnotes_Language\u003A\u003Aregister_hooks\u0028\u0029", - "name": "register_hooks", - "summary": "Register\u0020WordPress\u0020Hook.", - "url": "classes/Footnotes-Language.html#method_register_hooks" - }, { - "fqsen": "\\Footnotes_Language\u003A\u003Aload_text_domain\u0028\u0029", - "name": "load_text_domain", - "summary": "Loads\u0020the\u0020text\u0020domain\u0020for\u0020current\u0020WordPress\u0020language\u0020if\u0020exists.", - "url": "classes/Footnotes-Language.html#method_load_text_domain" - }, { - "fqsen": "\\Footnotes_Language\u003A\u003Aload\u0028\u0029", - "name": "load", - "summary": "Loads\u0020a\u0020specific\u0020text\u0020domain.", - "url": "classes/Footnotes-Language.html#method_load" + "fqsen": "\\Footnotes_Loader\u003A\u003A\u0024filters", + "name": "filters", + "summary": "The\u0020array\u0020of\u0020filters\u0020registered\u0020with\u0020WordPress.", + "url": "classes/Footnotes-Loader.html#property_filters" }, { "fqsen": "\\Footnotes_Settings", "name": "Footnotes_Settings", @@ -1100,11 +1225,136 @@ Search.appendIndex( "name": "a_arr_settings", "summary": "Contains\u0020all\u0020Settings\u0020from\u0020each\u0020Settings\u0020container\u0020as\u0020soon\u0020as\u0020this\u0020class\u0020is\u0020initialized.", "url": "classes/Footnotes-Settings.html#property_a_arr_settings" + }, { + "fqsen": "\\Footnotes_Template", + "name": "Footnotes_Template", + "summary": "Handles\u0020each\u0020Template\u0020file\u0020for\u0020the\u0020Plugin\u0020Frontend\u0020\u0028e.g.\u0020Settings\u0020Dashboard,\u0020Public\u0020pages,\u0020...\u0029.", + "url": "classes/Footnotes-Template.html" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Class\u0020Constructor.\u0020Reads\u0020and\u0020loads\u0020the\u0020template\u0020file\u0020without\u0020replace\u0020any\u0020placeholder.", + "url": "classes/Footnotes-Template.html#method___construct" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003Areplace\u0028\u0029", + "name": "replace", + "summary": "Replace\u0020all\u0020placeholders\u0020specified\u0020in\u0020array.", + "url": "classes/Footnotes-Template.html#method_replace" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003Areload\u0028\u0029", + "name": "reload", + "summary": "Reloads\u0020the\u0020original\u0020content\u0020of\u0020the\u0020template\u0020file.", + "url": "classes/Footnotes-Template.html#method_reload" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003Aget_content\u0028\u0029", + "name": "get_content", + "summary": "Returns\u0020the\u0020content\u0020of\u0020the\u0020template\u0020file\u0020with\u0020replaced\u0020placeholders.", + "url": "classes/Footnotes-Template.html#method_get_content" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003Aprocess_template\u0028\u0029", + "name": "process_template", + "summary": "Process\u0020template\u0020file.", + "url": "classes/Footnotes-Template.html#method_process_template" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003Aget_template\u0028\u0029", + "name": "get_template", + "summary": "Get\u0020the\u0020template.", + "url": "classes/Footnotes-Template.html#method_get_template" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003AC_STR_DASHBOARD", + "name": "C_STR_DASHBOARD", + "summary": "Directory\u0020name\u0020for\u0020dashboard\u0020partials.", + "url": "classes/Footnotes-Template.html#constant_C_STR_DASHBOARD" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003AC_STR_PUBLIC", + "name": "C_STR_PUBLIC", + "summary": "Directory\u0020name\u0020for\u0020public\u0020partials.", + "url": "classes/Footnotes-Template.html#constant_C_STR_PUBLIC" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003A\u0024a_str_original_content", + "name": "a_str_original_content", + "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize.", + "url": "classes/Footnotes-Template.html#property_a_str_original_content" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003A\u0024a_str_replaced_content", + "name": "a_str_replaced_content", + "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize\u0020with\u0020replaced\u0020place\u0020holders.", + "url": "classes/Footnotes-Template.html#property_a_str_replaced_content" + }, { + "fqsen": "\\Footnotes_Template\u003A\u003A\u0024plugin_directory", + "name": "plugin_directory", + "summary": "Plugin\u0020Directory", + "url": "classes/Footnotes-Template.html#property_plugin_directory" + }, { + "fqsen": "\\Footnotes_Public", + "name": "Footnotes_Public", + "summary": "The\u0020public\u002Dfacing\u0020functionality\u0020of\u0020the\u0020plugin.", + "url": "classes/Footnotes-Public.html" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Public.html#method___construct" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020public\u002Dfacing\u0020dependencies.", + "url": "classes/Footnotes-Public.html#method_load_dependencies" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003Aenqueue_styles\u0028\u0029", + "name": "enqueue_styles", + "summary": "Register\u0020the\u0020stylesheets\u0020for\u0020the\u0020public\u002Dfacing\u0020side\u0020of\u0020the\u0020site.", + "url": "classes/Footnotes-Public.html#method_enqueue_styles" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003Aenqueue_scripts\u0028\u0029", + "name": "enqueue_scripts", + "summary": "Register\u0020the\u0020JavaScript\u0020for\u0020the\u0020public\u002Dfacing\u0020side\u0020of\u0020the\u0020site.", + "url": "classes/Footnotes-Public.html#method_enqueue_scripts" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Public.html#property_plugin_name" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024version", + "name": "version", + "summary": "The\u0020version\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Public.html#property_version" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_obj_task", + "name": "a_obj_task", + "summary": "The\u0020Plugin\u0020task.", + "url": "classes/Footnotes-Public.html#property_a_obj_task" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_bool_tooltips_enabled", + "name": "a_bool_tooltips_enabled", + "summary": "Flag\u0020for\u0020using\u0020tooltips.", + "url": "classes/Footnotes-Public.html#property_a_bool_tooltips_enabled" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_bool_alternative_tooltips_enabled", + "name": "a_bool_alternative_tooltips_enabled", + "summary": "Allows\u0020to\u0020determine\u0020whether\u0020alternative\u0020tooltips\u0020are\u0020enabled.", + "url": "classes/Footnotes-Public.html#property_a_bool_alternative_tooltips_enabled" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_bool_amp_enabled", + "name": "a_bool_amp_enabled", + "summary": "Allows\u0020to\u0020determine\u0020whether\u0020AMP\u0020compatibility\u0020mode\u0020is\u0020enabled.", + "url": "classes/Footnotes-Public.html#property_a_bool_amp_enabled" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_str_script_mode", + "name": "a_str_script_mode", + "summary": "Allows\u0020to\u0020determine\u0020the\u0020script\u0020mode\u0020among\u0020jQuery\u0020or\u0020plain\u0020JS.", + "url": "classes/Footnotes-Public.html#property_a_str_script_mode" }, { "fqsen": "\\Footnotes_Task", "name": "Footnotes_Task", "summary": "Searches\u0020and\u0020replaces\u0020the\u0020footnotes\u0020and\u0020generates\u0020the\u0020reference\u0020container.", "url": "classes/Footnotes-Task.html" + }, { + "fqsen": "\\Footnotes_Task\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Task.html#method___construct" }, { "fqsen": "\\Footnotes_Task\u003A\u003Aregister_hooks\u0028\u0029", "name": "register_hooks", @@ -1285,66 +1535,6 @@ Search.appendIndex( "name": "a_bool_syntax_error_flag", "summary": "Footnote\u0020delimiter\u0020syntax\u0020validation\u0020enabled.", "url": "classes/Footnotes-Task.html#property_a_bool_syntax_error_flag" - }, { - "fqsen": "\\Footnotes_Template", - "name": "Footnotes_Template", - "summary": "Handles\u0020each\u0020Template\u0020file\u0020for\u0020the\u0020Plugin\u0020Frontend\u0020\u0028e.g.\u0020Settings\u0020Dashboard,\u0020Public\u0020pages,\u0020...\u0029.", - "url": "classes/Footnotes-Template.html" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "Class\u0020Constructor.\u0020Reads\u0020and\u0020loads\u0020the\u0020template\u0020file\u0020without\u0020replace\u0020any\u0020placeholder.", - "url": "classes/Footnotes-Template.html#method___construct" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003Areplace\u0028\u0029", - "name": "replace", - "summary": "Replace\u0020all\u0020placeholders\u0020specified\u0020in\u0020array.", - "url": "classes/Footnotes-Template.html#method_replace" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003Areload\u0028\u0029", - "name": "reload", - "summary": "Reloads\u0020the\u0020original\u0020content\u0020of\u0020the\u0020template\u0020file.", - "url": "classes/Footnotes-Template.html#method_reload" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003Aget_content\u0028\u0029", - "name": "get_content", - "summary": "Returns\u0020the\u0020content\u0020of\u0020the\u0020template\u0020file\u0020with\u0020replaced\u0020placeholders.", - "url": "classes/Footnotes-Template.html#method_get_content" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003Aprocess_template\u0028\u0029", - "name": "process_template", - "summary": "Process\u0020template\u0020file.", - "url": "classes/Footnotes-Template.html#method_process_template" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003Aget_template\u0028\u0029", - "name": "get_template", - "summary": "Get\u0020the\u0020template.", - "url": "classes/Footnotes-Template.html#method_get_template" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003AC_STR_DASHBOARD", - "name": "C_STR_DASHBOARD", - "summary": "Directory\u0020name\u0020for\u0020dashboard\u0020templates.", - "url": "classes/Footnotes-Template.html#constant_C_STR_DASHBOARD" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003AC_STR_PUBLIC", - "name": "C_STR_PUBLIC", - "summary": "Directory\u0020name\u0020for\u0020public\u0020templates.", - "url": "classes/Footnotes-Template.html#constant_C_STR_PUBLIC" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003A\u0024a_str_original_content", - "name": "a_str_original_content", - "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize.", - "url": "classes/Footnotes-Template.html#property_a_str_original_content" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003A\u0024a_str_replaced_content", - "name": "a_str_replaced_content", - "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize\u0020with\u0020replaced\u0020place\u0020holders.", - "url": "classes/Footnotes-Template.html#property_a_str_replaced_content" - }, { - "fqsen": "\\Footnotes_Template\u003A\u003A\u0024plugin_directory", - "name": "plugin_directory", - "summary": "Plugin\u0020Directory", - "url": "classes/Footnotes-Template.html#property_plugin_directory" }, { "fqsen": "\\Footnotes_Widget_Base", "name": "Footnotes_Widget_Base", @@ -1405,41 +1595,6 @@ Search.appendIndex( "name": "widget", "summary": "Outputs\u0020the\u0020Content\u0020of\u0020the\u0020Widget.", "url": "classes/Footnotes-Widget-Reference-Container.html#method_widget" - }, { - "fqsen": "\\Footnotes_WYSIWYG", - "name": "Footnotes_WYSIWYG", - "summary": "Handles\u0020the\u0020WSYIWYG\u002DButtons.", - "url": "classes/Footnotes-WYSIWYG.html" - }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Aregister_hooks\u0028\u0029", - "name": "register_hooks", - "summary": "Registers\u0020Button\u0020hooks.", - "url": "classes/Footnotes-WYSIWYG.html#method_register_hooks" - }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Anew_visual_editor_button\u0028\u0029", - "name": "new_visual_editor_button", - "summary": "Append\u0020a\u0020new\u0020Button\u0020to\u0020the\u0020WYSIWYG\u0020editor\u0020of\u0020Posts\u0020and\u0020Pages.", - "url": "classes/Footnotes-WYSIWYG.html#method_new_visual_editor_button" - }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Anew_plain_text_editor_button\u0028\u0029", - "name": "new_plain_text_editor_button", - "summary": "Add\u0020a\u0020new\u0020button\u0020to\u0020the\u0020plain\u0020text\u0020editor.", - "url": "classes/Footnotes-WYSIWYG.html#method_new_plain_text_editor_button" - }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Ainclude_scripts\u0028\u0029", - "name": "include_scripts", - "summary": "Includes\u0020the\u0020Plugins\u0020WYSIWYG\u0020editor\u0020script.", - "url": "classes/Footnotes-WYSIWYG.html#method_include_scripts" - }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Aajax_callback\u0028\u0029", - "name": "ajax_callback", - "summary": "AJAX\u0020Callback\u0020function\u0020when\u0020the\u0020Footnotes\u0020Button\u0020is\u0020clicked.\u0020Either\u0020in\u0020the\u0020Plain\u0020text\u0020or\u0020Visual\u0020editor.", - "url": "classes/Footnotes-WYSIWYG.html#method_ajax_callback" - }, { - "fqsen": "\\mci_footnotes_require_php_files\u0028\u0029", - "name": "mci_footnotes_require_php_files", - "summary": "Requires\u0020\u0028\u0060require_once\u0060\u0029\u0020all\u0020\u0060\u002A.php\u0060\u0020files\u0020inside\u0020a\u0020specific\u0020Directory.", - "url": "namespaces/default.html#function_mci_footnotes_require_php_files" }, { "fqsen": "\\", "name": "\\", diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 5a99626..00764db 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -51,9 +51,18 @@

                                                            Namespaces

                                                            -

                                                            Global

                                                            -
                                                            +
                                                            +
                                                            +

                                                            Packages

                                                            +

                                                            footnotes

                                                            + +

                                                            Default

                                                            +

                                                            Reports

                                                            @@ -84,34 +93,42 @@
                                                            +
                                                            Footnotes_Activator
                                                            +
                                                            Fired during plugin activation.
                                                            +
                                                            Footnotes_Deactivator
                                                            +
                                                            Fired during plugin deactivation.
                                                            +
                                                            Footnotes
                                                            +
                                                            The core plugin class.
                                                            +
                                                            Footnotes_Admin
                                                            +
                                                            The admin-specific functionality of the plugin.
                                                            +
                                                            Footnotes_WYSIWYG
                                                            +
                                                            Handles the WSYIWYG-Buttons.
                                                            +
                                                            Footnotes_Layout_Engine
                                                            +
                                                            Layout Engine for the administration dashboard.
                                                            +
                                                            Footnotes_Layout_Init
                                                            +
                                                            Handles the Settings interface of the Plugin.
                                                            +
                                                            Footnotes_Layout_Settings
                                                            +
                                                            Displays and handles all Settings of the Plugin.
                                                            Footnotes_Config
                                                            Contains all Plugin Constants. Contains no Method or Property.
                                                            Footnotes_Convert
                                                            Converts data types and Footnotes specific values.
                                                            -
                                                            Footnotes_Layout_Init
                                                            -
                                                            Handles the Settings interface of the Plugin.
                                                            -
                                                            Footnotes_Layout_Engine
                                                            -
                                                            Layout Engine for the administration dashboard.
                                                            -
                                                            Footnotes_Layout_Settings
                                                            -
                                                            Displays and handles all Settings of the Plugin.
                                                            -
                                                            Footnotes_Hooks
                                                            -
                                                            Registers all WordPress hooks and executes them on demand.
                                                            -
                                                            Footnotes
                                                            -
                                                            Provides an entry point to the Plugin.
                                                            -
                                                            Footnotes_Language
                                                            -
                                                            Loads text domain of current or default language for localization.
                                                            +
                                                            Footnotes_i18n
                                                            +
                                                            Define the internationalization functionality.
                                                            +
                                                            Footnotes_Loader
                                                            +
                                                            Register all actions and filters for the plugin.
                                                            Footnotes_Settings
                                                            Loads the settings values, sets to default values if undefined.
                                                            -
                                                            Footnotes_Task
                                                            -
                                                            Searches and replaces the footnotes and generates the reference container.
                                                            Footnotes_Template
                                                            Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                            +
                                                            Footnotes_Public
                                                            +
                                                            The public-facing functionality of the plugin.
                                                            +
                                                            Footnotes_Task
                                                            +
                                                            Searches and replaces the footnotes and generates the reference container.
                                                            Footnotes_Widget_Base
                                                            Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                            Footnotes_Widget_Reference_Container
                                                            Registers a Widget to put the Reference Container to the widget area.
                                                            -
                                                            Footnotes_WYSIWYG
                                                            -
                                                            Handles the WSYIWYG-Buttons.
                                                            @@ -123,11 +140,25 @@
                                                            - mci_footnotes_require_php_files() + activate_footnotes()  : mixed
                                                            -
                                                            Requires (`require_once`) all `*.php` files inside a specific Directory.
                                                            +
                                                            The code that runs during plugin activation.
                                                            + +
                                                            + deactivate_plugin_name() + +  : mixed +
                                                            +
                                                            The code that runs during plugin deactivation.
                                                            + +
                                                            + run_footnotes() + +  : mixed +
                                                            +
                                                            Begins execution of the plugin.
                                                            @@ -139,57 +170,89 @@
                                                            -

                                                            - mci_footnotes_require_php_files() - +

                                                            + activate_footnotes() +

                                                            -

                                                            Requires (`require_once`) all `*.php` files inside a specific Directory.

                                                            +

                                                            The code that runs during plugin activation.

                                                            - mci_footnotes_require_php_files(string $p_str_directory) : mixed + activate_footnotes() : mixed -
                                                            - -
                                                            Parameters
                                                            -
                                                            -
                                                            - $p_str_directory - : string -
                                                            -
                                                            -

                                                            Absolute Directory path to lookup for *.php files.

                                                            +

                                                            This action is documented in includes/class-plugin-name-activator.php

                                                            -
                                                            -
                                                            + + +
                                                            +
                                                            +

                                                            + deactivate_plugin_name() + +

                                                            + + +

                                                            The code that runs during plugin deactivation.

                                                            + + + + deactivate_plugin_name() : mixed + +

                                                            This action is documented in includes/class-plugin-name-deactivator.php

                                                            +
                                                            + + + + + +
                                                            +
                                                            +

                                                            + run_footnotes() + +

                                                            + + +

                                                            Begins execution of the plugin.

                                                            + + + + run_footnotes() : mixed + +

                                                            Since everything within the plugin is registered via hooks, +then kicking off the plugin from this point in the file does +not affect the page life cycle.

                                                            +
                                                            + + +
                                                            Tags
                                                            - author -
                                                            -
                                                            - -

                                                            Stefan Herndler

                                                            -
                                                            - -
                                                            -
                                                            since
                                                            - 1.5.0 + 2.8.0
                                                            diff --git a/docs/packages/Default.html b/docs/packages/Default.html new file mode 100644 index 0000000..d3d3168 --- /dev/null +++ b/docs/packages/Default.html @@ -0,0 +1,117 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                            +

                                                            Documentation

                                                            + + + + + +
                                                            + +
                                                            +
                                                            + + + + +
                                                            +
                                                              +
                                                            + +
                                                            +

                                                            Default

                                                            + + + + + + + + + +
                                                            +
                                                            +
                                                            +
                                                            +

                                                            Search results

                                                            + +
                                                            +
                                                            +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              + + +
                                                              + + + + diff --git a/docs/packages/default.html b/docs/packages/default.html index 7d8bcbd..1b1ea46 100644 --- a/docs/packages/default.html +++ b/docs/packages/default.html @@ -51,9 +51,18 @@

                                                              Namespaces

                                                              -

                                                              Global

                                                              -
                                                              +
                                                              +
                                                              +

                                                              Packages

                                                              +

                                                              footnotes

                                                              + +

                                                              Default

                                                              +

                                                              Reports

                                                              @@ -82,6 +91,7 @@
                                                              footnotes
                                                              +
                                                              Default
                                                              diff --git a/docs/packages/footnotes-footnotesadmin.html b/docs/packages/footnotes-footnotesadmin.html new file mode 100644 index 0000000..cdf4e42 --- /dev/null +++ b/docs/packages/footnotes-footnotesadmin.html @@ -0,0 +1,129 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                              +

                                                              Documentation

                                                              + + + + + +
                                                              + +
                                                              +
                                                              + + + + +
                                                              + + +
                                                              +

                                                              footnotesadmin

                                                              + + + +

                                                              + Interfaces, Classes and Traits + +

                                                              + +
                                                              + +
                                                              Footnotes_Admin
                                                              +
                                                              The admin-specific functionality of the plugin.
                                                              + +
                                                              + + + + + + +
                                                              +
                                                              +
                                                              +
                                                              +

                                                              Search results

                                                              + +
                                                              +
                                                              +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                + + +
                                                                + + + + diff --git a/docs/packages/footnotes-footnotesincludes.html b/docs/packages/footnotes-footnotesincludes.html new file mode 100644 index 0000000..5550b48 --- /dev/null +++ b/docs/packages/footnotes-footnotesincludes.html @@ -0,0 +1,137 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                +

                                                                Documentation

                                                                + + + + + +
                                                                + +
                                                                +
                                                                + + + + +
                                                                + + + +
                                                                +
                                                                +
                                                                +

                                                                Search results

                                                                + +
                                                                +
                                                                +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  + + +
                                                                  + + + + diff --git a/docs/packages/footnotes-footnotespublic.html b/docs/packages/footnotes-footnotespublic.html new file mode 100644 index 0000000..4ecfc5a --- /dev/null +++ b/docs/packages/footnotes-footnotespublic.html @@ -0,0 +1,129 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                  +

                                                                  Documentation

                                                                  + + + + + +
                                                                  + +
                                                                  +
                                                                  + + + + +
                                                                  + + +
                                                                  +

                                                                  footnotespublic

                                                                  + + + +

                                                                  + Interfaces, Classes and Traits + +

                                                                  + +
                                                                  + +
                                                                  Footnotes_Public
                                                                  +
                                                                  The public-facing functionality of the plugin.
                                                                  + +
                                                                  + + + + + + +
                                                                  +
                                                                  +
                                                                  +
                                                                  +

                                                                  Search results

                                                                  + +
                                                                  +
                                                                  +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    + + +
                                                                    + + + + diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index fcac0e8..eba3109 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -51,9 +51,18 @@

                                                                    Namespaces

                                                                    -

                                                                    Global

                                                                    -
                                                                    +
                                                                    +
                                                                    +

                                                                    Packages

                                                                    +

                                                                    footnotes

                                                                    + +

                                                                    Default

                                                                    +

                                                                    Reports

                                                                    @@ -81,7 +90,9 @@
                                                                    -
                                                                    WPDashboard
                                                                    +
                                                                    footnotesincludes
                                                                    +
                                                                    footnotesadmin
                                                                    +
                                                                    footnotespublic
                                                                    @@ -92,34 +103,28 @@
                                                                    +
                                                                    Footnotes_WYSIWYG
                                                                    +
                                                                    Handles the WSYIWYG-Buttons.
                                                                    +
                                                                    Footnotes_Layout_Engine
                                                                    +
                                                                    Layout Engine for the administration dashboard.
                                                                    +
                                                                    Footnotes_Layout_Init
                                                                    +
                                                                    Handles the Settings interface of the Plugin.
                                                                    +
                                                                    Footnotes_Layout_Settings
                                                                    +
                                                                    Displays and handles all Settings of the Plugin.
                                                                    Footnotes_Config
                                                                    Contains all Plugin Constants. Contains no Method or Property.
                                                                    Footnotes_Convert
                                                                    Converts data types and Footnotes specific values.
                                                                    -
                                                                    Footnotes_Layout_Init
                                                                    -
                                                                    Handles the Settings interface of the Plugin.
                                                                    -
                                                                    Footnotes_Layout_Engine
                                                                    -
                                                                    Layout Engine for the administration dashboard.
                                                                    -
                                                                    Footnotes_Layout_Settings
                                                                    -
                                                                    Displays and handles all Settings of the Plugin.
                                                                    -
                                                                    Footnotes_Hooks
                                                                    -
                                                                    Registers all WordPress hooks and executes them on demand.
                                                                    -
                                                                    Footnotes
                                                                    -
                                                                    Provides an entry point to the Plugin.
                                                                    -
                                                                    Footnotes_Language
                                                                    -
                                                                    Loads text domain of current or default language for localization.
                                                                    Footnotes_Settings
                                                                    Loads the settings values, sets to default values if undefined.
                                                                    -
                                                                    Footnotes_Task
                                                                    -
                                                                    Searches and replaces the footnotes and generates the reference container.
                                                                    Footnotes_Template
                                                                    Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                                    +
                                                                    Footnotes_Task
                                                                    +
                                                                    Searches and replaces the footnotes and generates the reference container.
                                                                    Footnotes_Widget_Base
                                                                    Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                    Footnotes_Widget_Reference_Container
                                                                    Registers a Widget to put the Reference Container to the widget area.
                                                                    -
                                                                    Footnotes_WYSIWYG
                                                                    -
                                                                    Handles the WSYIWYG-Buttons.
                                                                    @@ -131,11 +136,25 @@
                                                                    - mci_footnotes_require_php_files() + activate_footnotes()  : mixed
                                                                    -
                                                                    Requires (`require_once`) all `*.php` files inside a specific Directory.
                                                                    +
                                                                    The code that runs during plugin activation.
                                                                    + +
                                                                    + deactivate_plugin_name() + +  : mixed +
                                                                    +
                                                                    The code that runs during plugin deactivation.
                                                                    + +
                                                                    + run_footnotes() + +  : mixed +
                                                                    +
                                                                    Begins execution of the plugin.
                                                                    @@ -147,57 +166,89 @@
                                                                    -

                                                                    - mci_footnotes_require_php_files() - +

                                                                    + activate_footnotes() +

                                                                    -

                                                                    Requires (`require_once`) all `*.php` files inside a specific Directory.

                                                                    +

                                                                    The code that runs during plugin activation.

                                                                    - mci_footnotes_require_php_files(string $p_str_directory) : mixed + activate_footnotes() : mixed -
                                                                    - -
                                                                    Parameters
                                                                    -
                                                                    -
                                                                    - $p_str_directory - : string -
                                                                    -
                                                                    -

                                                                    Absolute Directory path to lookup for *.php files.

                                                                    +

                                                                    This action is documented in includes/class-plugin-name-activator.php

                                                                    -
                                                                    -
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + deactivate_plugin_name() + +

                                                                    + + +

                                                                    The code that runs during plugin deactivation.

                                                                    + + + + deactivate_plugin_name() : mixed + +

                                                                    This action is documented in includes/class-plugin-name-deactivator.php

                                                                    +
                                                                    + + + + + +
                                                                    +
                                                                    +

                                                                    + run_footnotes() + +

                                                                    + + +

                                                                    Begins execution of the plugin.

                                                                    + + + + run_footnotes() : mixed + +

                                                                    Since everything within the plugin is registered via hooks, +then kicking off the plugin from this point in the file does +not affect the page life cycle.

                                                                    +
                                                                    + + +
                                                                    Tags
                                                                    - author -
                                                                    -
                                                                    - -

                                                                    Stefan Herndler

                                                                    -
                                                                    - -
                                                                    -
                                                                    since
                                                                    - 1.5.0 + 2.8.0
                                                                    diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index 31e5420..a499816 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -52,9 +52,18 @@

                                                                    Namespaces

                                                                    -

                                                                    Global

                                                                    -
                                                                    +
                                                                    +
                                                                    +

                                                                    Packages

                                                                    +

                                                                    footnotes

                                                                    + +

                                                                    Default

                                                                    +

                                                                    Reports

                                                                    diff --git a/docs/reports/errors.html b/docs/reports/errors.html index 3260cda..82b1d2a 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -52,9 +52,18 @@

                                                                    Namespaces

                                                                    -

                                                                    Global

                                                                    -
                                                                    +
                                                                    +
                                                                    +

                                                                    Packages

                                                                    +

                                                                    footnotes

                                                                    + +

                                                                    Default

                                                                    +

                                                                    Reports

                                                                    @@ -80,18 +89,14 @@

                                                                    Table of Contents

                                                                    - - - - - +
                                                                    src/class/dashboard/subpage-main.php1
                                                                    src/class/language.phpsrc/admin/layout/class-footnotes-layout-settings.php 1
                                                                    - -

                                                                    subpage-main.php

                                                                    + +

                                                                    class-footnotes-layout-settings.php

                                                                    @@ -104,25 +109,7 @@ - - - -
                                                                    ERROR 0Tag "see" with body "@see templates/dashboard/customize-css.html" has error "\templates/dashboard/customize-css.html" is not a valid Fqsen.
                                                                    - -

                                                                    language.php

                                                                    - - - - - - - - - - - - - +
                                                                    TypeLineDescription
                                                                    ERROR0Tag "see" with body "@see wp-includes/l10n.php:857" has error "\wp-includes/l10n.php:857" is not a valid Fqsen.Tag "see" with body "@see admin/partials/customize-css.html" has error "\admin/partials/customize-css.html" is not a valid Fqsen.
                                                                    diff --git a/docs/reports/markers.html b/docs/reports/markers.html index fffdf71..aa69429 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -52,9 +52,18 @@

                                                                    Namespaces

                                                                    -

                                                                    Global

                                                                    -
                                                                    +
                                                                    +
                                                                    +

                                                                    Packages

                                                                    +

                                                                    footnotes

                                                                    + +

                                                                    Default

                                                                    +

                                                                    Reports

                                                                    From aa9a86e193fb92b2ea2cb0e9ac5b1427952a9f88 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:26:10 +0100 Subject: [PATCH 29/99] refactor: move logo styling to `includes/` --- _tools/build-stylesheets.sh | 2 +- src/includes/css/logo.css | 32 ++++++++++++++++++++++++++++++++ src/public/css/dev-common.css | 32 -------------------------------- 3 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 src/includes/css/logo.css diff --git a/_tools/build-stylesheets.sh b/_tools/build-stylesheets.sh index 73650d8..f7177bc 100755 --- a/_tools/build-stylesheets.sh +++ b/_tools/build-stylesheets.sh @@ -39,7 +39,7 @@ if [[ $1 == "-c" ]]; then cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./dist/public/css/footnotes-amptbrpl2.css cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./dist/public/css/footnotes-amptbrpl3.css - cat ./src/admin/css/settings.css > ./dist/admin/css/settings.css + cat ./src/{admin/css/settings,includes/css/logo}.css > ./dist/admin/css/settings.css echo "Stylesheet concatenation complete." exit 0 diff --git a/src/includes/css/logo.css b/src/includes/css/logo.css new file mode 100644 index 0000000..68f1ef2 --- /dev/null +++ b/src/includes/css/logo.css @@ -0,0 +1,32 @@ +/* Date: Tue, 27 Apr 2021 08:27:49 +0100 Subject: [PATCH 30/99] refactor: rename `Footnotes_Task` to `Footnotes_Parser` --- ...es-task.php => class-footnotes-parser.php} | 84 ++----------------- src/public/class-footnotes-public.php | 8 +- 2 files changed, 11 insertions(+), 81 deletions(-) rename src/public/{class-footnotes-task.php => class-footnotes-parser.php} (92%) diff --git a/src/public/class-footnotes-task.php b/src/public/class-footnotes-parser.php similarity index 92% rename from src/public/class-footnotes-task.php rename to src/public/class-footnotes-parser.php index 57888df..2e5431a 100644 --- a/src/public/class-footnotes-task.php +++ b/src/public/class-footnotes-parser.php @@ -2,92 +2,22 @@ /** * Includes the core function of the Plugin - Search and Replace the Footnotes. * - * @filesource - * @package footnotes * @since 1.5.0 + * @since 2.0.5 Update: Hooks: Default-enable all hooks to prevent footnotes from seeming broken in some parts. + * @since 2.2.0 Adding: Reference container: support for custom position shortcode, thanks to @hamshe issue report. + * @since 2.8.0 Rename class from `Footnotes_Task` to `Footnotes_Parser`. * - * @since 2.0.0 Bugfix: various. - * @since 2.0.4 Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report. - * @since 2.0.5 Bugfix: Reference container: fix relative position through priority level, thanks to @june01 @imeson @spaceling bug reports, thanks to @spaceling code contribution. - * @since 2.0.5 Update: Hooks: Default-enable all hooks to prevent footnotes from seeming broken in some parts. - * @since 2.0.6 Bugfix: Infinite scroll: debug autoload by adding post ID, thanks to @docteurfitness issue report and code contribution. - * @since 2.0.6 Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugin’s responsibility). - * @since 2.0.6 Bugfix: Reference container: fix line breaking behavior in footnote number clusters. - * @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports. - * @since 2.0.9 Bugfix: Remove the_post hook. - * @since 2.1.0 Adding: Tooltips: Read-on button: Label: configurable instead of localizable, thanks to @rovanov example provision. - * @since 2.1.1 Bugfix: Referrers, reference container: Combining identical footnotes: fix dead links and ensure referrer-backlink bijectivity, thanks to @happyches bug report. - * @since 2.1.1 Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report. - * @since 2.1.1 Bugfix: Referrers: new setting for vertical align: superscript (default) or baseline (optional), thanks to @cwbayer bug report. - * @since 2.1.1 Bugfix: Reference container: option to append symbol (prepended by default), thanks to @spaceling code contribution. - * @since 2.1.1 Bugfix: Reference container: Backlink symbol: make optional, not suggest configuring it to invisible, thanks to @spaceling feedback. - * @since 2.1.1 Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report. - * @since 2.1.1 Bugfix: Tooltips: optional alternative JS implementation with CSS transitions to fix configuration-related outage, thanks to @andreasra feedback. - * @since 2.1.1 Bugfix: Reference container: option to restore pre-2.0.0 layout with the backlink symbol in an extra column. - * @since 2.1.2 Bugfix: Dashboard: priority level settings for all other hooks, thanks to @nikelaos bug report. - * @since 2.1.3 Bugfix: Reference container: fix width in mobile view by URL wrapping for Unicode-non-conformant browsers, thanks to @karolszakiel bug report. - * @since 2.1.4 Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues. - * @since 2.1.4 Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on. - * @since 2.1.4 Bugfix: Reference container: make separating and terminating punctuation optional and configurable, thanks to @docteurfitness issue report and code contribution. - * @since 2.1.4 Bugfix: Reference container: Backlinks: fix stacked enumerations by adding optional line breaks. - * @since 2.1.4 Bugfix: Reference container: fix layout issues by moving backlink column width to settings. - * @since 2.1.4 Bugfix: Styling: Tooltips: fix font size issue by adding font size to settings with legacy as default. - * @since 2.1.4 Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers. - * @since 2.1.4 Bugfix: Scroll duration: make configurable to conform to website content and style requirements. - * @since 2.1.4 Bugfix: Tooltips: make display delays and fade durations configurable to conform to website style. - * @since 2.1.4 Bugfix: Referrers and backlinks: Styling: make link elements optional to fix issues, thanks to @docteurfitness issue report and code contribution. - * @since 2.1.4 Bugfix: Reference container, tooltips: fix line wrapping of URLs (hyperlinked or not) based on pattern, not link element. - * @since 2.1.4 Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on. - * @since 2.1.4 Bugfix: Reference container: Backlinks: fix line breaking with respect to separators and terminators. - * @since 2.1.5 Bugfix: Reference container, tooltips: URL wrap: exclude image source too, thanks to @bjrnet21 bug report. - * @since 2.1.6 Bugfix: Reference container, tooltips: URL wrap: fix regex, thanks to @a223123131 bug report. - * @since 2.1.6 Bugfix: Dashboard: URL wrap: add option to properly enable/disable URL wrap. - * @since 2.2.0 Adding: Reference container: support for custom position shortcode, thanks to @hamshe issue report. - * @since 2.2.3 Bugfix: Custom CSS: insert new CSS in the public page header element after existing CSS. - * @since 2.2.5 Bugfix: Reference container: delete position shortcode if unused because position may be widget or footer, thanks to @hamshe bug report. - * @since 2.2.5 Bugfix: Reference container: Label: make bottom border an option, thanks to @markhillyer issue report. - * @since 2.2.5 Bugfix: Reference container: Label: option to select paragraph or heading element, thanks to @markhillyer issue report. - * @since 2.2.5 Update: Tooltips: Alternative tooltips: connect to position/timing settings (for themes not supporting jQuery tooltips). - * @since 2.2.6 Bugfix: Reference container, tooltips: URL wrap: make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report. - * @since 2.2.7 Bugfix: Reference container, tooltips: URL wrap: remove a bug introduced in the regex, thanks to @rjl20 @spaceling @lukashuggenberg @klusik @friedrichnorth @bernardzit bug reports. - * @since 2.2.8 Bugfix: Reference container, tooltips: URL wrap: correctly make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report. - * @since 2.2.9 Bugfix: Reference container, tooltips: URL wrap: account for RFC 2396 allowed characters in parameter names. - * @since 2.2.9 Bugfix: Reference container, widget_text hook: support for multiple containers in a page, thanks to @justbecuz bug report. - * @since 2.2.9 Bugfix: Reference container, tooltips: URL wrap: exclude URLs also where the equals sign is preceded by an entity or character reference. - * @since 2.2.10 Bugfix: Reference container: add option for table borders to restore pre-2.0.0 design, thanks to @noobishh issue report. - * @since 2.2.10 Bugfix: Reference container, tooltips: URL wrap: support also file transfer protocol URLs. - * @since 2.3.0 Bugfix: Reference container: convert top padding to margin and make it a setting, thanks to @hamshe bug report. - * @since 2.3.0 Adding: Referrers and backlinks: optional hard links for AMP compatibility, thanks to @psykonevro issue report, thanks to @martinneumannat issue report and code contribution. - * @since 2.3.0 Bugfix: Dashboard: Custom CSS: swap migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints. - * @since 2.4.0 Adding: Footnote delimiters: syntax validation for balanced footnote start and end tag short codes. - * @since 2.4.0 Bugfix: Scroll offset: initialize to safer one third window height for more robustness, thanks to @lukashuggenberg bug report. - * @since 2.4.0 Bugfix: Reference container: Label: set empty label to U+202F NNBSP for more robustness, thanks to @lukashuggenberg feedback. - * @since 2.4.0 Bugfix: Templates: optimize template load and processing based on settings, thanks to @misfist code contribution. - * @since 2.4.0 Bugfix: Process: initialize hard link address variables to empty string to fix 'undefined variable' bug, thanks to @a223123131 bug report. - * @since 2.5.0 Bugfix: Hooks: support footnotes on category pages, thanks to @vitaefit bug report, thanks to @misfist code contribution. - * @since 2.5.0 Bugfix: Footnote delimiters: Syntax validation: exclude certain cases involving scripts, thanks to @andreasra bug report. - * @since 2.5.0 Bugfix: Footnote delimiters: Syntax validation: complete message with hint about setting, thanks to @andreasra bug report. - * @since 2.5.0 Bugfix: Footnote delimiters: Syntax validation: limit length of quoted string to 300 characters, thanks to @andreasra bug report. - * @since 2.5.1 Bugfix: Hooks: support footnotes in Popup Maker popups, thanks to @squatcher bug report. - * @since 2.5.2 Update: Tooltips: ability to display dedicated content before `[[/tooltip]]`, thanks to @jbj2199 issue report. - * @since 2.5.3 Bugfix: Reference container, tooltips: URL wrap: exclude URL pattern as folder name in Wayback Machine URL, thanks to @rumperuu bug report. - * @since 2.5.4 Bugfix: Referrers: optional fixes to vertical alignment, font size and position (static) for in-theme consistency and cross-theme stability, thanks to @tomturowski bug report. - * @since 2.5.4 Bugfix: Reference container, tooltips: URL wrap: account for leading space in value, thanks to @karolszakiel example provision. - * @since 2.5.4 Update: Reference container: Hard backlinks (optional): optional configurable tooltip hinting to use the backbutton instead, thanks to @theroninjedi47 bug report. - * @since 2.5.4 Bugfix: Tooltips: fix display in Popup Maker popups by correcting a coding error. - * @since 2.5.5 Bugfix: Process: fix numbering bug impacting footnote #2 with footnote #1 close to start, thanks to @rumperuu bug report, thanks to @lolzim code contribution. - * @since 2.5.6 Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it @pkverma99 issue reports. - * @since 2.5.7 Bugfix: Process: fix footnote duplication by emptying the footnotes list every time the search algorithm is run on the content, thanks to @inoruhana bug report. - * @since 2.5.11 Bugfix: Forms: remove footnotes from input field values, thanks to @bogosavljev bug report. - * @since 2.5.14 Bugfix: Footnote delimiter short codes: fix numbering bug by cross-editor HTML escapement schema harmonization, thanks to @patrick_here @alifarahani8000 @gova bug reports. + * @package footnotes + * @subpackage footnotes/public */ /** * Searches and replaces the footnotes and generates the reference container. * * @since 1.5.0 + * @since 2.8.0 Rename class from `Footnotes_Task` to `Footnotes_Parser`. */ -class Footnotes_Task { +class Footnotes_Parser { /** * Contains all footnotes found in the searched content. diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 598fb65..05bb174 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -110,8 +110,8 @@ class Footnotes_Public { * Include the following files that provide the public-facing functionality * of this plugin: * - * - `Footnotes_Task`. TODO - * - `Footnotes_Widget_Reference_Container`. TODO + * - `Footnotes_Parser`. Parses Posts and Pages for footnote shortcodes. + * - `Footnotes_Widget_Reference_Container`. Defines the Reference Container widget. * * @since 2.8.0 * @access private @@ -122,10 +122,10 @@ class Footnotes_Public { require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; - require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-task.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-parser.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-base.php'; - $this->a_obj_task = new Footnotes_Task(); + $this->a_obj_task = new Footnotes_Parser(); } /** From 332f4b8284cc5ea54e4d581cc178c60938d1f3b7 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:29:19 +0100 Subject: [PATCH 31/99] style: add styling to menu link --- src/admin/layout/class-footnotes-layout-init.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index b4d9e7a..9d2ed4e 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -25,14 +25,6 @@ class Footnotes_Layout_Init { */ const C_STR_MAIN_MENU_SLUG = 'footnotes'; - /** - * Plugin main menu name. - * - * @since 1.5.0 - * @var string - */ - const C_STR_MAIN_MENU_TITLE = 'ManFisher'; - /** * Contains the settings layoutEngine * @@ -77,9 +69,9 @@ class Footnotes_Layout_Init { add_submenu_page( 'options-general.php', 'footnotes Settings', - self::C_STR_MAIN_MENU_SLUG, + Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME, 'manage_options', - 'footnotes', + self::C_STR_MAIN_MENU_SLUG, array( $this->settings_page, 'display_content' ) ); $this->settings_page->register_sub_page(); From 100a815cd5106501fd87f49ec575aba941ca270a Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:31:37 +0100 Subject: [PATCH 32/99] docs: update docblocks --- src/admin/class-footnotes-admin.php | 12 +++-- .../layout/class-footnotes-layout-init.php | 5 +- .../class-footnotes-layout-settings.php | 6 +-- src/includes/class-footnotes-config.php | 6 +-- src/includes/class-footnotes-convert.php | 6 +-- src/includes/class-footnotes-settings.php | 9 ++-- src/includes/class-footnotes-template.php | 6 +-- src/includes/class-footnotes.php | 17 +++++-- src/public/class-footnotes-public.php | 51 ++++++------------- .../widget/class-footnotes-widget-base.php | 6 +-- ...s-footnotes-widget-reference-container.php | 7 +-- 11 files changed, 64 insertions(+), 67 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index 687b7c2..0eb8fe0 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -59,15 +59,21 @@ class Footnotes_Admin { * Include the following files that provide the admin-specific functionality * of this plugin: * - * - `Footnotes_WYSIWYG`. TODO - * - `Footnotes_Layout_Settings`. TODO + * - `Footnotes_WYSIWYG`. Provides plugin integration with the WYSIWYG editor. + * - `Footnotes_Layout_Settings`. Defines the plugin dashboard page(s). * * @since 2.8.0 * @access private */ private function load_dependencies() { - // TODO: neaten up and document once placements and names are settled. + /** + * The class responsible for WYSIWYG editor integration. + */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; + + /** + * The class responsible for constructing the plugin dashboard page(s). + */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/layout/class-footnotes-layout-init.php'; new Footnotes_Layout_Init(); diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index 9d2ed4e..94150ed 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -2,9 +2,10 @@ /** * Includes the Plugin settings menu. * - * @filesource - * @package footnotes * @since 1.5.0 + * + * @package footnotes + * @subpackage footnotes/admin */ require_once dirname( __FILE__, 3 ) . '/includes/class-footnotes-settings.php'; diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index d25293d..b606b71 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -2,10 +2,7 @@ /** * Includes the Plugin Class to display all Settings. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 2.0.4 restore arrow settings * @since 2.1.0 read-on button label * @since 2.1.1 options for ref container and alternative tooltips @@ -39,6 +36,9 @@ * @since 2.4.0 footnote shortcode syntax validation * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ + * + * @package footnotes + * @subpackage footnotes/admin/layout */ require_once dirname( __FILE__ ) . '/class-footnotes-layout-engine.php'; diff --git a/src/includes/class-footnotes-config.php b/src/includes/class-footnotes-config.php index 192cfc8..2440fa8 100644 --- a/src/includes/class-footnotes-config.php +++ b/src/includes/class-footnotes-config.php @@ -2,11 +2,11 @@ /** * Includes the Plugin Constants class to load all Plugin constant vars like Plugin name, etc. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 2.0.4 add Public Plugin name for dashboard heading + * + * @package footnotes + * @sunpackage footnotes/includes */ /** diff --git a/src/includes/class-footnotes-convert.php b/src/includes/class-footnotes-convert.php index 47cf84b..2cfda17 100644 --- a/src/includes/class-footnotes-convert.php +++ b/src/includes/class-footnotes-convert.php @@ -2,11 +2,11 @@ /** * Includes the Convert Class. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 2.2.0 add lowercase Roman + * + * @package footnotes + * @sunpackage footnotes/includes */ /** diff --git a/src/includes/class-footnotes-settings.php b/src/includes/class-footnotes-settings.php index 1eb7f3f..b93f4cb 100644 --- a/src/includes/class-footnotes-settings.php +++ b/src/includes/class-footnotes-settings.php @@ -2,15 +2,16 @@ /** * Includes the Settings class to handle all Plugin settings. * - * @filesource - * @package footnotes - * @since 1.5.0 - * * The constants are ordered by ascending version so their docblocks can replace most of this list. + * + * @since 1.5.0 * @since 2.0.0 Update: **symbol for backlinks** removed; hyperlink moved to the reference number. * @since 2.0.4 Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report. * @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports. * @since 2.1.3 Bugfix: Hooks: disable the_excerpt hook by default to fix issues, thanks to @nikelaos bug report. + * + * @package footnotes + * @subpackage footnotes/includes */ require_once dirname( __FILE__ ) . '/class-footnotes-convert.php'; diff --git a/src/includes/class-footnotes-template.php b/src/includes/class-footnotes-template.php index 5860833..5f6088e 100644 --- a/src/includes/class-footnotes-template.php +++ b/src/includes/class-footnotes-template.php @@ -2,12 +2,12 @@ /** * Includes the Template Engine to load and handle all Template files of the Plugin. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 2.2.6 Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report. * @since 2.5.0 Adding: Templates: Enable template location stack, thanks to @misfist issue report and code contribution. + * + * @package footnotes + * @subpackage footnotes/includes */ /** diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index a6f4769..14ae38a 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -82,10 +82,14 @@ class Footnotes { * * Include the following files that make up the plugin: * - * - Footnotes_Loader. Orchestrates the hooks of the plugin. - * - Footnotes_i18n. Defines internationalization functionality. - * - Footnotes_Admin. Defines all hooks for the admin area. - * - Footnotes_Public. Defines all hooks for the public side of the site. + * - `Footnotes_Loader`. Orchestrates the hooks of the plugin. + * - `Footnotes_i18n`. Defines internationalization functionality. + * - `Footnotes_Config`. Defines plugin details. + * - `Footnotes_Convert`. Provides conversion methods. + * - `Footnotes_Settings`. Defines customisable plugin settings. + * - `Footnotes_Template`. Handles template rendering. + * - `Footnotes_Admin`. Defines all hooks for the admin area. + * - `Footnotes_Public`. Defines all hooks for the public side of the site. * * Create an instance of the loader which will be used to register the hooks * with WordPress. @@ -106,7 +110,10 @@ class Footnotes { * of the plugin. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php'; - // TODO: neaten up and document once placements and names are settled. + + /** + * The various utility classes. + */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 05bb174..3067ef2 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -41,7 +41,7 @@ class Footnotes_Public { * The Plugin task. * * @since 1.5.0 - * @since 2.8.0 Moved to `Footnotes_Public` class. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. * @var Task $task The Plugin task. */ public $a_obj_task = null; @@ -50,7 +50,7 @@ class Footnotes_Public { * Flag for using tooltips. * * @since 2.4.0 - * @since 2.8.0 Moved to `Footnotes_Public` class. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. * @var bool $tooltips_enabled Whether tooltips are enabled or not. */ public static $a_bool_tooltips_enabled = false; @@ -59,7 +59,7 @@ class Footnotes_Public { * Allows to determine whether alternative tooltips are enabled. * * @since 2.1.1 - * @since 2.8.0 Moved to `Footnotes_Public` class. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. * @var bool */ public static $a_bool_alternative_tooltips_enabled = false; @@ -68,7 +68,7 @@ class Footnotes_Public { * Allows to determine whether AMP compatibility mode is enabled. * * @since 2.6.0 (release) - * @since 2.8.0 Moved to `Footnotes_Public` class. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. * @var bool */ public static $a_bool_amp_enabled = false; @@ -77,7 +77,7 @@ class Footnotes_Public { * Allows to determine the script mode among jQuery or plain JS. * * @since 2.5.6 - * @since 2.8.0 Moved to `Footnotes_Public` class. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. * @var str 'js' Plain JavaScript. * 'jquery' Use jQuery libraries. */ @@ -131,33 +131,15 @@ class Footnotes_Public { /** * Register the stylesheets for the public-facing side of the site. * - * @since 2.8.0 + * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` + * is true (set in `footnotes.php`). + * + * @since 1.5.0 + * @since 2.5.5 Change stylesheet scheme. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. */ public function enqueue_styles() { - /** - * Enables enqueuing a new-scheme stylesheet. - * - * Enables enqueuing the formatted individual stylesheets if false. - * WARNING: This facility is designed for development and must NOT be used in production. - * - * The Boolean may be set at the bottom of the plugin's main PHP file. - * - * @see footnotes.php - * - * @since 2.5.5 - * @since 2.8.0 Moved into `Footnotes_Public` class. - */ if ( PRODUCTION_ENV ) { - - /** - * Enqueues a minified united external stylesheet in production. - * - * The media scope argument 'all' is the default. - * No need to use '-css' in the handle, as this is appended automatically. - * - * @since 2.5.5 - * @since 2.8.0 Moved into `Footnotes_Public` class. - */ // Set tooltip mode for use in stylesheet name. if ( self::$a_bool_tooltips_enabled ) { @@ -215,7 +197,11 @@ class Footnotes_Public { /** * Register the JavaScript for the public-facing side of the site. * - * @since 2.8.0 + * @since 1.5.0 + * @since 2.0.0 Add jQueryUI dependency. + * @since 2.1.2 Add jQuery Tools dependency. + * @since 2.5.6 Add jQuery dependency. + * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. */ public function enqueue_scripts() { /** @@ -227,7 +213,6 @@ class Footnotes_Public { * but still enabled by default. * * @since 2.5.6 - * @since 2.8.0 Moved into `Footnotes_Public` class. */ if ( ! self::$a_bool_amp_enabled ) { @@ -246,10 +231,7 @@ class Footnotes_Public { * No '-js' in the handle, is appended automatically. * Deferring to the footer breaks jQuery tooltip display. * - * Add versioning. - * * @since 2.1.2 - * @since 2.8.0 Moved into `Footnotes_Public` class. */ wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/jquery.tools' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', array(), '1.2.7.redacted.2', false ); @@ -259,7 +241,6 @@ class Footnotes_Public { * If alternative tooltips are enabled, these libraries are not needed. * * @since 2.0.0 - * @since 2.8.0 Moved into `Footnotes_Public` class. */ wp_enqueue_script( 'jquery-ui-core' ); wp_enqueue_script( 'jquery-ui-widget' ); diff --git a/src/public/widget/class-footnotes-widget-base.php b/src/public/widget/class-footnotes-widget-base.php index 9dded2a..84a8926 100644 --- a/src/public/widget/class-footnotes-widget-base.php +++ b/src/public/widget/class-footnotes-widget-base.php @@ -2,11 +2,11 @@ /** * Widget base. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 1.6.4 Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution. + * + * @package footnotes + * @subpackage footnotes/public/widget */ /** diff --git a/src/public/widget/class-footnotes-widget-reference-container.php b/src/public/widget/class-footnotes-widget-reference-container.php index d9b8e65..f12a181 100644 --- a/src/public/widget/class-footnotes-widget-reference-container.php +++ b/src/public/widget/class-footnotes-widget-reference-container.php @@ -2,12 +2,13 @@ /** * Includes the Plugin Widget to put the Reference Container to the Widget area. * - * @filesource - * @package footnotes * @since 1.5.0 + * + * @package footnotes + * @subpackage footnotes/public/widget */ -require_once dirname( __FILE__ ) . '/class-footnotes-widget-base.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widget/class-footnotes-widget-base.php'; /** * Registers a Widget to put the Reference Container to the widget area. From af144150674ff81112519fdd98e3f899f24ae9d3 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:32:37 +0100 Subject: [PATCH 33/99] fix: re-add plugin links --- src/admin/class-footnotes-admin.php | 14 +++++++------- src/includes/class-footnotes.php | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index 0eb8fe0..bf9a136 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -125,18 +125,18 @@ class Footnotes_Admin { * * @since 1.5.0 * @since 2.8.0 Moved into `Footnote_Admin` class. - * @param array $plugin_links The WP-default set of links to display. + * @param string[] $links The default set of links to display. * @return string[] The full set of links to display. */ - public static function get_plugin_links( array $plugin_links ): array { + public function footnotes_action_links( array $links ): array { // Append link to the WordPress Plugin page. - $plugin_links[] = sprintf( '%s', __( 'Support', 'footnotes' ) ); + $links[] = sprintf( '%s', __( 'Support', 'footnotes' ) ); // Append link to the settings page. - $plugin_links[] = sprintf( '%s', admin_url( 'options-general.php?page=footnotes' ), __( 'Settings', 'footnotes' ) ); + $links[] = sprintf( '%s', esc_url( admin_url( 'options-general.php?page=footnotes' ) ), __( 'Settings', 'footnotes' ) ); // Append link to the PayPal donate function. - $plugin_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); - // Return new links. - return $plugin_links; + $links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); + + return $links; } } diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 14ae38a..e8350e3 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -164,8 +164,7 @@ class Footnotes { $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); - $this->loader->add_filter( 'admin_get_plugin_links', $plugin_admin, 'get_plugin_links', 10, 1 ); - + $this->loader->add_filter('plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links'); } /** From 5de6719b9a8c4b656657d79411ff370298abc74c Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:33:28 +0100 Subject: [PATCH 34/99] refactor: clean up internal dependency management --- src/admin/class-footnotes-wysiwyg.php | 4 --- .../layout/class-footnotes-layout-engine.php | 2 +- .../layout/class-footnotes-layout-init.php | 36 +++++++++++++++++-- .../class-footnotes-layout-settings.php | 2 +- src/includes/class-footnotes-i18n.php | 2 +- src/includes/class-footnotes-settings.php | 2 +- src/includes/class-footnotes.php | 1 + 7 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/admin/class-footnotes-wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php index d45ae4d..50b9643 100644 --- a/src/admin/class-footnotes-wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -8,10 +8,6 @@ * @subpackage footnotes/admin */ -require_once dirname( __FILE__, 2 ) . '/includes/class-footnotes-config.php'; -require_once dirname( __FILE__, 2 ) . '/includes/class-footnotes-settings.php'; -require_once dirname( __FILE__, 2 ) . '/includes/class-footnotes-template.php'; - /** * Handles the WSYIWYG-Buttons. * diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index e836201..565bd7e 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -14,7 +14,7 @@ * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. */ -require_once dirname( __FILE__ ) . '/class-footnotes-layout-init.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ). 'layout/class-footnotes-layout-init.php'; /** * Layout Engine for the administration dashboard. diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index 94150ed..e766075 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -8,9 +8,6 @@ * @subpackage footnotes/admin */ -require_once dirname( __FILE__, 3 ) . '/includes/class-footnotes-settings.php'; -require_once dirname( __FILE__ ) . '/class-footnotes-layout-settings.php'; - /** * Handles the Settings interface of the Plugin. * @@ -40,6 +37,8 @@ class Footnotes_Layout_Init { * @since 1.5.0 */ public function __construct() { + $this->load_dependencies(); + $this->settings_page = new Footnotes_Layout_Settings(); // Register hooks/actions. @@ -49,6 +48,37 @@ class Footnotes_Layout_Init { add_action( 'wp_ajax_nopriv_footnotes_get_plugin_info', array( $this, 'get_plugin_meta_information' ) ); add_action( 'wp_ajax_footnotes_get_plugin_info', array( $this, 'get_plugin_meta_information' ) ); } + /** + * Load the required dependencies for this plugin. + * + * Include the following files that make up the plugin: + * + * - `Footnotes_Config`. Defines constant plugin values. + * - `Footnotes_Settings`. Defines configurable plugin settings. + * - `Footnotes_Layout_Settings`. Defines the plugin settings page. + * + * Create an instance of the loader which will be used to register the hooks + * with WordPress. + * + * @since 2.8.0 + * @access private + */ + private function load_dependencies() { + /** + * The class responsible for defining plugin constants. + */ + require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-config.php'; + + /** + * The class responsible for tracking configurable plugin settings. + */ + require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-settings.php'; + + /** + * The class responsible for defining the plugin settings page. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-settings.php'; + } /** * Registers the settings and initialises the settings page. diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index b606b71..6cc4ce3 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -41,7 +41,7 @@ * @subpackage footnotes/admin/layout */ -require_once dirname( __FILE__ ) . '/class-footnotes-layout-engine.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-engine.php'; /** * Displays and handles all Settings of the Plugin. diff --git a/src/includes/class-footnotes-i18n.php b/src/includes/class-footnotes-i18n.php index 4f15a08..3394ef1 100644 --- a/src/includes/class-footnotes-i18n.php +++ b/src/includes/class-footnotes-i18n.php @@ -12,7 +12,7 @@ * @subpackage footnotes/includes */ -require_once dirname( __FILE__ ) . '/class-footnotes-config.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; /** * Define the internationalization functionality. diff --git a/src/includes/class-footnotes-settings.php b/src/includes/class-footnotes-settings.php index b93f4cb..8d937c2 100644 --- a/src/includes/class-footnotes-settings.php +++ b/src/includes/class-footnotes-settings.php @@ -14,7 +14,7 @@ * @subpackage footnotes/includes */ -require_once dirname( __FILE__ ) . '/class-footnotes-convert.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; /** * Loads the settings values, sets to default values if undefined. diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index e8350e3..4df02cc 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -117,6 +117,7 @@ class Footnotes { require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-template.php'; /** * The class responsible for defining all actions that occur in the admin area. From fb63c1312533a63dbc0a353d749d4d5b43b0eac6 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:41:53 +0100 Subject: [PATCH 35/99] ci: update linting commands --- composer.json | 8 ++------ package.json | 14 ++++++-------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 2ab4cd5..cfa892c 100644 --- a/composer.json +++ b/composer.json @@ -7,18 +7,14 @@ "release": "./_tools/release.sh", "release:commit": "composer run release -- -c", "build": "./_tools/build.sh", - "lint": "composer run lint:php && npm run lint", - "lint:fix": "composer run lint:php:fix && npm run lint:fix", - "format": "npm run format", - "format:fix": "npm run format:fix", + "lint": "composer run lint:php; npm run lint", + "lint:fix": "composer run lint:php:fix; npm run lint:fix", "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", "lint:css": "npm run lint:css", "lint:css:fix": "npm run lint:css:fix", "lint:js": "npm run lint:js", "lint:js:fix": "npm run lint:js:fix", - "format:js": "npm run format:js", - "format:js:fix": "npm run format:js:fix", "lint:md": "npm run lint:md", "lint:md:fix": "npm run lint:md:fix", "lint:html": "npm run lint:html", diff --git a/package.json b/package.json index de386e4..450d88d 100644 --- a/package.json +++ b/package.json @@ -2,22 +2,21 @@ "name": "footnotes", "scripts": { "cm": "cz", - "format:js": "prettier './src/**/*.js'", - "format:js:fix": "npm run format:js -- --write", - "lint": "npm run lint:js && npm run lint:css && npm run lint:md && npm run lint:html && composer run lint", - "lint:fix": "npm run lint:js:fix && npm run lint:css:fix && npm run lint:md:fix && composer run lint:fix", + "format:js": "prettier './src/**/*.js' --write", + "lint": "npm run lint:js; npm run lint:css; npm run lint:md; npm run lint:html; npm run validate:yaml", + "lint:fix": "npm run lint:js:fix; npm run lint:css:fix; npm run lint:md:fix; npm run validate:yaml", "lint:php": "composer run lint:php", "lint:php:fix": "composer run lint:php:fix", "lint:js": "npm run format:js && eslint \"./src/**/*.js\"", - "lint:js:fix": "npm run format:js:fix && npm run lint:js -- --fix", + "lint:js:fix": "npm run format:js && npm run lint:js -- --fix", "lint:css": "stylelint \"./src/**/*.css\"", "lint:css:fix": "npm run lint:css -- --fix", "lint:md": "markdownlint '*.md'", "lint:md:fix": "npm run lint:md -- --fix", - "lint:html": "htmlhint ./src/**/*.html", + "lint:html": "htmlhint './src/**/*.html'", "validate": "npm run validate:yaml", "validate:yaml": "yaml-validator ./.github/workflows/*.yml", - "minify": "npm run minify:css && npm run minify:js", + "minify": "npm run minify:css; npm run minify:js", "minify:css": "for f in ./dist/*/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", "minify:js": "for f in ./dist/*/js/*.js; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .js).min.js; done" }, @@ -32,7 +31,6 @@ "composer run lint:php" ], "*.js": [ - "npm run format:js:fix", "npm run lint:js" ], "*.(sa|sc|c)ss": [ From 8044fb8591c3242709f90b725c14bfc4386c0370 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:42:21 +0100 Subject: [PATCH 36/99] chore: lint code --- src/admin/class-footnotes-admin.php | 2 +- src/admin/layout/class-footnotes-layout-engine.php | 2 +- src/admin/layout/class-footnotes-layout-init.php | 6 +++--- src/includes/class-footnotes.php | 4 ++-- src/public/class-footnotes-public.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index bf9a136..b242f39 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -70,7 +70,7 @@ class Footnotes_Admin { * The class responsible for WYSIWYG editor integration. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; - + /** * The class responsible for constructing the plugin dashboard page(s). */ diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index 565bd7e..07a3c59 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -14,7 +14,7 @@ * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. */ -require_once plugin_dir_path( dirname( __FILE__ ) ). 'layout/class-footnotes-layout-init.php'; +require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-init.php'; /** * Layout Engine for the administration dashboard. diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index e766075..3dca904 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -38,7 +38,7 @@ class Footnotes_Layout_Init { */ public function __construct() { $this->load_dependencies(); - + $this->settings_page = new Footnotes_Layout_Settings(); // Register hooks/actions. @@ -68,12 +68,12 @@ class Footnotes_Layout_Init { * The class responsible for defining plugin constants. */ require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-config.php'; - + /** * The class responsible for tracking configurable plugin settings. */ require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-settings.php'; - + /** * The class responsible for defining the plugin settings page. */ diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 4df02cc..568a726 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -110,7 +110,7 @@ class Footnotes { * of the plugin. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php'; - + /** * The various utility classes. */ @@ -165,7 +165,7 @@ class Footnotes { $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); - $this->loader->add_filter('plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links'); + $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links' ); } /** diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 3067ef2..3d48b37 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -131,7 +131,7 @@ class Footnotes_Public { /** * Register the stylesheets for the public-facing side of the site. * - * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` + * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` * is true (set in `footnotes.php`). * * @since 1.5.0 From 748eda717b752d89e7372f724631448a93683935 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:42:43 +0100 Subject: [PATCH 37/99] docs: update documentation --- docs/classes/Footnotes-Activator.html | 2 + docs/classes/Footnotes-Admin.html | 30 +- docs/classes/Footnotes-Config.html | 2 + docs/classes/Footnotes-Convert.html | 2 + docs/classes/Footnotes-Deactivator.html | 2 + docs/classes/Footnotes-Layout-Engine.html | 2 + docs/classes/Footnotes-Layout-Init.html | 141 +- docs/classes/Footnotes-Layout-Settings.html | 2 + docs/classes/Footnotes-Loader.html | 2 + docs/classes/Footnotes-Parser.html | 3288 +++++++++++++++++ docs/classes/Footnotes-Public.html | 88 +- docs/classes/Footnotes-Settings.html | 240 +- docs/classes/Footnotes-Template.html | 2 + docs/classes/Footnotes-WYSIWYG.html | 14 +- docs/classes/Footnotes-Widget-Base.html | 2 + .../Footnotes-Widget-Reference-Container.html | 14 +- docs/classes/Footnotes-i18n.html | 2 + docs/classes/Footnotes.html | 38 +- .../src-admin-class-footnotes-admin.html | 2 + .../src-admin-class-footnotes-wysiwyg.html | 2 + docs/files/src-admin-index.html | 2 + ...-layout-class-footnotes-layout-engine.html | 2 + ...in-layout-class-footnotes-layout-init.html | 3 + ...ayout-class-footnotes-layout-settings.html | 3 + docs/files/src-footnotes.html | 2 + ...rc-includes-class-footnotes-activator.html | 2 + .../src-includes-class-footnotes-config.html | 2 + .../src-includes-class-footnotes-convert.html | 2 + ...-includes-class-footnotes-deactivator.html | 2 + .../src-includes-class-footnotes-i18n.html | 2 + .../src-includes-class-footnotes-loader.html | 2 + ...src-includes-class-footnotes-settings.html | 3 + ...src-includes-class-footnotes-template.html | 3 + docs/files/src-includes-class-footnotes.html | 2 + docs/files/src-includes-index.html | 2 + docs/files/src-index.html | 2 + .../src-public-class-footnotes-parser.html | 133 + .../src-public-class-footnotes-public.html | 2 + docs/files/src-public-index.html | 2 + ...ic-widget-class-footnotes-widget-base.html | 3 + ...-footnotes-widget-reference-container.html | 3 + docs/files/src-uninstall.html | 2 + docs/graphs/classes.html | 2 + docs/index.html | 6 +- docs/indices/files.html | 8 +- docs/js/searchIndex.js | 396 +- docs/namespaces/default.html | 6 +- docs/packages/Default.html | 2 + docs/packages/default.html | 2 + docs/packages/footnotes-footnotesadmin.html | 2 + .../footnotes-footnotesadminlayout.html | 120 + .../packages/footnotes-footnotesincludes.html | 2 + docs/packages/footnotes-footnotespublic.html | 2 + .../footnotes-footnotespublicwidget.html | 120 + docs/packages/footnotes.html | 8 +- docs/reports/deprecated.html | 2 + docs/reports/errors.html | 2 + docs/reports/markers.html | 2 + 58 files changed, 4308 insertions(+), 432 deletions(-) create mode 100644 docs/classes/Footnotes-Parser.html create mode 100644 docs/files/src-public-class-footnotes-parser.html create mode 100644 docs/packages/footnotes-footnotesadminlayout.html create mode 100644 docs/packages/footnotes-footnotespublicwidget.html diff --git a/docs/classes/Footnotes-Activator.html b/docs/classes/Footnotes-Activator.html index 5dff791..ff00480 100644 --- a/docs/classes/Footnotes-Activator.html +++ b/docs/classes/Footnotes-Activator.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Admin.html b/docs/classes/Footnotes-Admin.html index 85b55d7..6a623c5 100644 --- a/docs/classes/Footnotes-Admin.html +++ b/docs/classes/Footnotes-Admin.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    @@ -175,7 +177,7 @@ and JavaScript.

                                                                    Register the stylesheets for the admin area.
                                                                    - get_plugin_links() + footnotes_action_links()  : array<string|int, string>
                                                                    @@ -402,7 +404,7 @@ and JavaScript.

                                                                    Register the JavaScript for the admin area.

                                                                    @@ -451,7 +453,7 @@ and JavaScript.

                                                                    Register the stylesheets for the admin area.

                                                                    @@ -491,34 +493,34 @@ and JavaScript.

                                                                    class="phpdocumentor-element -method -public - -static " + " > -

                                                                    Appends the Plugin links for display in the dashboard Plugins page.

                                                                    public - static get_plugin_links(array<string|int, mixed> $plugin_links) : array<string|int, string> + footnotes_action_links(array<string|int, string> $links) : array<string|int, string>
                                                                    Parameters
                                                                    - $plugin_links - : array<string|int, mixed> + $links + : array<string|int, string>
                                                                    -

                                                                    The WP-default set of links to display.

                                                                    +

                                                                    The default set of links to display.

                                                                    @@ -585,9 +587,9 @@ and JavaScript.

                                                                    of this plugin:

                                                                    • -Footnotes_WYSIWYG. TODO
                                                                    • +Footnotes_WYSIWYG. Provides plugin integration with the WYSIWYG editor.
                                                                    • -Footnotes_Layout_Settings. TODO
                                                                    • +Footnotes_Layout_Settings. Defines the plugin dashboard page(s).
                                                                    diff --git a/docs/classes/Footnotes-Config.html b/docs/classes/Footnotes-Config.html index c96b051..389b7c4 100644 --- a/docs/classes/Footnotes-Config.html +++ b/docs/classes/Footnotes-Config.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Convert.html b/docs/classes/Footnotes-Convert.html index 70b4c6d..40a8827 100644 --- a/docs/classes/Footnotes-Convert.html +++ b/docs/classes/Footnotes-Convert.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Deactivator.html b/docs/classes/Footnotes-Deactivator.html index d25fc4e..5f6c533 100644 --- a/docs/classes/Footnotes-Deactivator.html +++ b/docs/classes/Footnotes-Deactivator.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Layout-Engine.html b/docs/classes/Footnotes-Layout-Engine.html index 0f717e2..1d5d9d1 100644 --- a/docs/classes/Footnotes-Layout-Engine.html +++ b/docs/classes/Footnotes-Layout-Engine.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index 75bcd0f..c9cf583 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    @@ -100,7 +102,7 @@

                                                                    Handles the Settings interface of the Plugin.

                                                                    @@ -142,13 +144,6 @@
                                                                    Slug for the Plugin main menu.
                                                                    -
                                                                    - C_STR_MAIN_MENU_TITLE - -  = 'ManFisher' -
                                                                    -
                                                                    Plugin main menu name.
                                                                    -
                                                                    $settings_page @@ -184,6 +179,13 @@
                                                                    Registers the footnotes submenu page.
                                                                    +
                                                                    + load_dependencies() + +  : mixed +
                                                                    +
                                                                    Load the required dependencies for this plugin.
                                                                    + @@ -203,7 +205,7 @@

                                                                    Slug for the Plugin main menu.

                                                                    @@ -235,48 +237,6 @@ - -
                                                                    -

                                                                    - C_STR_MAIN_MENU_TITLE - -

                                                                    - - - -

                                                                    Plugin main menu name.

                                                                    - - - public - string - C_STR_MAIN_MENU_TITLE - = 'ManFisher' - - - -
                                                                    - - -
                                                                    - Tags - -
                                                                    -
                                                                    -
                                                                    - since -
                                                                    -
                                                                    - 1.5.0 - -
                                                                    - -
                                                                    -
                                                                    -
                                                                    @@ -302,7 +262,7 @@

                                                                    Contains the settings layoutEngine

                                                                    @@ -353,7 +313,7 @@

                                                                    Class Constructor. Initializes all WordPress hooks for the Plugin Settings.

                                                                    @@ -402,7 +362,7 @@

                                                                    AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

                                                                    @@ -451,7 +411,7 @@

                                                                    Registers the settings and initialises the settings page.

                                                                    @@ -500,7 +460,7 @@

                                                                    Registers the footnotes submenu page.

                                                                    @@ -544,6 +504,75 @@
                                                                    + +
                                                                    +

                                                                    + load_dependencies() + +

                                                                    + + +

                                                                    Load the required dependencies for this plugin.

                                                                    + + + private + load_dependencies() : mixed + +

                                                                    Include the following files that make up the plugin:

                                                                    +
                                                                      +
                                                                    • +Footnotes_Config. Defines constant plugin values.
                                                                    • +
                                                                    • +Footnotes_Settings. Defines configurable plugin settings.
                                                                    • +
                                                                    • +Footnotes_Layout_Settings. Defines the plugin settings page.
                                                                    • +
                                                                    +

                                                                    Create an instance of the loader which will be used to register the hooks +with WordPress.

                                                                    +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.8.0 + +
                                                                    + +
                                                                    +
                                                                    + access +
                                                                    +
                                                                    + +

                                                                    private

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + +
                                                                    diff --git a/docs/classes/Footnotes-Layout-Settings.html b/docs/classes/Footnotes-Layout-Settings.html index 67f34dc..1517d65 100644 --- a/docs/classes/Footnotes-Layout-Settings.html +++ b/docs/classes/Footnotes-Layout-Settings.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Loader.html b/docs/classes/Footnotes-Loader.html index 8b2c87a..296324e 100644 --- a/docs/classes/Footnotes-Loader.html +++ b/docs/classes/Footnotes-Loader.html @@ -59,7 +59,9 @@

                                                                    Default

                                                                    diff --git a/docs/classes/Footnotes-Parser.html b/docs/classes/Footnotes-Parser.html new file mode 100644 index 0000000..a840b42 --- /dev/null +++ b/docs/classes/Footnotes-Parser.html @@ -0,0 +1,3288 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                    +

                                                                    Documentation

                                                                    + + + + + +
                                                                    + +
                                                                    +
                                                                    + + + + +
                                                                    + + +
                                                                    +

                                                                    + Footnotes_Parser + + +
                                                                    + in package + +
                                                                    + + +

                                                                    + + + +

                                                                    Searches and replaces the footnotes and generates the reference container.

                                                                    + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.8.0 + +

                                                                    Rename class from Footnotes_Task to Footnotes_Parser.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + + + + +

                                                                    + Table of Contents + +

                                                                    + +
                                                                    +
                                                                    + $a_arr_footnotes + +  : array<string|int, mixed> +
                                                                    +
                                                                    Contains all footnotes found in the searched content.
                                                                    + +
                                                                    + $a_bool_allow_love_me + +  : bool +
                                                                    +
                                                                    Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
                                                                    + +
                                                                    + $a_bool_hard_links_enabled + +  : bool +
                                                                    +
                                                                    Hard links for AMP compatibility.
                                                                    + +
                                                                    + $a_bool_mirror_tooltip_text + +  : bool +
                                                                    +
                                                                    Whether to mirror the tooltip text in the reference container.
                                                                    + +
                                                                    + $a_bool_syntax_error_flag + +  : bool +
                                                                    +
                                                                    Footnote delimiter syntax validation enabled.
                                                                    + +
                                                                    + $a_int_post_id + +  : int +
                                                                    +
                                                                    Autoload a.k.a. infinite scroll, or archive view.
                                                                    + +
                                                                    + $a_int_reference_container_id + +  : int +
                                                                    +
                                                                    Multiple reference containers in content and widgets.
                                                                    + +
                                                                    + $a_int_scroll_offset + +  : int +
                                                                    +
                                                                    Scroll offset.
                                                                    + +
                                                                    + $a_int_tooltip_shortcode_length + +  : int +
                                                                    +
                                                                    The tooltip delimiter shortcode length.
                                                                    + +
                                                                    + $a_str_end_tag + +  : str +
                                                                    +
                                                                    Footnote delimiter end short code.
                                                                    + +
                                                                    + $a_str_end_tag_regex + +  : str +
                                                                    +
                                                                    Footnote delimiter end short code in regex format.
                                                                    + +
                                                                    + $a_str_footnote_link_slug + +  : str +
                                                                    +
                                                                    The footnote slug.
                                                                    + +
                                                                    + $a_str_link_close_tag + +  : str +
                                                                    +
                                                                    The closing tag.
                                                                    + +
                                                                    + $a_str_link_open_tag + +  : str +
                                                                    +
                                                                    The opening tag.
                                                                    + +
                                                                    + $a_str_link_span + +  : str +
                                                                    +
                                                                    The span element name.
                                                                    + +
                                                                    + $a_str_post_container_id_compound + +  : str +
                                                                    +
                                                                    Contains the concatenated fragment ID base.
                                                                    + +
                                                                    + $a_str_prefix + +  : string +
                                                                    +
                                                                    Prefix for the Footnote html element ID.
                                                                    + +
                                                                    + $a_str_referrer_link_slug + +  : str +
                                                                    +
                                                                    The referrer slug.
                                                                    + +
                                                                    + $a_str_start_tag + +  : str +
                                                                    +
                                                                    Footnote delimiter start short code.
                                                                    + +
                                                                    + $a_str_start_tag_regex + +  : str +
                                                                    +
                                                                    Footnote delimiter start short code in regex format.
                                                                    + +
                                                                    + $a_str_tooltip_shortcode + +  : str +
                                                                    +
                                                                    The tooltip delimiter shortcode.
                                                                    + +
                                                                    + $a_str_link_ids_separator + +  : str +
                                                                    +
                                                                    The slug and identifier separator.
                                                                    + +
                                                                    + __construct() + +  : mixed +
                                                                    +
                                                                    Initialize the class and set its properties.
                                                                    + +
                                                                    + exec() + +  : string +
                                                                    +
                                                                    Replaces all footnotes that occur in the given content.
                                                                    + +
                                                                    + footnotes_in_content() + +  : string +
                                                                    +
                                                                    Replaces footnotes in the content of the current page/post.
                                                                    + +
                                                                    + footnotes_in_excerpt() + +  : string +
                                                                    +
                                                                    Processes existing excerpt or replaces it with a new one generated on the basis of the post.
                                                                    + +
                                                                    + footnotes_in_title() + +  : string +
                                                                    +
                                                                    Replaces footnotes in the post/page title.
                                                                    + +
                                                                    + footnotes_in_widget_text() + +  : string +
                                                                    +
                                                                    Replaces footnotes in the content of the current widget.
                                                                    + +
                                                                    + footnotes_in_widget_title() + +  : string +
                                                                    +
                                                                    Replaces footnotes in the widget title.
                                                                    + +
                                                                    + footnotes_output_footer() + +  : mixed +
                                                                    +
                                                                    Displays the 'LOVE FOOTNOTES' slug if enabled.
                                                                    + +
                                                                    + footnotes_output_head() + +  : mixed +
                                                                    +
                                                                    Outputs the custom css to the header of the public page.
                                                                    + +
                                                                    + generate_excerpt() + +  : string +
                                                                    +
                                                                    Generates excerpt on the basis of the post.
                                                                    + +
                                                                    + generate_excerpt_with_footnotes() + +  : string +
                                                                    +
                                                                    Generates excerpt with footnotes on the basis of the post.
                                                                    + +
                                                                    + reference_container() + +  : string +
                                                                    +
                                                                    Generates the reference container.
                                                                    + +
                                                                    + register_hooks() + +  : mixed +
                                                                    +
                                                                    Register WordPress hooks to replace Footnotes in the content of a public page.
                                                                    + +
                                                                    + search() + +  : string +
                                                                    +
                                                                    Replaces all footnotes in the given content and appends them to the static property.
                                                                    + +
                                                                    + unify_delimiters() + +  : mixed +
                                                                    +
                                                                    Brings the delimiters and unifies their various HTML escapement schemas.
                                                                    + +
                                                                    + + + + + + +
                                                                    +

                                                                    + Properties + +

                                                                    +
                                                                    +

                                                                    + $a_arr_footnotes + + + +

                                                                    + + +

                                                                    Contains all footnotes found in the searched content.

                                                                    + + + public + static array<string|int, mixed> + $a_arr_footnotes + = array() + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_bool_allow_love_me + + + +

                                                                    + + +

                                                                    Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.

                                                                    + + + public + static bool + $a_bool_allow_love_me + = rue + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    Hard links for AMP compatibility.

                                                                    + + + public + static bool + $a_bool_hard_links_enabled + = alse + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.0 + +

                                                                    Bugfix: footnote links script independent.

                                                                    +
                                                                      +
                                                                    • Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.4 + +
                                                                      +
                                                                    • Adding: Referrers and backlinks: optional hard links for AMP compatibility, thanks to @psykonevro issue report, thanks to @martinneumannat issue report and code contribution.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @theroninjedi47

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @psykonevro

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/hyperlinked-footnotes-creating-excessive-back-history/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/making-it-amp-compatible/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ + +
                                                                    +
                                                                    + contributor +
                                                                    +
                                                                    + +

                                                                    @martinneumannat

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_bool_mirror_tooltip_text + + + +

                                                                    + + +

                                                                    Whether to mirror the tooltip text in the reference container.

                                                                    + + + public + static bool + $a_bool_mirror_tooltip_text + = alse + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.2 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_bool_syntax_error_flag + + + +

                                                                    + + +

                                                                    Footnote delimiter syntax validation enabled.

                                                                    + + + public + static bool + $a_bool_syntax_error_flag + = rue + +
                                                                      +
                                                                    • Adding: Footnote delimiters: syntax validation for balanced footnote start and end tag short codes.
                                                                    • +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.4.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_int_post_id + + + +

                                                                    + + +

                                                                    Autoload a.k.a. infinite scroll, or archive view.

                                                                    + + + public + static int + $a_int_post_id + = 0 + +
                                                                      +
                                                                    • Bugfix: Infinite scroll: debug autoload by adding post ID, thanks to @docteurfitness issue report and code contribution
                                                                    • +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @docteurfitness

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/auto-load-post-compatibility-update/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/auto-load-post-compatibility-update/#post-13618833 + +
                                                                    +
                                                                    + contributor +
                                                                    +
                                                                    + +

                                                                    @docteurfitness

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.6 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_int_reference_container_id + + + +

                                                                    + + +

                                                                    Multiple reference containers in content and widgets.

                                                                    + + + public + static int + $a_int_reference_container_id + = 1 + +
                                                                      +
                                                                    • Bugfix: Reference container, widget_text hook: support for multiple containers in a page, thanks to @justbecuz bug report.
                                                                    • +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @justbecuz

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/reset-footnotes-to-1/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/reset-footnotes-to-1/#post-13662830 + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.2.9 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_int_scroll_offset + + + +

                                                                    + + +

                                                                    Scroll offset.

                                                                    + + + public + static int + $a_int_scroll_offset + = 34 + +
                                                                      +
                                                                    • Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers.
                                                                    • +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.4 + +
                                                                      +
                                                                    • Bugfix: Scroll offset: initialize to safer one third window height for more robustness, thanks to @lukashuggenberg bug report.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.4.0 + +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @lukashuggenberg

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/2-2-6-breaks-all-footnotes/#post-13857922 + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_int_tooltip_shortcode_length + + + +

                                                                    + + +

                                                                    The tooltip delimiter shortcode length.

                                                                    + + + public + static int + $a_int_tooltip_shortcode_length + = 12 + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.2 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_end_tag + + + +

                                                                    + + +

                                                                    Footnote delimiter end short code.

                                                                    + + + public + static str + $a_str_end_tag + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +

                                                                    (constant, variable)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +

                                                                    (property)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_end_tag_regex + + + +

                                                                    + + +

                                                                    Footnote delimiter end short code in regex format.

                                                                    + + + public + static str + $a_str_end_tag_regex + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.4.0 + +

                                                                    (variable)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +

                                                                    (property)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The footnote slug.

                                                                    + + + public + static str + $a_str_footnote_link_slug + = 'f' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The closing tag.

                                                                    + + + public + static str + $a_str_link_close_tag + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The opening tag.

                                                                    + + + public + static str + $a_str_link_open_tag + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The span element name.

                                                                    + + + public + static str + $a_str_link_span + = 'span' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_post_container_id_compound + + + +

                                                                    + + +

                                                                    Contains the concatenated fragment ID base.

                                                                    + + + public + static str + $a_str_post_container_id_compound + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_prefix + + + +

                                                                    + + +

                                                                    Prefix for the Footnote html element ID.

                                                                    + + + public + static string + $a_str_prefix + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.8 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The referrer slug.

                                                                    + + + public + static str + $a_str_referrer_link_slug + = 'r' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_start_tag + + + +

                                                                    + + +

                                                                    Footnote delimiter start short code.

                                                                    + + + public + static str + $a_str_start_tag + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +

                                                                    (constant, variable)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +

                                                                    (property)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_start_tag_regex + + + +

                                                                    + + +

                                                                    Footnote delimiter start short code in regex format.

                                                                    + + + public + static str + $a_str_start_tag_regex + = '' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.4.0 + +

                                                                    (variable)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +

                                                                    (property)

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +

                                                                    + $a_str_tooltip_shortcode + + + +

                                                                    + + +

                                                                    The tooltip delimiter shortcode.

                                                                    + + + public + static str + $a_str_tooltip_shortcode + = '[[/tooltip]]' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.2 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + + +

                                                                    The slug and identifier separator.

                                                                    + + + private + static str + $a_str_link_ids_separator + = '+' + +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +

                                                                    + Methods + +

                                                                    +
                                                                    +

                                                                    + __construct() + +

                                                                    + + +

                                                                    Initialize the class and set its properties.

                                                                    + + + public + __construct() : mixed + +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.8.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + exec() + +

                                                                    + + +

                                                                    Replaces all footnotes that occur in the given content.

                                                                    + + + public + exec(string $p_str_content[, bool $p_bool_output_references = false ][, bool $p_bool_hide_footnotes_text = false ]) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Any string that may contain footnotes to be replaced.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + $p_bool_output_references + : bool + = false
                                                                    +
                                                                    +

                                                                    Appends the Reference Container to the output if set to true, default true.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + $p_bool_hide_footnotes_text + : bool + = false
                                                                    +
                                                                    +

                                                                    Hide footnotes found in the string.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_in_content() + +

                                                                    + + +

                                                                    Replaces footnotes in the content of the current page/post.

                                                                    + + + public + footnotes_in_content(string $p_str_content) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Page/Post content.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                      +
                                                                    • Adding: Reference container: optionally per section by shortcode, thanks to @grflukas issue report.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.7.0 + +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @grflukas

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/multiple-reference-containers-in-single-post/ + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content Content with replaced footnotes.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_in_excerpt() + +

                                                                    + + +

                                                                    Processes existing excerpt or replaces it with a new one generated on the basis of the post.

                                                                    + + + public + footnotes_in_excerpt(string $p_str_excerpt) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_excerpt + : string +
                                                                    +
                                                                    +

                                                                    Excerpt content.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +

                                                                    Debug No option.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.3 + +

                                                                    Debug Yes option, the setting becomes fully effective.

                                                                    +
                                                                      +
                                                                    • Bugfix: Excerpts: make excerpt handling backward compatible, thanks to @mfessler bug report.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.7.0 + +

                                                                    The input was already the processed excerpt, no more footnotes to search. +But issue #65 brought up that manual excerpts can include processable footnotes. +Default 'manual' is fallback and is backward compatible with the initial setup.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @mfessler

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://github.com/markcheret/footnotes/issues/65 + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_excerpt Processed or new excerpt.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_in_title() + +

                                                                    + + +

                                                                    Replaces footnotes in the post/page title.

                                                                    + + + public + footnotes_in_title(string $p_str_content) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Title.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content Title with replaced footnotes.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_in_widget_text() + +

                                                                    + + +

                                                                    Replaces footnotes in the content of the current widget.

                                                                    + + + public + footnotes_in_widget_text(string $p_str_content) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Widget content.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content Content with replaced footnotes.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_in_widget_title() + +

                                                                    + + +

                                                                    Replaces footnotes in the widget title.

                                                                    + + + public + footnotes_in_widget_title(string $p_str_content) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Widget content.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content Content with replaced footnotes.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    + + + +

                                                                    Displays the 'LOVE FOOTNOTES' slug if enabled.

                                                                    + + + public + footnotes_output_footer() : mixed + +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.2.0 + +

                                                                    More options.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + footnotes_output_head() + +

                                                                    + + +

                                                                    Outputs the custom css to the header of the public page.

                                                                    + + + public + footnotes_output_head() : mixed + +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.1 + +

                                                                    Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.1 + +

                                                                    Bugfix: Tooltips: optional alternative JS implementation with CSS transitions to fix configuration-related outage, thanks to @andreasra feedback.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.3 + +

                                                                    raise settings priority to override theme stylesheets

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.4 + +

                                                                    Bugfix: Tooltips: Styling: fix font size issue by adding font size to settings with legacy as default.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.4 + +

                                                                    Bugfix: Reference container: fix layout issues by moving backlink column width to settings.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.2.5 + +

                                                                    Bugfix: Reference container: Label: make bottom border an option, thanks to @markhillyer issue report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.2.5 + +

                                                                    Bugfix: Reference container: Label: option to select paragraph or heading element, thanks to @markhillyer issue report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.3.0 + +

                                                                    Bugfix: Reference container: convert top padding to margin and make it a setting, thanks to @hamshe bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.4 + +

                                                                    Bugfix: Referrers: optional fixes to vertical alignment, font size and position (static) for in-theme consistency and cross-theme stability, thanks to @tomturowski bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + generate_excerpt() + +

                                                                    + + +

                                                                    Generates excerpt on the basis of the post.

                                                                    + + + public + generate_excerpt(string $p_str_content) : string + +
                                                                      +
                                                                    • Bugfix: Excerpts: debug the 'No' option by generating excerpts on the basis of the post without footnotes, thanks to @nikelaos @markcheret @martinneumannat bug reports.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    The post.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @nikelaos

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @markcheret

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @martinneumannat

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/footnotes-now-appear-in-summaries-even-though-this-is-marked-no/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/problem-with-footnotes-in-excerpts-of-the-blog-page/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://developer.wordpress.org/reference/functions/wp_trim_excerpt/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://developer.wordpress.org/reference/functions/wp_trim_words/ + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.2 + +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content An excerpt of the post. +Applies full WordPress excerpt processing.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + generate_excerpt_with_footnotes() + +

                                                                    + + +

                                                                    Generates excerpt with footnotes on the basis of the post.

                                                                    + + + public + generate_excerpt_with_footnotes(string $p_str_content) : string + +
                                                                      +
                                                                    • Bugfix: Excerpts: debug the 'Yes' option by generating excerpts with footnotes on the basis of the posts, thanks to @nikelaos @martinneumannat bug reports.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    The post.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @nikelaos

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @martinneumannat

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @scroom

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @copylefter

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @lagoon24

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/problem-with-footnotes-in-excerpts-of-the-blog-page/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/update-crashed-my-website-3/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/update-crashed-my-website-3/#post-14259151 + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/update-crashed-my-website-3/#post-14259396 + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/plugins/advanced-excerpt/ + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.3 + +
                                                                      +
                                                                    • Bugfix: Process: remove trailing comma after last argument in multiline function calls for PHP < 7.3, thanks to @scroom @copylefter @lagoon24 bug reports.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.6.4 + +
                                                                    + +
                                                                    +
                                                                    + see +
                                                                    +
                                                                    + self::generate_excerpt() + +

                                                                    Uses information and some code from Advanced Excerpt.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +

                                                                    $p_str_content An excerpt of the post. +Does not apply full WordPress excerpt processing.

                                                                    +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + reference_container() + +

                                                                    + + +

                                                                    Generates the reference container.

                                                                    + + + public + reference_container() : string + +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.0 + +

                                                                    Update: remove backlink symbol along with column 2 of the reference container

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.3 + +

                                                                    Bugfix: prepend an arrow on user request

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.6 + +

                                                                    Bugfix: Reference container: fix line breaking behavior in footnote number clusters.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.4 + +

                                                                    Bugfix: restore the arrow select and backlink symbol input settings

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.1 + +

                                                                    Bugfix: Referrers, reference container: Combining identical footnotes: fix dead links and ensure referrer-backlink bijectivity, thanks to @happyches bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.1 + +

                                                                    Bugfix: Reference container: Backlink symbol: make optional, not suggest configuring it to invisible, thanks to @spaceling feedback.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + register_hooks() + +

                                                                    + + +

                                                                    Register WordPress hooks to replace Footnotes in the content of a public page.

                                                                    + + + public + register_hooks() : mixed + +
                                                                    + + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.4 + +

                                                                    Adding: Hooks: support 'the_post' in response to user request for custom post types.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.5 + +

                                                                    Bugfix: Reference container: fix relative position through priority level, thanks to @june01 @imeson @spaceling bug reports, thanks to @spaceling code contribution.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.5 + +

                                                                    Update: Hooks: Default-enable all hooks to prevent footnotes from seeming broken in some parts.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.6 + +

                                                                    Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugin’s responsibility).

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.7 + +

                                                                    BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.7 + +

                                                                    Bugfix: Set priority level back to 10 assuming it is unproblematic.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.8 + +

                                                                    Bugfix: Priority level back to PHP_INT_MAX (need to get in touch with other plugins).

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.0 + +

                                                                    UPDATE: Hooks: remove 'the_post', the plugin stops supporting this hook.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.1 + +

                                                                    Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.2 + +

                                                                    Bugfix: Dashboard: priority level settings for all other hooks, thanks to @nikelaos bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.0 + +

                                                                    Bugfix: Hooks: support footnotes on category pages, thanks to @vitaefit bug report, thanks to @misfist code contribution.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.1 + +

                                                                    Bugfix: Hooks: support footnotes in Popup Maker popups, thanks to @squatcher bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + + +
                                                                    +
                                                                    + + + +

                                                                    Replaces all footnotes in the given content and appends them to the static property.

                                                                    + + + public + search(string $p_str_content, bool $p_bool_hide_footnotes_text) : string + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    Any content to be searched for footnotes.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + $p_bool_hide_footnotes_text + : bool +
                                                                    +
                                                                    +

                                                                    Hide footnotes found in the string.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 1.5.0 + +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.0.0 + +

                                                                    various.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.4.0 + +

                                                                    Adding: Footnote delimiters: syntax validation for balanced footnote start and end tag short codes.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.0 + +

                                                                    Bugfix: Footnote delimiters: Syntax validation: exclude certain cases involving scripts, thanks to @andreasra bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.0 + +

                                                                    Bugfix: Footnote delimiters: Syntax validation: complete message with hint about setting, thanks to @andreasra bug report.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.0 + +

                                                                    Bugfix: Footnote delimiters: Syntax validation: limit length of quoted string to 300 characters, thanks to @andreasra bug report.

                                                                    +
                                                                      +
                                                                    • Bugfix: Footnote delimiter short codes: debug closing pointy brackets in the Block Editor by accounting for unbalanced HTML escapement, thanks to @patrick_here @alifarahani8000 bug reports.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.5.13 + +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @patrick_here

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @alifarahani8000

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/how-to-add-footnotes-shortcode-in-elementor/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/after-version-2-5-10-the-ref-or-tags-are-not-longer-working/ + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + string + — +
                                                                    + + +
                                                                    +
                                                                    +

                                                                    + unify_delimiters() + +

                                                                    + + +

                                                                    Brings the delimiters and unifies their various HTML escapement schemas.

                                                                    + + + public + unify_delimiters(string $p_str_content) : mixed + +
                                                                    + +
                                                                    Parameters
                                                                    +
                                                                    +
                                                                    + $p_str_content + : string +
                                                                    +
                                                                    +

                                                                    TODO.

                                                                    +
                                                                      +
                                                                    • Bugfix: Footnote delimiter short codes: fix numbering bug by cross-editor HTML escapement schema unification, thanks to @patrick_here @alifarahani8000 @gova bug reports.
                                                                    • +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + + +
                                                                    + Tags + +
                                                                    +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @patrick_here

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @alifarahani8000

                                                                    +
                                                                    + +
                                                                    +
                                                                    + reporter +
                                                                    +
                                                                    + +

                                                                    @gova

                                                                    +
                                                                    + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/how-to-add-footnotes-shortcode-in-elementor/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/after-version-2-5-10-the-ref-or-tags-are-not-longer-working/ + +
                                                                    +
                                                                    + link +
                                                                    +
                                                                    + https://wordpress.org/support/topic/footnotes-content-number-not-sequential/ + +
                                                                    +
                                                                    + since +
                                                                    +
                                                                    + 2.1.14 + +

                                                                    While the Classic Editor (visual mode) escapes both pointy brackets, +the Block Editor enforces balanced escapement only in code editor mode +when the opening tag is already escaped. In visual mode, the Block Editor +does not escape the greater-than sign.

                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    Return values
                                                                    + mixed + — +
                                                                    + + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +
                                                                    +

                                                                    Search results

                                                                    + +
                                                                    +
                                                                    +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      + + +
                                                                      + + + + diff --git a/docs/classes/Footnotes-Public.html b/docs/classes/Footnotes-Public.html index 3927580..1800669 100644 --- a/docs/classes/Footnotes-Public.html +++ b/docs/classes/Footnotes-Public.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -278,7 +280,7 @@ and JavaScript.

                                                                      2.8.0 -

                                                                      Moved to Footnotes_Public class.

                                                                      +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      @@ -336,7 +338,7 @@ and JavaScript.

                                                                      2.8.0 -

                                                                      Moved to Footnotes_Public class.

                                                                      +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      @@ -393,7 +395,7 @@ and JavaScript.

                                                                      2.8.0 -

                                                                      Moved to Footnotes_Public class.

                                                                      +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      @@ -451,7 +453,7 @@ ull
                                                                      2.8.0 -

                                                                      Moved to Footnotes_Public class.

                                                                      +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      @@ -508,7 +510,7 @@ ull
                                                                      2.8.0 -

                                                                      Moved to Footnotes_Public class.

                                                                      +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      @@ -717,7 +719,7 @@ ull

                                                                      Register the JavaScript for the public-facing side of the site.

                                                                      @@ -739,10 +741,50 @@ ull since
                                                                      - 2.8.0 + 1.5.0
                                                                      +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.0.0 + +

                                                                      Add jQueryUI dependency.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.1.2 + +

                                                                      Add jQuery Tools dependency.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.5.6 + +

                                                                      Add jQuery dependency.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.8.0 + +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      +
                                                                      +
                                                                      @@ -766,7 +808,7 @@ ull

                                                                      Register the stylesheets for the public-facing side of the site.

                                                                      @@ -775,7 +817,9 @@ ull public enqueue_styles() : mixed -
                                                                      +

                                                                      Enables enqueuing the formatted individual stylesheets if PRODCUTION_ENV +is true (set in footnotes.php).

                                                                      +
                                                                      @@ -788,10 +832,30 @@ ull since
                                                                      - 2.8.0 + 1.5.0
                                                                      +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.5.5 + +

                                                                      Change stylesheet scheme.

                                                                      +
                                                                      + +
                                                                      +
                                                                      + since +
                                                                      +
                                                                      + 2.8.0 + +

                                                                      Moved from Footnotes to Footnotes_Public class.

                                                                      +
                                                                      +
                                                                      @@ -828,9 +892,9 @@ ull of this plugin:

                                                                      • -Footnotes_Task. TODO
                                                                      • +Footnotes_Parser. Parses Posts and Pages for footnote shortcodes.
                                                                      • -Footnotes_Widget_Reference_Container. TODO
                                                                      • +Footnotes_Widget_Reference_Container. Defines the Reference Container widget.
                                                                      diff --git a/docs/classes/Footnotes-Settings.html b/docs/classes/Footnotes-Settings.html index 86bf800..bb6ecab 100644 --- a/docs/classes/Footnotes-Settings.html +++ b/docs/classes/Footnotes-Settings.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -100,7 +102,7 @@

                                                                      Loads the settings values, sets to default values if undefined.

                                                                      @@ -980,7 +982,7 @@

                                                                      Settings container key for the scalar value of the tooltip font size.

                                                                      @@ -1022,7 +1024,7 @@

                                                                      Settings container key for the backlinks column max width scalar.

                                                                      @@ -1064,7 +1066,7 @@

                                                                      Settings container key for the backlinks column width scalar.

                                                                      @@ -1106,7 +1108,7 @@

                                                                      Settings container key for 'the_content' hook priority level.

                                                                      @@ -1280,7 +1282,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for 'the_excerpt' hook priority level.

                                                                      @@ -1322,7 +1324,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for 'the_title' hook priority level.

                                                                      @@ -1383,7 +1385,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for 'widget_text' hook priority level.

                                                                      @@ -1425,7 +1427,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for 'widget_title' hook priority level.

                                                                      @@ -1467,7 +1469,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for alternative tooltip x offset.

                                                                      @@ -1509,7 +1511,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for alternative tooltip y offset.

                                                                      @@ -1551,7 +1553,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for alternative tooltip width.

                                                                      @@ -1593,7 +1595,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for the mouse-over box to define the border radius.

                                                                      @@ -1645,7 +1647,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for the mouse-over box to define the border width.

                                                                      @@ -1687,7 +1689,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for the mouse-over box to define the max. length of the enabled excerpt.

                                                                      @@ -1739,7 +1741,7 @@ priority needs to be at least 1200 (i.e. 0 =< $l_int_the_content_priority =&l

                                                                      Settings container key for the mouse-over box to define the max. width.

                                                                      @@ -1792,7 +1794,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the mouse-over box to define the offset (x).

                                                                      @@ -1834,7 +1836,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the mouse-over box to define the offset (y).

                                                                      @@ -1876,7 +1878,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for scroll down delay.

                                                                      @@ -1918,7 +1920,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for scroll down duration.

                                                                      @@ -1960,7 +1962,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for scroll duration.

                                                                      @@ -2005,7 +2007,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for scroll offset.

                                                                      @@ -2050,7 +2052,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for scroll up delay.

                                                                      @@ -2092,7 +2094,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for tooltip display fade-in delay.

                                                                      @@ -2134,7 +2136,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for tooltip display fade-in duration.

                                                                      @@ -2176,7 +2178,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for tooltip display fade-out delay.

                                                                      @@ -2218,7 +2220,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for tooltip display fade-out duration.

                                                                      @@ -2260,7 +2262,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for reference container bottom margin.

                                                                      @@ -2321,7 +2323,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for reference container top margin.

                                                                      @@ -2382,7 +2384,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable a max width for the backlinks column.

                                                                      @@ -2424,7 +2426,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the backlinks column max width unit.

                                                                      @@ -2466,7 +2468,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable the backlinks column width.

                                                                      @@ -2508,7 +2510,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the backlinks column width unit.

                                                                      @@ -2550,7 +2552,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable line breaks between backlinks.

                                                                      @@ -2592,7 +2594,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for a custom backlink separator.

                                                                      @@ -2634,7 +2636,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable the presence of a backlink separator.

                                                                      @@ -2695,7 +2697,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the backlink separator options.

                                                                      @@ -2737,7 +2739,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for a custom backlink terminator.

                                                                      @@ -2779,7 +2781,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable the presence of a backlink terminator.

                                                                      @@ -2821,7 +2823,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the backlink terminator options.

                                                                      @@ -2863,7 +2865,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for combining identical footnotes.

                                                                      @@ -2905,7 +2907,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key for the Custom CSS.

                                                                      @@ -2957,7 +2959,7 @@ The width should be limited to start with, for the box to have shape.

                                                                      Settings container key to enable display of legacy Custom CSS metaboxes.

                                                                      @@ -3010,7 +3012,7 @@ because when saving, all missing constants are emptied, and to_bool() converts e

                                                                      Settings container key for the Custom CSS migrated to a dedicated tab.

                                                                      @@ -3055,7 +3057,7 @@ because when saving, all missing constants are emptied, and to_bool() converts e

                                                                      Settings container key to enable the 'the_content' hook.

                                                                      @@ -3097,7 +3099,7 @@ because when saving, all missing constants are emptied, and to_bool() converts e

                                                                      Settings container key to enable the 'the_excerpt' hook.

                                                                      @@ -3235,7 +3237,7 @@ because when saving, all missing constants are emptied, and to_bool() converts e

                                                                      Settings container key to enable the 'the_title' hook.

                                                                      @@ -3287,7 +3289,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key to enable the 'widget_text' hook.

                                                                      @@ -3329,7 +3331,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key to enable the 'widget_title' hook.

                                                                      @@ -3371,7 +3373,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key for the fragment ID slug in footnotes.

                                                                      @@ -3413,7 +3415,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key to enable superscript style normalization.

                                                                      @@ -3472,7 +3474,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key for the footnote section shortcode.

                                                                      @@ -3533,7 +3535,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key to enable shortcode syntax validation.

                                                                      @@ -3575,7 +3577,7 @@ Footnotes doesn’t delete footnotes therein.

                                                                      Settings container key for URL wrap option.

                                                                      @@ -3619,7 +3621,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key for alternative tooltip position.

                                                                      @@ -3661,7 +3663,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key to enable AMP compatibility mode.

                                                                      @@ -3765,7 +3767,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key to enable backlink tooltips.

                                                                      @@ -3833,7 +3835,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key to configure the backlink tooltip.

                                                                      @@ -3894,7 +3896,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key for the counter style of the footnotes.

                                                                      @@ -3936,7 +3938,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key to enable CSS smooth scrolling.

                                                                      @@ -4013,7 +4015,7 @@ Unicode-compliant browsers break URLs at slashes.

                                                                      Settings container key for the Expert mode.

                                                                      @@ -4067,7 +4069,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 976 + 977

                                                                      Settings container key to enable hard links.

                                                                      @@ -4144,7 +4146,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 138 + 139

                                                                      Settings container key to look for footnotes in post excerpts.

                                                                      @@ -4243,7 +4245,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 1174 + 1175

                                                                      Settings container key to set the solution of the input element label issue.

                                                                      @@ -4292,7 +4294,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 179 + 180

                                                                      Settings container key for the 'I love footnotes' text.

                                                                      @@ -4334,7 +4336,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 445 + 446

                                                                      Settings container key to enable the alternative tooltips.

                                                                      @@ -4395,7 +4397,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                      class-footnotes-settings.php : - 338 + 339

                                                                      Settings container key for the mouse-over box to define the background color.

                                                                      @@ -4525,7 +4527,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the mouse-over box to define the border color.

                                                                      @@ -4567,7 +4569,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the mouse-over box to define the color.

                                                                      @@ -4646,7 +4648,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key to enable the mouse-over box.

                                                                      @@ -4688,7 +4690,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key to enable tooltip truncation.

                                                                      @@ -4730,7 +4732,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the mouse-over box to define the position.

                                                                      @@ -4772,7 +4774,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the mouse-over box to define the box-shadow color.

                                                                      @@ -4814,7 +4816,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for basic responsive page layout support options.

                                                                      @@ -4856,7 +4858,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key to select the script mode for the reference container.

                                                                      @@ -4917,7 +4919,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the referrer element.

                                                                      @@ -4978,7 +4980,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for scroll duration asymmetricity.

                                                                      @@ -5020,7 +5022,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the short code of the footnote’s end.

                                                                      @@ -5062,7 +5064,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the user-defined short code of the footnotes end.

                                                                      @@ -5104,7 +5106,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the short code of the footnote’s start.

                                                                      @@ -5146,7 +5148,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the user-defined short code of the footnotes start.

                                                                      @@ -5188,7 +5190,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the string after the footnote referrer.

                                                                      @@ -5230,7 +5232,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key for the string before the footnote referrer.

                                                                      @@ -5272,7 +5274,7 @@ But theme default background color doesn’t seem to exist.

                                                                      Settings container key to configure the tooltip excerpt delimiter.

                                                                      @@ -5335,7 +5337,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable mirroring the tooltip excerpt in the reference container.

                                                                      @@ -5392,7 +5394,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to configure the tooltip excerpt separator in the reference container.

                                                                      @@ -5434,7 +5436,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the label of the Read-on button in truncated tooltips.

                                                                      @@ -5495,7 +5497,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the ID separator in fragment IDs.

                                                                      @@ -5537,7 +5539,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the backlink symbol selection.

                                                                      @@ -5607,7 +5609,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the user-defined backlink symbol.

                                                                      @@ -5649,7 +5651,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the link element option.

                                                                      @@ -5710,7 +5712,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable setting the tooltip font size.

                                                                      @@ -5752,7 +5754,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the unit of the tooltip font size.

                                                                      @@ -5794,7 +5796,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable the legacy layout of the reference container.

                                                                      @@ -5839,7 +5841,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable the display of a backlink symbol.

                                                                      @@ -5900,7 +5902,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to get the backlink symbol switch side.

                                                                      @@ -5961,7 +5963,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to collapse the reference container by default.

                                                                      @@ -6012,7 +6014,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable the reference container label bottom border.

                                                                      @@ -6073,7 +6075,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the reference container label element.

                                                                      @@ -6134,7 +6136,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the label of the reference container.

                                                                      @@ -6176,7 +6178,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the position of the reference container.

                                                                      @@ -6218,7 +6220,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for reference container position shortcode.

                                                                      @@ -6279,7 +6281,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to enable reference container table row borders.

                                                                      @@ -6340,7 +6342,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key to not display the reference container on the homepage.

                                                                      @@ -6401,7 +6403,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Settings container key for the fragment ID slug in referrers.

                                                                      @@ -6458,7 +6460,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Contains all Settings Container names.

                                                                      @@ -6505,7 +6507,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Contains all Default Settings for each Settings Container.

                                                                      @@ -6691,7 +6693,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Contains all Settings from each Settings container as soon as this class is initialized.

                                                                      @@ -6738,7 +6740,7 @@ But Footnotes’ UI design policy is to make shortcodes freely configurable.

                                                                      Stores a singleton reference of this class.

                                                                      @@ -6790,7 +6792,7 @@ ull

                                                                      Deletes each Settings Container and loads the default values for each Settings Container.

                                                                      @@ -6852,7 +6854,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Returns the value of specified Settings name.

                                                                      @@ -6914,7 +6916,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Returns the name of a specified Settings Container.

                                                                      @@ -6976,7 +6978,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Returns the default values of a specific Settings Container.

                                                                      @@ -7037,7 +7039,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Returns a singleton of this class.

                                                                      @@ -7086,7 +7088,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Register all Settings Container for the Plugin Settings Page in the Dashboard.

                                                                      @@ -7136,7 +7138,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Updates a whole Settings container.

                                                                      @@ -7206,7 +7208,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Class Constructor. Loads all Settings from each WordPress Settings container.

                                                                      @@ -7255,7 +7257,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Loads all settings from specified settings container.

                                                                      @@ -7345,7 +7347,7 @@ done by deleting and reinstalling (see the warning about database backup).

                                                                      Loads all Settings from each Settings container.

                                                                      diff --git a/docs/classes/Footnotes-Template.html b/docs/classes/Footnotes-Template.html index b4bdfd1..7c574cc 100644 --- a/docs/classes/Footnotes-Template.html +++ b/docs/classes/Footnotes-Template.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/classes/Footnotes-WYSIWYG.html b/docs/classes/Footnotes-WYSIWYG.html index 841207b..5c8f76d 100644 --- a/docs/classes/Footnotes-WYSIWYG.html +++ b/docs/classes/Footnotes-WYSIWYG.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -100,7 +102,7 @@

                                                                      Handles the WSYIWYG-Buttons.

                                                                      @@ -196,7 +198,7 @@

                                                                      AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.

                                                                      @@ -246,7 +248,7 @@

                                                                      Includes the Plugins WYSIWYG editor script.

                                                                      @@ -307,7 +309,7 @@

                                                                      Add a new button to the plain text editor.

                                                                      @@ -356,7 +358,7 @@

                                                                      Append a new Button to the WYSIWYG editor of Posts and Pages.

                                                                      @@ -417,7 +419,7 @@

                                                                      Registers Button hooks.

                                                                      diff --git a/docs/classes/Footnotes-Widget-Base.html b/docs/classes/Footnotes-Widget-Base.html index c31e2aa..5e0ae21 100644 --- a/docs/classes/Footnotes-Widget-Base.html +++ b/docs/classes/Footnotes-Widget-Base.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/classes/Footnotes-Widget-Reference-Container.html b/docs/classes/Footnotes-Widget-Reference-Container.html index 4a409a9..6c7c8b7 100644 --- a/docs/classes/Footnotes-Widget-Reference-Container.html +++ b/docs/classes/Footnotes-Widget-Reference-Container.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -103,7 +105,7 @@

                                                                      Registers a Widget to put the Reference Container to the widget area.

                                                                      @@ -291,7 +293,7 @@

                                                                      Outputs the Settings of the Widget.

                                                                      @@ -353,7 +355,7 @@

                                                                      Outputs the Content of the Widget.

                                                                      @@ -423,7 +425,7 @@

                                                                      Returns the Description of the child widget.

                                                                      @@ -473,7 +475,7 @@

                                                                      Returns an unique ID as string used for the Widget Base ID.

                                                                      @@ -522,7 +524,7 @@

                                                                      Returns the Public name of the Widget to be displayed in the Configuration page.

                                                                      diff --git a/docs/classes/Footnotes-i18n.html b/docs/classes/Footnotes-i18n.html index 2ec15bd..0c38fdf 100644 --- a/docs/classes/Footnotes-i18n.html +++ b/docs/classes/Footnotes-i18n.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/classes/Footnotes.html b/docs/classes/Footnotes.html index 9fc4fd8..1a72f62 100644 --- a/docs/classes/Footnotes.html +++ b/docs/classes/Footnotes.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -491,7 +493,7 @@ the public-facing side of the site.

                                                                      The reference to the class that orchestrates the hooks with the plugin.

                                                                      @@ -541,7 +543,7 @@ the public-facing side of the site.

                                                                      The name of the plugin used to uniquely identify it within the context of @@ -592,7 +594,7 @@ WordPress and to define internationalization functionality.

                                                                      Retrieve the version number of the plugin.

                                                                      @@ -642,7 +644,7 @@ WordPress and to define internationalization functionality.

                                                                      Run the loader to execute all of the hooks with WordPress.

                                                                      @@ -700,7 +702,7 @@ WordPress and to define internationalization functionality.

                                                                      Register all of the hooks related to the admin area functionality @@ -759,7 +761,7 @@ of the plugin.

                                                                      Register all of the hooks related to the public-facing functionality @@ -818,7 +820,7 @@ of the plugin.

                                                                      Load the required dependencies for this plugin.

                                                                      @@ -829,10 +831,22 @@ of the plugin.

                                                                      Include the following files that make up the plugin:

                                                                        -
                                                                      • Footnotes_Loader. Orchestrates the hooks of the plugin.
                                                                      • -
                                                                      • Footnotes_i18n. Defines internationalization functionality.
                                                                      • -
                                                                      • Footnotes_Admin. Defines all hooks for the admin area.
                                                                      • -
                                                                      • Footnotes_Public. Defines all hooks for the public side of the site.
                                                                      • +
                                                                      • +Footnotes_Loader. Orchestrates the hooks of the plugin.
                                                                      • +
                                                                      • +Footnotes_i18n. Defines internationalization functionality.
                                                                      • +
                                                                      • +Footnotes_Config. Defines plugin details.
                                                                      • +
                                                                      • +Footnotes_Convert. Provides conversion methods.
                                                                      • +
                                                                      • +Footnotes_Settings. Defines customisable plugin settings.
                                                                      • +
                                                                      • +Footnotes_Template. Handles template rendering.
                                                                      • +
                                                                      • +Footnotes_Admin. Defines all hooks for the admin area.
                                                                      • +
                                                                      • +Footnotes_Public. Defines all hooks for the public side of the site.

                                                                      Create an instance of the loader which will be used to register the hooks with WordPress.

                                                                      @@ -885,7 +899,7 @@ with WordPress.

                                                                      Define the locale for this plugin for internationalization.

                                                                      diff --git a/docs/files/src-admin-class-footnotes-admin.html b/docs/files/src-admin-class-footnotes-admin.html index dc2146e..d9eb86f 100644 --- a/docs/files/src-admin-class-footnotes-admin.html +++ b/docs/files/src-admin-class-footnotes-admin.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-admin-class-footnotes-wysiwyg.html b/docs/files/src-admin-class-footnotes-wysiwyg.html index 24cf02d..0b0e6ec 100644 --- a/docs/files/src-admin-class-footnotes-wysiwyg.html +++ b/docs/files/src-admin-class-footnotes-wysiwyg.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-admin-index.html b/docs/files/src-admin-index.html index 4827a6d..b37484d 100644 --- a/docs/files/src-admin-index.html +++ b/docs/files/src-admin-index.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-admin-layout-class-footnotes-layout-engine.html b/docs/files/src-admin-layout-class-footnotes-layout-engine.html index 6cfd198..2358f0e 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-engine.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-engine.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-admin-layout-class-footnotes-layout-init.html b/docs/files/src-admin-layout-class-footnotes-layout-init.html index 65a1547..c57da17 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-init.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-init.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -80,6 +82,7 @@
                                                                      diff --git a/docs/files/src-admin-layout-class-footnotes-layout-settings.html b/docs/files/src-admin-layout-class-footnotes-layout-settings.html index 95b4419..e822e7e 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-settings.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-settings.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -80,6 +82,7 @@
                                                                      diff --git a/docs/files/src-footnotes.html b/docs/files/src-footnotes.html index ee94d33..62b5816 100644 --- a/docs/files/src-footnotes.html +++ b/docs/files/src-footnotes.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-activator.html b/docs/files/src-includes-class-footnotes-activator.html index 23ebe44..76d8421 100644 --- a/docs/files/src-includes-class-footnotes-activator.html +++ b/docs/files/src-includes-class-footnotes-activator.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-config.html b/docs/files/src-includes-class-footnotes-config.html index 7c1fac2..cd4844a 100644 --- a/docs/files/src-includes-class-footnotes-config.html +++ b/docs/files/src-includes-class-footnotes-config.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-convert.html b/docs/files/src-includes-class-footnotes-convert.html index 876dff2..1149140 100644 --- a/docs/files/src-includes-class-footnotes-convert.html +++ b/docs/files/src-includes-class-footnotes-convert.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-deactivator.html b/docs/files/src-includes-class-footnotes-deactivator.html index 5da7018..67f4b9f 100644 --- a/docs/files/src-includes-class-footnotes-deactivator.html +++ b/docs/files/src-includes-class-footnotes-deactivator.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-i18n.html b/docs/files/src-includes-class-footnotes-i18n.html index 1c28315..24b4a7e 100644 --- a/docs/files/src-includes-class-footnotes-i18n.html +++ b/docs/files/src-includes-class-footnotes-i18n.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-loader.html b/docs/files/src-includes-class-footnotes-loader.html index 149e066..6056a40 100644 --- a/docs/files/src-includes-class-footnotes-loader.html +++ b/docs/files/src-includes-class-footnotes-loader.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-class-footnotes-settings.html b/docs/files/src-includes-class-footnotes-settings.html index 658d74e..57a9e56 100644 --- a/docs/files/src-includes-class-footnotes-settings.html +++ b/docs/files/src-includes-class-footnotes-settings.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -80,6 +82,7 @@
                                                                      diff --git a/docs/files/src-includes-class-footnotes-template.html b/docs/files/src-includes-class-footnotes-template.html index 56d379d..cd3b781 100644 --- a/docs/files/src-includes-class-footnotes-template.html +++ b/docs/files/src-includes-class-footnotes-template.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      @@ -80,6 +82,7 @@
                                                                      diff --git a/docs/files/src-includes-class-footnotes.html b/docs/files/src-includes-class-footnotes.html index 1ece9e5..894d895 100644 --- a/docs/files/src-includes-class-footnotes.html +++ b/docs/files/src-includes-class-footnotes.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-includes-index.html b/docs/files/src-includes-index.html index 2e12629..1aeefe2 100644 --- a/docs/files/src-includes-index.html +++ b/docs/files/src-includes-index.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-index.html b/docs/files/src-index.html index 5166573..68b376a 100644 --- a/docs/files/src-index.html +++ b/docs/files/src-index.html @@ -59,7 +59,9 @@

                                                                      Default

                                                                      diff --git a/docs/files/src-public-class-footnotes-parser.html b/docs/files/src-public-class-footnotes-parser.html new file mode 100644 index 0000000..773676e --- /dev/null +++ b/docs/files/src-public-class-footnotes-parser.html @@ -0,0 +1,133 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                      +

                                                                      Documentation

                                                                      + + + + + +
                                                                      + +
                                                                      +
                                                                      + + + + +
                                                                      + + +
                                                                      +

                                                                      class-footnotes-parser.php

                                                                      + + + +

                                                                      + Interfaces, Classes and Traits + +

                                                                      + +
                                                                      + +
                                                                      Footnotes_Parser
                                                                      +
                                                                      Searches and replaces the footnotes and generates the reference container.
                                                                      + +
                                                                      + + + + + + + +
                                                                      +
                                                                      +
                                                                      +
                                                                      +

                                                                      Search results

                                                                      + +
                                                                      +
                                                                      +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + + +
                                                                        + + + + diff --git a/docs/files/src-public-class-footnotes-public.html b/docs/files/src-public-class-footnotes-public.html index a1f03bc..0a147e0 100644 --- a/docs/files/src-public-class-footnotes-public.html +++ b/docs/files/src-public-class-footnotes-public.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        diff --git a/docs/files/src-public-index.html b/docs/files/src-public-index.html index b09f9b2..e20cf79 100644 --- a/docs/files/src-public-index.html +++ b/docs/files/src-public-index.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        diff --git a/docs/files/src-public-widget-class-footnotes-widget-base.html b/docs/files/src-public-widget-class-footnotes-widget-base.html index 069bbb2..8a03533 100644 --- a/docs/files/src-public-widget-class-footnotes-widget-base.html +++ b/docs/files/src-public-widget-class-footnotes-widget-base.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        @@ -80,6 +82,7 @@
                                                                        diff --git a/docs/files/src-public-widget-class-footnotes-widget-reference-container.html b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html index 9c7f5ca..a4484f5 100644 --- a/docs/files/src-public-widget-class-footnotes-widget-reference-container.html +++ b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        @@ -80,6 +82,7 @@
                                                                        diff --git a/docs/files/src-uninstall.html b/docs/files/src-uninstall.html index 1e0e617..0e29253 100644 --- a/docs/files/src-uninstall.html +++ b/docs/files/src-uninstall.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        diff --git a/docs/graphs/classes.html b/docs/graphs/classes.html index 8361330..3a06465 100644 --- a/docs/graphs/classes.html +++ b/docs/graphs/classes.html @@ -52,7 +52,9 @@

                                                                        Default

                                                                        diff --git a/docs/index.html b/docs/index.html index 5637e63..66de63d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        @@ -129,12 +131,12 @@
                                                                        Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                                        Footnotes_Public
                                                                        The public-facing functionality of the plugin.
                                                                        -
                                                                        Footnotes_Task
                                                                        -
                                                                        Searches and replaces the footnotes and generates the reference container.
                                                                        Footnotes_Widget_Base
                                                                        Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                        Footnotes_Widget_Reference_Container
                                                                        Registers a Widget to put the Reference Container to the widget area.
                                                                        +
                                                                        Footnotes_Parser
                                                                        +
                                                                        Searches and replaces the footnotes and generates the reference container.
                                                                        diff --git a/docs/indices/files.html b/docs/indices/files.html index c68514a..70fc831 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -59,7 +59,9 @@

                                                                        Default

                                                                        @@ -92,9 +94,9 @@
                                                                      • class-footnotes-layout-init.php
                                                                      • class-footnotes-layout-settings.php
                                                                      • class-footnotes-loader.php
                                                                      • +
                                                                      • class-footnotes-parser.php
                                                                      • class-footnotes-public.php
                                                                      • class-footnotes-settings.php
                                                                      • -
                                                                      • class-footnotes-task.php
                                                                      • class-footnotes-template.php
                                                                      • class-footnotes-widget-base.php
                                                                      • class-footnotes-widget-reference-container.php
                                                                      • @@ -107,10 +109,10 @@

                                                                        I

                                                                        U

                                                                          diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index 25edadf..3c4013d 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -126,10 +126,10 @@ Search.appendIndex( "summary": "Register\u0020the\u0020JavaScript\u0020for\u0020the\u0020admin\u0020area.", "url": "classes/Footnotes-Admin.html#method_enqueue_scripts" }, { - "fqsen": "\\Footnotes_Admin\u003A\u003Aget_plugin_links\u0028\u0029", - "name": "get_plugin_links", + "fqsen": "\\Footnotes_Admin\u003A\u003Afootnotes_action_links\u0028\u0029", + "name": "footnotes_action_links", "summary": "Appends\u0020the\u0020Plugin\u0020links\u0020for\u0020display\u0020in\u0020the\u0020dashboard\u0020Plugins\u0020page.", - "url": "classes/Footnotes-Admin.html#method_get_plugin_links" + "url": "classes/Footnotes-Admin.html#method_footnotes_action_links" }, { "fqsen": "\\Footnotes_Admin\u003A\u003A\u0024plugin_name", "name": "plugin_name", @@ -320,6 +320,11 @@ Search.appendIndex( "name": "__construct", "summary": "Class\u0020Constructor.\u0020Initializes\u0020all\u0020WordPress\u0020hooks\u0020for\u0020the\u0020Plugin\u0020Settings.", "url": "classes/Footnotes-Layout-Init.html#method___construct" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020this\u0020plugin.", + "url": "classes/Footnotes-Layout-Init.html#method_load_dependencies" }, { "fqsen": "\\Footnotes_Layout_Init\u003A\u003Ainitialize_settings\u0028\u0029", "name": "initialize_settings", @@ -340,11 +345,6 @@ Search.appendIndex( "name": "C_STR_MAIN_MENU_SLUG", "summary": "Slug\u0020for\u0020the\u0020Plugin\u0020main\u0020menu.", "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_SLUG" - }, { - "fqsen": "\\Footnotes_Layout_Init\u003A\u003AC_STR_MAIN_MENU_TITLE", - "name": "C_STR_MAIN_MENU_TITLE", - "summary": "Plugin\u0020main\u0020menu\u0020name.", - "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_TITLE" }, { "fqsen": "\\Footnotes_Layout_Init\u003A\u003A\u0024settings_page", "name": "settings_page", @@ -1345,196 +1345,6 @@ Search.appendIndex( "name": "a_str_script_mode", "summary": "Allows\u0020to\u0020determine\u0020the\u0020script\u0020mode\u0020among\u0020jQuery\u0020or\u0020plain\u0020JS.", "url": "classes/Footnotes-Public.html#property_a_str_script_mode" - }, { - "fqsen": "\\Footnotes_Task", - "name": "Footnotes_Task", - "summary": "Searches\u0020and\u0020replaces\u0020the\u0020footnotes\u0020and\u0020generates\u0020the\u0020reference\u0020container.", - "url": "classes/Footnotes-Task.html" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", - "url": "classes/Footnotes-Task.html#method___construct" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Aregister_hooks\u0028\u0029", - "name": "register_hooks", - "summary": "Register\u0020WordPress\u0020hooks\u0020to\u0020replace\u0020Footnotes\u0020in\u0020the\u0020content\u0020of\u0020a\u0020public\u0020page.", - "url": "classes/Footnotes-Task.html#method_register_hooks" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_output_head\u0028\u0029", - "name": "footnotes_output_head", - "summary": "Outputs\u0020the\u0020custom\u0020css\u0020to\u0020the\u0020header\u0020of\u0020the\u0020public\u0020page.", - "url": "classes/Footnotes-Task.html#method_footnotes_output_head" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_output_footer\u0028\u0029", - "name": "footnotes_output_footer", - "summary": "Displays\u0020the\u0020\u0027LOVE\u0020FOOTNOTES\u0027\u0020slug\u0020if\u0020enabled.", - "url": "classes/Footnotes-Task.html#method_footnotes_output_footer" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_in_title\u0028\u0029", - "name": "footnotes_in_title", - "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020post\/page\u0020title.", - "url": "classes/Footnotes-Task.html#method_footnotes_in_title" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_in_content\u0028\u0029", - "name": "footnotes_in_content", - "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020content\u0020of\u0020the\u0020current\u0020page\/post.", - "url": "classes/Footnotes-Task.html#method_footnotes_in_content" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_in_excerpt\u0028\u0029", - "name": "footnotes_in_excerpt", - "summary": "Processes\u0020existing\u0020excerpt\u0020or\u0020replaces\u0020it\u0020with\u0020a\u0020new\u0020one\u0020generated\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", - "url": "classes/Footnotes-Task.html#method_footnotes_in_excerpt" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Agenerate_excerpt\u0028\u0029", - "name": "generate_excerpt", - "summary": "Generates\u0020excerpt\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", - "url": "classes/Footnotes-Task.html#method_generate_excerpt" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Agenerate_excerpt_with_footnotes\u0028\u0029", - "name": "generate_excerpt_with_footnotes", - "summary": "Generates\u0020excerpt\u0020with\u0020footnotes\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", - "url": "classes/Footnotes-Task.html#method_generate_excerpt_with_footnotes" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_in_widget_title\u0028\u0029", - "name": "footnotes_in_widget_title", - "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020widget\u0020title.", - "url": "classes/Footnotes-Task.html#method_footnotes_in_widget_title" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Afootnotes_in_widget_text\u0028\u0029", - "name": "footnotes_in_widget_text", - "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020content\u0020of\u0020the\u0020current\u0020widget.", - "url": "classes/Footnotes-Task.html#method_footnotes_in_widget_text" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Aexec\u0028\u0029", - "name": "exec", - "summary": "Replaces\u0020all\u0020footnotes\u0020that\u0020occur\u0020in\u0020the\u0020given\u0020content.", - "url": "classes/Footnotes-Task.html#method_exec" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Aunify_delimiters\u0028\u0029", - "name": "unify_delimiters", - "summary": "Brings\u0020the\u0020delimiters\u0020and\u0020unifies\u0020their\u0020various\u0020HTML\u0020escapement\u0020schemas.", - "url": "classes/Footnotes-Task.html#method_unify_delimiters" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Asearch\u0028\u0029", - "name": "search", - "summary": "Replaces\u0020all\u0020footnotes\u0020in\u0020the\u0020given\u0020content\u0020and\u0020appends\u0020them\u0020to\u0020the\u0020static\u0020property.", - "url": "classes/Footnotes-Task.html#method_search" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003Areference_container\u0028\u0029", - "name": "reference_container", - "summary": "Generates\u0020the\u0020reference\u0020container.", - "url": "classes/Footnotes-Task.html#method_reference_container" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_arr_footnotes", - "name": "a_arr_footnotes", - "summary": "Contains\u0020all\u0020footnotes\u0020found\u0020in\u0020the\u0020searched\u0020content.", - "url": "classes/Footnotes-Task.html#property_a_arr_footnotes" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_bool_allow_love_me", - "name": "a_bool_allow_love_me", - "summary": "Flag\u0020if\u0020the\u0020display\u0020of\u0020\u0027LOVE\u0020FOOTNOTES\u0027\u0020is\u0020allowed\u0020on\u0020the\u0020current\u0020public\u0020page.", - "url": "classes/Footnotes-Task.html#property_a_bool_allow_love_me" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_prefix", - "name": "a_str_prefix", - "summary": "Prefix\u0020for\u0020the\u0020Footnote\u0020html\u0020element\u0020ID.", - "url": "classes/Footnotes-Task.html#property_a_str_prefix" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_int_post_id", - "name": "a_int_post_id", - "summary": "Autoload\u0020a.k.a.\u0020infinite\u0020scroll,\u0020or\u0020archive\u0020view.", - "url": "classes/Footnotes-Task.html#property_a_int_post_id" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_int_reference_container_id", - "name": "a_int_reference_container_id", - "summary": "Multiple\u0020reference\u0020containers\u0020in\u0020content\u0020and\u0020widgets.", - "url": "classes/Footnotes-Task.html#property_a_int_reference_container_id" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_bool_hard_links_enabled", - "name": "a_bool_hard_links_enabled", - "summary": "Hard\u0020links\u0020for\u0020AMP\u0020compatibility.", - "url": "classes/Footnotes-Task.html#property_a_bool_hard_links_enabled" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_referrer_link_slug", - "name": "a_str_referrer_link_slug", - "summary": "The\u0020referrer\u0020slug.", - "url": "classes/Footnotes-Task.html#property_a_str_referrer_link_slug" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_footnote_link_slug", - "name": "a_str_footnote_link_slug", - "summary": "The\u0020footnote\u0020slug.", - "url": "classes/Footnotes-Task.html#property_a_str_footnote_link_slug" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_link_ids_separator", - "name": "a_str_link_ids_separator", - "summary": "The\u0020slug\u0020and\u0020identifier\u0020separator.", - "url": "classes/Footnotes-Task.html#property_a_str_link_ids_separator" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_post_container_id_compound", - "name": "a_str_post_container_id_compound", - "summary": "Contains\u0020the\u0020concatenated\u0020fragment\u0020ID\u0020base.", - "url": "classes/Footnotes-Task.html#property_a_str_post_container_id_compound" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_int_scroll_offset", - "name": "a_int_scroll_offset", - "summary": "Scroll\u0020offset.", - "url": "classes/Footnotes-Task.html#property_a_int_scroll_offset" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_link_span", - "name": "a_str_link_span", - "summary": "The\u0020span\u0020element\u0020name.", - "url": "classes/Footnotes-Task.html#property_a_str_link_span" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_link_open_tag", - "name": "a_str_link_open_tag", - "summary": "The\u0020opening\u0020tag.", - "url": "classes/Footnotes-Task.html#property_a_str_link_open_tag" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_link_close_tag", - "name": "a_str_link_close_tag", - "summary": "The\u0020closing\u0020tag.", - "url": "classes/Footnotes-Task.html#property_a_str_link_close_tag" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_tooltip_shortcode", - "name": "a_str_tooltip_shortcode", - "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode.", - "url": "classes/Footnotes-Task.html#property_a_str_tooltip_shortcode" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_int_tooltip_shortcode_length", - "name": "a_int_tooltip_shortcode_length", - "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode\u0020length.", - "url": "classes/Footnotes-Task.html#property_a_int_tooltip_shortcode_length" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_bool_mirror_tooltip_text", - "name": "a_bool_mirror_tooltip_text", - "summary": "Whether\u0020to\u0020mirror\u0020the\u0020tooltip\u0020text\u0020in\u0020the\u0020reference\u0020container.", - "url": "classes/Footnotes-Task.html#property_a_bool_mirror_tooltip_text" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_start_tag", - "name": "a_str_start_tag", - "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code.", - "url": "classes/Footnotes-Task.html#property_a_str_start_tag" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_end_tag", - "name": "a_str_end_tag", - "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code.", - "url": "classes/Footnotes-Task.html#property_a_str_end_tag" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_start_tag_regex", - "name": "a_str_start_tag_regex", - "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code\u0020in\u0020regex\u0020format.", - "url": "classes/Footnotes-Task.html#property_a_str_start_tag_regex" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_str_end_tag_regex", - "name": "a_str_end_tag_regex", - "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code\u0020in\u0020regex\u0020format.", - "url": "classes/Footnotes-Task.html#property_a_str_end_tag_regex" - }, { - "fqsen": "\\Footnotes_Task\u003A\u003A\u0024a_bool_syntax_error_flag", - "name": "a_bool_syntax_error_flag", - "summary": "Footnote\u0020delimiter\u0020syntax\u0020validation\u0020enabled.", - "url": "classes/Footnotes-Task.html#property_a_bool_syntax_error_flag" }, { "fqsen": "\\Footnotes_Widget_Base", "name": "Footnotes_Widget_Base", @@ -1595,6 +1405,196 @@ Search.appendIndex( "name": "widget", "summary": "Outputs\u0020the\u0020Content\u0020of\u0020the\u0020Widget.", "url": "classes/Footnotes-Widget-Reference-Container.html#method_widget" + }, { + "fqsen": "\\Footnotes_Parser", + "name": "Footnotes_Parser", + "summary": "Searches\u0020and\u0020replaces\u0020the\u0020footnotes\u0020and\u0020generates\u0020the\u0020reference\u0020container.", + "url": "classes/Footnotes-Parser.html" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Parser.html#method___construct" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Aregister_hooks\u0028\u0029", + "name": "register_hooks", + "summary": "Register\u0020WordPress\u0020hooks\u0020to\u0020replace\u0020Footnotes\u0020in\u0020the\u0020content\u0020of\u0020a\u0020public\u0020page.", + "url": "classes/Footnotes-Parser.html#method_register_hooks" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_output_head\u0028\u0029", + "name": "footnotes_output_head", + "summary": "Outputs\u0020the\u0020custom\u0020css\u0020to\u0020the\u0020header\u0020of\u0020the\u0020public\u0020page.", + "url": "classes/Footnotes-Parser.html#method_footnotes_output_head" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_output_footer\u0028\u0029", + "name": "footnotes_output_footer", + "summary": "Displays\u0020the\u0020\u0027LOVE\u0020FOOTNOTES\u0027\u0020slug\u0020if\u0020enabled.", + "url": "classes/Footnotes-Parser.html#method_footnotes_output_footer" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_in_title\u0028\u0029", + "name": "footnotes_in_title", + "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020post\/page\u0020title.", + "url": "classes/Footnotes-Parser.html#method_footnotes_in_title" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_in_content\u0028\u0029", + "name": "footnotes_in_content", + "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020content\u0020of\u0020the\u0020current\u0020page\/post.", + "url": "classes/Footnotes-Parser.html#method_footnotes_in_content" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_in_excerpt\u0028\u0029", + "name": "footnotes_in_excerpt", + "summary": "Processes\u0020existing\u0020excerpt\u0020or\u0020replaces\u0020it\u0020with\u0020a\u0020new\u0020one\u0020generated\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", + "url": "classes/Footnotes-Parser.html#method_footnotes_in_excerpt" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Agenerate_excerpt\u0028\u0029", + "name": "generate_excerpt", + "summary": "Generates\u0020excerpt\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", + "url": "classes/Footnotes-Parser.html#method_generate_excerpt" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Agenerate_excerpt_with_footnotes\u0028\u0029", + "name": "generate_excerpt_with_footnotes", + "summary": "Generates\u0020excerpt\u0020with\u0020footnotes\u0020on\u0020the\u0020basis\u0020of\u0020the\u0020post.", + "url": "classes/Footnotes-Parser.html#method_generate_excerpt_with_footnotes" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_in_widget_title\u0028\u0029", + "name": "footnotes_in_widget_title", + "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020widget\u0020title.", + "url": "classes/Footnotes-Parser.html#method_footnotes_in_widget_title" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Afootnotes_in_widget_text\u0028\u0029", + "name": "footnotes_in_widget_text", + "summary": "Replaces\u0020footnotes\u0020in\u0020the\u0020content\u0020of\u0020the\u0020current\u0020widget.", + "url": "classes/Footnotes-Parser.html#method_footnotes_in_widget_text" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Aexec\u0028\u0029", + "name": "exec", + "summary": "Replaces\u0020all\u0020footnotes\u0020that\u0020occur\u0020in\u0020the\u0020given\u0020content.", + "url": "classes/Footnotes-Parser.html#method_exec" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Aunify_delimiters\u0028\u0029", + "name": "unify_delimiters", + "summary": "Brings\u0020the\u0020delimiters\u0020and\u0020unifies\u0020their\u0020various\u0020HTML\u0020escapement\u0020schemas.", + "url": "classes/Footnotes-Parser.html#method_unify_delimiters" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Asearch\u0028\u0029", + "name": "search", + "summary": "Replaces\u0020all\u0020footnotes\u0020in\u0020the\u0020given\u0020content\u0020and\u0020appends\u0020them\u0020to\u0020the\u0020static\u0020property.", + "url": "classes/Footnotes-Parser.html#method_search" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003Areference_container\u0028\u0029", + "name": "reference_container", + "summary": "Generates\u0020the\u0020reference\u0020container.", + "url": "classes/Footnotes-Parser.html#method_reference_container" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_arr_footnotes", + "name": "a_arr_footnotes", + "summary": "Contains\u0020all\u0020footnotes\u0020found\u0020in\u0020the\u0020searched\u0020content.", + "url": "classes/Footnotes-Parser.html#property_a_arr_footnotes" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_bool_allow_love_me", + "name": "a_bool_allow_love_me", + "summary": "Flag\u0020if\u0020the\u0020display\u0020of\u0020\u0027LOVE\u0020FOOTNOTES\u0027\u0020is\u0020allowed\u0020on\u0020the\u0020current\u0020public\u0020page.", + "url": "classes/Footnotes-Parser.html#property_a_bool_allow_love_me" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_prefix", + "name": "a_str_prefix", + "summary": "Prefix\u0020for\u0020the\u0020Footnote\u0020html\u0020element\u0020ID.", + "url": "classes/Footnotes-Parser.html#property_a_str_prefix" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_int_post_id", + "name": "a_int_post_id", + "summary": "Autoload\u0020a.k.a.\u0020infinite\u0020scroll,\u0020or\u0020archive\u0020view.", + "url": "classes/Footnotes-Parser.html#property_a_int_post_id" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_int_reference_container_id", + "name": "a_int_reference_container_id", + "summary": "Multiple\u0020reference\u0020containers\u0020in\u0020content\u0020and\u0020widgets.", + "url": "classes/Footnotes-Parser.html#property_a_int_reference_container_id" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_bool_hard_links_enabled", + "name": "a_bool_hard_links_enabled", + "summary": "Hard\u0020links\u0020for\u0020AMP\u0020compatibility.", + "url": "classes/Footnotes-Parser.html#property_a_bool_hard_links_enabled" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_referrer_link_slug", + "name": "a_str_referrer_link_slug", + "summary": "The\u0020referrer\u0020slug.", + "url": "classes/Footnotes-Parser.html#property_a_str_referrer_link_slug" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_footnote_link_slug", + "name": "a_str_footnote_link_slug", + "summary": "The\u0020footnote\u0020slug.", + "url": "classes/Footnotes-Parser.html#property_a_str_footnote_link_slug" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_link_ids_separator", + "name": "a_str_link_ids_separator", + "summary": "The\u0020slug\u0020and\u0020identifier\u0020separator.", + "url": "classes/Footnotes-Parser.html#property_a_str_link_ids_separator" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_post_container_id_compound", + "name": "a_str_post_container_id_compound", + "summary": "Contains\u0020the\u0020concatenated\u0020fragment\u0020ID\u0020base.", + "url": "classes/Footnotes-Parser.html#property_a_str_post_container_id_compound" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_int_scroll_offset", + "name": "a_int_scroll_offset", + "summary": "Scroll\u0020offset.", + "url": "classes/Footnotes-Parser.html#property_a_int_scroll_offset" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_link_span", + "name": "a_str_link_span", + "summary": "The\u0020span\u0020element\u0020name.", + "url": "classes/Footnotes-Parser.html#property_a_str_link_span" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_link_open_tag", + "name": "a_str_link_open_tag", + "summary": "The\u0020opening\u0020tag.", + "url": "classes/Footnotes-Parser.html#property_a_str_link_open_tag" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_link_close_tag", + "name": "a_str_link_close_tag", + "summary": "The\u0020closing\u0020tag.", + "url": "classes/Footnotes-Parser.html#property_a_str_link_close_tag" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_tooltip_shortcode", + "name": "a_str_tooltip_shortcode", + "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode.", + "url": "classes/Footnotes-Parser.html#property_a_str_tooltip_shortcode" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_int_tooltip_shortcode_length", + "name": "a_int_tooltip_shortcode_length", + "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode\u0020length.", + "url": "classes/Footnotes-Parser.html#property_a_int_tooltip_shortcode_length" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_bool_mirror_tooltip_text", + "name": "a_bool_mirror_tooltip_text", + "summary": "Whether\u0020to\u0020mirror\u0020the\u0020tooltip\u0020text\u0020in\u0020the\u0020reference\u0020container.", + "url": "classes/Footnotes-Parser.html#property_a_bool_mirror_tooltip_text" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_start_tag", + "name": "a_str_start_tag", + "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code.", + "url": "classes/Footnotes-Parser.html#property_a_str_start_tag" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_end_tag", + "name": "a_str_end_tag", + "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code.", + "url": "classes/Footnotes-Parser.html#property_a_str_end_tag" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_start_tag_regex", + "name": "a_str_start_tag_regex", + "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code\u0020in\u0020regex\u0020format.", + "url": "classes/Footnotes-Parser.html#property_a_str_start_tag_regex" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_str_end_tag_regex", + "name": "a_str_end_tag_regex", + "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code\u0020in\u0020regex\u0020format.", + "url": "classes/Footnotes-Parser.html#property_a_str_end_tag_regex" + }, { + "fqsen": "\\Footnotes_Parser\u003A\u003A\u0024a_bool_syntax_error_flag", + "name": "a_bool_syntax_error_flag", + "summary": "Footnote\u0020delimiter\u0020syntax\u0020validation\u0020enabled.", + "url": "classes/Footnotes-Parser.html#property_a_bool_syntax_error_flag" }, { "fqsen": "\\", "name": "\\", diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 00764db..ec6bbf8 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -59,7 +59,9 @@

                                                                          Default

                                                                          @@ -123,12 +125,12 @@
                                                                          Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                                          Footnotes_Public
                                                                          The public-facing functionality of the plugin.
                                                                          -
                                                                          Footnotes_Task
                                                                          -
                                                                          Searches and replaces the footnotes and generates the reference container.
                                                                          Footnotes_Widget_Base
                                                                          Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                          Footnotes_Widget_Reference_Container
                                                                          Registers a Widget to put the Reference Container to the widget area.
                                                                          +
                                                                          Footnotes_Parser
                                                                          +
                                                                          Searches and replaces the footnotes and generates the reference container.
                                                                          diff --git a/docs/packages/Default.html b/docs/packages/Default.html index d3d3168..7e0dfad 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -59,7 +59,9 @@

                                                                          Default

                                                                          diff --git a/docs/packages/default.html b/docs/packages/default.html index 1b1ea46..2de5554 100644 --- a/docs/packages/default.html +++ b/docs/packages/default.html @@ -59,7 +59,9 @@

                                                                          Default

                                                                          diff --git a/docs/packages/footnotes-footnotesadmin.html b/docs/packages/footnotes-footnotesadmin.html index cdf4e42..48f7963 100644 --- a/docs/packages/footnotes-footnotesadmin.html +++ b/docs/packages/footnotes-footnotesadmin.html @@ -59,7 +59,9 @@

                                                                          Default

                                                                          diff --git a/docs/packages/footnotes-footnotesadminlayout.html b/docs/packages/footnotes-footnotesadminlayout.html new file mode 100644 index 0000000..44afbef --- /dev/null +++ b/docs/packages/footnotes-footnotesadminlayout.html @@ -0,0 +1,120 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                          +

                                                                          Documentation

                                                                          + + + + + +
                                                                          + +
                                                                          +
                                                                          + + + + +
                                                                          + + +
                                                                          +

                                                                          footnotesadminlayout

                                                                          + + + + + + + + + +
                                                                          +
                                                                          +
                                                                          +
                                                                          +

                                                                          Search results

                                                                          + +
                                                                          +
                                                                          +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            + + +
                                                                            + + + + diff --git a/docs/packages/footnotes-footnotesincludes.html b/docs/packages/footnotes-footnotesincludes.html index 5550b48..4e5c6fa 100644 --- a/docs/packages/footnotes-footnotesincludes.html +++ b/docs/packages/footnotes-footnotesincludes.html @@ -59,7 +59,9 @@

                                                                            Default

                                                                            diff --git a/docs/packages/footnotes-footnotespublic.html b/docs/packages/footnotes-footnotespublic.html index 4ecfc5a..ff24bbb 100644 --- a/docs/packages/footnotes-footnotespublic.html +++ b/docs/packages/footnotes-footnotespublic.html @@ -59,7 +59,9 @@

                                                                            Default

                                                                            diff --git a/docs/packages/footnotes-footnotespublicwidget.html b/docs/packages/footnotes-footnotespublicwidget.html new file mode 100644 index 0000000..550ab65 --- /dev/null +++ b/docs/packages/footnotes-footnotespublicwidget.html @@ -0,0 +1,120 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                            +

                                                                            Documentation

                                                                            + + + + + +
                                                                            + +
                                                                            +
                                                                            + + + + +
                                                                            + + +
                                                                            +

                                                                            footnotespublicwidget

                                                                            + + + + + + + + + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index eba3109..755e0b2 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -59,7 +59,9 @@

                                                                              Default

                                                                              @@ -92,7 +94,9 @@
                                                                              footnotesincludes
                                                                              footnotesadmin
                                                                              +
                                                                              footnotesadminlayout
                                                                              footnotespublic
                                                                              +
                                                                              footnotespublicwidget
                                                                              @@ -119,12 +123,12 @@
                                                                              Loads the settings values, sets to default values if undefined.
                                                                              Footnotes_Template
                                                                              Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                                              -
                                                                              Footnotes_Task
                                                                              -
                                                                              Searches and replaces the footnotes and generates the reference container.
                                                                              Footnotes_Widget_Base
                                                                              Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                              Footnotes_Widget_Reference_Container
                                                                              Registers a Widget to put the Reference Container to the widget area.
                                                                              +
                                                                              Footnotes_Parser
                                                                              +
                                                                              Searches and replaces the footnotes and generates the reference container.
                                                                              diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index a499816..5a8db38 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -60,7 +60,9 @@

                                                                              Default

                                                                              diff --git a/docs/reports/errors.html b/docs/reports/errors.html index 82b1d2a..c8dd37c 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -60,7 +60,9 @@

                                                                              Default

                                                                              diff --git a/docs/reports/markers.html b/docs/reports/markers.html index aa69429..937ebb0 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -60,7 +60,9 @@

                                                                              Default

                                                                              From 4bcd8991ca94b3811987914662217a9a5a07cc1e Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 08:47:50 +0100 Subject: [PATCH 38/99] refactor: rename version constant --- src/footnotes.php | 4 +++- src/includes/class-footnotes.php | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/footnotes.php b/src/footnotes.php index 39cfc78..1f31b75 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -35,8 +35,10 @@ if ( ! defined( 'WPINC' ) ) { /** * Current plugin version. + * + * @since 2.1.4 */ -define( 'C_STR_FOOTNOTES_VERSION', '2.8.0d' ); +define( 'PLUGIN_VERSION', '2.8.0d' ); /** * Defines the current environment ('development' or 'production'). diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 568a726..9c59cf0 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -36,7 +36,7 @@ class Footnotes { protected $loader; /** - * The unique identifier of this plugin. + * The unique identifier of this plugin * * @since 2.8.0 * @access protected @@ -63,8 +63,8 @@ class Footnotes { * @since 1.0.0 */ public function __construct() { - if ( defined( 'C_STR_FOOTNOTES_VERSION' ) ) { - $this->version = C_STR_FOOTNOTES_VERSION; + if ( defined( 'PLUGIN_VERSION' ) ) { + $this->version = PLUGIN_VERSION; } else { $this->version = '0.0.0'; } From 6fb2b20424aefcc2223aef2f17d03a9bc99e9c80 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:01:00 +0100 Subject: [PATCH 39/99] refactor: move hook registration to `Footnotes_Admin` --- src/admin/class-footnotes-admin.php | 10 ++++++++ src/admin/class-footnotes-wysiwyg.php | 35 +++++++++++---------------- src/includes/class-footnotes.php | 17 +++++++++++-- 3 files changed, 39 insertions(+), 23 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index b242f39..174c1e3 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -36,6 +36,14 @@ class Footnotes_Admin { * @var string $version The current version of this plugin. */ private $version; + + /** + * The WYSIWYG editor integration object. + * + * @since 2.8.0 + * @var Footnotes_WYSIWYG $wysiwyg The WYSIWYG editor integration object. + */ + public $wysiwyg; /** * Initialize the class and set its properties. @@ -71,6 +79,8 @@ class Footnotes_Admin { */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; + $this->wysiwyg = new Footnotes_WYSIWYG($this->plugin_name); + /** * The class responsible for constructing the plugin dashboard page(s). */ diff --git a/src/admin/class-footnotes-wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php index 50b9643..0907759 100644 --- a/src/admin/class-footnotes-wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -16,33 +16,26 @@ class Footnotes_WYSIWYG { /** - * Registers Button hooks. + * The ID of this plugin. * - * @since 1.5.0 - * - * - Bugfix: Editor buttons: debug button by reverting name change in PHP file while JS file and HTML template remained unsynced, thanks to @gova bug report. - * - * @reporter @gova - * @link https://wordpress.org/support/topic/back-end-footnotes-not-working-400-bad-erro/ - * - * @since 2.6.5 - * @return void + * @since 2.8.0 + * @access private + * @var string $plugin_name The ID of this plugin. */ - public static function register_hooks() { - add_filter( 'mce_buttons', array( 'Footnotes_WYSIWYG', 'new_visual_editor_button' ) ); - add_action( 'admin_print_footer_scripts', array( 'Footnotes_WYSIWYG', 'new_plain_text_editor_button' ) ); + private $plugin_name; + + /** + * Initialize the class and set its properties. + * + * @since 2.8.0 + * @param string $plugin_name The name of this plugin. + */ + public function __construct( $plugin_name ) { - add_filter( 'mce_external_plugins', array( 'Footnotes_WYSIWYG', 'include_scripts' ) ); + $this->plugin_name = $plugin_name; - // phpcs:disable - // 'footnotes_getTags' must match its instance in wysiwyg-editor.js. - // 'footnotes_getTags' must match its instance in editor-button.html. - add_action( 'wp_ajax_nopriv_footnotes_getTags', array( 'Footnotes_WYSIWYG', 'ajax_callback' ) ); - add_action( 'wp_ajax_footnotes_getTags', array( 'Footnotes_WYSIWYG', 'ajax_callback' ) ); - // phpcs:enable } - /** * Append a new Button to the WYSIWYG editor of Posts and Pages. * diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 9c59cf0..c122fb1 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -155,8 +155,9 @@ class Footnotes { * Register all of the hooks related to the admin area functionality * of the plugin. * - * @since 2.8.0 - * @access private + * @since 1.5.0 + * @since 2.8.0 Moved registrating from various classes into `Footnotes_Admin`. + * @access private */ private function define_admin_hooks() { @@ -166,6 +167,18 @@ class Footnotes { $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links' ); + + $this->loader->add_filter( 'mce_buttons', $plugin_admin->wysiwyg, 'new_visual_editor_button' ); + $this->loader->add_action( 'admin_print_footer_scripts', $plugin_admin->wysiwyg, 'new_plain_text_editor_button' ); + + $this->loader->add_filter( 'mce_external_plugins', $plugin_admin->wysiwyg, 'include_scripts' ); + + // phpcs:disable + // 'footnotes_getTags' must match its instance in wysiwyg-editor.js. + // 'footnotes_getTags' must match its instance in editor-button.html. + $this->loader->add_action( 'wp_ajax_nopriv_footnotes_getTags', $plugin_admin->wysiwyg, 'ajax_callback' ); + $this->loader->add_action( 'wp_ajax_footnotes_getTags', $plugin_admin->wysiwyg, 'ajax_callback' ); + // phpcs:enable } /** From 51f3f92c260e59006ba9de08942db728e80a2523 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:30:53 +0100 Subject: [PATCH 40/99] refactor: remove plugin name constant --- src/admin/class-footnotes-admin.php | 2 +- src/admin/class-footnotes-wysiwyg.php | 4 ++-- .../layout/class-footnotes-layout-engine.php | 15 ++++++++++--- .../layout/class-footnotes-layout-init.php | 16 ++++++++++++-- .../class-footnotes-layout-settings.php | 20 ++++++++++++----- src/includes/class-footnotes-config.php | 8 ------- ...s-footnotes-widget-reference-container.php | 22 ++++++++++++++++++- 7 files changed, 65 insertions(+), 22 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index 174c1e3..b6a62a7 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -86,7 +86,7 @@ class Footnotes_Admin { */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/layout/class-footnotes-layout-init.php'; - new Footnotes_Layout_Init(); + new Footnotes_Layout_Init($this->plugin_name); } /** diff --git a/src/admin/class-footnotes-wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php index 0907759..6c9d2a7 100644 --- a/src/admin/class-footnotes-wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -44,7 +44,7 @@ class Footnotes_WYSIWYG { * @return array */ public static function new_visual_editor_button( $p_arr_buttons ) { - array_push( $p_arr_buttons, Footnotes_Config::C_STR_PLUGIN_NAME ); + array_push( $p_arr_buttons, $this->plugin_name ); return $p_arr_buttons; } @@ -68,7 +68,7 @@ class Footnotes_WYSIWYG { * @return array */ public static function include_scripts( $p_arr_plugins ) { - $p_arr_plugins[ Footnotes_Config::C_STR_PLUGIN_NAME ] = plugins_url( '/../admin/js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); + $p_arr_plugins[ $this->plugin_name ] = plugins_url( '/../admin/js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); return $p_arr_plugins; } diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index 07a3c59..df09682 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -23,6 +23,15 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la */ abstract class Footnotes_Layout_Engine { + /** + * The ID of this plugin. + * + * @since 2.8.0 + * @access private + * @var string $plugin_name The ID of this plugin. + */ + protected $plugin_name; + /** * Stores the Hook connection string for the child sub page. * @@ -78,7 +87,7 @@ abstract class Footnotes_Layout_Engine { * @return array */ abstract protected function get_meta_boxes(); - + /** * Returns an array describing a sub page section. * @@ -91,7 +100,7 @@ abstract class Footnotes_Layout_Engine { */ protected function add_section( $p_str_id, $p_str_title, $p_int_settings_container_index, $p_bool_has_submit_button = true ) { return array( - 'id' => Footnotes_Config::C_STR_PLUGIN_NAME . '-' . $p_str_id, + 'id' => $this->plugin_name . '-' . $p_str_id, 'title' => $p_str_title, 'submit' => $p_bool_has_submit_button, 'container' => $p_int_settings_container_index, @@ -110,7 +119,7 @@ abstract class Footnotes_Layout_Engine { */ protected function add_meta_box( $p_str_section_id, $p_str_id, $p_str_title, $p_str_callback_function_name ) { return array( - 'parent' => Footnotes_Config::C_STR_PLUGIN_NAME . '-' . $p_str_section_id, + 'parent' => $this->plugin_name . '-' . $p_str_section_id, 'id' => $p_str_id, 'title' => $p_str_title, 'callback' => $p_str_callback_function_name, diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index 3dca904..760f5ad 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -15,6 +15,15 @@ */ class Footnotes_Layout_Init { + /** + * The ID of this plugin. + * + * @since 2.8.0 + * @access private + * @var string $plugin_name The ID of this plugin. + */ + private $plugin_name; + /** * Slug for the Plugin main menu. * @@ -35,11 +44,14 @@ class Footnotes_Layout_Init { * Class Constructor. Initializes all WordPress hooks for the Plugin Settings. * * @since 1.5.0 + * @since 2.8.0 Added `$plugin_name` parameter. */ - public function __construct() { + public function __construct( $plugin_name ) { + $this->plugin_name = $plugin_name; + $this->load_dependencies(); - $this->settings_page = new Footnotes_Layout_Settings(); + $this->settings_page = new Footnotes_Layout_Settings($this->plugin_name); // Register hooks/actions. add_action( 'admin_menu', array( $this, 'register_options_submenu' ) ); diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index 6cc4ce3..cc03c01 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -49,6 +49,16 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la * @since 1.5.0 */ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { + + /** + * Initialize the class and set its properties. + * + * @since 2.8.0 + * @param string $plugin_name The name of this plugin. + */ + public function __construct( $plugin_name ) { + $this->plugin_name = $plugin_name; + } /** * Returns a Priority index. Lower numbers have a higher Priority. @@ -67,7 +77,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { * @return string */ protected function get_sub_page_slug() { - return '-' . Footnotes_Config::C_STR_PLUGIN_NAME; + return '-' . $this->plugin_name; } /** @@ -1160,16 +1170,16 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { // Localized notices are dropped to ease translators' task. // "label-class-1" => ".footnote_plugin_tooltip_text",. - // "class-1" => $this->add_text(__("superscript, Footnotes index", Footnotes_Config::C_STR_PLUGIN_NAME)),. + // "class-1" => $this->add_text(__("superscript, Footnotes index", $this->plugin_name)),. // "label-class-2" => ".footnote_tooltip",. - // "class-2" => $this->add_text(__("mouse-over box, tooltip for each superscript", Footnotes_Config::C_STR_PLUGIN_NAME)),. + // "class-2" => $this->add_text(__("mouse-over box, tooltip for each superscript", $this->plugin_name)),. // "label-class-3" => ".footnote_plugin_index",. - // "class-3" => $this->add_text(__("1st column of the Reference Container, Footnotes index", Footnotes_Config::C_STR_PLUGIN_NAME)),. + // "class-3" => $this->add_text(__("1st column of the Reference Container, Footnotes index", $this->plugin_name)),. // "label-class-4" => ".footnote_plugin_text",. - // "class-4" => $this->add_text(__("2nd column of the Reference Container, Footnote text", Footnotes_Config::C_STR_PLUGIN_NAME)). + // "class-4" => $this->add_text(__("2nd column of the Reference Container, Footnote text", $this->plugin_name)). // phpcs:enable ) ); diff --git a/src/includes/class-footnotes-config.php b/src/includes/class-footnotes-config.php index 2440fa8..c37a1dd 100644 --- a/src/includes/class-footnotes-config.php +++ b/src/includes/class-footnotes-config.php @@ -15,14 +15,6 @@ * @since 1.5.0 */ class Footnotes_Config { - /** - * Internal Plugin name. - * - * @since 1.5.0 - * @var string - */ - const C_STR_PLUGIN_NAME = 'footnotes'; - /** * Public Plugin name. * diff --git a/src/public/widget/class-footnotes-widget-reference-container.php b/src/public/widget/class-footnotes-widget-reference-container.php index f12a181..bb33473 100644 --- a/src/public/widget/class-footnotes-widget-reference-container.php +++ b/src/public/widget/class-footnotes-widget-reference-container.php @@ -17,6 +17,26 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widget/class-footnotes-wi */ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base { + /** + * The ID of this plugin. + * + * @since 2.8.0 + * @access private + * @var string $plugin_name The ID of this plugin. + */ + private $plugin_name; + + /** + * Initialize the class and set its properties. + * + * @since 2.8.0 + * @param string $plugin_name The name of this plugin. + */ + public function __construct( $plugin_name ) { + parent::__construct(); + $this->plugin_name = $plugin_name; + } + /** * Returns an unique ID as string used for the Widget Base ID. * @@ -34,7 +54,7 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base { * @return string */ protected function get_name() { - return Footnotes_Config::C_STR_PLUGIN_NAME; + return $this->plugin_name; } /** From 850ab084ff218d7accfa45a93921ed0deb11d02b Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:31:08 +0100 Subject: [PATCH 41/99] refactor: refactor widget registration --- src/includes/class-footnotes-loader.php | 15 -------------- src/includes/class-footnotes.php | 2 ++ src/public/class-footnotes-public.php | 27 +++++++++++++++++++++---- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/includes/class-footnotes-loader.php b/src/includes/class-footnotes-loader.php index bf0628c..e49b7f9 100644 --- a/src/includes/class-footnotes-loader.php +++ b/src/includes/class-footnotes-loader.php @@ -77,19 +77,6 @@ class Footnotes_Loader { $this->filters = $this->add( $this->filters, $hook, $component, $callback, $priority, $accepted_args ); } - /** - * Initializes all Widgets of the Plugin. - * - * @since 1.5.0 - * @since 2.8.0 Moved to `Footnotes_Loader` class. - */ - public function initialize_widgets() { - // TODO: This probably shouldn't be necessary here. - require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-reference-container.php'; - - register_widget( 'Footnotes_Widget_Reference_Container' ); - } - /** * A utility function that is used to register the actions and hooks into a single * collection. @@ -133,8 +120,6 @@ class Footnotes_Loader { add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); } - add_action( 'widgets_init', array( $this, 'initialize_widgets' ) ); - } } diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index c122fb1..d3defa2 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -194,6 +194,8 @@ class Footnotes { $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' ); $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); + + $this->loader->add_action( 'widgets_init', $plugin_public, 'register_widgets' ); } /** diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 3d48b37..bfcb2f0 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -36,13 +36,21 @@ class Footnotes_Public { * @var string $version The current version of this plugin. */ private $version; + + /** + * The reference container widget. + * + * @since 2.8.0 + * @var Footnotes_Widget_Reference_Container $reference_container_widget The reference container widget + */ + private $reference_container_widget; /** - * The Plugin task. + * The footnote parser. * * @since 1.5.0 * @since 2.8.0 Moved from `Footnotes` to `Footnotes_Public` class. - * @var Task $task The Plugin task. + * @var Footnote_Parser $task The Plugin task. */ public $a_obj_task = null; @@ -123,8 +131,10 @@ class Footnotes_Public { require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-parser.php'; - require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-base.php'; + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-reference-container.php'; + $this->reference_container_widget = new Footnotes_Widget_Reference_Container($this->plugin_name); + $this->a_obj_task = new Footnotes_Parser(); } @@ -251,6 +261,15 @@ class Footnotes_Public { } } - + + /** + * Register the widget(s) for the public-facing side of the site. + * + * @since 1.5.0 + * @since 2.8.0 Moved to `Footnotes_Public` class. + */ + public function register_widgets() { + register_widget( $this->reference_container_widget ); + } } From 4e4f0b0a2e035500944acdd403f0937f2596692c Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:41:35 +0100 Subject: [PATCH 42/99] docs: update documentation --- docs/classes/Footnotes-Admin.html | 66 ++++- docs/classes/Footnotes-Config.html | 59 +---- docs/classes/Footnotes-Layout-Engine.html | 117 +++++++-- docs/classes/Footnotes-Layout-Init.html | 101 +++++++- docs/classes/Footnotes-Layout-Settings.html | 233 ++++++++++++++---- docs/classes/Footnotes-Loader.html | 70 +----- docs/classes/Footnotes-Public.html | 146 ++++++++++- docs/classes/Footnotes-WYSIWYG.html | 231 ++++++++++------- .../Footnotes-Widget-Reference-Container.html | 140 +++++++---- docs/classes/Footnotes.html | 28 ++- docs/files/src-footnotes.html | 6 +- docs/index.html | 6 +- docs/js/searchIndex.js | 67 +++-- docs/namespaces/default.html | 6 +- docs/packages/footnotes.html | 6 +- 15 files changed, 884 insertions(+), 398 deletions(-) diff --git a/docs/classes/Footnotes-Admin.html b/docs/classes/Footnotes-Admin.html index 6a623c5..5d2d554 100644 --- a/docs/classes/Footnotes-Admin.html +++ b/docs/classes/Footnotes-Admin.html @@ -141,7 +141,14 @@ and JavaScript.

                                                                              -
                                                                              +
                                                                              + $wysiwyg + +  : Footnotes_WYSIWYG +
                                                                              +
                                                                              The WYSIWYG editor integration object.
                                                                              + +
                                                                              $plugin_name  : string @@ -203,6 +210,53 @@ and JavaScript.

                                                                              +

                                                                              + $wysiwyg + + + +

                                                                              + + +

                                                                              The WYSIWYG editor integration object.

                                                                              + + + public + Footnotes_WYSIWYG + $wysiwyg + + +
                                                                              + + +
                                                                              + Tags + +
                                                                              +
                                                                              +
                                                                              + since +
                                                                              +
                                                                              + 2.8.0 + +
                                                                              + +
                                                                              +
                                                                              + +
                                                                              +
                                                                              class-footnotes-admin.php : - 47 + 55

                                                                              Initialize the class and set its properties.

                                                                              @@ -404,7 +458,7 @@ and JavaScript.

                                                                              Register the JavaScript for the admin area.

                                                                              @@ -453,7 +507,7 @@ and JavaScript.

                                                                              Register the stylesheets for the admin area.

                                                                              @@ -502,7 +556,7 @@ and JavaScript.

                                                                              Appends the Plugin links for display in the dashboard Plugins page.

                                                                              @@ -574,7 +628,7 @@ and JavaScript.

                                                                              Load the required admin-specific dependencies.

                                                                              diff --git a/docs/classes/Footnotes-Config.html b/docs/classes/Footnotes-Config.html index 389b7c4..6df4245 100644 --- a/docs/classes/Footnotes-Config.html +++ b/docs/classes/Footnotes-Config.html @@ -165,13 +165,6 @@
                                                                              Public Plugin name for dashboard heading
                                                                              -
                                                                              - C_STR_PLUGIN_NAME - -  = 'footnotes' -
                                                                              -
                                                                              Internal Plugin name.
                                                                              -
                                                                              C_STR_PLUGIN_PUBLIC_NAME @@ -198,7 +191,7 @@

                                                                              Html tag for the LOVE symbol.

                                                                              @@ -240,7 +233,7 @@

                                                                              HTML code for the 'love' symbol used in dashboard heading

                                                                              @@ -282,7 +275,7 @@

                                                                              Short code to DON'T display the 'LOVE ME' slug on certain pages.

                                                                              @@ -324,7 +317,7 @@

                                                                              Public Plugin name for dashboard heading

                                                                              @@ -361,48 +354,6 @@ that isn’t translated, and dropping the logo in another, translatable heading.
                                                                              -
                                                                            -
                                                                            -

                                                                            - C_STR_PLUGIN_NAME - -

                                                                            - - - -

                                                                            Internal Plugin name.

                                                                            - - - public - string - C_STR_PLUGIN_NAME - = 'footnotes' - - - -
                                                                            - - -
                                                                            - Tags - -
                                                                            -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 1.5.0 - -
                                                                            - -
                                                                            -
                                                                            -

                                                                            @@ -413,7 +364,7 @@ that isn’t translated, and dropping the logo in another, translatable heading.

                                                                            Public Plugin name.

                                                                            diff --git a/docs/classes/Footnotes-Layout-Engine.html b/docs/classes/Footnotes-Layout-Engine.html index 1d5d9d1..b7b46c7 100644 --- a/docs/classes/Footnotes-Layout-Engine.html +++ b/docs/classes/Footnotes-Layout-Engine.html @@ -151,6 +151,13 @@
                                                                            Stores the Hook connection string for the child sub page.
                                                                            +
                                                                            + $plugin_name + +  : string +
                                                                            +
                                                                            The ID of this plugin.
                                                                            +
                                                                            description() @@ -354,7 +361,7 @@

                                                                            Stores all Sections for the child sub page.

                                                                            @@ -401,7 +408,7 @@

                                                                            Stores the Hook connection string for the child sub page.

                                                                            @@ -432,6 +439,62 @@ ull
                                                                            +

                                                                            +
                                                                            +

                                                                            + $plugin_name + + + +

                                                                            + + +

                                                                            The ID of this plugin.

                                                                            + + + protected + string + $plugin_name + + +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + access +
                                                                            +
                                                                            + +

                                                                            private

                                                                            +
                                                                            + +
                                                                            +
                                                                            +
                                                                            @@ -453,7 +516,7 @@ ull

                                                                            Output the Description of a section. May be overwritten in any section.

                                                                            @@ -502,7 +565,7 @@ ull

                                                                            Displays the content of specific sub page.

                                                                            @@ -551,7 +614,7 @@ ull

                                                                            Returns a Priority index. Lower numbers have a higher Priority.

                                                                            @@ -600,7 +663,7 @@ ull

                                                                            Registers all sections for a sub page.

                                                                            @@ -649,7 +712,7 @@ ull

                                                                            Registers a sub page.

                                                                            @@ -698,7 +761,7 @@ ull

                                                                            Returns the html tag for an input [type = checkbox].

                                                                            @@ -759,7 +822,7 @@ ull

                                                                            Returns the html tag for an input [type = text] with color selection class.

                                                                            @@ -820,7 +883,7 @@ ull

                                                                            Returns the html tag for an input/select label.

                                                                            @@ -890,7 +953,7 @@ ull

                                                                            Returns a line break to have a space between two lines.

                                                                            @@ -939,7 +1002,7 @@ ull

                                                                            Returns an array describing a meta box.

                                                                            @@ -1028,7 +1091,7 @@ ull

                                                                            Returns a line break to start a new line.

                                                                            @@ -1077,7 +1140,7 @@ ull

                                                                            Returns the html tag for an input [type = num].

                                                                            @@ -1176,7 +1239,7 @@ ull

                                                                            Returns an array describing a sub page section.

                                                                            @@ -1265,7 +1328,7 @@ ull

                                                                            Returns the html tag for a select box.

                                                                            @@ -1376,7 +1439,7 @@ ull

                                                                            Returns a simple text inside html <span> text.

                                                                            @@ -1437,7 +1500,7 @@ ull

                                                                            Returns the html tag for an input [type = text].

                                                                            @@ -1525,7 +1588,7 @@ ull

                                                                            Returns the html tag for a text area.

                                                                            @@ -1586,7 +1649,7 @@ ull

                                                                            Returns an array of all registered meta boxes.

                                                                            @@ -1635,7 +1698,7 @@ ull

                                                                            Returns an array of all registered sections for a sub page.

                                                                            @@ -1684,7 +1747,7 @@ ull

                                                                            Returns the unique slug of the child sub page.

                                                                            @@ -1733,7 +1796,7 @@ ull

                                                                            Returns the title of the child sub page.

                                                                            @@ -1782,7 +1845,7 @@ ull

                                                                            Loads specific setting and returns an array with the keys [id, name, value].

                                                                            @@ -1910,7 +1973,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Append javascript and css files for specific sub page.

                                                                            @@ -1959,7 +2022,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Registers all Meta boxes for a sub page.

                                                                            @@ -2020,7 +2083,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Save all Plugin settings.

                                                                            diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index c9cf583..1c22af9 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -145,6 +145,13 @@
                                                                            Slug for the Plugin main menu.
                                                                            + $plugin_name + +  : string +
                                                                            +
                                                                            The ID of this plugin.
                                                                            + +
                                                                            $settings_page  : array<string|int, mixed> @@ -205,7 +212,7 @@

                                                                            Slug for the Plugin main menu.

                                                                            @@ -252,6 +259,62 @@ -property -private " +> +

                                                                            + $plugin_name + + + +

                                                                            + + +

                                                                            The ID of this plugin.

                                                                            + + + private + string + $plugin_name + + +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + access +
                                                                            +
                                                                            + +

                                                                            private

                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            +

                                                                            $settings_page @@ -262,7 +325,7 @@

                                                                            Contains the settings layoutEngine

                                                                            @@ -313,18 +376,28 @@

                                                                            Class Constructor. Initializes all WordPress hooks for the Plugin Settings.

                                                                            public - __construct() : mixed + __construct(mixed $plugin_name) : mixed
                                                                            - +

                                                                            Parameters
                                                                            +
                                                                            +
                                                                            + $plugin_name + : mixed +
                                                                            +
                                                                            + +
                                                                            +
                                                                            +
                                                                            Tags @@ -339,6 +412,16 @@
                                                                            + +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +

                                                                            Added $plugin_name parameter.

                                                                            +
                                                                            +
                                                                            @@ -362,7 +445,7 @@

                                                                            AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

                                                                            @@ -411,7 +494,7 @@

                                                                            Registers the settings and initialises the settings page.

                                                                            @@ -460,7 +543,7 @@

                                                                            Registers the footnotes submenu page.

                                                                            @@ -518,7 +601,7 @@

                                                                            Load the required dependencies for this plugin.

                                                                            diff --git a/docs/classes/Footnotes-Layout-Settings.html b/docs/classes/Footnotes-Layout-Settings.html index 1517d65..1739c81 100644 --- a/docs/classes/Footnotes-Layout-Settings.html +++ b/docs/classes/Footnotes-Layout-Settings.html @@ -154,7 +154,21 @@
                                                                            Stores the Hook connection string for the child sub page.
                                                                            +
                                                                            + $plugin_name + +  : string +
                                                                            +
                                                                            The ID of this plugin.
                                                                            +
                                                                            + __construct() + +  : mixed +
                                                                            +
                                                                            Initialize the class and set its properties.
                                                                            + +
                                                                            amp_compat()  : mixed @@ -525,7 +539,7 @@

                                                                            Stores all Sections for the child sub page.

                                                                            @@ -572,7 +586,7 @@

                                                                            Stores the Hook connection string for the child sub page.

                                                                            @@ -603,6 +617,62 @@ ull +
                                                                            +
                                                                            +

                                                                            + $plugin_name + + + +

                                                                            + + +

                                                                            The ID of this plugin.

                                                                            + + + protected + string + $plugin_name + + +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + access +
                                                                            +
                                                                            + +

                                                                            private

                                                                            +
                                                                            + +
                                                                            +
                                                                            +
                                                                            @@ -616,6 +686,67 @@ ull -method -public " +> +

                                                                            + __construct() + +

                                                                            + + +

                                                                            Initialize the class and set its properties.

                                                                            + + + public + __construct(string $plugin_name) : mixed + +
                                                                            + +
                                                                            Parameters
                                                                            +
                                                                            +
                                                                            + $plugin_name + : string +
                                                                            +
                                                                            +

                                                                            The name of this plugin.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            Return values
                                                                            + mixed + — +
                                                                            + + +
                                                                            +

                                                                            amp_compat() @@ -624,7 +755,7 @@ ull

                                                                            Displays the AMP compatibility mode option.

                                                                            @@ -684,7 +815,7 @@ ull

                                                                            Displays the Custom CSS box.

                                                                            @@ -784,7 +915,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays transitional legacy Custom CSS box.

                                                                            @@ -833,7 +964,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays the new Custom CSS box.

                                                                            @@ -882,7 +1013,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Output the Description of a section. May be overwritten in any section.

                                                                            @@ -931,7 +1062,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays the content of specific sub page.

                                                                            @@ -980,7 +1111,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays all Donate button to support the developers.

                                                                            @@ -1029,7 +1160,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays the footnotes in excerpt setting.

                                                                            @@ -1113,7 +1244,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Returns a Priority index. Lower numbers have a higher Priority.

                                                                            @@ -1162,7 +1293,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays all options for the fragment identifier configuration.

                                                                            @@ -1222,7 +1353,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays a short introduction to the Plugin.

                                                                            @@ -1288,7 +1419,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays all settings for the backlink symbol.

                                                                            @@ -1410,7 +1541,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays the setting for the input label issue solution.

                                                                            @@ -1459,7 +1590,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays available Hooks to look for Footnote short codes.

                                                                            @@ -1554,7 +1685,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all settings for 'I love Footnotes'.

                                                                            @@ -1624,7 +1755,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays enabled status for the footnotes mouse-over box.

                                                                            @@ -1694,7 +1825,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays style settings for the footnotes mouse-over box.

                                                                            @@ -1743,7 +1874,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays dimensions setting for the footnotes mouse-over box.

                                                                            @@ -1792,7 +1923,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays position settings for the footnotes mouse-over box.

                                                                            @@ -1841,7 +1972,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays dedicated tooltip text settings for the footnotes mouse-over box.

                                                                            @@ -1890,7 +2021,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays timing settings for the footnotes mouse-over box.

                                                                            @@ -1939,7 +2070,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays truncation settings for the footnotes mouse-over box.

                                                                            @@ -1988,7 +2119,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all options for the footnotes numbering.

                                                                            @@ -2037,7 +2168,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all settings for the reference container.

                                                                            @@ -2114,7 +2245,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Registers all sections for a sub page.

                                                                            @@ -2163,7 +2294,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Registers a sub page.

                                                                            @@ -2212,7 +2343,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all options for the scrolling behavior.

                                                                            @@ -2261,7 +2392,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all options for the footnotes start and end tag short codes.

                                                                            @@ -2392,7 +2523,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Displays all settings for the footnote referrers.

                                                                            @@ -2462,7 +2593,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = checkbox].

                                                                            @@ -2523,7 +2654,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = text] with color selection class.

                                                                            @@ -2584,7 +2715,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input/select label.

                                                                            @@ -2654,7 +2785,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a line break to have a space between two lines.

                                                                            @@ -2703,7 +2834,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns an array describing a meta box.

                                                                            @@ -2792,7 +2923,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a line break to start a new line.

                                                                            @@ -2841,7 +2972,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = num].

                                                                            @@ -2940,7 +3071,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns an array describing a sub page section.

                                                                            @@ -3029,7 +3160,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for a select box.

                                                                            @@ -3140,7 +3271,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a simple text inside html <span> text.

                                                                            @@ -3201,7 +3332,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = text].

                                                                            @@ -3289,7 +3420,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for a text area.

                                                                            @@ -3350,7 +3481,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns an array of all registered meta boxes for each section of the sub page.

                                                                            @@ -3464,7 +3595,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                            Returns an array of all registered sections for the sub page.

                                                                            @@ -3541,7 +3672,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                            Returns the unique slug of the sub page.

                                                                            @@ -3590,7 +3721,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                            Returns the title of the sub page.

                                                                            @@ -3639,7 +3770,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                            Loads specific setting and returns an array with the keys [id, name, value].

                                                                            @@ -3767,7 +3898,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Append javascript and css files for specific sub page.

                                                                            @@ -3816,7 +3947,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Registers all Meta boxes for a sub page.

                                                                            @@ -3877,7 +4008,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Save all Plugin settings.

                                                                            diff --git a/docs/classes/Footnotes-Loader.html b/docs/classes/Footnotes-Loader.html index 296324e..045b65a 100644 --- a/docs/classes/Footnotes-Loader.html +++ b/docs/classes/Footnotes-Loader.html @@ -177,13 +177,6 @@ run function to execute the list of actions and filters.

                                                                            Add a new filter to the collection to be registered with WordPress.
                                                                            -
                                                                            - initialize_widgets() - -  : mixed -
                                                                            -
                                                                            Initializes all Widgets of the Plugin.
                                                                            -
                                                                            run() @@ -572,65 +565,6 @@ collection.
                                                                            -

                                                                            -
                                                                            -

                                                                            - initialize_widgets() - -

                                                                            - - -

                                                                            Initializes all Widgets of the Plugin.

                                                                            - - - public - initialize_widgets() : mixed - -
                                                                            - - - -
                                                                            - Tags - -
                                                                            -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 1.5.0 - -
                                                                            - -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 2.8.0 - -

                                                                            Moved to Footnotes_Loader class.

                                                                            -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            Return values
                                                                            - mixed - — -
                                                                            - -
                                                                            class-footnotes-loader.php : - 126 + 113

                                                                            Register the filters and actions with WordPress.

                                                                            @@ -694,7 +628,7 @@ collection.

                                                                            A utility function that is used to register the actions and hooks into a single diff --git a/docs/classes/Footnotes-Public.html b/docs/classes/Footnotes-Public.html index 1800669..2cc1450 100644 --- a/docs/classes/Footnotes-Public.html +++ b/docs/classes/Footnotes-Public.html @@ -165,9 +165,9 @@ and JavaScript.

                                                                            $a_obj_task -  : Task +  : Footnote_Parser
                                                                            -
                                                                            The Plugin task.
                                                                            +
                                                                            The footnote parser.
                                                                            $a_str_script_mode @@ -183,6 +183,13 @@ and JavaScript.

                                                                            The ID of this plugin.
                                                                            +
                                                                            + $reference_container_widget + +  : Footnotes_Widget_Reference_Container +
                                                                            +
                                                                            The reference container widget.
                                                                            +
                                                                            $version @@ -211,6 +218,13 @@ and JavaScript.

                                                                            Register the stylesheets for the public-facing side of the site.
                                                                            +
                                                                            + register_widgets() + +  : mixed +
                                                                            +
                                                                            Register the widget(s) for the public-facing side of the site.
                                                                            +
                                                                            load_dependencies() @@ -246,7 +260,7 @@ and JavaScript.

                                                                            Allows to determine whether alternative tooltips are enabled.

                                                                            @@ -303,7 +317,7 @@ and JavaScript.

                                                                            Allows to determine whether AMP compatibility mode is enabled.

                                                                            @@ -361,7 +375,7 @@ and JavaScript.

                                                                            Flag for using tooltips.

                                                                            @@ -418,14 +432,14 @@ and JavaScript.

                                                                            -

                                                                            The Plugin task.

                                                                            +

                                                                            The footnote parser.

                                                                            public - Task + Footnote_Parser $a_obj_task = ull @@ -476,7 +490,7 @@ ull

                                                                            Allows to determine the script mode among jQuery or plain JS.

                                                                            @@ -572,6 +586,53 @@ ull +
                                                                            +
                                                                            class-footnotes-public.php : - 93 + 101

                                                                            Initialize the class and set its properties.

                                                                            @@ -719,7 +780,7 @@ ull

                                                                            Register the JavaScript for the public-facing side of the site.

                                                                            @@ -808,7 +869,7 @@ ull

                                                                            Register the stylesheets for the public-facing side of the site.

                                                                            @@ -865,6 +926,65 @@ is true (set in footnotes.php).

                                                                            +
                                                                            +
                                                                            +

                                                                            + register_widgets() + +

                                                                            + + +

                                                                            Register the widget(s) for the public-facing side of the site.

                                                                            + + + public + register_widgets() : mixed + +
                                                                            + + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 1.5.0 + +
                                                                            + +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +

                                                                            Moved to Footnotes_Public class.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            Return values
                                                                            + mixed + — +
                                                                            + +
                                                                            footnotes.php).

                                                                            Load the required public-facing dependencies.

                                                                            diff --git a/docs/classes/Footnotes-WYSIWYG.html b/docs/classes/Footnotes-WYSIWYG.html index 5c8f76d..d84e06f 100644 --- a/docs/classes/Footnotes-WYSIWYG.html +++ b/docs/classes/Footnotes-WYSIWYG.html @@ -137,7 +137,21 @@
                                                                            -
                                                                            +
                                                                            + $plugin_name + +  : string +
                                                                            +
                                                                            The ID of this plugin.
                                                                            + +
                                                                            + __construct() + +  : mixed +
                                                                            +
                                                                            Initialize the class and set its properties.
                                                                            + +
                                                                            ajax_callback()  : mixed @@ -165,13 +179,6 @@
                                                                            Append a new Button to the WYSIWYG editor of Posts and Pages.
                                                                            -
                                                                            - register_hooks() - -  : void -
                                                                            -
                                                                            Registers Button hooks.
                                                                            -
                                                                            @@ -179,6 +186,68 @@ +
                                                                            +

                                                                            + Properties + +

                                                                            +
                                                                            +

                                                                            + $plugin_name + + + +

                                                                            + + +

                                                                            The ID of this plugin.

                                                                            + + + private + string + $plugin_name + + +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + access +
                                                                            +
                                                                            + +

                                                                            private

                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            +

                                                                            @@ -186,6 +255,67 @@

                                                                            +

                                                                            + __construct() + +

                                                                            + + +

                                                                            Initialize the class and set its properties.

                                                                            + + + public + __construct(string $plugin_name) : mixed + +
                                                                            + +
                                                                            Parameters
                                                                            +
                                                                            +
                                                                            + $plugin_name + : string +
                                                                            +
                                                                            +

                                                                            The name of this plugin.

                                                                            +
                                                                            + +
                                                                            +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            Return values
                                                                            + mixed + — +
                                                                            + + +
                                                                            + -
                                                                            -

                                                                            - register_hooks() - -

                                                                            - - -

                                                                            Registers Button hooks.

                                                                            - - - public - static register_hooks() : void - -
                                                                            - - - -
                                                                            - Tags - -
                                                                            -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 1.5.0 - -
                                                                              -
                                                                            • Bugfix: Editor buttons: debug button by reverting name change in PHP file while JS file and HTML template remained unsynced, thanks to @gova bug report.
                                                                            • -
                                                                            -
                                                                            - -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 2.6.5 - -
                                                                            - -
                                                                            -
                                                                            - reporter -
                                                                            -
                                                                            - -

                                                                            @gova

                                                                            -
                                                                            - -
                                                                            -
                                                                            - link -
                                                                            -
                                                                            - https://wordpress.org/support/topic/back-end-footnotes-not-working-400-bad-erro/ - -
                                                                            -
                                                                            - -
                                                                            Return values
                                                                            - void - — -
                                                                            - -
                                                                            diff --git a/docs/classes/Footnotes-Widget-Reference-Container.html b/docs/classes/Footnotes-Widget-Reference-Container.html index 6c7c8b7..eea901e 100644 --- a/docs/classes/Footnotes-Widget-Reference-Container.html +++ b/docs/classes/Footnotes-Widget-Reference-Container.html @@ -140,12 +140,19 @@
                                                                            -
                                                                            - __construct() +
                                                                            + $plugin_name + +  : string +
                                                                            +
                                                                            The ID of this plugin.
                                                                            + +
                                                                            + __construct()  : mixed
                                                                            -
                                                                            Class Constructor. Registers the child Widget to WordPress.
                                                                            +
                                                                            Initialize the class and set its properties.
                                                                            form() @@ -196,6 +203,68 @@ +
                                                                            +

                                                                            + Properties + +

                                                                            +
                                                                            +

                                                                            + $plugin_name + + + +

                                                                            + + +

                                                                            The ID of this plugin.

                                                                            + + + private + string + $plugin_name + + +
                                                                            + + +
                                                                            + Tags + +
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +
                                                                            + +
                                                                            +
                                                                            + access +
                                                                            +
                                                                            + +

                                                                            private

                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            +

                                                                            @@ -210,23 +279,35 @@ >

                                                                            __construct() - +

                                                                            -

                                                                            Class Constructor. Registers the child Widget to WordPress.

                                                                            +

                                                                            Initialize the class and set its properties.

                                                                            public - __construct() : mixed + __construct(string $plugin_name) : mixed
                                                                            - +
                                                                            Parameters
                                                                            +
                                                                            +
                                                                            + $plugin_name + : string +
                                                                            +
                                                                            +

                                                                            The name of this plugin.

                                                                            +
                                                                            + +
                                                                            +
                                                                            +
                                                                            Tags @@ -237,39 +318,10 @@ since
                                                                            - 1.5.0 - -
                                                                              -
                                                                            • Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution.
                                                                            • -
                                                                            -
                                                                            - -
                                                                            -
                                                                            - since -
                                                                            -
                                                                            - 1.6.4 + 2.8.0
                                                                            -
                                                                            -
                                                                            - contributor -
                                                                            -
                                                                            - -

                                                                            @dartiss

                                                                            -
                                                                            - -
                                                                            -
                                                                            - link -
                                                                            -
                                                                            -

                                                                            “The called constructor method for WP_Widget in Footnotes_Widget_ReferenceContainer is deprecated since version 4.3.0! Use __construct() instead.”

                                                                            -
                                                                            -
                                                                            @@ -293,7 +345,7 @@

                                                                            Outputs the Settings of the Widget.

                                                                            @@ -355,7 +407,7 @@

                                                                            Outputs the Content of the Widget.

                                                                            @@ -425,7 +477,7 @@

                                                                            Returns the Description of the child widget.

                                                                            @@ -475,7 +527,7 @@

                                                                            Returns an unique ID as string used for the Widget Base ID.

                                                                            @@ -524,7 +576,7 @@

                                                                            Returns the Public name of the Widget to be displayed in the Configuration page.

                                                                            diff --git a/docs/classes/Footnotes.html b/docs/classes/Footnotes.html index 1a72f62..6bd73c0 100644 --- a/docs/classes/Footnotes.html +++ b/docs/classes/Footnotes.html @@ -165,7 +165,7 @@ the plugin.  : string -
                                                                            The unique identifier of this plugin.
                                                                            +
                                                                            The unique identifier of this plugin
                                                                            $version @@ -328,7 +328,7 @@ the plugin.

                                                                            45 -

                                                                            The unique identifier of this plugin.

                                                                            +

                                                                            The unique identifier of this plugin

                                                                            protected @@ -493,7 +493,7 @@ the public-facing side of the site.

                                                                            The reference to the class that orchestrates the hooks with the plugin.

                                                                            @@ -543,7 +543,7 @@ the public-facing side of the site.

                                                                            The name of the plugin used to uniquely identify it within the context of @@ -594,7 +594,7 @@ WordPress and to define internationalization functionality.

                                                                            Retrieve the version number of the plugin.

                                                                            @@ -644,7 +644,7 @@ WordPress and to define internationalization functionality.

                                                                            Run the loader to execute all of the hooks with WordPress.

                                                                            @@ -702,7 +702,7 @@ WordPress and to define internationalization functionality.

                                                                            Register all of the hooks related to the admin area functionality @@ -725,10 +725,20 @@ of the plugin.

                                                                            since
                                                                            - 2.8.0 + 1.5.0
                                                                            +
                                                                            +
                                                                            + since +
                                                                            +
                                                                            + 2.8.0 + +

                                                                            Moved registrating from various classes into Footnotes_Admin.

                                                                            +
                                                                            +
                                                                            access @@ -761,7 +771,7 @@ of the plugin.

                                                                            Register all of the hooks related to the public-facing functionality diff --git a/docs/files/src-footnotes.html b/docs/files/src-footnotes.html index 62b5816..781f640 100644 --- a/docs/files/src-footnotes.html +++ b/docs/files/src-footnotes.html @@ -136,7 +136,7 @@

                                                                            The code that runs during plugin activation.

                                                                            @@ -161,7 +161,7 @@

                                                                            The code that runs during plugin deactivation.

                                                                            @@ -186,7 +186,7 @@

                                                                            Begins execution of the plugin.

                                                                            diff --git a/docs/index.html b/docs/index.html index 66de63d..8b6c20f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -185,7 +185,7 @@

                                                                            The code that runs during plugin activation.

                                                                            @@ -210,7 +210,7 @@

                                                                            The code that runs during plugin deactivation.

                                                                            @@ -235,7 +235,7 @@

                                                                            Begins execution of the plugin.

                                                                            diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index 3c4013d..344df55 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -93,7 +93,7 @@ Search.appendIndex( }, { "fqsen": "\\Footnotes\u003A\u003A\u0024plugin_name", "name": "plugin_name", - "summary": "The\u0020unique\u0020identifier\u0020of\u0020this\u0020plugin.", + "summary": "The\u0020unique\u0020identifier\u0020of\u0020this\u0020plugin", "url": "classes/Footnotes.html#property_plugin_name" }, { "fqsen": "\\Footnotes\u003A\u003A\u0024version", @@ -140,16 +140,21 @@ Search.appendIndex( "name": "version", "summary": "The\u0020version\u0020of\u0020this\u0020plugin.", "url": "classes/Footnotes-Admin.html#property_version" + }, { + "fqsen": "\\Footnotes_Admin\u003A\u003A\u0024wysiwyg", + "name": "wysiwyg", + "summary": "The\u0020WYSIWYG\u0020editor\u0020integration\u0020object.", + "url": "classes/Footnotes-Admin.html#property_wysiwyg" }, { "fqsen": "\\Footnotes_WYSIWYG", "name": "Footnotes_WYSIWYG", "summary": "Handles\u0020the\u0020WSYIWYG\u002DButtons.", "url": "classes/Footnotes-WYSIWYG.html" }, { - "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Aregister_hooks\u0028\u0029", - "name": "register_hooks", - "summary": "Registers\u0020Button\u0020hooks.", - "url": "classes/Footnotes-WYSIWYG.html#method_register_hooks" + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-WYSIWYG.html#method___construct" }, { "fqsen": "\\Footnotes_WYSIWYG\u003A\u003Anew_visual_editor_button\u0028\u0029", "name": "new_visual_editor_button", @@ -170,6 +175,11 @@ Search.appendIndex( "name": "ajax_callback", "summary": "AJAX\u0020Callback\u0020function\u0020when\u0020the\u0020Footnotes\u0020Button\u0020is\u0020clicked.\u0020Either\u0020in\u0020the\u0020Plain\u0020text\u0020or\u0020Visual\u0020editor.", "url": "classes/Footnotes-WYSIWYG.html#method_ajax_callback" + }, { + "fqsen": "\\Footnotes_WYSIWYG\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-WYSIWYG.html#property_plugin_name" }, { "fqsen": "\\Footnotes_Layout_Engine", "name": "Footnotes_Layout_Engine", @@ -300,6 +310,11 @@ Search.appendIndex( "name": "add_num_box", "summary": "Returns\u0020the\u0020html\u0020tag\u0020for\u0020an\u0020input\u0020\u005Btype\u0020\u003D\u0020num\u005D.", "url": "classes/Footnotes-Layout-Engine.html#method_add_num_box" + }, { + "fqsen": "\\Footnotes_Layout_Engine\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Layout-Engine.html#property_plugin_name" }, { "fqsen": "\\Footnotes_Layout_Engine\u003A\u003A\u0024a_str_sub_page_hook", "name": "a_str_sub_page_hook", @@ -345,6 +360,11 @@ Search.appendIndex( "name": "C_STR_MAIN_MENU_SLUG", "summary": "Slug\u0020for\u0020the\u0020Plugin\u0020main\u0020menu.", "url": "classes/Footnotes-Layout-Init.html#constant_C_STR_MAIN_MENU_SLUG" + }, { + "fqsen": "\\Footnotes_Layout_Init\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Layout-Init.html#property_plugin_name" }, { "fqsen": "\\Footnotes_Layout_Init\u003A\u003A\u0024settings_page", "name": "settings_page", @@ -355,6 +375,11 @@ Search.appendIndex( "name": "Footnotes_Layout_Settings", "summary": "Displays\u0020and\u0020handles\u0020all\u0020Settings\u0020of\u0020the\u0020Plugin.", "url": "classes/Footnotes-Layout-Settings.html" + }, { + "fqsen": "\\Footnotes_Layout_Settings\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Layout-Settings.html#method___construct" }, { "fqsen": "\\Footnotes_Layout_Settings\u003A\u003Aget_priority\u0028\u0029", "name": "get_priority", @@ -505,11 +530,6 @@ Search.appendIndex( "name": "Footnotes_Config", "summary": "Contains\u0020all\u0020Plugin\u0020Constants.\u0020Contains\u0020no\u0020Method\u0020or\u0020Property.", "url": "classes/Footnotes-Config.html" - }, { - "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_NAME", - "name": "C_STR_PLUGIN_NAME", - "summary": "Internal\u0020Plugin\u0020name.", - "url": "classes/Footnotes-Config.html#constant_C_STR_PLUGIN_NAME" }, { "fqsen": "\\Footnotes_Config\u003A\u003AC_STR_PLUGIN_PUBLIC_NAME", "name": "C_STR_PLUGIN_PUBLIC_NAME", @@ -605,11 +625,6 @@ Search.appendIndex( "name": "add_filter", "summary": "Add\u0020a\u0020new\u0020filter\u0020to\u0020the\u0020collection\u0020to\u0020be\u0020registered\u0020with\u0020WordPress.", "url": "classes/Footnotes-Loader.html#method_add_filter" - }, { - "fqsen": "\\Footnotes_Loader\u003A\u003Ainitialize_widgets\u0028\u0029", - "name": "initialize_widgets", - "summary": "Initializes\u0020all\u0020Widgets\u0020of\u0020the\u0020Plugin.", - "url": "classes/Footnotes-Loader.html#method_initialize_widgets" }, { "fqsen": "\\Footnotes_Loader\u003A\u003Aadd\u0028\u0029", "name": "add", @@ -1310,6 +1325,11 @@ Search.appendIndex( "name": "enqueue_scripts", "summary": "Register\u0020the\u0020JavaScript\u0020for\u0020the\u0020public\u002Dfacing\u0020side\u0020of\u0020the\u0020site.", "url": "classes/Footnotes-Public.html#method_enqueue_scripts" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003Aregister_widgets\u0028\u0029", + "name": "register_widgets", + "summary": "Register\u0020the\u0020widget\u0028s\u0029\u0020for\u0020the\u0020public\u002Dfacing\u0020side\u0020of\u0020the\u0020site.", + "url": "classes/Footnotes-Public.html#method_register_widgets" }, { "fqsen": "\\Footnotes_Public\u003A\u003A\u0024plugin_name", "name": "plugin_name", @@ -1320,10 +1340,15 @@ Search.appendIndex( "name": "version", "summary": "The\u0020version\u0020of\u0020this\u0020plugin.", "url": "classes/Footnotes-Public.html#property_version" + }, { + "fqsen": "\\Footnotes_Public\u003A\u003A\u0024reference_container_widget", + "name": "reference_container_widget", + "summary": "The\u0020reference\u0020container\u0020widget.", + "url": "classes/Footnotes-Public.html#property_reference_container_widget" }, { "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_obj_task", "name": "a_obj_task", - "summary": "The\u0020Plugin\u0020task.", + "summary": "The\u0020footnote\u0020parser.", "url": "classes/Footnotes-Public.html#property_a_obj_task" }, { "fqsen": "\\Footnotes_Public\u003A\u003A\u0024a_bool_tooltips_enabled", @@ -1380,6 +1405,11 @@ Search.appendIndex( "name": "Footnotes_Widget_Reference_Container", "summary": "Registers\u0020a\u0020Widget\u0020to\u0020put\u0020the\u0020Reference\u0020Container\u0020to\u0020the\u0020widget\u0020area.", "url": "classes/Footnotes-Widget-Reference-Container.html" + }, { + "fqsen": "\\Footnotes_Widget_Reference_Container\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", + "url": "classes/Footnotes-Widget-Reference-Container.html#method___construct" }, { "fqsen": "\\Footnotes_Widget_Reference_Container\u003A\u003Aget_id\u0028\u0029", "name": "get_id", @@ -1405,6 +1435,11 @@ Search.appendIndex( "name": "widget", "summary": "Outputs\u0020the\u0020Content\u0020of\u0020the\u0020Widget.", "url": "classes/Footnotes-Widget-Reference-Container.html#method_widget" + }, { + "fqsen": "\\Footnotes_Widget_Reference_Container\u003A\u003A\u0024plugin_name", + "name": "plugin_name", + "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", + "url": "classes/Footnotes-Widget-Reference-Container.html#property_plugin_name" }, { "fqsen": "\\Footnotes_Parser", "name": "Footnotes_Parser", diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index ec6bbf8..87aeecb 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -179,7 +179,7 @@

                                                                            The code that runs during plugin activation.

                                                                            @@ -204,7 +204,7 @@

                                                                            The code that runs during plugin deactivation.

                                                                            @@ -229,7 +229,7 @@

                                                                            Begins execution of the plugin.

                                                                            diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index 755e0b2..70aac1c 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -177,7 +177,7 @@

                                                                            The code that runs during plugin activation.

                                                                            @@ -202,7 +202,7 @@

                                                                            The code that runs during plugin deactivation.

                                                                            @@ -227,7 +227,7 @@

                                                                            Begins execution of the plugin.

                                                                            From d3283bdb02f91bbc7fa4304ee6d436f38cfd8da0 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:54:07 +0100 Subject: [PATCH 43/99] chore: lint code --- src/admin/class-footnotes-admin.php | 8 ++++---- src/admin/class-footnotes-wysiwyg.php | 10 +++++++--- src/admin/layout/class-footnotes-layout-engine.php | 2 +- src/admin/layout/class-footnotes-layout-init.php | 6 ++++-- src/admin/layout/class-footnotes-layout-settings.php | 2 +- src/includes/class-footnotes.php | 6 +++--- src/public/class-footnotes-public.php | 8 ++++---- .../class-footnotes-widget-reference-container.php | 2 +- 8 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index b6a62a7..6b7bc5b 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -36,7 +36,7 @@ class Footnotes_Admin { * @var string $version The current version of this plugin. */ private $version; - + /** * The WYSIWYG editor integration object. * @@ -79,14 +79,14 @@ class Footnotes_Admin { */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; - $this->wysiwyg = new Footnotes_WYSIWYG($this->plugin_name); - + $this->wysiwyg = new Footnotes_WYSIWYG( $this->plugin_name ); + /** * The class responsible for constructing the plugin dashboard page(s). */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/layout/class-footnotes-layout-init.php'; - new Footnotes_Layout_Init($this->plugin_name); + new Footnotes_Layout_Init( $this->plugin_name ); } /** diff --git a/src/admin/class-footnotes-wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php index 6c9d2a7..e3a3353 100644 --- a/src/admin/class-footnotes-wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -23,7 +23,7 @@ class Footnotes_WYSIWYG { * @var string $plugin_name The ID of this plugin. */ private $plugin_name; - + /** * Initialize the class and set its properties. * @@ -42,9 +42,11 @@ class Footnotes_WYSIWYG { * @since 1.5.0 * @param array $p_arr_buttons pre defined Buttons from WordPress. * @return array + * + * @todo Does this need to be `static`? */ public static function new_visual_editor_button( $p_arr_buttons ) { - array_push( $p_arr_buttons, $this->plugin_name ); + array_push( $p_arr_buttons, 'footnotes' ); return $p_arr_buttons; } @@ -66,9 +68,11 @@ class Footnotes_WYSIWYG { * @since 1.5.0 * @param array $p_arr_plugins Scripts to be included to the editor. * @return array + * + * @todo Does this need to be `static`? */ public static function include_scripts( $p_arr_plugins ) { - $p_arr_plugins[ $this->plugin_name ] = plugins_url( '/../admin/js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); + $p_arr_plugins['footnotes'] = plugins_url( '/../admin/js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); return $p_arr_plugins; } diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index df09682..3f59c9a 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -87,7 +87,7 @@ abstract class Footnotes_Layout_Engine { * @return array */ abstract protected function get_meta_boxes(); - + /** * Returns an array describing a sub page section. * diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index 760f5ad..a64b225 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -43,15 +43,17 @@ class Footnotes_Layout_Init { /** * Class Constructor. Initializes all WordPress hooks for the Plugin Settings. * + * @param string $plugin_name The name of the plugin. + * * @since 1.5.0 * @since 2.8.0 Added `$plugin_name` parameter. */ public function __construct( $plugin_name ) { $this->plugin_name = $plugin_name; - + $this->load_dependencies(); - $this->settings_page = new Footnotes_Layout_Settings($this->plugin_name); + $this->settings_page = new Footnotes_Layout_Settings( $this->plugin_name ); // Register hooks/actions. add_action( 'admin_menu', array( $this, 'register_options_submenu' ) ); diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index cc03c01..ee7b2e7 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -49,7 +49,7 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la * @since 1.5.0 */ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { - + /** * Initialize the class and set its properties. * diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index d3defa2..e590b25 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -167,9 +167,9 @@ class Footnotes { $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links' ); - + $this->loader->add_filter( 'mce_buttons', $plugin_admin->wysiwyg, 'new_visual_editor_button' ); - $this->loader->add_action( 'admin_print_footer_scripts', $plugin_admin->wysiwyg, 'new_plain_text_editor_button' ); + $this->loader->add_action( 'admin_print_footer_scripts', $plugin_admin->wysiwyg, 'new_plain_text_editor_button' ); $this->loader->add_filter( 'mce_external_plugins', $plugin_admin->wysiwyg, 'include_scripts' ); @@ -194,7 +194,7 @@ class Footnotes { $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' ); $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); - + $this->loader->add_action( 'widgets_init', $plugin_public, 'register_widgets' ); } diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index bfcb2f0..0cbaed4 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -36,7 +36,7 @@ class Footnotes_Public { * @var string $version The current version of this plugin. */ private $version; - + /** * The reference container widget. * @@ -133,8 +133,8 @@ class Footnotes_Public { require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-parser.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-reference-container.php'; - $this->reference_container_widget = new Footnotes_Widget_Reference_Container($this->plugin_name); - + $this->reference_container_widget = new Footnotes_Widget_Reference_Container( $this->plugin_name ); + $this->a_obj_task = new Footnotes_Parser(); } @@ -261,7 +261,7 @@ class Footnotes_Public { } } - + /** * Register the widget(s) for the public-facing side of the site. * diff --git a/src/public/widget/class-footnotes-widget-reference-container.php b/src/public/widget/class-footnotes-widget-reference-container.php index bb33473..1412381 100644 --- a/src/public/widget/class-footnotes-widget-reference-container.php +++ b/src/public/widget/class-footnotes-widget-reference-container.php @@ -25,7 +25,7 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base { * @var string $plugin_name The ID of this plugin. */ private $plugin_name; - + /** * Initialize the class and set its properties. * From 2fac17b11dd6fe460ef8b57562f26755372ef592 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:54:23 +0100 Subject: [PATCH 44/99] docs: update documentation --- docs/classes/Footnotes-Layout-Init.html | 18 ++++++++------ docs/classes/Footnotes-WYSIWYG.html | 26 ++++++++++++++++--- docs/reports/markers.html | 33 ++++++++++++++++++++++--- 3 files changed, 62 insertions(+), 15 deletions(-) diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index 1c22af9..98f301c 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -376,14 +376,14 @@

                                                                            Class Constructor. Initializes all WordPress hooks for the Plugin Settings.

                                                                            public - __construct(mixed $plugin_name) : mixed + __construct(string $plugin_name) : mixed
                                                                            @@ -391,10 +391,12 @@
                                                                            $plugin_name - : mixed + : string
                                                                            - +

                                                                            The name of the plugin.

                                                                            +
                                                                            +
                                                                            @@ -445,7 +447,7 @@

                                                                            AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

                                                                            @@ -494,7 +496,7 @@

                                                                            Registers the settings and initialises the settings page.

                                                                            @@ -543,7 +545,7 @@

                                                                            Registers the footnotes submenu page.

                                                                            @@ -601,7 +603,7 @@

                                                                            Load the required dependencies for this plugin.

                                                                            diff --git a/docs/classes/Footnotes-WYSIWYG.html b/docs/classes/Footnotes-WYSIWYG.html index d84e06f..5255645 100644 --- a/docs/classes/Footnotes-WYSIWYG.html +++ b/docs/classes/Footnotes-WYSIWYG.html @@ -328,7 +328,7 @@

                                                                            AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.

                                                                            @@ -378,7 +378,7 @@

                                                                            Includes the Plugins WYSIWYG editor script.

                                                                            @@ -416,6 +416,15 @@
                                                                            + +
                                                                            + todo +
                                                                            +
                                                                            + +

                                                                            Does this need to be static?

                                                                            +
                                                                            +
                                                                            @@ -439,7 +448,7 @@

                                                                            Add a new button to the plain text editor.

                                                                            @@ -488,7 +497,7 @@

                                                                            Append a new Button to the WYSIWYG editor of Posts and Pages.

                                                                            @@ -526,6 +535,15 @@
                                                                            + +
                                                                            + todo +
                                                                            +
                                                                            + +

                                                                            Does this need to be static?

                                                                            +
                                                                            +
                                                                            diff --git a/docs/reports/markers.html b/docs/reports/markers.html index 937ebb0..657dd18 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -88,10 +88,37 @@

                                                                            Markers

                                                                            -
                                                                            - No markers have been found in this project. -
                                                                            +

                                                                            Table of Contents

                                                                            + + + + + +
                                                                            src/admin/class-footnotes-wysiwyg.php2
                                                                            + +

                                                                            class-footnotes-wysiwyg.php

                                                                            + + + + + + + + + + + + + + + + + + + + +
                                                                            TypeLineDescription
                                                                            TODO48Does this need to be `static`?
                                                                            TODO74Does this need to be `static`?
                                                                            From 8e57abae98fc34481240c1b7fd91071b58ed200d Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 09:56:11 +0100 Subject: [PATCH 45/99] ci: update linting workflow --- .github/workflows/lint-code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 7b39cae..e67b1ae 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -37,7 +37,7 @@ jobs: run: composer run lint:php - name: Lint Plugin scripts (JS) - run: composer run format:js:fix && composer run lint:js + run: composer run lint:js #- name: Lint stylesheets (CSS) # run: composer run lint:css From a72558098b8a99c7c94aa9a6f2c759aca257230f Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 10:04:13 +0100 Subject: [PATCH 46/99] docs: redeclare subpackages --- src/admin/class-footnotes-admin.php | 4 ++-- src/admin/class-footnotes-wysiwyg.php | 2 +- src/admin/layout/class-footnotes-layout-engine.php | 7 +++---- src/admin/layout/class-footnotes-layout-init.php | 2 +- src/admin/layout/class-footnotes-layout-settings.php | 2 +- src/includes/class-footnotes-activator.php | 4 ++-- src/includes/class-footnotes-config.php | 2 +- src/includes/class-footnotes-convert.php | 2 +- src/includes/class-footnotes-deactivator.php | 4 ++-- src/includes/class-footnotes-i18n.php | 4 ++-- src/includes/class-footnotes-loader.php | 4 ++-- src/includes/class-footnotes-settings.php | 2 +- src/includes/class-footnotes-template.php | 2 +- src/includes/class-footnotes.php | 4 ++-- src/public/class-footnotes-parser.php | 2 +- src/public/class-footnotes-public.php | 4 ++-- src/public/widget/class-footnotes-widget-base.php | 2 +- .../widget/class-footnotes-widget-reference-container.php | 2 +- 18 files changed, 27 insertions(+), 28 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index 6b7bc5b..05f1ad8 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -5,7 +5,7 @@ * @since 2.8.0 * * @package footnotes - * @subpackage footnotes/admin + * @subpackage admin */ /** @@ -15,7 +15,7 @@ * and JavaScript. * * @package footnotes - * @subpackage footnotes/admin + * @subpackage admin */ class Footnotes_Admin { diff --git a/src/admin/class-footnotes-wysiwyg.php b/src/admin/class-footnotes-wysiwyg.php index e3a3353..3c6cb76 100644 --- a/src/admin/class-footnotes-wysiwyg.php +++ b/src/admin/class-footnotes-wysiwyg.php @@ -5,7 +5,7 @@ * @since 1.5.0 * * @package footnotes - * @subpackage footnotes/admin + * @subpackage admin */ /** diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index 3f59c9a..f016f40 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -2,16 +2,15 @@ /** * Includes Layout Engine for the admin dashboard. * - * @filesource - * @package footnotes * @since 1.5.0 - * * @since 2.1.2 add versioning of settings.css for cache busting * @since 2.1.4 automate passing version number for cache busting * @since 2.1.4 optional step argument and support for floating in numbox * @since 2.1.6 fix punctuation-related localization issue in dashboard labels - * * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. + * + * @package footnotes + * @subpackage admin_layout */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-init.php'; diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index a64b225..45a9fad 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -5,7 +5,7 @@ * @since 1.5.0 * * @package footnotes - * @subpackage footnotes/admin + * @subpackage admin_layout */ /** diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index ee7b2e7..41757ce 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -38,7 +38,7 @@ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * * @package footnotes - * @subpackage footnotes/admin/layout + * @subpackage admin_layout */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-engine.php'; diff --git a/src/includes/class-footnotes-activator.php b/src/includes/class-footnotes-activator.php index 0ff3f4b..14212e2 100644 --- a/src/includes/class-footnotes-activator.php +++ b/src/includes/class-footnotes-activator.php @@ -5,7 +5,7 @@ * @since 2.8.0 * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ /** @@ -15,7 +15,7 @@ * * @since 2.8.0 * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ class Footnotes_Activator { diff --git a/src/includes/class-footnotes-config.php b/src/includes/class-footnotes-config.php index c37a1dd..17b8651 100644 --- a/src/includes/class-footnotes-config.php +++ b/src/includes/class-footnotes-config.php @@ -6,7 +6,7 @@ * @since 2.0.4 add Public Plugin name for dashboard heading * * @package footnotes - * @sunpackage footnotes/includes + * @subpackage includes */ /** diff --git a/src/includes/class-footnotes-convert.php b/src/includes/class-footnotes-convert.php index 2cfda17..a3e9944 100644 --- a/src/includes/class-footnotes-convert.php +++ b/src/includes/class-footnotes-convert.php @@ -6,7 +6,7 @@ * @since 2.2.0 add lowercase Roman * * @package footnotes - * @sunpackage footnotes/includes + * @subpackage includes */ /** diff --git a/src/includes/class-footnotes-deactivator.php b/src/includes/class-footnotes-deactivator.php index 953ce4b..323ab64 100644 --- a/src/includes/class-footnotes-deactivator.php +++ b/src/includes/class-footnotes-deactivator.php @@ -5,7 +5,7 @@ * @since 2.8.0 * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ /** @@ -15,7 +15,7 @@ * * @since 2.8.0 * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ class Footnotes_Deactivator { diff --git a/src/includes/class-footnotes-i18n.php b/src/includes/class-footnotes-i18n.php index 3394ef1..b57643c 100644 --- a/src/includes/class-footnotes-i18n.php +++ b/src/includes/class-footnotes-i18n.php @@ -9,7 +9,7 @@ * @since 2.8.0 Renamed class to `Footnotes_i18n`. * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-config.php'; @@ -23,7 +23,7 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes- * @since 1.5.0 * @since 2.8.0 Renamed class to `Footnotes_i18n`. * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ class Footnotes_i18n { diff --git a/src/includes/class-footnotes-loader.php b/src/includes/class-footnotes-loader.php index e49b7f9..b1e652b 100644 --- a/src/includes/class-footnotes-loader.php +++ b/src/includes/class-footnotes-loader.php @@ -5,7 +5,7 @@ * @since 2.8.0 * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ /** @@ -16,7 +16,7 @@ * run function to execute the list of actions and filters. * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ class Footnotes_Loader { /** diff --git a/src/includes/class-footnotes-settings.php b/src/includes/class-footnotes-settings.php index 8d937c2..ffe818d 100644 --- a/src/includes/class-footnotes-settings.php +++ b/src/includes/class-footnotes-settings.php @@ -11,7 +11,7 @@ * @since 2.1.3 Bugfix: Hooks: disable the_excerpt hook by default to fix issues, thanks to @nikelaos bug report. * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; diff --git a/src/includes/class-footnotes-template.php b/src/includes/class-footnotes-template.php index 5f6088e..874fafd 100644 --- a/src/includes/class-footnotes-template.php +++ b/src/includes/class-footnotes-template.php @@ -7,7 +7,7 @@ * @since 2.5.0 Adding: Templates: Enable template location stack, thanks to @misfist issue report and code contribution. * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ /** diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index e590b25..02d7590 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -8,7 +8,7 @@ * @since 1.5.0 * * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ /** @@ -22,7 +22,7 @@ * * @since 1.5.0 * @package footnotes - * @subpackage footnotes/includes + * @subpackage includes */ class Footnotes { /** diff --git a/src/public/class-footnotes-parser.php b/src/public/class-footnotes-parser.php index 2e5431a..49764cb 100644 --- a/src/public/class-footnotes-parser.php +++ b/src/public/class-footnotes-parser.php @@ -8,7 +8,7 @@ * @since 2.8.0 Rename class from `Footnotes_Task` to `Footnotes_Parser`. * * @package footnotes - * @subpackage footnotes/public + * @subpackage public */ /** diff --git a/src/public/class-footnotes-public.php b/src/public/class-footnotes-public.php index 0cbaed4..7df55d1 100644 --- a/src/public/class-footnotes-public.php +++ b/src/public/class-footnotes-public.php @@ -5,7 +5,7 @@ * @since 2.8.0 * * @package footnotes - * @subpackage footnotes/public + * @subpackage public */ /** @@ -15,7 +15,7 @@ * and JavaScript. * * @package footnotes - * @subpackage footnotes/public + * @subpackage public */ class Footnotes_Public { diff --git a/src/public/widget/class-footnotes-widget-base.php b/src/public/widget/class-footnotes-widget-base.php index 84a8926..f18ee72 100644 --- a/src/public/widget/class-footnotes-widget-base.php +++ b/src/public/widget/class-footnotes-widget-base.php @@ -6,7 +6,7 @@ * @since 1.6.4 Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution. * * @package footnotes - * @subpackage footnotes/public/widget + * @subpackage public_widget */ /** diff --git a/src/public/widget/class-footnotes-widget-reference-container.php b/src/public/widget/class-footnotes-widget-reference-container.php index 1412381..5d607fe 100644 --- a/src/public/widget/class-footnotes-widget-reference-container.php +++ b/src/public/widget/class-footnotes-widget-reference-container.php @@ -5,7 +5,7 @@ * @since 1.5.0 * * @package footnotes - * @subpackage footnotes/public/widget + * @subpackage public_widget */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widget/class-footnotes-widget-base.php'; From 431d75f62e3f396af8e67e07bdb53234b617ba2d Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 10:04:30 +0100 Subject: [PATCH 47/99] docs: update documentation --- docs/classes/Footnotes-Activator.html | 14 +- docs/classes/Footnotes-Admin.html | 14 +- docs/classes/Footnotes-Config.html | 8 +- docs/classes/Footnotes-Convert.html | 8 +- docs/classes/Footnotes-Deactivator.html | 14 +- docs/classes/Footnotes-Layout-Engine.html | 66 ++++----- docs/classes/Footnotes-Layout-Init.html | 8 +- docs/classes/Footnotes-Layout-Settings.html | 54 ++++--- docs/classes/Footnotes-Loader.html | 14 +- docs/classes/Footnotes-Parser.html | 8 +- docs/classes/Footnotes-Public.html | 14 +- docs/classes/Footnotes-Settings.html | 8 +- docs/classes/Footnotes-Template.html | 8 +- docs/classes/Footnotes-WYSIWYG.html | 8 +- docs/classes/Footnotes-Widget-Base.html | 8 +- .../Footnotes-Widget-Reference-Container.html | 8 +- docs/classes/Footnotes-i18n.html | 14 +- docs/classes/Footnotes.html | 14 +- .../src-admin-class-footnotes-admin.html | 10 +- .../src-admin-class-footnotes-wysiwyg.html | 10 +- docs/files/src-admin-index.html | 8 +- ...-layout-class-footnotes-layout-engine.html | 10 +- ...in-layout-class-footnotes-layout-init.html | 11 +- ...ayout-class-footnotes-layout-settings.html | 11 +- docs/files/src-footnotes.html | 8 +- ...rc-includes-class-footnotes-activator.html | 10 +- .../src-includes-class-footnotes-config.html | 9 +- .../src-includes-class-footnotes-convert.html | 9 +- ...-includes-class-footnotes-deactivator.html | 10 +- .../src-includes-class-footnotes-i18n.html | 10 +- .../src-includes-class-footnotes-loader.html | 10 +- ...src-includes-class-footnotes-settings.html | 10 +- ...src-includes-class-footnotes-template.html | 10 +- docs/files/src-includes-class-footnotes.html | 10 +- docs/files/src-includes-index.html | 8 +- docs/files/src-index.html | 8 +- .../src-public-class-footnotes-parser.html | 10 +- .../src-public-class-footnotes-public.html | 10 +- docs/files/src-public-index.html | 8 +- ...ic-widget-class-footnotes-widget-base.html | 11 +- ...-footnotes-widget-reference-container.html | 11 +- docs/files/src-uninstall.html | 8 +- docs/graphs/classes.html | 8 +- docs/index.html | 8 +- docs/indices/files.html | 8 +- docs/namespaces/default.html | 8 +- docs/packages/Default.html | 8 +- docs/packages/default.html | 8 +- docs/packages/footnotes-admin-layout.html | 119 +++++++++++++++ docs/packages/footnotes-admin.html | 137 ++++++++++++++++++ docs/packages/footnotes-adminlayout.html | 121 ++++++++++++++++ .../packages/footnotes-footnotesincludes.html | 17 +-- docs/packages/footnotes-includes.html | 137 ++++++++++++++++++ docs/packages/footnotes-public-widget.html | 119 +++++++++++++++ docs/packages/footnotes-public.html | 137 ++++++++++++++++++ docs/packages/footnotes-publicwidget.html | 121 ++++++++++++++++ docs/packages/footnotes.html | 16 +- docs/reports/deprecated.html | 8 +- docs/reports/errors.html | 8 +- docs/reports/markers.html | 8 +- 60 files changed, 1151 insertions(+), 365 deletions(-) create mode 100644 docs/packages/footnotes-admin-layout.html create mode 100644 docs/packages/footnotes-admin.html create mode 100644 docs/packages/footnotes-adminlayout.html create mode 100644 docs/packages/footnotes-includes.html create mode 100644 docs/packages/footnotes-public-widget.html create mode 100644 docs/packages/footnotes-public.html create mode 100644 docs/packages/footnotes-publicwidget.html diff --git a/docs/classes/Footnotes-Activator.html b/docs/classes/Footnotes-Activator.html index ff00480..7a35463 100644 --- a/docs/classes/Footnotes-Activator.html +++ b/docs/classes/Footnotes-Activator.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@ @@ -132,7 +130,7 @@
                                                                            -

                                                                            footnotes/includes

                                                                            +

                                                                            includes

                                                                            diff --git a/docs/classes/Footnotes-Admin.html b/docs/classes/Footnotes-Admin.html index 5d2d554..ab6a45f 100644 --- a/docs/classes/Footnotes-Admin.html +++ b/docs/classes/Footnotes-Admin.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            @@ -124,7 +122,7 @@ and JavaScript.

                                                                            -

                                                                            footnotes/admin

                                                                            +

                                                                            admin

                                                                            diff --git a/docs/classes/Footnotes-Config.html b/docs/classes/Footnotes-Config.html index 6df4245..d39443e 100644 --- a/docs/classes/Footnotes-Config.html +++ b/docs/classes/Footnotes-Config.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Convert.html b/docs/classes/Footnotes-Convert.html index 40a8827..b3ef7da 100644 --- a/docs/classes/Footnotes-Convert.html +++ b/docs/classes/Footnotes-Convert.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Deactivator.html b/docs/classes/Footnotes-Deactivator.html index 5f6c533..142a979 100644 --- a/docs/classes/Footnotes-Deactivator.html +++ b/docs/classes/Footnotes-Deactivator.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@ @@ -132,7 +130,7 @@
                                                                            -

                                                                            footnotes/includes

                                                                            +

                                                                            includes

                                                                            diff --git a/docs/classes/Footnotes-Layout-Engine.html b/docs/classes/Footnotes-Layout-Engine.html index b7b46c7..3605433 100644 --- a/docs/classes/Footnotes-Layout-Engine.html +++ b/docs/classes/Footnotes-Layout-Engine.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -102,7 +100,7 @@

                                                                            Layout Engine for the administration dashboard.

                                                                            @@ -361,7 +359,7 @@

                                                                            Stores all Sections for the child sub page.

                                                                            @@ -408,7 +406,7 @@

                                                                            Stores the Hook connection string for the child sub page.

                                                                            @@ -456,7 +454,7 @@ ull

                                                                            The ID of this plugin.

                                                                            @@ -516,7 +514,7 @@ ull

                                                                            Output the Description of a section. May be overwritten in any section.

                                                                            @@ -565,7 +563,7 @@ ull

                                                                            Displays the content of specific sub page.

                                                                            @@ -614,7 +612,7 @@ ull

                                                                            Returns a Priority index. Lower numbers have a higher Priority.

                                                                            @@ -663,7 +661,7 @@ ull

                                                                            Registers all sections for a sub page.

                                                                            @@ -712,7 +710,7 @@ ull

                                                                            Registers a sub page.

                                                                            @@ -761,7 +759,7 @@ ull

                                                                            Returns the html tag for an input [type = checkbox].

                                                                            @@ -822,7 +820,7 @@ ull

                                                                            Returns the html tag for an input [type = text] with color selection class.

                                                                            @@ -883,7 +881,7 @@ ull

                                                                            Returns the html tag for an input/select label.

                                                                            @@ -953,7 +951,7 @@ ull

                                                                            Returns a line break to have a space between two lines.

                                                                            @@ -1002,7 +1000,7 @@ ull

                                                                            Returns an array describing a meta box.

                                                                            @@ -1091,7 +1089,7 @@ ull

                                                                            Returns a line break to start a new line.

                                                                            @@ -1140,7 +1138,7 @@ ull

                                                                            Returns the html tag for an input [type = num].

                                                                            @@ -1239,7 +1237,7 @@ ull

                                                                            Returns an array describing a sub page section.

                                                                            @@ -1328,7 +1326,7 @@ ull

                                                                            Returns the html tag for a select box.

                                                                            @@ -1439,7 +1437,7 @@ ull

                                                                            Returns a simple text inside html <span> text.

                                                                            @@ -1500,7 +1498,7 @@ ull

                                                                            Returns the html tag for an input [type = text].

                                                                            @@ -1588,7 +1586,7 @@ ull

                                                                            Returns the html tag for a text area.

                                                                            @@ -1649,7 +1647,7 @@ ull

                                                                            Returns an array of all registered meta boxes.

                                                                            @@ -1698,7 +1696,7 @@ ull

                                                                            Returns an array of all registered sections for a sub page.

                                                                            @@ -1747,7 +1745,7 @@ ull

                                                                            Returns the unique slug of the child sub page.

                                                                            @@ -1796,7 +1794,7 @@ ull

                                                                            Returns the title of the child sub page.

                                                                            @@ -1845,7 +1843,7 @@ ull

                                                                            Loads specific setting and returns an array with the keys [id, name, value].

                                                                            @@ -1973,7 +1971,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Append javascript and css files for specific sub page.

                                                                            @@ -2022,7 +2020,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Registers all Meta boxes for a sub page.

                                                                            @@ -2083,7 +2081,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Save all Plugin settings.

                                                                            diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index 98f301c..630d032 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Layout-Settings.html b/docs/classes/Footnotes-Layout-Settings.html index 1739c81..2ee37de 100644 --- a/docs/classes/Footnotes-Layout-Settings.html +++ b/docs/classes/Footnotes-Layout-Settings.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -539,7 +537,7 @@

                                                                            Stores all Sections for the child sub page.

                                                                            @@ -586,7 +584,7 @@

                                                                            Stores the Hook connection string for the child sub page.

                                                                            @@ -634,7 +632,7 @@ ull

                                                                            The ID of this plugin.

                                                                            @@ -1013,7 +1011,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Output the Description of a section. May be overwritten in any section.

                                                                            @@ -1062,7 +1060,7 @@ list directly in the template, as CSS is in English anyway

                                                                            Displays the content of specific sub page.

                                                                            @@ -2245,7 +2243,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Registers all sections for a sub page.

                                                                            @@ -2294,7 +2292,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Registers a sub page.

                                                                            @@ -2593,7 +2591,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = checkbox].

                                                                            @@ -2654,7 +2652,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = text] with color selection class.

                                                                            @@ -2715,7 +2713,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input/select label.

                                                                            @@ -2785,7 +2783,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a line break to have a space between two lines.

                                                                            @@ -2834,7 +2832,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns an array describing a meta box.

                                                                            @@ -2923,7 +2921,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a line break to start a new line.

                                                                            @@ -2972,7 +2970,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = num].

                                                                            @@ -3071,7 +3069,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns an array describing a sub page section.

                                                                            @@ -3160,7 +3158,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for a select box.

                                                                            @@ -3271,7 +3269,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns a simple text inside html <span> text.

                                                                            @@ -3332,7 +3330,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for an input [type = text].

                                                                            @@ -3420,7 +3418,7 @@ define -1 as PHP_INT_MAX instead

                                                                            Returns the html tag for a text area.

                                                                            @@ -3770,7 +3768,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                            Loads specific setting and returns an array with the keys [id, name, value].

                                                                            @@ -3898,7 +3896,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Append javascript and css files for specific sub page.

                                                                            @@ -3947,7 +3945,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Registers all Meta boxes for a sub page.

                                                                            @@ -4008,7 +4006,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                            Save all Plugin settings.

                                                                            diff --git a/docs/classes/Footnotes-Loader.html b/docs/classes/Footnotes-Loader.html index 045b65a..36557c7 100644 --- a/docs/classes/Footnotes-Loader.html +++ b/docs/classes/Footnotes-Loader.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@ @@ -125,7 +123,7 @@ run function to execute the list of actions and filters.

                                                                            -

                                                                            footnotes/includes

                                                                            +

                                                                            includes

                                                                            diff --git a/docs/classes/Footnotes-Parser.html b/docs/classes/Footnotes-Parser.html index a840b42..6fbe9d8 100644 --- a/docs/classes/Footnotes-Parser.html +++ b/docs/classes/Footnotes-Parser.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Public.html b/docs/classes/Footnotes-Public.html index 2cc1450..73b7bd8 100644 --- a/docs/classes/Footnotes-Public.html +++ b/docs/classes/Footnotes-Public.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            @@ -124,7 +122,7 @@ and JavaScript.

                                                                            -

                                                                            footnotes/public

                                                                            +

                                                                            public

                                                                            diff --git a/docs/classes/Footnotes-Settings.html b/docs/classes/Footnotes-Settings.html index bb6ecab..6f6232d 100644 --- a/docs/classes/Footnotes-Settings.html +++ b/docs/classes/Footnotes-Settings.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Template.html b/docs/classes/Footnotes-Template.html index 7c574cc..18f1edd 100644 --- a/docs/classes/Footnotes-Template.html +++ b/docs/classes/Footnotes-Template.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-WYSIWYG.html b/docs/classes/Footnotes-WYSIWYG.html index 5255645..c2c255e 100644 --- a/docs/classes/Footnotes-WYSIWYG.html +++ b/docs/classes/Footnotes-WYSIWYG.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Widget-Base.html b/docs/classes/Footnotes-Widget-Base.html index 5e0ae21..cb28e3d 100644 --- a/docs/classes/Footnotes-Widget-Base.html +++ b/docs/classes/Footnotes-Widget-Base.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-Widget-Reference-Container.html b/docs/classes/Footnotes-Widget-Reference-Container.html index eea901e..534dbdb 100644 --- a/docs/classes/Footnotes-Widget-Reference-Container.html +++ b/docs/classes/Footnotes-Widget-Reference-Container.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/classes/Footnotes-i18n.html b/docs/classes/Footnotes-i18n.html index 0c38fdf..6d1bec9 100644 --- a/docs/classes/Footnotes-i18n.html +++ b/docs/classes/Footnotes-i18n.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@ @@ -143,7 +141,7 @@ so that it is ready for translation.

                                                                            -

                                                                            footnotes/includes

                                                                            +

                                                                            includes

                                                                            diff --git a/docs/classes/Footnotes.html b/docs/classes/Footnotes.html index 6bd73c0..a309b32 100644 --- a/docs/classes/Footnotes.html +++ b/docs/classes/Footnotes.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@ @@ -135,7 +133,7 @@ version of the plugin.

                                                                            -

                                                                            footnotes/includes

                                                                            +

                                                                            includes

                                                                            diff --git a/docs/files/src-admin-class-footnotes-admin.html b/docs/files/src-admin-class-footnotes-admin.html index d9eb86f..ae90c2e 100644 --- a/docs/files/src-admin-class-footnotes-admin.html +++ b/docs/files/src-admin-class-footnotes-admin.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-admin-class-footnotes-wysiwyg.html b/docs/files/src-admin-class-footnotes-wysiwyg.html index 0b0e6ec..b006da0 100644 --- a/docs/files/src-admin-class-footnotes-wysiwyg.html +++ b/docs/files/src-admin-class-footnotes-wysiwyg.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-admin-index.html b/docs/files/src-admin-index.html index b37484d..abd0adf 100644 --- a/docs/files/src-admin-index.html +++ b/docs/files/src-admin-index.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/files/src-admin-layout-class-footnotes-layout-engine.html b/docs/files/src-admin-layout-class-footnotes-layout-engine.html index 2358f0e..e285f01 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-engine.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-engine.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,6 +80,8 @@
                                                                            diff --git a/docs/files/src-admin-layout-class-footnotes-layout-init.html b/docs/files/src-admin-layout-class-footnotes-layout-init.html index c57da17..7b1519f 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-init.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-init.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,8 @@
                                                                            diff --git a/docs/files/src-admin-layout-class-footnotes-layout-settings.html b/docs/files/src-admin-layout-class-footnotes-layout-settings.html index e822e7e..da29470 100644 --- a/docs/files/src-admin-layout-class-footnotes-layout-settings.html +++ b/docs/files/src-admin-layout-class-footnotes-layout-settings.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,8 @@
                                                                            diff --git a/docs/files/src-footnotes.html b/docs/files/src-footnotes.html index 781f640..b9b906a 100644 --- a/docs/files/src-footnotes.html +++ b/docs/files/src-footnotes.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/files/src-includes-class-footnotes-activator.html b/docs/files/src-includes-class-footnotes-activator.html index 76d8421..5e11b93 100644 --- a/docs/files/src-includes-class-footnotes-activator.html +++ b/docs/files/src-includes-class-footnotes-activator.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-config.html b/docs/files/src-includes-class-footnotes-config.html index cd4844a..8c9cb29 100644 --- a/docs/files/src-includes-class-footnotes-config.html +++ b/docs/files/src-includes-class-footnotes-config.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,6 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-convert.html b/docs/files/src-includes-class-footnotes-convert.html index 1149140..8680111 100644 --- a/docs/files/src-includes-class-footnotes-convert.html +++ b/docs/files/src-includes-class-footnotes-convert.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,6 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-deactivator.html b/docs/files/src-includes-class-footnotes-deactivator.html index 67f4b9f..bd682c5 100644 --- a/docs/files/src-includes-class-footnotes-deactivator.html +++ b/docs/files/src-includes-class-footnotes-deactivator.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-i18n.html b/docs/files/src-includes-class-footnotes-i18n.html index 24b4a7e..7fc1a81 100644 --- a/docs/files/src-includes-class-footnotes-i18n.html +++ b/docs/files/src-includes-class-footnotes-i18n.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-loader.html b/docs/files/src-includes-class-footnotes-loader.html index 6056a40..20c9886 100644 --- a/docs/files/src-includes-class-footnotes-loader.html +++ b/docs/files/src-includes-class-footnotes-loader.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-settings.html b/docs/files/src-includes-class-footnotes-settings.html index 57a9e56..e509e85 100644 --- a/docs/files/src-includes-class-footnotes-settings.html +++ b/docs/files/src-includes-class-footnotes-settings.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes-template.html b/docs/files/src-includes-class-footnotes-template.html index cd3b781..78af43a 100644 --- a/docs/files/src-includes-class-footnotes-template.html +++ b/docs/files/src-includes-class-footnotes-template.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-class-footnotes.html b/docs/files/src-includes-class-footnotes.html index 894d895..810091c 100644 --- a/docs/files/src-includes-class-footnotes.html +++ b/docs/files/src-includes-class-footnotes.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-includes-index.html b/docs/files/src-includes-index.html index 1aeefe2..f130ed8 100644 --- a/docs/files/src-includes-index.html +++ b/docs/files/src-includes-index.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/files/src-index.html b/docs/files/src-index.html index 68b376a..06b9826 100644 --- a/docs/files/src-index.html +++ b/docs/files/src-index.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/files/src-public-class-footnotes-parser.html b/docs/files/src-public-class-footnotes-parser.html index 773676e..b0bf710 100644 --- a/docs/files/src-public-class-footnotes-parser.html +++ b/docs/files/src-public-class-footnotes-parser.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-public-class-footnotes-public.html b/docs/files/src-public-class-footnotes-public.html index 0a147e0..52acb51 100644 --- a/docs/files/src-public-class-footnotes-public.html +++ b/docs/files/src-public-class-footnotes-public.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,7 @@
                                                                            diff --git a/docs/files/src-public-index.html b/docs/files/src-public-index.html index e20cf79..4730c17 100644 --- a/docs/files/src-public-index.html +++ b/docs/files/src-public-index.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/files/src-public-widget-class-footnotes-widget-base.html b/docs/files/src-public-widget-class-footnotes-widget-base.html index 8a03533..33d149a 100644 --- a/docs/files/src-public-widget-class-footnotes-widget-base.html +++ b/docs/files/src-public-widget-class-footnotes-widget-base.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,8 @@
                                                                            diff --git a/docs/files/src-public-widget-class-footnotes-widget-reference-container.html b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html index a4484f5..ba2eb71 100644 --- a/docs/files/src-public-widget-class-footnotes-widget-reference-container.html +++ b/docs/files/src-public-widget-class-footnotes-widget-reference-container.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            @@ -82,7 +80,8 @@
                                                                            diff --git a/docs/files/src-uninstall.html b/docs/files/src-uninstall.html index 0e29253..85a354a 100644 --- a/docs/files/src-uninstall.html +++ b/docs/files/src-uninstall.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/graphs/classes.html b/docs/graphs/classes.html index 3a06465..35c1c12 100644 --- a/docs/graphs/classes.html +++ b/docs/graphs/classes.html @@ -50,11 +50,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/index.html b/docs/index.html index 8b6c20f..dae4a87 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/indices/files.html b/docs/indices/files.html index 70fc831..39363eb 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 87aeecb..407d038 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 7e0dfad..4c711fe 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/packages/default.html b/docs/packages/default.html index 2de5554..b52d944 100644 --- a/docs/packages/default.html +++ b/docs/packages/default.html @@ -57,11 +57,9 @@

                                                                            Packages

                                                                            footnotes

                                                                            Default

                                                                            diff --git a/docs/packages/footnotes-admin-layout.html b/docs/packages/footnotes-admin-layout.html new file mode 100644 index 0000000..f4fa063 --- /dev/null +++ b/docs/packages/footnotes-admin-layout.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                            +

                                                                            Documentation

                                                                            + + + + + +
                                                                            + +
                                                                            +
                                                                            + + + + +
                                                                            + + +
                                                                            +

                                                                            layout

                                                                            + + + + + + + + + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + diff --git a/docs/packages/footnotes-admin.html b/docs/packages/footnotes-admin.html new file mode 100644 index 0000000..b7a88cd --- /dev/null +++ b/docs/packages/footnotes-admin.html @@ -0,0 +1,137 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                              +

                                                                              Documentation

                                                                              + + + + + +
                                                                              + +
                                                                              +
                                                                              + + + + +
                                                                              + + +
                                                                              +

                                                                              admin

                                                                              + +

                                                                              + Packages + +

                                                                              + +
                                                                              +
                                                                              layout
                                                                              +
                                                                              + + +

                                                                              + Interfaces, Classes and Traits + +

                                                                              + +
                                                                              + +
                                                                              Footnotes_Admin
                                                                              +
                                                                              The admin-specific functionality of the plugin.
                                                                              + +
                                                                              + + + + + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              Search results

                                                                              + +
                                                                              +
                                                                              +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                + + +
                                                                                + + + + diff --git a/docs/packages/footnotes-adminlayout.html b/docs/packages/footnotes-adminlayout.html new file mode 100644 index 0000000..2c33dff --- /dev/null +++ b/docs/packages/footnotes-adminlayout.html @@ -0,0 +1,121 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                                +

                                                                                Documentation

                                                                                + + + + + +
                                                                                + +
                                                                                +
                                                                                + + + + +
                                                                                + + +
                                                                                +

                                                                                adminlayout

                                                                                + + + + + + + + + +
                                                                                +
                                                                                +
                                                                                +
                                                                                +

                                                                                Search results

                                                                                + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + + +
                                                                                  + + + + diff --git a/docs/packages/footnotes-footnotesincludes.html b/docs/packages/footnotes-footnotesincludes.html index 4e5c6fa..e2a5a0b 100644 --- a/docs/packages/footnotes-footnotesincludes.html +++ b/docs/packages/footnotes-footnotesincludes.html @@ -57,11 +57,12 @@

                                                                                  Packages

                                                                                  footnotes

                                                                                  Default

                                                                                  @@ -96,16 +97,8 @@
                                                                                  -
                                                                                  Footnotes_Activator
                                                                                  -
                                                                                  Fired during plugin activation.
                                                                                  -
                                                                                  Footnotes_Deactivator
                                                                                  -
                                                                                  Fired during plugin deactivation.
                                                                                  Footnotes
                                                                                  The core plugin class.
                                                                                  -
                                                                                  Footnotes_i18n
                                                                                  -
                                                                                  Define the internationalization functionality.
                                                                                  -
                                                                                  Footnotes_Loader
                                                                                  -
                                                                                  Register all actions and filters for the plugin.
                                                                                  diff --git a/docs/packages/footnotes-includes.html b/docs/packages/footnotes-includes.html new file mode 100644 index 0000000..4c94f51 --- /dev/null +++ b/docs/packages/footnotes-includes.html @@ -0,0 +1,137 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                                  +

                                                                                  Documentation

                                                                                  + + + + + +
                                                                                  + +
                                                                                  +
                                                                                  + + + + +
                                                                                  + + + +
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  Search results

                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + + +
                                                                                    + + + + diff --git a/docs/packages/footnotes-public-widget.html b/docs/packages/footnotes-public-widget.html new file mode 100644 index 0000000..473e5ff --- /dev/null +++ b/docs/packages/footnotes-public-widget.html @@ -0,0 +1,119 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                                    +

                                                                                    Documentation

                                                                                    + + + + + +
                                                                                    + +
                                                                                    +
                                                                                    + + + + +
                                                                                    + + +
                                                                                    +

                                                                                    widget

                                                                                    + + + + + + + + + +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +

                                                                                    Search results

                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      + + +
                                                                                      + + + + diff --git a/docs/packages/footnotes-public.html b/docs/packages/footnotes-public.html new file mode 100644 index 0000000..e4e8234 --- /dev/null +++ b/docs/packages/footnotes-public.html @@ -0,0 +1,137 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                                      +

                                                                                      Documentation

                                                                                      + + + + + +
                                                                                      + +
                                                                                      +
                                                                                      + + + + +
                                                                                      + + +
                                                                                      +

                                                                                      public

                                                                                      + +

                                                                                      + Packages + +

                                                                                      + +
                                                                                      +
                                                                                      widget
                                                                                      +
                                                                                      + + +

                                                                                      + Interfaces, Classes and Traits + +

                                                                                      + +
                                                                                      + +
                                                                                      Footnotes_Public
                                                                                      +
                                                                                      The public-facing functionality of the plugin.
                                                                                      + +
                                                                                      + + + + + + +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +

                                                                                      Search results

                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        + + +
                                                                                        + + + + diff --git a/docs/packages/footnotes-publicwidget.html b/docs/packages/footnotes-publicwidget.html new file mode 100644 index 0000000..6aa5185 --- /dev/null +++ b/docs/packages/footnotes-publicwidget.html @@ -0,0 +1,121 @@ + + + + + Documentation + + + + + + + + + + + + + + + +
                                                                                        +

                                                                                        Documentation

                                                                                        + + + + + +
                                                                                        + +
                                                                                        +
                                                                                        + + + + +
                                                                                        + + +
                                                                                        +

                                                                                        publicwidget

                                                                                        + + + + + + + + + +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +

                                                                                        Search results

                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + + +
                                                                                          + + + + diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index 70aac1c..fbb3020 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -57,11 +57,9 @@

                                                                                          Packages

                                                                                          footnotes

                                                                                          Default

                                                                                          @@ -92,11 +90,9 @@
                                                                                          -
                                                                                          footnotesincludes
                                                                                          -
                                                                                          footnotesadmin
                                                                                          -
                                                                                          footnotesadminlayout
                                                                                          -
                                                                                          footnotespublic
                                                                                          -
                                                                                          footnotespublicwidget
                                                                                          +
                                                                                          includes
                                                                                          +
                                                                                          admin
                                                                                          +
                                                                                          public
                                                                                          diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index 5a8db38..02123b3 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -58,11 +58,9 @@

                                                                                          Packages

                                                                                          footnotes

                                                                                          Default

                                                                                          diff --git a/docs/reports/errors.html b/docs/reports/errors.html index c8dd37c..337ed63 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -58,11 +58,9 @@

                                                                                          Packages

                                                                                          footnotes

                                                                                          Default

                                                                                          diff --git a/docs/reports/markers.html b/docs/reports/markers.html index 657dd18..40046dd 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -58,11 +58,9 @@

                                                                                          Packages

                                                                                          footnotes

                                                                                          Default

                                                                                          From a10090ff2424626a2ce61ccd1dab9f04738692e3 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 10:05:51 +0100 Subject: [PATCH 48/99] docs: add subpackage tags --- src/admin/layout/class-footnotes-layout-engine.php | 3 +++ src/admin/layout/class-footnotes-layout-init.php | 3 +++ src/admin/layout/class-footnotes-layout-settings.php | 3 +++ src/public/widget/class-footnotes-widget-base.php | 3 +++ .../widget/class-footnotes-widget-reference-container.php | 3 +++ 5 files changed, 15 insertions(+) diff --git a/src/admin/layout/class-footnotes-layout-engine.php b/src/admin/layout/class-footnotes-layout-engine.php index f016f40..d45576c 100644 --- a/src/admin/layout/class-footnotes-layout-engine.php +++ b/src/admin/layout/class-footnotes-layout-engine.php @@ -19,6 +19,9 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la * Layout Engine for the administration dashboard. * * @since 1.5.0 + * + * @package footnotes + * @subpackage admin_layout */ abstract class Footnotes_Layout_Engine { diff --git a/src/admin/layout/class-footnotes-layout-init.php b/src/admin/layout/class-footnotes-layout-init.php index 45a9fad..1fac4fd 100644 --- a/src/admin/layout/class-footnotes-layout-init.php +++ b/src/admin/layout/class-footnotes-layout-init.php @@ -12,6 +12,9 @@ * Handles the Settings interface of the Plugin. * * @since 1.5.0 + * + * @package footnotes + * @subpackage admin_layout */ class Footnotes_Layout_Init { diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index 41757ce..a6c42c4 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -47,6 +47,9 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la * Displays and handles all Settings of the Plugin. * * @since 1.5.0 + * + * @package footnotes + * @subpackage admin_layout */ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { diff --git a/src/public/widget/class-footnotes-widget-base.php b/src/public/widget/class-footnotes-widget-base.php index f18ee72..e7b8e63 100644 --- a/src/public/widget/class-footnotes-widget-base.php +++ b/src/public/widget/class-footnotes-widget-base.php @@ -17,6 +17,9 @@ * * @author Stefan Herndler * @since 1.5.0 + * + * @package footnotes + * @subpackage public_widget */ abstract class Footnotes_Widget_Base extends WP_Widget { diff --git a/src/public/widget/class-footnotes-widget-reference-container.php b/src/public/widget/class-footnotes-widget-reference-container.php index 5d607fe..faf6216 100644 --- a/src/public/widget/class-footnotes-widget-reference-container.php +++ b/src/public/widget/class-footnotes-widget-reference-container.php @@ -14,6 +14,9 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widget/class-footnotes-wi * Registers a Widget to put the Reference Container to the widget area. * * @since 1.5.0 + * + * @package footnotes + * @subpackage public_widget */ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base { From a8e85d4edd25ca9411472e8b2a4d19e0cc4d2fb6 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 27 Apr 2021 10:06:06 +0100 Subject: [PATCH 49/99] docs: update documentation --- docs/classes/Footnotes-Layout-Engine.html | 71 +++++----- docs/classes/Footnotes-Layout-Init.html | 31 +++-- docs/classes/Footnotes-Layout-Settings.html | 121 ++++++++++-------- docs/classes/Footnotes-Widget-Base.html | 25 +++- .../Footnotes-Widget-Reference-Container.html | 31 +++-- docs/packages/footnotes-admin-layout.html | 15 +++ docs/packages/footnotes-public-widget.html | 13 ++ docs/packages/footnotes.html | 10 -- 8 files changed, 200 insertions(+), 117 deletions(-) diff --git a/docs/classes/Footnotes-Layout-Engine.html b/docs/classes/Footnotes-Layout-Engine.html index 3605433..b18bbd1 100644 --- a/docs/classes/Footnotes-Layout-Engine.html +++ b/docs/classes/Footnotes-Layout-Engine.html @@ -80,6 +80,8 @@
                                                                                          @@ -100,7 +104,7 @@

                                                                                          Layout Engine for the administration dashboard.

                                                                                          @@ -121,6 +125,15 @@
                                                                                          + +
                                                                                          + subpackage +
                                                                                          +
                                                                                          + +

                                                                                          admin_layout

                                                                                          +
                                                                                          +
                                                                                          @@ -359,7 +372,7 @@

                                                                                          Stores all Sections for the child sub page.

                                                                                          @@ -406,7 +419,7 @@

                                                                                          Stores the Hook connection string for the child sub page.

                                                                                          @@ -454,7 +467,7 @@ ull

                                                                                          The ID of this plugin.

                                                                                          @@ -514,7 +527,7 @@ ull

                                                                                          Output the Description of a section. May be overwritten in any section.

                                                                                          @@ -563,7 +576,7 @@ ull

                                                                                          Displays the content of specific sub page.

                                                                                          @@ -612,7 +625,7 @@ ull

                                                                                          Returns a Priority index. Lower numbers have a higher Priority.

                                                                                          @@ -661,7 +674,7 @@ ull

                                                                                          Registers all sections for a sub page.

                                                                                          @@ -710,7 +723,7 @@ ull

                                                                                          Registers a sub page.

                                                                                          @@ -759,7 +772,7 @@ ull

                                                                                          Returns the html tag for an input [type = checkbox].

                                                                                          @@ -820,7 +833,7 @@ ull

                                                                                          Returns the html tag for an input [type = text] with color selection class.

                                                                                          @@ -881,7 +894,7 @@ ull

                                                                                          Returns the html tag for an input/select label.

                                                                                          @@ -951,7 +964,7 @@ ull

                                                                                          Returns a line break to have a space between two lines.

                                                                                          @@ -1000,7 +1013,7 @@ ull

                                                                                          Returns an array describing a meta box.

                                                                                          @@ -1089,7 +1102,7 @@ ull

                                                                                          Returns a line break to start a new line.

                                                                                          @@ -1138,7 +1151,7 @@ ull

                                                                                          Returns the html tag for an input [type = num].

                                                                                          @@ -1237,7 +1250,7 @@ ull

                                                                                          Returns an array describing a sub page section.

                                                                                          @@ -1326,7 +1339,7 @@ ull

                                                                                          Returns the html tag for a select box.

                                                                                          @@ -1437,7 +1450,7 @@ ull

                                                                                          Returns a simple text inside html <span> text.

                                                                                          @@ -1498,7 +1511,7 @@ ull

                                                                                          Returns the html tag for an input [type = text].

                                                                                          @@ -1586,7 +1599,7 @@ ull

                                                                                          Returns the html tag for a text area.

                                                                                          @@ -1647,7 +1660,7 @@ ull

                                                                                          Returns an array of all registered meta boxes.

                                                                                          @@ -1696,7 +1709,7 @@ ull

                                                                                          Returns an array of all registered sections for a sub page.

                                                                                          @@ -1745,7 +1758,7 @@ ull

                                                                                          Returns the unique slug of the child sub page.

                                                                                          @@ -1794,7 +1807,7 @@ ull

                                                                                          Returns the title of the child sub page.

                                                                                          @@ -1843,7 +1856,7 @@ ull

                                                                                          Loads specific setting and returns an array with the keys [id, name, value].

                                                                                          @@ -1971,7 +1984,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Append javascript and css files for specific sub page.

                                                                                          @@ -2020,7 +2033,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Registers all Meta boxes for a sub page.

                                                                                          @@ -2081,7 +2094,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Save all Plugin settings.

                                                                                          diff --git a/docs/classes/Footnotes-Layout-Init.html b/docs/classes/Footnotes-Layout-Init.html index 630d032..9bec724 100644 --- a/docs/classes/Footnotes-Layout-Init.html +++ b/docs/classes/Footnotes-Layout-Init.html @@ -80,6 +80,8 @@
                                                                                          @@ -100,7 +104,7 @@

                                                                                          Handles the Settings interface of the Plugin.

                                                                                          @@ -121,6 +125,15 @@
                                                                                          + +
                                                                                          + subpackage +
                                                                                          +
                                                                                          + +

                                                                                          admin_layout

                                                                                          +
                                                                                          +
                                                                                          @@ -210,7 +223,7 @@

                                                                                          Slug for the Plugin main menu.

                                                                                          @@ -267,7 +280,7 @@

                                                                                          The ID of this plugin.

                                                                                          @@ -323,7 +336,7 @@

                                                                                          Contains the settings layoutEngine

                                                                                          @@ -374,7 +387,7 @@

                                                                                          Class Constructor. Initializes all WordPress hooks for the Plugin Settings.

                                                                                          @@ -445,7 +458,7 @@

                                                                                          AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

                                                                                          @@ -494,7 +507,7 @@

                                                                                          Registers the settings and initialises the settings page.

                                                                                          @@ -543,7 +556,7 @@

                                                                                          Registers the footnotes submenu page.

                                                                                          @@ -601,7 +614,7 @@

                                                                                          Load the required dependencies for this plugin.

                                                                                          diff --git a/docs/classes/Footnotes-Layout-Settings.html b/docs/classes/Footnotes-Layout-Settings.html index 2ee37de..e082a68 100644 --- a/docs/classes/Footnotes-Layout-Settings.html +++ b/docs/classes/Footnotes-Layout-Settings.html @@ -80,6 +80,8 @@
                                                                                          @@ -103,7 +107,7 @@

                                                                                          Displays and handles all Settings of the Plugin.

                                                                                          @@ -124,6 +128,15 @@
                                                                                          + +
                                                                                          + subpackage +
                                                                                          +
                                                                                          + +

                                                                                          admin_layout

                                                                                          +
                                                                                          +
                                                                                          @@ -537,7 +550,7 @@

                                                                                          Stores all Sections for the child sub page.

                                                                                          @@ -584,7 +597,7 @@

                                                                                          Stores the Hook connection string for the child sub page.

                                                                                          @@ -632,7 +645,7 @@ ull

                                                                                          The ID of this plugin.

                                                                                          @@ -692,7 +705,7 @@ ull

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -753,7 +766,7 @@ ull

                                                                                          Displays the AMP compatibility mode option.

                                                                                          @@ -813,7 +826,7 @@ ull

                                                                                          Displays the Custom CSS box.

                                                                                          @@ -913,7 +926,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays transitional legacy Custom CSS box.

                                                                                          @@ -962,7 +975,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays the new Custom CSS box.

                                                                                          @@ -1011,7 +1024,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Output the Description of a section. May be overwritten in any section.

                                                                                          @@ -1060,7 +1073,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays the content of specific sub page.

                                                                                          @@ -1109,7 +1122,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays all Donate button to support the developers.

                                                                                          @@ -1158,7 +1171,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays the footnotes in excerpt setting.

                                                                                          @@ -1242,7 +1255,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Returns a Priority index. Lower numbers have a higher Priority.

                                                                                          @@ -1291,7 +1304,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays all options for the fragment identifier configuration.

                                                                                          @@ -1351,7 +1364,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays a short introduction to the Plugin.

                                                                                          @@ -1417,7 +1430,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays all settings for the backlink symbol.

                                                                                          @@ -1539,7 +1552,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays the setting for the input label issue solution.

                                                                                          @@ -1588,7 +1601,7 @@ list directly in the template, as CSS is in English anyway

                                                                                          Displays available Hooks to look for Footnote short codes.

                                                                                          @@ -1683,7 +1696,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for 'I love Footnotes'.

                                                                                          @@ -1753,7 +1766,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays enabled status for the footnotes mouse-over box.

                                                                                          @@ -1823,7 +1836,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays style settings for the footnotes mouse-over box.

                                                                                          @@ -1872,7 +1885,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays dimensions setting for the footnotes mouse-over box.

                                                                                          @@ -1921,7 +1934,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays position settings for the footnotes mouse-over box.

                                                                                          @@ -1970,7 +1983,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays dedicated tooltip text settings for the footnotes mouse-over box.

                                                                                          @@ -2019,7 +2032,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays timing settings for the footnotes mouse-over box.

                                                                                          @@ -2068,7 +2081,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays truncation settings for the footnotes mouse-over box.

                                                                                          @@ -2117,7 +2130,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the footnotes numbering.

                                                                                          @@ -2166,7 +2179,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for the reference container.

                                                                                          @@ -2243,7 +2256,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Registers all sections for a sub page.

                                                                                          @@ -2292,7 +2305,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Registers a sub page.

                                                                                          @@ -2341,7 +2354,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the scrolling behavior.

                                                                                          @@ -2390,7 +2403,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the footnotes start and end tag short codes.

                                                                                          @@ -2521,7 +2534,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for the footnote referrers.

                                                                                          @@ -2591,7 +2604,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for an input [type = checkbox].

                                                                                          @@ -2652,7 +2665,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for an input [type = text] with color selection class.

                                                                                          @@ -2713,7 +2726,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for an input/select label.

                                                                                          @@ -2783,7 +2796,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns a line break to have a space between two lines.

                                                                                          @@ -2832,7 +2845,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns an array describing a meta box.

                                                                                          @@ -2921,7 +2934,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns a line break to start a new line.

                                                                                          @@ -2970,7 +2983,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for an input [type = num].

                                                                                          @@ -3069,7 +3082,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns an array describing a sub page section.

                                                                                          @@ -3158,7 +3171,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for a select box.

                                                                                          @@ -3269,7 +3282,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns a simple text inside html <span> text.

                                                                                          @@ -3330,7 +3343,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for an input [type = text].

                                                                                          @@ -3418,7 +3431,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns the html tag for a text area.

                                                                                          @@ -3479,7 +3492,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Returns an array of all registered meta boxes for each section of the sub page.

                                                                                          @@ -3593,7 +3606,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                                          Returns an array of all registered sections for the sub page.

                                                                                          @@ -3670,7 +3683,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                                          Returns the unique slug of the sub page.

                                                                                          @@ -3719,7 +3732,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                                          Returns the title of the sub page.

                                                                                          @@ -3768,7 +3781,7 @@ Change string "%s styling" to "Footnotes styling" to fix lay

                                                                                          Loads specific setting and returns an array with the keys [id, name, value].

                                                                                          @@ -3896,7 +3909,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Append javascript and css files for specific sub page.

                                                                                          @@ -3945,7 +3958,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Registers all Meta boxes for a sub page.

                                                                                          @@ -4006,7 +4019,7 @@ Removing this did not fix the quotation mark backslash escapement bug.

                                                                                          Save all Plugin settings.

                                                                                          diff --git a/docs/classes/Footnotes-Widget-Base.html b/docs/classes/Footnotes-Widget-Base.html index cb28e3d..b248cc1 100644 --- a/docs/classes/Footnotes-Widget-Base.html +++ b/docs/classes/Footnotes-Widget-Base.html @@ -80,6 +80,8 @@
                                                                                          @@ -103,7 +107,7 @@

                                                                                          Base Class for all Plugin Widgets. Registers each Widget to WordPress.

                                                                                          @@ -136,6 +140,15 @@
                                                                                          + +
                                                                                          + subpackage +
                                                                                          +
                                                                                          + +

                                                                                          public_widget

                                                                                          +
                                                                                          +
                                                                                          @@ -211,7 +224,7 @@

                                                                                          Class Constructor. Registers the child Widget to WordPress.

                                                                                          @@ -289,7 +302,7 @@

                                                                                          Returns the Description of the child widget.

                                                                                          @@ -338,7 +351,7 @@

                                                                                          Returns an unique ID as string used for the Widget Base ID.

                                                                                          @@ -387,7 +400,7 @@

                                                                                          Returns the Public name of child Widget to be displayed in the Configuration page.

                                                                                          @@ -436,7 +449,7 @@

                                                                                          Returns the width of the Widget. Default width is 250 pixel.

                                                                                          diff --git a/docs/classes/Footnotes-Widget-Reference-Container.html b/docs/classes/Footnotes-Widget-Reference-Container.html index 534dbdb..305c32a 100644 --- a/docs/classes/Footnotes-Widget-Reference-Container.html +++ b/docs/classes/Footnotes-Widget-Reference-Container.html @@ -80,6 +80,8 @@
                                                                                          @@ -103,7 +107,7 @@

                                                                                          Registers a Widget to put the Reference Container to the widget area.

                                                                                          @@ -124,6 +128,15 @@
                                                                                          + +
                                                                                          + subpackage +
                                                                                          +
                                                                                          + +

                                                                                          public_widget

                                                                                          +
                                                                                          +
                                                                                          @@ -222,7 +235,7 @@

                                                                                          The ID of this plugin.

                                                                                          @@ -282,7 +295,7 @@

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -343,7 +356,7 @@

                                                                                          Outputs the Settings of the Widget.

                                                                                          @@ -405,7 +418,7 @@

                                                                                          Outputs the Content of the Widget.

                                                                                          @@ -475,7 +488,7 @@

                                                                                          Returns the Description of the child widget.

                                                                                          @@ -525,7 +538,7 @@

                                                                                          Returns an unique ID as string used for the Widget Base ID.

                                                                                          @@ -574,7 +587,7 @@

                                                                                          Returns the Public name of the Widget to be displayed in the Configuration page.

                                                                                          @@ -623,7 +636,7 @@

                                                                                          Returns the width of the Widget. Default width is 250 pixel.

                                                                                          diff --git a/docs/packages/footnotes-admin-layout.html b/docs/packages/footnotes-admin-layout.html index f4fa063..9fd6a23 100644 --- a/docs/packages/footnotes-admin-layout.html +++ b/docs/packages/footnotes-admin-layout.html @@ -88,6 +88,21 @@ +

                                                                                          + Interfaces, Classes and Traits + +

                                                                                          + +
                                                                                          + +
                                                                                          Footnotes_Layout_Engine
                                                                                          +
                                                                                          Layout Engine for the administration dashboard.
                                                                                          +
                                                                                          Footnotes_Layout_Init
                                                                                          +
                                                                                          Handles the Settings interface of the Plugin.
                                                                                          +
                                                                                          Footnotes_Layout_Settings
                                                                                          +
                                                                                          Displays and handles all Settings of the Plugin.
                                                                                          + +
                                                                                          diff --git a/docs/packages/footnotes-public-widget.html b/docs/packages/footnotes-public-widget.html index 473e5ff..76f02e8 100644 --- a/docs/packages/footnotes-public-widget.html +++ b/docs/packages/footnotes-public-widget.html @@ -88,6 +88,19 @@ +

                                                                                          + Interfaces, Classes and Traits + +

                                                                                          + +
                                                                                          + +
                                                                                          Footnotes_Widget_Base
                                                                                          +
                                                                                          Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                                          +
                                                                                          Footnotes_Widget_Reference_Container
                                                                                          +
                                                                                          Registers a Widget to put the Reference Container to the widget area.
                                                                                          + +
                                                                                          diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index fbb3020..1614c97 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -105,12 +105,6 @@
                                                                                          Footnotes_WYSIWYG
                                                                                          Handles the WSYIWYG-Buttons.
                                                                                          -
                                                                                          Footnotes_Layout_Engine
                                                                                          -
                                                                                          Layout Engine for the administration dashboard.
                                                                                          -
                                                                                          Footnotes_Layout_Init
                                                                                          -
                                                                                          Handles the Settings interface of the Plugin.
                                                                                          -
                                                                                          Footnotes_Layout_Settings
                                                                                          -
                                                                                          Displays and handles all Settings of the Plugin.
                                                                                          Footnotes_Config
                                                                                          Contains all Plugin Constants. Contains no Method or Property.
                                                                                          Footnotes_Convert
                                                                                          @@ -119,10 +113,6 @@
                                                                                          Loads the settings values, sets to default values if undefined.
                                                                                          Footnotes_Template
                                                                                          Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
                                                                                          -
                                                                                          Footnotes_Widget_Base
                                                                                          -
                                                                                          Base Class for all Plugin Widgets. Registers each Widget to WordPress.
                                                                                          -
                                                                                          Footnotes_Widget_Reference_Container
                                                                                          -
                                                                                          Registers a Widget to put the Reference Container to the widget area.
                                                                                          Footnotes_Parser
                                                                                          Searches and replaces the footnotes and generates the reference container.
                                                                                          From 418abc253b3381513d394e05628ac0800c1fd84d Mon Sep 17 00:00:00 2001 From: Mark Cheret Date: Wed, 28 Apr 2021 05:33:35 +0200 Subject: [PATCH 50/99] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 873c520..3304714 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ ![stable tag](https://img.shields.io/wordpress/plugin/v/footnotes?style=flat-square) ![WP rating](https://img.shields.io/wordpress/plugin/stars/footnotes?style=flat-square) ![Reqd PHP](https://img.shields.io/wordpress/plugin/required-php/footnotes?style=flat-square) ![Reqd WP](https://img.shields.io/wordpress/plugin/wp-version/footnotes?style=flat-square) ![WordPress Plugin: Tested WP Version](https://img.shields.io/wordpress/plugin/tested/footnotes?style=flat-square) -![GitHub contributors](https://img.shields.io/github/contributors/markcheret/footnotes?style=flat-square) ![GitHub commits since tagged version](https://img.shields.io/github/commits-since/markcheret/footnotes/2.7.0?style=flat-square) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/markcheret/footnotes?style=flat-square) ![issues](https://img.shields.io/github/issues/markcheret/footnotes?style=flat-square) ![PRs](https://img.shields.io/github/issues-pr/markcheret/footnotes?style=flat-square) +![GitHub contributors](https://img.shields.io/github/contributors/markcheret/footnotes?style=flat-square) ![GitHub commits since tagged version](https://img.shields.io/github/commits-since/markcheret/footnotes/2.7.3?style=flat-square) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/markcheret/footnotes?style=flat-square) ![issues](https://img.shields.io/github/issues/markcheret/footnotes?style=flat-square) ![PRs](https://img.shields.io/github/issues-pr/markcheret/footnotes?style=flat-square) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/markcheret/footnotes?style=flat-square) [![OSSAR](https://github.com/markcheret/footnotes/actions/workflows/ossar-analysis.yml/badge.svg)](https://github.com/markcheret/footnotes/actions/workflows/ossar-analysis.yml) [![PHP Composer](https://github.com/markcheret/footnotes/actions/workflows/php.yml/badge.svg)](https://github.com/markcheret/footnotes/actions/workflows/php.yml) -[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) +[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Coverage Status](https://coveralls.io/repos/github/markcheret/footnotes/badge.svg?branch=main)](https://coveralls.io/github/markcheret/footnotes?branch=main) ![footnotes](https://raw.githubusercontent.com/markcheret/footnotes/main/.github/img/footnotes.png) From a048fae868427731ae2fc6db6b129b7a0cefcd26 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Thu, 29 Apr 2021 18:38:17 +0100 Subject: [PATCH 51/99] build: add GitHub Wiki repo. as Git submodule --- .gitmodules | 3 +++ footnotes.wiki | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 footnotes.wiki diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f12d971 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "footnotes.wiki"] + path = footnotes.wiki + url = git://github.com/markcheret/footnotes.wiki diff --git a/footnotes.wiki b/footnotes.wiki new file mode 160000 index 0000000..837ae00 --- /dev/null +++ b/footnotes.wiki @@ -0,0 +1 @@ +Subproject commit 837ae00912690f4c39c719d4ce9c9a197610dbe6 From 27a98a86a7922ac8e613caa685b2a5608b529d8f Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Thu, 29 Apr 2021 18:39:20 +0100 Subject: [PATCH 52/99] ci: update Markdown linting command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 450d88d..7047eaa 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "*.(sa|sc|c)ss": [ "npm run lint:css" ], - "*.md": [ + "*.(md|markdown|wiki)": [ "npm run lint:md" ], "*.htm(l)?": [ From bfeb11d5ad726055ce7cb8f070d964a263509dcf Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Thu, 29 Apr 2021 20:57:30 +0100 Subject: [PATCH 53/99] docs: update docblocks --- .../class-footnotes-layout-settings.php | 2 +- src/footnotes.php | 39 ++++-- src/includes/class-footnotes-activator.php | 21 +-- src/includes/class-footnotes-config.php | 71 ++++++---- src/includes/class-footnotes-convert.php | 92 +++++++------ src/includes/class-footnotes-deactivator.php | 21 +-- src/includes/class-footnotes-i18n.php | 34 ++--- src/includes/class-footnotes-loader.php | 87 +++++++------ src/includes/class-footnotes-settings.php | 67 +++++----- src/includes/class-footnotes-template.php | 113 ++++++++-------- src/includes/class-footnotes.php | 122 ++++++++++-------- 11 files changed, 363 insertions(+), 306 deletions(-) diff --git a/src/admin/layout/class-footnotes-layout-settings.php b/src/admin/layout/class-footnotes-layout-settings.php index a6c42c4..7976add 100644 --- a/src/admin/layout/class-footnotes-layout-settings.php +++ b/src/admin/layout/class-footnotes-layout-settings.php @@ -1152,7 +1152,7 @@ class Footnotes_Layout_Settings extends Footnotes_Layout_Engine { * Edited: * @since 2.1.6 drop localized notices for CSS classes as the number increased to 16 * list directly in the template, as CSS is in English anyway - * @see admin/partials/customize-css.html + * @link ../partials/customize-css.html * * @since 2.2.2 migrate Custom CSS to a dedicated tab * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed diff --git a/src/footnotes.php b/src/footnotes.php index 1f31b75..8413518 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -7,11 +7,11 @@ * registers the activation and deactivation functions, and defines a function * that starts the plugin. * - * @author Mark Cheret - * @since 1.0.0 - * @package footnotes - * @copyright 2021 Mark Cheret (email: mark@cheret.de) - * @license GPL-3.0-only + * @package footnotes + * @license GPL-3.0-only + * @copyright 2021 Mark Cheret (email: mark@cheret.de) + * + * @since 1.0.0 * * @wordpress-plugin * Plugin Name: footnotes @@ -34,24 +34,33 @@ if ( ! defined( 'WPINC' ) ) { } /** - * Current plugin version. + * The current plugin version. + * + * @link https://github.com/markcheret/footnotes/wiki/Versioning Versioning Guide + * + * @global string PLUGIN_VERSION * * @since 2.1.4 */ define( 'PLUGIN_VERSION', '2.8.0d' ); /** - * Defines the current environment ('development' or 'production'). + * The current environment ('development' or 'production'). * * This primarily affects whether minified or unminified files are requested. * + * @global bool PRODUCTION_ENV + * * @since 2.5.5 */ define( 'PRODUCTION_ENV', false ); /** - * The code that runs during plugin activation. - * This action is documented in includes/class-plugin-name-activator.php + * Triggers during plugin activation. + * + * @uses Footnotes_Activator::activate() Method called on plugin activation. + * + * @since 2.8.0 */ function activate_footnotes() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-footnotes-activator.php'; @@ -59,8 +68,11 @@ function activate_footnotes() { } /** - * The code that runs during plugin deactivation. - * This action is documented in includes/class-plugin-name-deactivator.php + * Triggers during plugin deactivation. + * + * @uses Footnotes_Deactivator::deactivate() Method called on plugin deactivation. + * + * @since 2.8.0 */ function deactivate_plugin_name() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-footnotes-deactivator.php'; @@ -79,9 +91,8 @@ require plugin_dir_path( __FILE__ ) . 'includes/class-footnotes.php'; /** * Begins execution of the plugin. * - * Since everything within the plugin is registered via hooks, - * then kicking off the plugin from this point in the file does - * not affect the page life cycle. + * Since everything within the plugin is registered via hooks, then kicking off + * the plugin from this point in the file does not affect the page life cycle. * * @since 2.8.0 */ diff --git a/src/includes/class-footnotes-activator.php b/src/includes/class-footnotes-activator.php index 14212e2..87acc7d 100644 --- a/src/includes/class-footnotes-activator.php +++ b/src/includes/class-footnotes-activator.php @@ -1,30 +1,31 @@ foot'; /** - * Public Plugin name for dashboard heading + * Public plugin name for use as a dashboard heading. * * After properly displaying in dashboard headings until WPv5.4, the above started - * in WPv5.5 being torn apart as if the headline was text-align:justify and not - * the last line. That ugly display bug badly affected the plugin’s communication. - * The only working solution found so far is using position:fixed in one heading - * that isn’t translated, and dropping the logo in another, translatable heading. + * in WP 5.5 being torn apart as if the headline was `text-align:justify` and not + * the last line. That ugly display bug badly affected the plugin's communication. + * The only working solution found so far is using `position:fixed` in one heading + * that isn't translated, and dropping the logo in another, translatable heading. * - * @since 2.0.4 - * @var string + * @var string + * + * @since 2.0.4 + * @todo Remove. + * @deprecated */ const C_STR_PLUGIN_HEADING_NAME = 'footnotes'; /** - * Html tag for the LOVE symbol. + * HTML element for the ‘love’ symbol. * - * @since 1.5.0 - * @var string + * @var string + * + * @since 1.5.0 + * @todo Remove. + * @deprecated */ const C_STR_LOVE_SYMBOL = ''; /** - * HTML code for the 'love' symbol used in dashboard heading + * HTML element for the ‘love’ symbol used in dashboard heading * - * @since 2.0.4 - * @var string + * @var string + * + * @since 2.0.4 + * @todo Remove. + * @deprecated */ const C_STR_LOVE_SYMBOL_HEADING = ''; /** - * Short code to DON'T display the 'LOVE ME' slug on certain pages. + * Shortcode to NOT display the ‘LOVE ME’ slug on certain pages. * - * @since 1.5.0 - * @var string + * @var string + * + * @since 1.5.0 + * @todo Remove. + * @deprecated */ const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]'; } diff --git a/src/includes/class-footnotes-convert.php b/src/includes/class-footnotes-convert.php index a3e9944..e307fff 100644 --- a/src/includes/class-footnotes-convert.php +++ b/src/includes/class-footnotes-convert.php @@ -1,31 +1,29 @@ '; } - // phpcs:disable + // phpcs:enable WordPress.PHP.DevelopmentFunctions.error_log_var_dump, WordPress.PHP.DevelopmentFunctions.error_log_print_r } diff --git a/src/includes/class-footnotes-deactivator.php b/src/includes/class-footnotes-deactivator.php index 323ab64..4514089 100644 --- a/src/includes/class-footnotes-deactivator.php +++ b/src/includes/class-footnotes-deactivator.php @@ -1,30 +1,31 @@ actions = $this->add( $this->actions, $hook, $component, $callback, $priority, $accepted_args ); @@ -66,12 +71,13 @@ class Footnotes_Loader { /** * Add a new filter to the collection to be registered with WordPress. * - * @since 2.8.0 - * @param string $hook The name of the WordPress filter that is being registered. - * @param object $component A reference to the instance of the object on which the filter is defined. - * @param string $callback The name of the function definition on the $component. - * @param int $priority Optional. The priority at which the function should be fired. Default is 10. - * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1. + * @param string $hook The name of the WordPress filter that is being registered. + * @param object $component A reference to the instance of the object on which the filter is defined. + * @param string $callback The name of the function definition on the `$component`. + * @param int $priority (optional) The priority at which the function should be fired. Default is 10. + * @param int $accepted_args (optional) The number of arguments that should be passed to the $callback. Default is 1. + * + * @since 2.8.0 */ public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { $this->filters = $this->add( $this->filters, $hook, $component, $callback, $priority, $accepted_args ); @@ -81,15 +87,16 @@ class Footnotes_Loader { * A utility function that is used to register the actions and hooks into a single * collection. * - * @since 2.8.0 - * @access private - * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). - * @param string $hook The name of the WordPress filter that is being registered. - * @param object $component A reference to the instance of the object on which the filter is defined. - * @param string $callback The name of the function definition on the $component. - * @param int $priority The priority at which the function should be fired. - * @param int $accepted_args The number of arguments that should be passed to the $callback. - * @return array The collection of actions and filters registered with WordPress. + * @access private + * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). + * @param string $hook The name of the WordPress filter that is being registered. + * @param object $component A reference to the instance of the object on which the filter is defined. + * @param string $callback The name of the function definition on the `$component`. + * @param int $priority The priority at which the function should be fired. + * @param int $accepted_args The number of arguments that should be passed to the `$callback`. + * @return array The collection of actions and filters registered with WordPress. + * + * @since 2.8.0 */ private function add( $hooks, $hook, $component, $callback, $priority, $accepted_args ) { @@ -106,9 +113,9 @@ class Footnotes_Loader { } /** - * Register the filters and actions with WordPress. + * Registers the filters and actions with WordPress. * - * @since 2.8.0 + * @since 2.8.0 */ public function run() { diff --git a/src/includes/class-footnotes-settings.php b/src/includes/class-footnotes-settings.php index ffe818d..02189ec 100644 --- a/src/includes/class-footnotes-settings.php +++ b/src/includes/class-footnotes-settings.php @@ -4,96 +4,103 @@ * * The constants are ordered by ascending version so their docblocks can replace most of this list. * - * @since 1.5.0 - * @since 2.0.0 Update: **symbol for backlinks** removed; hyperlink moved to the reference number. - * @since 2.0.4 Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report. - * @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports. - * @since 2.1.3 Bugfix: Hooks: disable the_excerpt hook by default to fix issues, thanks to @nikelaos bug report. + * @package footnotes + * @subpackage includes * - * @package footnotes - * @subpackage includes + * @since 1.5.0 + * @since 2.8.0 Rename file from `settings.php` to `class-footnotes-settings.php`. */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php'; /** - * Loads the settings values, sets to default values if undefined. + * Class defining configurable plugin settings. * - * @since 1.5.0 + * @since 1.5.0 */ class Footnotes_Settings { /** * Settings container key for the label of the reference container. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_REFERENCE_CONTAINER_NAME = 'footnote_inputfield_references_label'; /** * Settings container key to collapse the reference container by default. * - * @since 1.5.0 - * @var str * The string is converted to Boolean false if 'no', true if 'yes'. - * @see Footnotes_Convert::to_bool() + * + * @var str + * + * @since 1.5.0 + * @todo Refactor to use sane typing. */ const C_STR_REFERENCE_CONTAINER_COLLAPSE = 'footnote_inputfield_collapse_references'; /** * Settings container key for the position of the reference container. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_REFERENCE_CONTAINER_POSITION = 'footnote_inputfield_reference_container_place'; /** * Settings container key for combining identical footnotes. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_COMBINE_IDENTICAL_FOOTNOTES = 'footnote_inputfield_combine_identical'; /** - * Settings container key for the short code of the footnote’s start. + * Settings container key for the short code of the footnote's start. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_FOOTNOTES_SHORT_CODE_START = 'footnote_inputfield_placeholder_start'; /** - * Settings container key for the short code of the footnote’s end. + * Settings container key for the short code of the footnote's end. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_FOOTNOTES_SHORT_CODE_END = 'footnote_inputfield_placeholder_end'; /** * Settings container key for the user-defined short code of the footnotes start. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED = 'footnote_inputfield_placeholder_start_user_defined'; /** * Settings container key for the user-defined short code of the footnotes end. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED = 'footnote_inputfield_placeholder_end_user_defined'; /** * Settings container key for the counter style of the footnotes. * - * @since 1.5.0 - * @var str + * @var str + * + * @since 1.5.0 */ const C_STR_FOOTNOTES_COUNTER_STYLE = 'footnote_inputfield_counter_style'; diff --git a/src/includes/class-footnotes-template.php b/src/includes/class-footnotes-template.php index 874fafd..9e20f5a 100644 --- a/src/includes/class-footnotes-template.php +++ b/src/includes/class-footnotes-template.php @@ -1,97 +1,93 @@ plugin_directory = plugin_dir_path( dirname( __FILE__ ) ); - - /** - * Modularize functions. - * - * @since 2.4.0d3 - */ + $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ); if ( $template ) { $this->process_template( $template ); @@ -104,9 +100,11 @@ class Footnotes_Template { /** * Replace all placeholders specified in array. * + * @param array $p_arr_placeholders Placeholders (key = placeholder, value = value). + * @return bool `true` on Success, `false` if placeholders invalid. + * * @since 1.5.0 - * @param array $p_arr_placeholders Placeholders (key = placeholder, value = value). - * @return bool True on Success, False if Placeholders invalid. + * @todo Refactor templating. */ public function replace( $p_arr_placeholders ) { // No placeholders set. @@ -129,6 +127,7 @@ class Footnotes_Template { * Reloads the original content of the template file. * * @since 1.5.0 + * @todo Refactor templating. */ public function reload() { $this->a_str_replaced_content = $this->a_str_original_content; @@ -137,8 +136,10 @@ class Footnotes_Template { /** * Returns the content of the template file with replaced placeholders. * + * @return string Template content with replaced placeholders. + * * @since 1.5.0 - * @return string Template content with replaced placeholders. + * @todo Refactor templating. */ public function get_content() { return $this->a_str_replaced_content; @@ -147,16 +148,11 @@ class Footnotes_Template { /** * Process template file. * - * @since 2.4.0d3 + * @param string $template The template to be processed. + * @return void * - * @param string $template The template to be processed. - * @return void - * - * @since 2.0.3 Replace tab with a space. - * @since 2.0.3 Replace 2 spaces with 1. - * @since 2.0.4 Collapse multiple spaces. - * @since 2.2.6 Delete a space before a closing pointy bracket. - * @since 2.5.4 Collapse HTML comments and PHP/JS docblocks (only). + * @since 2.4.0d3 + * @todo Refactor templating. */ public function process_template( $template ) { // phpcs:disable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents @@ -174,18 +170,13 @@ class Footnotes_Template { /** * Get the template. * - * - Adding: Templates: Enable template location stack, thanks to @misfist issue report and code contribution. + * @param string $p_str_file_type The file type of the template. + * @param string $p_str_file_name The file name of the template. + * @param string $p_str_extension The file extension of the template. + * @return mixed `false` or the template path * - * @since 2.4.0d3 Contribution. - * @since 2.5.0 Release. - * - * @contributor @misfist - * @link https://wordpress.org/support/topic/template-override-filter/#post-13864301 - * - * @param string $p_str_file_type The file type of the template. - * @param string $p_str_file_name The file name of the template. - * @param string $p_str_extension The file extension of the template. - * @return mixed false | template path + * @since 2.5.0 + * @todo Refactor templating. */ public function get_template( $p_str_file_type, $p_str_file_name, $p_str_extension = 'html' ) { $located = false; @@ -197,6 +188,8 @@ class Footnotes_Template { * add_filter( 'footnotes_template_directory', function( $directory ) { * return 'template_parts/footnotes/'; * } ); + * + * @todo Review. */ $template_directory = apply_filters( '', 'footnotes/' ); $custom_directory = apply_filters( 'footnotes_custom_template_directory', 'footnotes-custom/' ); diff --git a/src/includes/class-footnotes.php b/src/includes/class-footnotes.php index 02d7590..313018b 100644 --- a/src/includes/class-footnotes.php +++ b/src/includes/class-footnotes.php @@ -1,66 +1,69 @@ loader->run(); } /** - * The name of the plugin used to uniquely identify it within the context of - * WordPress and to define internationalization functionality. + * Gets the name of the plugin used to uniquely identify it within the + * context of WordPress and to define internationalization functionality. * - * @since 1.0.0 - * @return string The name of the plugin. + * @return string The name of the plugin. + * + * @since 2.8.0 */ public function get_plugin_name() { return $this->plugin_name; } /** - * The reference to the class that orchestrates the hooks with the plugin. + * Returns a reference to the class that orchestrates the hooks with the plugin. * - * @since 1.0.0 - * @return Footnotes_Loader Orchestrates the hooks of the plugin. + * @return Footnotes_Loader Orchestrates the hooks of the plugin. + * + * @since 2.8.0 */ public function get_loader() { return $this->loader; } /** - * Retrieve the version number of the plugin. + * Gets the version number of the plugin. * - * @since 1.0.0 - * @return string The version number of the plugin. + * @return string The version number of the plugin. + * + * @since 2.8.0 */ public function get_version() { return $this->version; From 7ad975c3896759f09a54aa6ffe773c1110a7740d Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Fri, 30 Apr 2021 18:03:15 +0100 Subject: [PATCH 54/99] docs: update docblocks --- src/admin/class-footnotes-admin.php | 66 +- src/admin/class-footnotes-wysiwyg.php | 52 +- .../layout/class-footnotes-layout-engine.php | 330 +++--- .../layout/class-footnotes-layout-init.php | 65 +- .../class-footnotes-layout-settings.php | 278 ++--- src/includes/class-footnotes-config.php | 6 +- src/includes/class-footnotes-convert.php | 6 +- src/includes/class-footnotes-i18n.php | 3 +- src/includes/class-footnotes-loader.php | 2 +- src/includes/class-footnotes-settings.php | 990 +++++++--------- src/includes/class-footnotes-template.php | 3 +- src/includes/class-footnotes.php | 3 +- src/public/class-footnotes-parser.php | 1037 ++++------------- src/public/class-footnotes-public.php | 120 +- .../widget/class-footnotes-widget-base.php | 64 +- ...s-footnotes-widget-reference-container.php | 67 +- 16 files changed, 1168 insertions(+), 1924 deletions(-) diff --git a/src/admin/class-footnotes-admin.php b/src/admin/class-footnotes-admin.php index 05f1ad8..2809853 100644 --- a/src/admin/class-footnotes-admin.php +++ b/src/admin/class-footnotes-admin.php @@ -1,56 +1,62 @@ get_sections() as $l_arr_section ) { @@ -174,10 +215,12 @@ abstract class Footnotes_Layout_Engine { } /** - * Registers all Meta boxes for a sub page. + * Registers all Meta boxes for a sub-page. * - * @since 1.5.0 - * @param string $p_str_parent_id Parent section unique id. + * @access private + * @param string $p_str_parent_id Parent section unique ID. + * + * @since 1.5.0 */ private function register_meta_boxes( $p_str_parent_id ) { // Iterate through each meta box. @@ -196,12 +239,14 @@ abstract class Footnotes_Layout_Engine { } /** - * Append javascript and css files for specific sub page. + * Append JavaScript and CSS files for specific sub-page. + * + * @access private * * @since 1.5.0 + * @todo Move to {@see Footnotes_Admin}. */ private function append_scripts() { - // TODO: Move to `Footnotes_Admin`. wp_enqueue_script( 'postbox' ); wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_script( 'wp-color-picker' ); @@ -209,15 +254,14 @@ abstract class Footnotes_Layout_Engine { // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing /** - * Displays the content of specific sub page. + * Displays the content of specific sub-page. * * @since 1.5.0 + * @todo Review nonce verification. */ public function display_content() { $this->append_scripts(); - // TODO: add nonce verification. - // Get the current section. reset( $this->a_arr_sections ); $l_str_active_section_id = isset( $_GET['t'] ) ? wp_unslash( $_GET['t'] ) : key( $this->a_arr_sections ); @@ -276,14 +320,17 @@ abstract class Footnotes_Layout_Engine { echo '});'; echo ''; } - // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing + // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing /** - * Save all Plugin settings. + * Save all plugin settings. * - * @since 1.5.0 - * @return bool + * @access private + * @return bool `true` on save success, else `false`. + * + * @since 1.5.0 + * @todo Review nonce verification. */ private function save_settings() { $l_arr_new_settings = array(); @@ -309,35 +356,31 @@ abstract class Footnotes_Layout_Engine { // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing /** - * Output the Description of a section. May be overwritten in any section. + * Output the description of a section. May be overwritten in any section. * - * @since 1.5.0 + * @since 1.5.0 + * @todo Required? Should be `abstract`? */ public function description() { // Default no description will be displayed. } /** - * Loads specific setting and returns an array with the keys [id, name, value]. + * Loads a specified setting. * - * @since 1.5.0 - * @param string $p_str_setting_key_name Settings Array key name. - * @return array Contains Settings ID, Settings Name and Settings Value. + * @access protected + * @param string $p_str_setting_key_name Setting key. + * @return array { + * A configurable setting. * - * @since 2.5.11 Remove escapement function. - * When refactoring the codebase after 2.5.8, all and every output was escaped. - * After noticing that the plugin was broken, all escapement functions were removed. - * @link https://github.com/markcheret/footnotes/pull/50/commits/25c3f2f12eb5de1079e9215bf624ec4289b095a5 - * @link https://github.com/markcheret/footnotes/pull/50#issuecomment-787624123 - * In that process, this instance of esc_attr() was removed too, so the plugin was - * broken again. - * @link https://github.com/markcheret/footnotes/pull/50/commits/25c3f2f12eb5de1079e9215bf624ec4289b095a5#diff-a8ed6e859c32a18fc10bbbad3b4dd8ce7f43f2378d29471c7638e314ab30f1bdL349-L354 + * @type string $id Setting key. + * @type string $name Setting name. + * @type string $value Setting value. + * } * - * @since 2.5.15 To fix it, the data was escaped in add_select_box() instead. - * @since 2.6.1 Restore esc_attr() in load_setting(). - * @see add_select_box() - * This is the only instance of esc_|kses|sanitize in the pre-2.5.11 codebase. - * Removing this did not fix the quotation mark backslash escapement bug. + * @since 1.5.0 + * @since 2.5.11 Broken due to accidental removal of `esc_attr()` call. + * @since 2.6.1 Restore `esc_attr()` call. */ protected function load_setting( $p_str_setting_key_name ) { // Get current section. @@ -348,45 +391,31 @@ abstract class Footnotes_Layout_Engine { $p_arr_return['value'] = esc_attr( Footnotes_Settings::instance()->get( $p_str_setting_key_name ) ); return $p_arr_return; } - + /** - * Returns a line break to start a new line. + * Returns a simple text inside HTML `` element. + * + * @access protected + * @param string $p_str_text Message to be surrounded with `` tags. + * @return string * * @since 1.5.0 - * @return string - */ - protected function add_newline() { - return '
                                                                                          '; - } - - /** - * Returns a line break to have a space between two lines. - * - * @since 1.5.0 - * @return string - */ - protected function add_line_space() { - return '

                                                                                          '; - } - - /** - * Returns a simple text inside html text. - * - * @since 1.5.0 - * @param string $p_str_text Message to be surrounded with simple html tag (span). - * @return string + * @todo Refactor HTML generation. */ protected function add_text( $p_str_text ) { return sprintf( '%s', $p_str_text ); } /** - * Returns the html tag for an input/select label. + * Returns the HTML tag for an ``/`` element. + * + * @access protected + * @param string $p_str_setting_name Setting key. + * @param int $p_str_max_length Maximum length of the input. Default length 999 chars. + * @param bool $p_bool_readonly Set the input to be read only. Default `false`. + * @param bool $p_bool_hidden Set the input to be hidden. Default `false`. + * @return string * * @since 1.5.0 - * @param string $p_str_setting_name Name of the Settings key to pre load the input field. - * @param int $p_str_max_length Maximum length of the input, default 999 characters. - * @param bool $p_bool_readonly Set the input to be read only, default false. - * @param bool $p_bool_hidden Set the input to be hidden, default false. - * @return string + * @todo Refactor HTML generation. */ protected function add_text_box( $p_str_setting_name, $p_str_max_length = 999, $p_bool_readonly = false, $p_bool_hidden = false ) { $l_str_style = ''; @@ -435,11 +468,14 @@ abstract class Footnotes_Layout_Engine { } /** - * Returns the html tag for an input [type = checkbox]. + * Constructs the HTML for a checkbox `` element. + * + * @access protected + * @param string $p_str_setting_name Setting key. + * @return string * * @since 1.5.0 - * @param string $p_str_setting_name Name of the Settings key to pre load the input field. - * @return string + * @todo Refactor HTML generation. */ protected function add_checkbox( $p_str_setting_name ) { // Collect data for given settings field. @@ -453,21 +489,15 @@ abstract class Footnotes_Layout_Engine { } /** - * Returns the html tag for a select box. + * Constructs the HTML for a `', - $l_arr_data['name'], - $l_arr_data['id'], - $l_arr_data['value'] + $data['name'], + $data['id'], + $data['value'] ); } @@ -529,20 +529,20 @@ abstract class Engine { * class. * * @access protected - * @param string $p_str_setting_name Setting key. + * @param string $setting_name Setting key. * * @since 1.5.6 * @todo Refactor HTML generation. * @todo Use proper colorpicker element. */ - protected function add_color_selection( string $p_str_setting_name ): string { + protected function add_color_selection( string $setting_name ): string { // Collect data for given settings field. - $l_arr_data = $this->load_setting( $p_str_setting_name ); + $data = $this->load_setting( $setting_name ); return sprintf( '', - $l_arr_data['name'], - $l_arr_data['id'], - $l_arr_data['value'] + $data['name'], + $data['id'], + $data['value'] ); } @@ -550,36 +550,36 @@ abstract class Engine { * Constructs the HTML for numeric 'input' element. * * @access protected - * @param string $p_str_setting_name Setting key. + * @param string $setting_name Setting key. * @param int $p_in_min Minimum value. - * @param int $p_int_max Maximum value. - * @param bool $p_bool_deci `true` if float, `false` if integer. Default `false`. + * @param int $max Maximum value. + * @param bool $deci `true` if float, `false` if integer. Default `false`. * * @since 1.5.0 * @todo Refactor HTML generation. */ - protected function add_num_box( string $p_str_setting_name, int $p_in_min, int $p_int_max, bool $p_bool_deci = false ): string { + protected function add_num_box( string $setting_name, int $p_in_min, int $max, bool $deci = false ): string { // Collect data for given settings field. - $l_arr_data = $this->load_setting( $p_str_setting_name ); + $data = $this->load_setting( $setting_name ); - if ( $p_bool_deci ) { - $l_str_value = number_format( floatval( $l_arr_data['value'] ), 1 ); + if ( $deci ) { + $value = number_format( floatval( $data['value'] ), 1 ); return sprintf( '', - $l_arr_data['name'], - $l_arr_data['id'], - $l_str_value, + $data['name'], + $data['id'], + $value, $p_in_min, - $p_int_max + $max ); } return sprintf( '', - $l_arr_data['name'], - $l_arr_data['id'], - $l_arr_data['value'], + $data['name'], + $data['id'], + $data['value'], $p_in_min, - $p_int_max + $max ); } diff --git a/src/admin/layout/class-init.php b/src/admin/layout/class-init.php index 16f057a..ae41125 100644 --- a/src/admin/layout/class-init.php +++ b/src/admin/layout/class-init.php @@ -34,7 +34,7 @@ class Init { * * @since 1.5.0 */ - const C_STR_MAIN_MENU_SLUG = 'footnotes'; + const MAIN_MENU_SLUG = 'footnotes'; /** * Contains the settings page. @@ -136,9 +136,9 @@ class Init { add_submenu_page( 'options-general.php', 'footnotes Settings', - \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME, + \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, 'manage_options', - self::C_STR_MAIN_MENU_SLUG, + self::MAIN_MENU_SLUG, fn() => $this->settings_page->display_content() ); $this->settings_page->register_sub_page(); @@ -151,58 +151,58 @@ class Init { * @since 1.5.0 */ public function get_plugin_meta_information(): void { - $l_str_plugin_name = null; + $plugin_name = null; // TODO: add nonce verification? // Get plugin internal name from POST data. if ( isset( $_POST['plugin'] ) ) { - $l_str_plugin_name = wp_unslash( $_POST['plugin'] ); + $plugin_name = wp_unslash( $_POST['plugin'] ); } - if ( empty( $l_str_plugin_name ) ) { + if ( empty( $plugin_name ) ) { echo wp_json_encode( array( 'error' => 'Plugin name invalid.' ) ); exit; } - $l_str_url = 'https://api.wordpress.org/plugins/info/1.0/' . $l_str_plugin_name . '.json'; + $url = 'https://api.wordpress.org/plugins/info/1.0/' . $plugin_name . '.json'; // Call URL and collect data. - $l_arr_response = wp_remote_get( $l_str_url ); + $response = wp_remote_get( $url ); // Check if response is valid. - if ( is_wp_error( $l_arr_response ) ) { + if ( is_wp_error( $response ) ) { echo wp_json_encode( array( 'error' => 'Error receiving Plugin Information from WordPress.' ) ); exit; } - if ( ! array_key_exists( 'body', $l_arr_response ) ) { + if ( ! array_key_exists( 'body', $response ) ) { echo wp_json_encode( array( 'error' => 'Error reading WordPress API response message.' ) ); exit; } // Get the body of the response. - $l_str_response = $l_arr_response['body']; + $response = $response['body']; // Get plugin object. - $l_arr_plugin = json_decode( $l_str_response, true, 512, JSON_THROW_ON_ERROR ); - if ( empty( $l_arr_plugin ) ) { - echo wp_json_encode( array( 'error' => 'Error reading Plugin meta information.
                                                                                          URL: ' . $l_str_url . '
                                                                                          Response: ' . $l_str_response ) ); + $plugin = json_decode( $response, true, 512, JSON_THROW_ON_ERROR ); + if ( empty( $plugin ) ) { + echo wp_json_encode( array( 'error' => 'Error reading Plugin meta information.
                                                                                          URL: ' . $url . '
                                                                                          Response: ' . $response ) ); exit; } - $l_int_num_ratings = array_key_exists( 'num_ratings', $l_arr_plugin ) ? (int) $l_arr_plugin['num_ratings'] : 0; - $l_int_rating = array_key_exists( 'rating', $l_arr_plugin ) ? floatval( $l_arr_plugin['rating'] ) : 0.0; - $l_int_stars = round( 5 * $l_int_rating / 100.0, 1 ); + $num_ratings = array_key_exists( 'num_ratings', $plugin ) ? (int) $plugin['num_ratings'] : 0; + $rating = array_key_exists( 'rating', $plugin ) ? floatval( $plugin['rating'] ) : 0.0; + $stars = round( 5 * $rating / 100.0, 1 ); // Return Plugin information as JSON encoded string. echo wp_json_encode( array( 'error' => '', - 'PluginDescription' => array_key_exists( 'short_description', $l_arr_plugin ) ? html_entity_decode( $l_arr_plugin['short_description'] ) : 'Error reading Plugin information', - 'PluginAuthor' => array_key_exists( 'author', $l_arr_plugin ) ? html_entity_decode( $l_arr_plugin['author'] ) : 'unknown', - 'PluginRatingText' => $l_int_stars . ' ' . __( 'rating based on', 'footnotes' ) . ' ' . $l_int_num_ratings . ' ' . __( 'ratings', 'footnotes' ), - 'PluginRating1' => $l_int_stars >= 0.5 ? 'star-full' : 'star-empty', - 'PluginRating2' => $l_int_stars >= 1.5 ? 'star-full' : 'star-empty', - 'PluginRating3' => $l_int_stars >= 2.5 ? 'star-full' : 'star-empty', - 'PluginRating4' => $l_int_stars >= 3.5 ? 'star-full' : 'star-empty', - 'PluginRating5' => $l_int_stars >= 4.5 ? 'star-full' : 'star-empty', - 'PluginRating' => $l_int_num_ratings, - 'PluginLastUpdated' => array_key_exists( 'last_updated', $l_arr_plugin ) ? $l_arr_plugin['last_updated'] : 'unknown', - 'PluginDownloads' => array_key_exists( 'downloaded', $l_arr_plugin ) ? $l_arr_plugin['downloaded'] : '---', + 'PluginDescription' => array_key_exists( 'short_description', $plugin ) ? html_entity_decode( $plugin['short_description'] ) : 'Error reading Plugin information', + 'PluginAuthor' => array_key_exists( 'author', $plugin ) ? html_entity_decode( $plugin['author'] ) : 'unknown', + 'PluginRatingText' => $stars . ' ' . __( 'rating based on', 'footnotes' ) . ' ' . $num_ratings . ' ' . __( 'ratings', 'footnotes' ), + 'PluginRating1' => $stars >= 0.5 ? 'star-full' : 'star-empty', + 'PluginRating2' => $stars >= 1.5 ? 'star-full' : 'star-empty', + 'PluginRating3' => $stars >= 2.5 ? 'star-full' : 'star-empty', + 'PluginRating4' => $stars >= 3.5 ? 'star-full' : 'star-empty', + 'PluginRating5' => $stars >= 4.5 ? 'star-full' : 'star-empty', + 'PluginRating' => $num_ratings, + 'PluginLastUpdated' => array_key_exists( 'last_updated', $plugin ) ? $plugin['last_updated'] : 'unknown', + 'PluginDownloads' => array_key_exists( 'downloaded', $plugin ) ? $plugin['downloaded'] : '---', ) ); exit; diff --git a/src/admin/layout/class-settings.php b/src/admin/layout/class-settings.php index 64f0010..b5dc4ce 100644 --- a/src/admin/layout/class-settings.php +++ b/src/admin/layout/class-settings.php @@ -74,7 +74,7 @@ class Settings extends Engine { * @return string */ protected function get_sub_page_title(): string { - return \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME; + return \footnotes\includes\Config::PLUGIN_PUBLIC_NAME; } /** @@ -87,19 +87,19 @@ class Settings extends Engine { * @since 2.1.6 Remove conditional rendering of ‘Expert’ tab. */ protected function get_sections(): array { - $l_arr_tabs = array(); + $tabs = array(); // Sync tab name with mirror in task.php. - $l_arr_tabs[] = $this->add_section( 'settings', __( 'General settings', 'footnotes' ), 0, true ); + $tabs[] = $this->add_section( 'settings', __( 'General settings', 'footnotes' ), 0, true ); // Sync tab name with mirror in public function custom_css_migration(). - $l_arr_tabs[] = $this->add_section( 'customize', __( 'Referrers and tooltips', 'footnotes' ), 1, true ); + $tabs[] = $this->add_section( 'customize', __( 'Referrers and tooltips', 'footnotes' ), 1, true ); - $l_arr_tabs[] = $this->add_section( 'expert', __( 'Scope and priority', 'footnotes' ), 2, true ); - $l_arr_tabs[] = $this->add_section( 'customcss', __( 'Custom CSS', 'footnotes' ), 3, true ); - $l_arr_tabs[] = $this->add_section( 'how-to', __( 'Quick start guide', 'footnotes' ), 4, false ); + $tabs[] = $this->add_section( 'expert', __( 'Scope and priority', 'footnotes' ), 2, true ); + $tabs[] = $this->add_section( 'customcss', __( 'Custom CSS', 'footnotes' ), 3, true ); + $tabs[] = $this->add_section( 'how-to', __( 'Quick start guide', 'footnotes' ), 4, false ); - return $l_arr_tabs; + return $tabs; } /** @@ -113,42 +113,42 @@ class Settings extends Engine { * @since 2.2.0 Re-order and rename tabs. */ protected function get_meta_boxes(): array { - $l_arr_meta_boxes = array(); + $meta_boxes = array(); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility', 'footnotes' ), 'amp_compat' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'start-end', __( 'Footnote start and end short codes', 'footnotes' ), 'start_end' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'numbering', __( 'Footnotes numbering', 'footnotes' ), 'numbering' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'scrolling', __( 'Scrolling behavior', 'footnotes' ), 'scrolling' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'hard-links', __( 'URL fragment ID configuration', 'footnotes' ), 'hard_links' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'reference-container', __( 'Reference container', 'footnotes' ), 'reference_container' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'excerpts', __( 'Footnotes in excerpts', 'footnotes' ), 'excerpts' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'love', \footnotes\includes\Config::C_STR_PLUGIN_HEADING_NAME . ' ' . \footnotes\includes\Config::C_STR_LOVE_SYMBOL_HEADING, 'love' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility', 'footnotes' ), 'amp_compat' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'start-end', __( 'Footnote start and end short codes', 'footnotes' ), 'start_end' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'numbering', __( 'Footnotes numbering', 'footnotes' ), 'numbering' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'scrolling', __( 'Scrolling behavior', 'footnotes' ), 'scrolling' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'hard-links', __( 'URL fragment ID configuration', 'footnotes' ), 'hard_links' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'reference-container', __( 'Reference container', 'footnotes' ), 'reference_container' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'excerpts', __( 'Footnotes in excerpts', 'footnotes' ), 'excerpts' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'love', \footnotes\includes\Config::PLUGIN_HEADING_NAME . ' ' . \footnotes\includes\Config::LOVE_SYMBOL_HEADING, 'love' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'hyperlink-arrow', __( 'Backlink symbol', 'footnotes' ), 'hyperlink_arrow' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'superscript', __( 'Referrers', 'footnotes' ), 'superscript' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'label-solution', __( 'Referrers in labels', 'footnotes' ), 'label_solution' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box', __( 'Tooltips', 'footnotes' ), 'mouseover_box' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-position', __( 'Tooltip position', 'footnotes' ), 'mouseover_box_position' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-dimensions', __( 'Tooltip dimensions', 'footnotes' ), 'mouseover_box_dimensions' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-timing', __( 'Tooltip timing', 'footnotes' ), 'mouseover_box_timing' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-truncation', __( 'Tooltip truncation', 'footnotes' ), 'mouseover_box_truncation' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-text', __( 'Tooltip text', 'footnotes' ), 'mouseover_box_text' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-appearance', __( 'Tooltip appearance', 'footnotes' ), 'mouseover_box_appearance' ); - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_LEGACY_ENABLE ) ) ) { - $l_arr_meta_boxes[] = $this->add_meta_box( 'customize', 'custom-css', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'hyperlink-arrow', __( 'Backlink symbol', 'footnotes' ), 'hyperlink_arrow' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'superscript', __( 'Referrers', 'footnotes' ), 'superscript' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'label-solution', __( 'Referrers in labels', 'footnotes' ), 'label_solution' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box', __( 'Tooltips', 'footnotes' ), 'mouseover_box' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-position', __( 'Tooltip position', 'footnotes' ), 'mouseover_box_position' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-dimensions', __( 'Tooltip dimensions', 'footnotes' ), 'mouseover_box_dimensions' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-timing', __( 'Tooltip timing', 'footnotes' ), 'mouseover_box_timing' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-truncation', __( 'Tooltip truncation', 'footnotes' ), 'mouseover_box_truncation' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-text', __( 'Tooltip text', 'footnotes' ), 'mouseover_box_text' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-appearance', __( 'Tooltip appearance', 'footnotes' ), 'mouseover_box_appearance' ); + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { + $meta_boxes[] = $this->add_meta_box( 'customize', 'custom-css', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css' ); } - $l_arr_meta_boxes[] = $this->add_meta_box( 'expert', 'lookup', __( 'WordPress hooks with priority level', 'footnotes' ), 'lookup_hooks' ); + $meta_boxes[] = $this->add_meta_box( 'expert', 'lookup', __( 'WordPress hooks with priority level', 'footnotes' ), 'lookup_hooks' ); - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_LEGACY_ENABLE ) ) ) { - $l_arr_meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-migration', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css_migration' ); + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { + $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-migration', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css_migration' ); } - $l_arr_meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-new', __( 'Custom CSS', 'footnotes' ), 'custom_css_new' ); + $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-new', __( 'Custom CSS', 'footnotes' ), 'custom_css_new' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'how-to', 'help', __( 'Brief introduction: How to use the plugin', 'footnotes' ), 'help' ); - $l_arr_meta_boxes[] = $this->add_meta_box( 'how-to', 'donate', __( 'Help us to improve our Plugin', 'footnotes' ), 'donate' ); + $meta_boxes[] = $this->add_meta_box( 'how-to', 'help', __( 'Brief introduction: How to use the plugin', 'footnotes' ), 'help' ); + $meta_boxes[] = $this->add_meta_box( 'how-to', 'donate', __( 'Help us to improve our Plugin', 'footnotes' ), 'donate' ); - return $l_arr_meta_boxes; + return $meta_boxes; } /** @@ -159,22 +159,22 @@ class Settings extends Engine { public function amp_compat(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-amp' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-amp' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( // Translators: '%s' is the link text 'AMP-WP' linked to the plugin's front page on WordPress.org. 'description-1-amp' => sprintf( __( 'The official %s plugin is required when this option is enabled.', 'footnotes' ), 'AMP-WP' ), - 'label-amp' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE, __( 'Enable AMP compatibility mode:', 'footnotes' ) ), - 'amp' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ), + 'label-amp' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_AMP_COMPATIBILITY_ENABLE, __( 'Enable AMP compatibility mode:', 'footnotes' ) ), + 'amp' => $this->add_checkbox( \footnotes\includes\Settings::FOOTNOTES_AMP_COMPATIBILITY_ENABLE ), 'notice-amp' => __( 'This option enables hard links with configurable scroll offset in % viewport height.', 'footnotes' ), // Translators: '%s' is the logogram of the 'Footnotes' plugin. - 'description-2-amp' => sprintf( __( '%s is becoming AMP compatible when this box is checked. Styled tooltips are displayed with fade-in/fade-out effect if enabled, and the reference container expands also on clicking a referrer if it\'s collapsed by default.', 'footnotes' ), '' . \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME . '' ), + 'description-2-amp' => sprintf( __( '%s is becoming AMP compatible when this box is checked. Styled tooltips are displayed with fade-in/fade-out effect if enabled, and the reference container expands also on clicking a referrer if it\'s collapsed by default.', 'footnotes' ), '' . \footnotes\includes\Config::PLUGIN_PUBLIC_NAME . '' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -186,7 +186,7 @@ class Settings extends Engine { public function reference_container(): void { // Options for the label element. - $l_arr_label_element = array( + $label_element = array( 'p' => __( 'paragraph', 'footnotes' ), 'h2' => __( 'heading 2', 'footnotes' ), 'h3' => __( 'heading 3', 'footnotes' ), @@ -195,20 +195,20 @@ class Settings extends Engine { 'h6' => __( 'heading 6', 'footnotes' ), ); // Options for the positioning of the reference container. - $l_arr_positions = array( + $positions = array( 'post_end' => __( 'at the end of the post', 'footnotes' ), 'widget' => __( 'in the widget area', 'footnotes' ), 'footer' => __( 'in the footer', 'footnotes' ), ); // Basic responsive page layout options. - $l_arr_page_layout_options = array( + $page_layout_options = array( 'none' => __( 'No', 'footnotes' ), 'reference-container' => __( 'to the reference container exclusively', 'footnotes' ), 'entry-content' => __( 'to the div element starting below the post title', 'footnotes' ), 'main-content' => __( 'to the main element including the post title', 'footnotes' ), ); // Options for the separating punctuation between backlinks. - $l_arr_separators = array( + $separators = array( // Unicode character names are conventionally uppercase. 'comma' => __( 'COMMA', 'footnotes' ), 'semicolon' => __( 'SEMICOLON', 'footnotes' ), @@ -221,14 +221,14 @@ class Settings extends Engine { * This character is bidi-mirrored. Let's use the Unicode 1.0 name. * The wrong names were enforced in spite of Unicode, that subsequently scrambled to correct. */ - $l_arr_terminators = array( + $terminators = array( 'period' => __( 'FULL STOP', 'footnotes' ), // Unicode 1.0 name of RIGHT PARENTHESIS (represented as a left parenthesis in right-to-left scripts). 'parenthesis' => __( 'CLOSING PARENTHESIS', 'footnotes' ), 'colon' => __( 'COLON', 'footnotes' ), ); // Options for the first column width (per cent is a ratio, not a unit). - $l_arr_width_units = array( + $width_units = array( '%' => __( 'per cent', 'footnotes' ), 'px' => __( 'pixels', 'footnotes' ), 'rem' => __( 'root em', 'footnotes' ), @@ -236,120 +236,120 @@ class Settings extends Engine { 'vw' => __( 'viewport width', 'footnotes' ), ); // Options for reference container script mode. - $l_arr_script_mode = array( + $script_mode = array( 'jquery' => __( 'jQuery', 'footnotes' ), 'js' => __( 'plain JavaScript', 'footnotes' ), ); // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-reference-container' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-reference-container' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-name' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_NAME, __( 'Heading:', 'footnotes' ) ), - 'name' => $this->add_text_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_NAME ), + 'label-name' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_NAME, __( 'Heading:', 'footnotes' ) ), + 'name' => $this->add_text_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_NAME ), - 'label-element' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT, __( 'Heading\'s HTML element:', 'footnotes' ) ), - 'element' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT, $l_arr_label_element ), + 'label-element' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_ELEMENT, __( 'Heading\'s HTML element:', 'footnotes' ) ), + 'element' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_ELEMENT, $label_element ), - 'label-border' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER, __( 'Border under the heading:', 'footnotes' ) ), - 'border' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER, $l_arr_enabled ), + 'label-border' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER, __( 'Border under the heading:', 'footnotes' ) ), + 'border' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER, $enabled ), - 'label-collapse' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE, __( 'Collapse by default:', 'footnotes' ) ), - 'collapse' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE, $l_arr_enabled ), + 'label-collapse' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_COLLAPSE, __( 'Collapse by default:', 'footnotes' ) ), + 'collapse' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_COLLAPSE, $enabled ), - 'label-script' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE, __( 'Script mode:', 'footnotes' ) ), - 'script' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE, $l_arr_script_mode ), + 'label-script' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE, __( 'Script mode:', 'footnotes' ) ), + 'script' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE, $script_mode ), 'notice-script' => __( 'The plain JavaScript mode will enable hard links with configurable scroll offset.', 'footnotes' ), - 'label-position' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION, __( 'Default position:', 'footnotes' ) ), - 'position' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION, $l_arr_positions ), + 'label-position' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION, __( 'Default position:', 'footnotes' ) ), + 'position' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION, $positions ), // Translators: %s: at the end of the post. 'notice-position' => sprintf( __( 'To use the position or section shortcode, please set the position to: %s', 'footnotes' ), '' . __( 'at the end of the post', 'footnotes' ) . '' ), - 'label-shortcode' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE, __( 'Position shortcode:', 'footnotes' ) ), - 'shortcode' => $this->add_text_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE ), + 'label-shortcode' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION_SHORTCODE, __( 'Position shortcode:', 'footnotes' ) ), + 'shortcode' => $this->add_text_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION_SHORTCODE ), 'notice-shortcode' => __( 'If present in the content, any shortcode in this text box will be replaced with the reference container.', 'footnotes' ), - 'label-section' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTE_SECTION_SHORTCODE, __( 'Footnote section shortcode:', 'footnotes' ) ), - 'section' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTE_SECTION_SHORTCODE ), + 'label-section' => $this->add_label( \footnotes\includes\Settings::FOOTNOTE_SECTION_SHORTCODE, __( 'Footnote section shortcode:', 'footnotes' ) ), + 'section' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTE_SECTION_SHORTCODE ), 'notice-section' => __( 'If present in the content, any shortcode in this text box will delimit a section terminated by a reference container.', 'footnotes' ), - 'label-startpage' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE, __( 'Display on start page too:', 'footnotes' ) ), - 'startpage' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE, $l_arr_enabled ), + 'label-startpage' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_START_PAGE_ENABLE, __( 'Display on start page too:', 'footnotes' ) ), + 'startpage' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_START_PAGE_ENABLE, $enabled ), - 'label-margin-top' => $this->add_label( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_TOP_MARGIN, __( 'Top margin:', 'footnotes' ) ), - 'margin-top' => $this->add_num_box( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_TOP_MARGIN, -500, 500 ), + 'label-margin-top' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_TOP_MARGIN, __( 'Top margin:', 'footnotes' ) ), + 'margin-top' => $this->add_num_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_TOP_MARGIN, -500, 500 ), 'notice-margin-top' => __( 'pixels; may be negative', 'footnotes' ), - 'label-margin-bottom' => $this->add_label( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN, __( 'Bottom margin:', 'footnotes' ) ), - 'margin-bottom' => $this->add_num_box( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN, -500, 500 ), + 'label-margin-bottom' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_BOTTOM_MARGIN, __( 'Bottom margin:', 'footnotes' ) ), + 'margin-bottom' => $this->add_num_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_BOTTOM_MARGIN, -500, 500 ), 'notice-margin-bottom' => __( 'pixels; may be negative', 'footnotes' ), - 'label-page-layout' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT, __( 'Apply basic responsive page layout:', 'footnotes' ) ), - 'page-layout' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT, $l_arr_page_layout_options ), + 'label-page-layout' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_PAGE_LAYOUT_SUPPORT, __( 'Apply basic responsive page layout:', 'footnotes' ) ), + 'page-layout' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_PAGE_LAYOUT_SUPPORT, $page_layout_options ), 'notice-page-layout' => __( 'Most themes don\'t need this fix.', 'footnotes' ), - 'label-url-wrap' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTE_URL_WRAP_ENABLED, __( 'Allow URLs to line-wrap anywhere:', 'footnotes' ) ), - 'url-wrap' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTE_URL_WRAP_ENABLED, $l_arr_enabled ), + 'label-url-wrap' => $this->add_label( \footnotes\includes\Settings::FOOTNOTE_URL_WRAP_ENABLED, __( 'Allow URLs to line-wrap anywhere:', 'footnotes' ) ), + 'url-wrap' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTE_URL_WRAP_ENABLED, $enabled ), 'notice-url-wrap' => __( 'Unicode-conformant browsers don\'t need this fix.', 'footnotes' ), - 'label-symbol' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE, __( 'Display a backlink symbol:', 'footnotes' ) ), - 'symbol-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE, $l_arr_enabled ), + 'label-symbol' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE, __( 'Display a backlink symbol:', 'footnotes' ) ), + 'symbol-enable' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE, $enabled ), 'notice-symbol' => __( 'Please choose or input the symbol at the top of the next dashboard tab.', 'footnotes' ), - 'label-switch' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH, __( 'Symbol appended, not prepended:', 'footnotes' ) ), - 'switch' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH, $l_arr_enabled ), + 'label-switch' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH, __( 'Symbol appended, not prepended:', 'footnotes' ) ), + 'switch' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH, $enabled ), - 'label-3column' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE, __( 'Backlink symbol in an extra column:', 'footnotes' ) ), - '3column' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE, $l_arr_enabled ), + 'label-3column' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE, __( 'Backlink symbol in an extra column:', 'footnotes' ) ), + '3column' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE, $enabled ), 'notice-3column' => __( 'This legacy layout is available if identical footnotes are not combined.', 'footnotes' ), - 'label-row-borders' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE, __( 'Borders around the table rows:', 'footnotes' ) ), - 'row-borders' => $this->add_select_box( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE, $l_arr_enabled ), + 'label-row-borders' => $this->add_label( \footnotes\includes\Settings::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE, __( 'Borders around the table rows:', 'footnotes' ) ), + 'row-borders' => $this->add_select_box( \footnotes\includes\Settings::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE, $enabled ), - 'label-separator' => $this->add_label( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_ENABLED, __( 'Add a separator when enumerating backlinks:', 'footnotes' ) ), - 'separator-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_ENABLED, $l_arr_enabled ), - 'separator-options' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_OPTION, $l_arr_separators ), - 'separator-custom' => $this->add_text_box( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_CUSTOM ), + 'label-separator' => $this->add_label( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_ENABLED, __( 'Add a separator when enumerating backlinks:', 'footnotes' ) ), + 'separator-enable' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_ENABLED, $enabled ), + 'separator-options' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_OPTION, $separators ), + 'separator-custom' => $this->add_text_box( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_CUSTOM ), 'notice-separator' => __( 'Your input overrides the selection.', 'footnotes' ), - 'label-terminator' => $this->add_label( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_ENABLED, __( 'Add a terminal punctuation to backlinks:', 'footnotes' ) ), - 'terminator-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_ENABLED, $l_arr_enabled ), - 'terminator-options' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_OPTION, $l_arr_terminators ), - 'terminator-custom' => $this->add_text_box( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_CUSTOM ), + 'label-terminator' => $this->add_label( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_ENABLED, __( 'Add a terminal punctuation to backlinks:', 'footnotes' ) ), + 'terminator-enable' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_ENABLED, $enabled ), + 'terminator-options' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_OPTION, $terminators ), + 'terminator-custom' => $this->add_text_box( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_CUSTOM ), 'notice-terminator' => __( 'Your input overrides the selection.', 'footnotes' ), - 'label-width' => $this->add_label( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED, __( 'Set backlinks column width:', 'footnotes' ) ), - 'width-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED, $l_arr_enabled ), - 'width-scalar' => $this->add_num_box( \footnotes\includes\Settings::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR, 0, 500, true ), - 'width-unit' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT, $l_arr_width_units ), + 'label-width' => $this->add_label( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_ENABLED, __( 'Set backlinks column width:', 'footnotes' ) ), + 'width-enable' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_ENABLED, $enabled ), + 'width-scalar' => $this->add_num_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_SCALAR, 0, 500, true ), + 'width-unit' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_UNIT, $width_units ), 'notice-width' => __( 'Absolute width in pixels doesn\'t need to be accurate to the tenth, but relative width in rem or em may.', 'footnotes' ), - 'label-max-width' => $this->add_label( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED, __( 'Set backlinks column maximum width:', 'footnotes' ) ), - 'max-width-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED, $l_arr_enabled ), - 'max-width-scalar' => $this->add_num_box( \footnotes\includes\Settings::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR, 0, 500, true ), - 'max-width-unit' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT, $l_arr_width_units ), + 'label-max-width' => $this->add_label( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED, __( 'Set backlinks column maximum width:', 'footnotes' ) ), + 'max-width-enable' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED, $enabled ), + 'max-width-scalar' => $this->add_num_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR, 0, 500, true ), + 'max-width-unit' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_UNIT, $width_units ), 'notice-max-width' => __( 'Absolute width in pixels doesn\'t need to be accurate to the tenth, but relative width in rem or em may.', 'footnotes' ), - 'label-line-break' => $this->add_label( \footnotes\includes\Settings::C_STR_BACKLINKS_LINE_BREAKS_ENABLED, __( 'Stack backlinks when enumerating:', 'footnotes' ) ), - 'line-break' => $this->add_select_box( \footnotes\includes\Settings::C_STR_BACKLINKS_LINE_BREAKS_ENABLED, $l_arr_enabled ), + 'label-line-break' => $this->add_label( \footnotes\includes\Settings::BACKLINKS_LINE_BREAKS_ENABLED, __( 'Stack backlinks when enumerating:', 'footnotes' ) ), + 'line-break' => $this->add_select_box( \footnotes\includes\Settings::BACKLINKS_LINE_BREAKS_ENABLED, $enabled ), 'notice-line-break' => __( 'This option adds a line break before each added backlink when identical footnotes are combined.', 'footnotes' ), - 'label-link' => $this->add_label( \footnotes\includes\Settings::C_STR_LINK_ELEMENT_ENABLED, __( 'Use the link element for referrers and backlinks:', 'footnotes' ) ), - 'link' => $this->add_select_box( \footnotes\includes\Settings::C_STR_LINK_ELEMENT_ENABLED, $l_arr_enabled ), + 'label-link' => $this->add_label( \footnotes\includes\Settings::LINK_ELEMENT_ENABLED, __( 'Use the link element for referrers and backlinks:', 'footnotes' ) ), + 'link' => $this->add_select_box( \footnotes\includes\Settings::LINK_ELEMENT_ENABLED, $enabled ), 'notice-link' => __( 'The link element is needed to apply the theme\'s link color.', 'footnotes' ), 'description-link' => __( 'If the link element is not desired for styling, a simple span is used instead when the above is set to No.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -360,7 +360,7 @@ class Settings extends Engine { */ public function start_end(): void { // Footnotes start tag short code options. - $l_arr_shortcode_start = array( + $shortcode_start = array( '((' => '((', '(((' => '(((', '{{' => '{{', @@ -374,7 +374,7 @@ class Settings extends Engine { 'userdefined' => __( 'custom short code', 'footnotes' ), ); // Footnotes end tag short code options. - $l_arr_shortcode_end = array( + $shortcode_end = array( '))' => '))', ')))' => ')))', '}}' => '}}', @@ -388,37 +388,37 @@ class Settings extends Engine { 'userdefined' => __( 'custom short code', 'footnotes' ), ); // Options for the syntax validation. - $l_arr_enable = array( + $enable = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-start-end' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-start-end' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'description-escapement' => __( 'When delimiters with pointy brackets are used, the diverging escapement schemas will be unified before footnotes are processed.', 'footnotes' ), - 'label-short-code-start' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START, __( 'Footnote start tag short code:', 'footnotes' ) ), - 'short-code-start' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START, $l_arr_shortcode_start ), - 'short-code-start-user' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED ), + 'label-short-code-start' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START, __( 'Footnote start tag short code:', 'footnotes' ) ), + 'short-code-start' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START, $shortcode_start ), + 'short-code-start-user' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START_USER_DEFINED ), - 'label-short-code-end' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END, __( 'Footnote end tag short code:', 'footnotes' ) ), - 'short-code-end' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END, $l_arr_shortcode_end ), - 'short-code-end-user' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED ), + 'label-short-code-end' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END, __( 'Footnote end tag short code:', 'footnotes' ) ), + 'short-code-end' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END, $shortcode_end ), + 'short-code-end-user' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END_USER_DEFINED ), // For script showing/hiding user defined text boxes. - 'short-code-start-id' => \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START, - 'short-code-end-id' => \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END, - 'short-code-start-user-id' => \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED, - 'short-code-end-user-id' => \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED, + 'short-code-start-id' => \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START, + 'short-code-end-id' => \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END, + 'short-code-start-user-id' => \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START_USER_DEFINED, + 'short-code-end-user-id' => \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END_USER_DEFINED, 'description-parentheses' => __( 'WARNING: Although widespread industry standard, the double parentheses are problematic because they may occur in scripts embedded in the content and be mistaken as a short code.', 'footnotes' ), // Option to enable syntax validation, label mirrored in task.php. - 'label-syntax' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE, __( 'Check for balanced shortcodes:', 'footnotes' ) ), - 'syntax' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE, $l_arr_enable ), + 'label-syntax' => $this->add_label( \footnotes\includes\Settings::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE, __( 'Check for balanced shortcodes:', 'footnotes' ) ), + 'syntax' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE, $enable ), 'notice-syntax' => __( 'In the presence of a lone start tag shortcode, a warning displays below the post title.', 'footnotes' ), 'description-syntax' => __( 'If the start tag short code is \'((\' or \'(((\', it will not be reported as unbalanced if the following string contains braces hinting that it is a script.', 'footnotes' ), @@ -426,7 +426,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -437,33 +437,33 @@ class Settings extends Engine { */ public function numbering(): void { // Define some space for the output. - $l_str_space = '     '; + $space = '     '; // Options for the combination of identical footnotes. - $l_arr_enable = array( + $enable = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Options for the numbering style of the footnotes. - $l_arr_counter_style = array( - 'arabic_plain' => __( 'plain Arabic numbers', 'footnotes' ) . $l_str_space . '1, 2, 3, 4, 5, …', - 'arabic_leading' => __( 'zero-padded Arabic numbers', 'footnotes' ) . $l_str_space . '01, 02, 03, 04, 05, …', - 'latin_low' => __( 'lowercase Latin letters', 'footnotes' ) . $l_str_space . 'a, b, c, d, e, …', - 'latin_high' => __( 'uppercase Latin letters', 'footnotes' ) . $l_str_space . 'A, B, C, D, E, …', - 'romanic' => __( 'uppercase Roman numerals', 'footnotes' ) . $l_str_space . 'I, II, III, IV, V, …', - 'roman_low' => __( 'lowercase Roman numerals', 'footnotes' ) . $l_str_space . 'i, ii, iii, iv, v, …', + $counter_style = array( + 'arabic_plain' => __( 'plain Arabic numbers', 'footnotes' ) . $space . '1, 2, 3, 4, 5, …', + 'arabic_leading' => __( 'zero-padded Arabic numbers', 'footnotes' ) . $space . '01, 02, 03, 04, 05, …', + 'latin_low' => __( 'lowercase Latin letters', 'footnotes' ) . $space . 'a, b, c, d, e, …', + 'latin_high' => __( 'uppercase Latin letters', 'footnotes' ) . $space . 'A, B, C, D, E, …', + 'romanic' => __( 'uppercase Roman numerals', 'footnotes' ) . $space . 'I, II, III, IV, V, …', + 'roman_low' => __( 'lowercase Roman numerals', 'footnotes' ) . $space . 'i, ii, iii, iv, v, …', ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-numbering' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-numbering' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-counter-style' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE, __( 'Numbering style:', 'footnotes' ) ), - 'counter-style' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE, $l_arr_counter_style ), + 'label-counter-style' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE, __( 'Numbering style:', 'footnotes' ) ), + 'counter-style' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE, $counter_style ), // Algorithmically combine identicals. - 'label-identical' => $this->add_label( \footnotes\includes\Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES, __( 'Combine identical footnotes:', 'footnotes' ) ), - 'identical' => $this->add_select_box( \footnotes\includes\Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES, $l_arr_enable ), + 'label-identical' => $this->add_label( \footnotes\includes\Settings::COMBINE_IDENTICAL_FOOTNOTES, __( 'Combine identical footnotes:', 'footnotes' ) ), + 'identical' => $this->add_select_box( \footnotes\includes\Settings::COMBINE_IDENTICAL_FOOTNOTES, $enable ), 'notice-identical' => __( 'This option may require copy-pasting footnotes in multiple instances.', 'footnotes' ), // Support for Ibid. notation added thanks to @meglio in . 'description-identical' => __( 'Even when footnotes are combined, footnote numbers keep incrementing. This avoids suboptimal referrer and backlink disambiguation using a secondary numbering system. The Ibid. notation and the op. cit. abbreviation followed by the current page number avoid repeating the footnote content. For changing sources, shortened citations may be used. Repeating full citations is also an opportunity to add details.', 'footnotes' ), @@ -471,7 +471,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -483,51 +483,51 @@ class Settings extends Engine { public function scrolling(): void { // Options for enabling scroll duration asymmetricity. - $l_arr_enable = array( + $enable = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-scrolling' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-scrolling' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-scroll-css' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, __( 'CSS-based smooth scrolling:', 'footnotes' ) ), - 'scroll-css' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING, $l_arr_enable ), + 'label-scroll-css' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_CSS_SMOOTH_SCROLLING, __( 'CSS-based smooth scrolling:', 'footnotes' ) ), + 'scroll-css' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_CSS_SMOOTH_SCROLLING, $enable ), 'notice-scroll-css' => __( 'May slightly disturb jQuery scrolling and is therefore disabled by default. Works in recent browsers.', 'footnotes' ), - 'label-scroll-offset' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, __( 'Scroll offset:', 'footnotes' ) ), - 'scroll-offset' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_OFFSET, 0, 100 ), + 'label-scroll-offset' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_OFFSET, __( 'Scroll offset:', 'footnotes' ) ), + 'scroll-offset' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_OFFSET, 0, 100 ), 'notice-scroll-offset' => __( 'per cent viewport height from the upper edge', 'footnotes' ), - 'label-scroll-duration' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DURATION, __( 'Scroll duration:', 'footnotes' ) ), - 'scroll-duration' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DURATION, 0, 20000 ), + 'label-scroll-duration' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION, __( 'Scroll duration:', 'footnotes' ) ), + 'scroll-duration' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION, 0, 20000 ), 'notice-scroll-duration' => __( 'milliseconds. If asymmetric scroll durations are enabled, this is the scroll-up duration.', 'footnotes' ), // Enable scroll duration asymmetricity. - 'label-scroll-asymmetricity' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, __( 'Enable asymmetric scroll durations:', 'footnotes' ) ), - 'scroll-asymmetricity' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, $l_arr_enable ), + 'label-scroll-asymmetricity' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, __( 'Enable asymmetric scroll durations:', 'footnotes' ) ), + 'scroll-asymmetricity' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY, $enable ), 'notice-scroll-asymmetricity' => __( 'With this option enabled, scrolling up may take longer than down, or conversely.', 'footnotes' ), - 'label-scroll-down-duration' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, __( 'Scroll-down duration:', 'footnotes' ) ), - 'scroll-down-duration' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION, 0, 20000 ), + 'label-scroll-down-duration' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DURATION, __( 'Scroll-down duration:', 'footnotes' ) ), + 'scroll-down-duration' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DURATION, 0, 20000 ), 'notice-scroll-down-duration' => __( 'milliseconds', 'footnotes' ), - 'label-scroll-down-delay' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, __( 'Scroll-down delay:', 'footnotes' ) ), - 'scroll-down-delay' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY, 0, 20000 ), + 'label-scroll-down-delay' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DELAY, __( 'Scroll-down delay:', 'footnotes' ) ), + 'scroll-down-delay' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DELAY, 0, 20000 ), 'notice-scroll-down-delay' => __( 'milliseconds. Useful to see the effect on input elements when referrers without hard links are clicked in form labels.', 'footnotes' ), - 'label-scroll-up-delay' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, __( 'Scroll-up delay:', 'footnotes' ) ), - 'scroll-up-delay' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY, 0, 20000 ), + 'label-scroll-up-delay' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_SCROLL_UP_DELAY, __( 'Scroll-up delay:', 'footnotes' ) ), + 'scroll-up-delay' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_SCROLL_UP_DELAY, 0, 20000 ), 'notice-scroll-up-delay' => __( 'milliseconds. Less useful than the scroll-down delay.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -539,47 +539,47 @@ class Settings extends Engine { public function hard_links(): void { // Options for enabling hard links for AMP compat. - $l_arr_enable = array( + $enable = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-hard-links' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-hard-links' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-hard-links' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_HARD_LINKS_ENABLE, __( 'Enable hard links:', 'footnotes' ) ), - 'hard-links' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_HARD_LINKS_ENABLE, $l_arr_enable ), + 'label-hard-links' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_HARD_LINKS_ENABLE, __( 'Enable hard links:', 'footnotes' ) ), + 'hard-links' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_HARD_LINKS_ENABLE, $enable ), 'notice-hard-links' => __( 'Hard links disable jQuery delays but have the same scroll offset, and allow to share footnotes (accessed if the list is not collapsed by default).', 'footnotes' ), - 'label-footnote' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTE_FRAGMENT_ID_SLUG, __( 'Fragment identifier slug for footnotes:', 'footnotes' ) ), - 'footnote' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTE_FRAGMENT_ID_SLUG ), + 'label-footnote' => $this->add_label( \footnotes\includes\Settings::FOOTNOTE_FRAGMENT_ID_SLUG, __( 'Fragment identifier slug for footnotes:', 'footnotes' ) ), + 'footnote' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTE_FRAGMENT_ID_SLUG ), 'notice-footnote' => __( 'This will show up in the address bar after clicking on a hard-linked footnote referrer.', 'footnotes' ), - 'label-referrer' => $this->add_label( \footnotes\includes\Settings::C_STR_REFERRER_FRAGMENT_ID_SLUG, __( 'Fragment identifier slug for footnote referrers:', 'footnotes' ) ), - 'referrer' => $this->add_text_box( \footnotes\includes\Settings::C_STR_REFERRER_FRAGMENT_ID_SLUG ), + 'label-referrer' => $this->add_label( \footnotes\includes\Settings::REFERRER_FRAGMENT_ID_SLUG, __( 'Fragment identifier slug for footnote referrers:', 'footnotes' ) ), + 'referrer' => $this->add_text_box( \footnotes\includes\Settings::REFERRER_FRAGMENT_ID_SLUG ), 'notice-referrer' => __( 'This will show up in the address bar after clicking on a hard-linked backlink.', 'footnotes' ), - 'label-separator' => $this->add_label( \footnotes\includes\Settings::C_STR_HARD_LINK_IDS_SEPARATOR, __( 'ID separator:', 'footnotes' ) ), - 'separator' => $this->add_text_box( \footnotes\includes\Settings::C_STR_HARD_LINK_IDS_SEPARATOR ), + 'label-separator' => $this->add_label( \footnotes\includes\Settings::HARD_LINK_IDS_SEPARATOR, __( 'ID separator:', 'footnotes' ) ), + 'separator' => $this->add_text_box( \footnotes\includes\Settings::HARD_LINK_IDS_SEPARATOR ), 'notice-separator' => __( 'May be empty or any string, for example _, - or +, to distinguish post number, container number and footnote number.', 'footnotes' ), // Enable backlink tooltips. - 'label-backlink-tooltips' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE, __( 'Enable backlink tooltips:', 'footnotes' ) ), - 'backlink-tooltips' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE, $l_arr_enable ), + 'label-backlink-tooltips' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE, __( 'Enable backlink tooltips:', 'footnotes' ) ), + 'backlink-tooltips' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE, $enable ), 'notice-backlink-tooltips' => __( 'Hard backlinks get ordinary tooltips hinting to use the backbutton instead to keep it usable.', 'footnotes' ), - 'label-backlink-tooltip-text' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT, __( 'Backlink tooltip text:', 'footnotes' ) ), - 'backlink-tooltip-text' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT ), + 'label-backlink-tooltip-text' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_TEXT, __( 'Backlink tooltip text:', 'footnotes' ) ), + 'backlink-tooltip-text' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_TEXT ), 'notice-backlink-tooltip-text' => __( 'Default text is the keyboard shortcut; may be a localized descriptive hint.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -590,42 +590,42 @@ class Settings extends Engine { */ public function love(): void { // Options for the acknowledgment display in the footer. - $l_arr_love = array( + $love = array( // Logo only. - 'text-3' => \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME, + 'text-3' => \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, // Logo followed by heart symbol. - 'text-4' => sprintf( '%s %s', \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::C_STR_LOVE_SYMBOL ), + 'text-4' => sprintf( '%s %s', \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::LOVE_SYMBOL ), // Logo preceded by heart symbol. - 'text-5' => sprintf( '%s %s', \footnotes\includes\Config::C_STR_LOVE_SYMBOL, \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ), + 'text-5' => sprintf( '%s %s', \footnotes\includes\Config::LOVE_SYMBOL, \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ), // Translators: 2: heart symbol 1: footnotes logogram. - 'text-1' => sprintf( __( 'I %2$s %1$s', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::C_STR_LOVE_SYMBOL ), + 'text-1' => sprintf( __( 'I %2$s %1$s', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::LOVE_SYMBOL ), // Translators: %s: Footnotes plugin logo. - 'text-6' => sprintf( __( 'This website uses %s.', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ), + 'text-6' => sprintf( __( 'This website uses %s.', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ), // Translators: %s: Footnotes plugin logo. - 'text-7' => sprintf( __( 'This website uses the %s plugin.', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ), + 'text-7' => sprintf( __( 'This website uses the %s plugin.', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ), // Translators: %s: Footnotes plugin logo. - 'text-2' => sprintf( __( 'This website uses the awesome %s plugin.', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ), + 'text-2' => sprintf( __( 'This website uses the awesome %s plugin.', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ), 'random' => __( 'randomly determined display of either mention', 'footnotes' ), // Translators: 1: Plugin logo.2: heart symbol. - 'no' => sprintf( __( 'no display of any "%1$s %2$s" mention in the footer', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::C_STR_LOVE_SYMBOL ), + 'no' => sprintf( __( 'no display of any "%1$s %2$s" mention in the footer', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, \footnotes\includes\Config::LOVE_SYMBOL ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-love' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-love' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( // Translators: %s: Footnotes plugin logo. - 'label-love' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_LOVE, sprintf( __( 'Tell the world you\'re using %s:', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ) ), - 'love' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_LOVE, $l_arr_love ), + 'label-love' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_LOVE, sprintf( __( 'Tell the world you\'re using %s:', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ) ), + 'love' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_LOVE, $love ), // Translators: %s: Footnotes plugin logo. - 'label-no-love' => $this->add_text( sprintf( __( 'Shortcode to inhibit the display of the %s mention on specific pages:', 'footnotes' ), \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ) ), - 'no-love' => $this->add_text( \footnotes\includes\Config::C_STR_NO_LOVE_SLUG ), + 'label-no-love' => $this->add_text( sprintf( __( 'Shortcode to inhibit the display of the %s mention on specific pages:', 'footnotes' ), \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ) ), + 'no-love' => $this->add_text( \footnotes\includes\Config::NO_LOVE_SLUG ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -636,28 +636,28 @@ class Settings extends Engine { */ public function excerpts(): void { // Options for options select box. - $l_arr_excerpt_mode = array( + $excerpt_mode = array( 'yes' => __( 'Yes, generate excerpts from posts with effectively processed footnotes and other markup', 'footnotes' ), 'no' => __( 'No, generate excerpts from posts but remove all footnotes and output plain text', 'footnotes' ), 'manual' => __( 'Yes but run the process only to display tooltips in manual excerpts with footnote short codes', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'settings-excerpts' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'settings-excerpts' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-excerpts' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_IN_EXCERPT, __( 'Process footnotes in excerpts:', 'footnotes' ) ), - 'excerpts' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_IN_EXCERPT, $l_arr_excerpt_mode ), + 'label-excerpts' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_IN_EXCERPT, __( 'Process footnotes in excerpts:', 'footnotes' ) ), + 'excerpts' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_IN_EXCERPT, $excerpt_mode ), 'notice-excerpts' => __( 'If the_excerpt is enabled.', 'footnotes' ), // Translators: %s: link text 'Advanced Excerpt' linked to the plugin\'s WordPress.org front page. // Translators: %s: Footnotes plugin logo. - 'description-excerpts' => sprintf( __( 'To not display footnotes in excerpts, the %s plugin generates excerpts on the basis of the posts to be able to remove the footnotes. Else, footnotes may be processed in manual excerpts OR processed based on the posts. — For this setting to be effective, the hook the_excerpt must be enabled under Scope and priority.', 'footnotes' ), '' . \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME . '' ), + 'description-excerpts' => sprintf( __( 'To not display footnotes in excerpts, the %s plugin generates excerpts on the basis of the posts to be able to remove the footnotes. Else, footnotes may be processed in manual excerpts OR processed based on the posts. — For this setting to be effective, the hook the_excerpt must be enabled under Scope and priority.', 'footnotes' ), '' . \footnotes\includes\Config::PLUGIN_PUBLIC_NAME . '' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -668,41 +668,41 @@ class Settings extends Engine { */ public function superscript(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Options for superscript normalize scope. - $l_arr_normalize_superscript = array( + $normalize_superscript = array( 'no' => __( 'No', 'footnotes' ), 'referrers' => __( 'Footnote referrers', 'footnotes' ), 'all' => __( 'All superscript elements', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'customize-superscript' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'customize-superscript' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-superscript' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS, __( 'Display footnote referrers in superscript:', 'footnotes' ) ), - 'superscript' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS, $l_arr_enabled ), + 'label-superscript' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS, __( 'Display footnote referrers in superscript:', 'footnotes' ) ), + 'superscript' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS, $enabled ), - 'label-normalize' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT, __( 'Normalize vertical alignment and font size:', 'footnotes' ) ), - 'normalize' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT, $l_arr_normalize_superscript ), + 'label-normalize' => $this->add_label( \footnotes\includes\Settings::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT, __( 'Normalize vertical alignment and font size:', 'footnotes' ) ), + 'normalize' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT, $normalize_superscript ), 'notice-normalize' => __( 'Most themes don\'t need this fix.', 'footnotes' ), - 'label-before' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_BEFORE, __( 'At the start of the footnote referrers:', 'footnotes' ) ), - 'before' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_BEFORE ), + 'label-before' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_STYLING_BEFORE, __( 'At the start of the footnote referrers:', 'footnotes' ) ), + 'before' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_STYLING_BEFORE ), - 'label-after' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_AFTER, __( 'At the end of the footnote referrers:', 'footnotes' ) ), - 'after' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_AFTER ), + 'label-after' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_STYLING_AFTER, __( 'At the end of the footnote referrers:', 'footnotes' ) ), + 'after' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_STYLING_AFTER ), - 'label-link' => $this->add_label( \footnotes\includes\Settings::C_STR_LINK_ELEMENT_ENABLED, __( 'Use the link element for referrers and backlinks:', 'footnotes' ) ), + 'label-link' => $this->add_label( \footnotes\includes\Settings::LINK_ELEMENT_ENABLED, __( 'Use the link element for referrers and backlinks:', 'footnotes' ) ), 'notice-link' => __( 'Please find this setting at the end of the reference container settings. The link element is needed to apply the theme\'s link color.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -713,25 +713,25 @@ class Settings extends Engine { */ public function label_solution(): void { // Options for the input label issue solution. - $l_arr_issue_solutions = array( + $issue_solutions = array( 'none' => __( '0. No problem or solved otherwise', 'footnotes' ), 'move' => __( 'A. Footnotes are moved out and appended after the label\'s end (recommended)', 'footnotes' ), 'disconnect' => __( 'B. Labels with footnotes are disconnected from input element (discouraged)', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'configure-label-solution' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'configure-label-solution' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'description-1-selection' => __( 'Clicking a footnote referrer in an input element label toggles the input except when hard links are enabled. In jQuery mode, the recommended solution is to move footnotes and append them after the label (option A).', 'footnotes' ), - 'label-selection' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION, __( 'Solve input label issue:', 'footnotes' ) ), - 'selection' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION, $l_arr_issue_solutions ), + 'label-selection' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_LABEL_ISSUE_SOLUTION, __( 'Solve input label issue:', 'footnotes' ) ), + 'selection' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_LABEL_ISSUE_SOLUTION, $issue_solutions ), 'description-2-selection' => __( 'Option B is discouraged because disconnecting a label from its input element may compromise accessibility. This option is a last resort in case footnotes must absolutely stay inside the label. (Using jQuery \'event.stopPropagation\' failed.)', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -742,32 +742,32 @@ class Settings extends Engine { */ public function mouseover_box(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-display' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-display' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-enable' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __( 'Display tooltips:', 'footnotes' ) ), - 'enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $l_arr_enabled ), + 'label-enable' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __( 'Display tooltips:', 'footnotes' ) ), + 'enable' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $enabled ), 'notice-enable' => __( 'Formatted text boxes allowing hyperlinks, displayed on mouse-over or tap and hold.', 'footnotes' ), - 'label-alternative' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, __( 'Display alternative tooltips:', 'footnotes' ) ), - 'alternative' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, $l_arr_enabled ), + 'label-alternative' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, __( 'Display alternative tooltips:', 'footnotes' ) ), + 'alternative' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, $enabled ), 'notice-alternative' => __( 'Intended to work around a configuration-related tooltip outage.', 'footnotes' ), // Translators: %s: Footnotes plugin logo. - 'description-alternative' => sprintf( __( 'These alternative tooltips work around a website related jQuery UI outage. They are low-script but use the AMP incompatible onmouseover and onmouseout arguments, along with CSS transitions for fade-in/out. The very small script is inserted after Footnotes\' internal stylesheet. When this option is enabled, %s does not load jQuery UI nor jQuery Tools.', 'footnotes' ), '' . \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME . '' ), + 'description-alternative' => sprintf( __( 'These alternative tooltips work around a website related jQuery UI outage. They are low-script but use the AMP incompatible onmouseover and onmouseout arguments, along with CSS transitions for fade-in/out. The very small script is inserted after Footnotes\' internal stylesheet. When this option is enabled, %s does not load jQuery UI nor jQuery Tools.', 'footnotes' ), '' . \footnotes\includes\Config::PLUGIN_PUBLIC_NAME . '' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -779,7 +779,7 @@ class Settings extends Engine { public function mouseover_box_position(): void { // Options for the Mouse-over box position. - $l_arr_position = array( + $position = array( 'top left' => __( 'top left', 'footnotes' ), 'top center' => __( 'top center', 'footnotes' ), 'top right' => __( 'top right', 'footnotes' ), @@ -790,7 +790,7 @@ class Settings extends Engine { 'center left' => __( 'center left', 'footnotes' ), ); // Options for the alternative Mouse-over box position. - $l_arr_alternative_position = array( + $alternative_position = array( 'top left' => __( 'top left', 'footnotes' ), 'top right' => __( 'top right', 'footnotes' ), 'bottom right' => __( 'bottom right', 'footnotes' ), @@ -798,31 +798,31 @@ class Settings extends Engine { ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-position' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-position' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-position' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, __( 'Position:', 'footnotes' ) ), - 'position' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, $l_arr_position ), - 'position-alternative' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION, $l_arr_alternative_position ), + 'label-position' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_POSITION, __( 'Position:', 'footnotes' ) ), + 'position' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_POSITION, $position ), + 'position-alternative' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION, $alternative_position ), 'notice-position' => __( 'The second column of settings boxes is for the alternative tooltips.', 'footnotes' ), - 'label-offset-x' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, __( 'Horizontal offset:', 'footnotes' ) ), - 'offset-x' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, -500, 500 ), - 'offset-x-alternative' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X, -500, 500 ), + 'label-offset-x' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, __( 'Horizontal offset:', 'footnotes' ) ), + 'offset-x' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, -500, 500 ), + 'offset-x-alternative' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X, -500, 500 ), 'notice-offset-x' => __( 'pixels; negative value for a leftwards offset; alternative tooltips: direction depends on position', 'footnotes' ), - 'label-offset-y' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, __( 'Vertical offset:', 'footnotes' ) ), - 'offset-y' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, -500, 500 ), - 'offset-y-alternative' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y, -500, 500 ), + 'label-offset-y' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, __( 'Vertical offset:', 'footnotes' ) ), + 'offset-y' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, -500, 500 ), + 'offset-y-alternative' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y, -500, 500 ), 'notice-offset-y' => __( 'pixels; negative value for an upwards offset; alternative tooltips: direction depends on position', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -834,21 +834,21 @@ class Settings extends Engine { public function mouseover_box_dimensions(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-dimensions' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-dimensions' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-max-width' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, __( 'Maximum width:', 'footnotes' ) ), - 'max-width' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, 0, 1280 ), - 'width' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH, 0, 1280 ), + 'label-max-width' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, __( 'Maximum width:', 'footnotes' ) ), + 'max-width' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, 0, 1280 ), + 'width' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH, 0, 1280 ), 'notice-max-width' => __( 'pixels; set to 0 for jQuery tooltips without max width; alternative tooltips are given the value in the second box as fixed width.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -860,32 +860,32 @@ class Settings extends Engine { public function mouseover_box_timing(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-timing' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-timing' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-fade-in-delay' => $this->add_label( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY, __( 'Fade-in delay:', 'footnotes' ) ), - 'fade-in-delay' => $this->add_num_box( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY, 0, 20000 ), + 'label-fade-in-delay' => $this->add_label( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DELAY, __( 'Fade-in delay:', 'footnotes' ) ), + 'fade-in-delay' => $this->add_num_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DELAY, 0, 20000 ), 'notice-fade-in-delay' => __( 'milliseconds', 'footnotes' ), - 'label-fade-in-duration' => $this->add_label( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION, __( 'Fade-in duration:', 'footnotes' ) ), - 'fade-in-duration' => $this->add_num_box( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION, 0, 20000 ), + 'label-fade-in-duration' => $this->add_label( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DURATION, __( 'Fade-in duration:', 'footnotes' ) ), + 'fade-in-duration' => $this->add_num_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DURATION, 0, 20000 ), 'notice-fade-in-duration' => __( 'milliseconds', 'footnotes' ), - 'label-fade-out-delay' => $this->add_label( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY, __( 'Fade-out delay:', 'footnotes' ) ), - 'fade-out-delay' => $this->add_num_box( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY, 0, 20000 ), + 'label-fade-out-delay' => $this->add_label( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DELAY, __( 'Fade-out delay:', 'footnotes' ) ), + 'fade-out-delay' => $this->add_num_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DELAY, 0, 20000 ), 'notice-fade-out-delay' => __( 'milliseconds', 'footnotes' ), - 'label-fade-out-duration' => $this->add_label( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION, __( 'Fade-out duration:', 'footnotes' ) ), - 'fade-out-duration' => $this->add_num_box( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION, 0, 20000 ), + 'label-fade-out-duration' => $this->add_label( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DURATION, __( 'Fade-out duration:', 'footnotes' ) ), + 'fade-out-duration' => $this->add_num_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DURATION, 0, 20000 ), 'notice-fade-out-duration' => __( 'milliseconds', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -896,33 +896,33 @@ class Settings extends Engine { */ public function mouseover_box_truncation(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-truncation' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-truncation' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-truncation' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, __( 'Truncate the note in the tooltip:', 'footnotes' ) ), - 'truncation' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, $l_arr_enabled ), + 'label-truncation' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, __( 'Truncate the note in the tooltip:', 'footnotes' ) ), + 'truncation' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, $enabled ), - 'label-max-length' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, __( 'Maximum number of characters in the tooltip:', 'footnotes' ) ), - 'max-length' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, 3, 10000 ), + 'label-max-length' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, __( 'Maximum number of characters in the tooltip:', 'footnotes' ) ), + 'max-length' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, 3, 10000 ), // The feature trims back until the last full word. 'notice-max-length' => __( 'No weird cuts.', 'footnotes' ), - 'label-readon' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL, __( '\'Read on\' button label:', 'footnotes' ) ), - 'readon' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL ), + 'label-readon' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_READON_LABEL, __( '\'Read on\' button label:', 'footnotes' ) ), + 'readon' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_READON_LABEL ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -933,29 +933,29 @@ class Settings extends Engine { */ public function mouseover_box_text(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-text' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-text' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'description-delimiter' => __( 'Tooltips can display another content than the footnote entry in the reference container. The trigger is a shortcode in the footnote text separating the tooltip text from the note. That is consistent with what WordPress does for excerpts.', 'footnotes' ), - 'label-delimiter' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER, __( 'Delimiter for dedicated tooltip text:', 'footnotes' ) ), - 'delimiter' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER ), + 'label-delimiter' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER, __( 'Delimiter for dedicated tooltip text:', 'footnotes' ) ), + 'delimiter' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER ), 'notice-delimiter' => __( 'If the delimiter shortcode is present, the tooltip text will be the part before it.', 'footnotes' ), - 'label-mirror' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE, __( 'Mirror the tooltip in the reference container:', 'footnotes' ) ), - 'mirror' => $this->add_select_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE, $l_arr_enabled ), + 'label-mirror' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE, __( 'Mirror the tooltip in the reference container:', 'footnotes' ) ), + 'mirror' => $this->add_select_box( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE, $enabled ), 'notice-mirror' => __( 'Tooltips may be harder to use on mobiles. This option allows to read it in the reference container.', 'footnotes' ), - 'label-separator' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR, __( 'Separator between tooltip text and footnote text:', 'footnotes' ) ), - 'separator' => $this->add_text_box( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR ), + 'label-separator' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR, __( 'Separator between tooltip text and footnote text:', 'footnotes' ) ), + 'separator' => $this->add_text_box( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR ), 'notice-separator' => __( 'May be a simple space, or a line break <br />, or any string in your language.', 'footnotes' ), 'description-mirror' => __( 'Tooltips, even jQuery-driven, may be hard to consult on mobiles. This option allows to read the tooltip content in the reference container too.', 'footnotes' ), @@ -964,7 +964,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -975,12 +975,12 @@ class Settings extends Engine { */ public function mouseover_box_appearance(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Options for the font size unit. - $l_arr_font_size_units = array( + $font_size_units = array( 'em' => __( 'em', 'footnotes' ), 'rem' => __( 'rem', 'footnotes' ), 'px' => __( 'pixels', 'footnotes' ), @@ -991,42 +991,42 @@ class Settings extends Engine { ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'mouse-over-box-appearance' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'mouse-over-box-appearance' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-font-size' => $this->add_label( \footnotes\includes\Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED, __( 'Set font size:', 'footnotes' ) ), - 'font-size-enable' => $this->add_select_box( \footnotes\includes\Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED, $l_arr_enabled ), - 'font-size-scalar' => $this->add_num_box( \footnotes\includes\Settings::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR, 0, 50, true ), - 'font-size-unit' => $this->add_select_box( \footnotes\includes\Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT, $l_arr_font_size_units ), + 'label-font-size' => $this->add_label( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_ENABLED, __( 'Set font size:', 'footnotes' ) ), + 'font-size-enable' => $this->add_select_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_ENABLED, $enabled ), + 'font-size-scalar' => $this->add_num_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_SCALAR, 0, 50, true ), + 'font-size-unit' => $this->add_select_box( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_UNIT, $font_size_units ), 'notice-font-size' => __( 'By default, the font size is set to equal the surrounding text.', 'footnotes' ), - 'label-color' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR, __( 'Text color:', 'footnotes' ) ), - 'color' => $this->add_color_selection( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR ), + 'label-color' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_COLOR, __( 'Text color:', 'footnotes' ) ), + 'color' => $this->add_color_selection( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_COLOR ), // Translators: %s: Clear or leave empty. 'notice-color' => sprintf( __( 'To use the current theme\'s default text color: %s', 'footnotes' ), __( 'Clear or leave empty.', 'footnotes' ) ), - 'label-background' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND, __( 'Background color:', 'footnotes' ) ), - 'background' => $this->add_color_selection( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND ), + 'label-background' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND, __( 'Background color:', 'footnotes' ) ), + 'background' => $this->add_color_selection( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND ), // Translators: %s: Clear or leave empty. 'notice-background' => sprintf( __( 'To use the current theme\'s default background color: %s', 'footnotes' ), __( 'Clear or leave empty.', 'footnotes' ) ), - 'label-border-width' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, __( 'Border width:', 'footnotes' ) ), - 'border-width' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, 0, 4, true ), + 'label-border-width' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, __( 'Border width:', 'footnotes' ) ), + 'border-width' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, 0, 4, true ), 'notice-border-width' => __( 'pixels; 0 for borderless', 'footnotes' ), - 'label-border-color' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR, __( 'Border color:', 'footnotes' ) ), - 'border-color' => $this->add_color_selection( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR ), + 'label-border-color' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR, __( 'Border color:', 'footnotes' ) ), + 'border-color' => $this->add_color_selection( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR ), // Translators: %s: Clear or leave empty. 'notice-border-color' => sprintf( __( 'To use the current theme\'s default border color: %s', 'footnotes' ), __( 'Clear or leave empty.', 'footnotes' ) ), - 'label-border-radius' => $this->add_label( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, __( 'Rounded corner radius:', 'footnotes' ) ), - 'border-radius' => $this->add_num_box( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, 0, 500 ), + 'label-border-radius' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, __( 'Rounded corner radius:', 'footnotes' ) ), + 'border-radius' => $this->add_num_box( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, 0, 500 ), 'notice-border-radius' => __( 'pixels; 0 for sharp corners', 'footnotes' ), - 'label-box-shadow-color' => $this->add_label( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR, __( 'Box shadow color:', 'footnotes' ) ), - 'box-shadow-color' => $this->add_color_selection( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR ), + 'label-box-shadow-color' => $this->add_label( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR, __( 'Box shadow color:', 'footnotes' ) ), + 'box-shadow-color' => $this->add_color_selection( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR ), // Translators: %s: Clear or leave empty. 'notice-box-shadow-color' => sprintf( __( 'To use the current theme\'s default box shadow color: %s', 'footnotes' ), __( 'Clear or leave empty.', 'footnotes' ) ), @@ -1034,7 +1034,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1045,20 +1045,20 @@ class Settings extends Engine { */ public function hyperlink_arrow(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'customize-hyperlink-arrow' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'customize-hyperlink-arrow' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-symbol' => $this->add_label( \footnotes\includes\Settings::C_STR_HYPERLINK_ARROW, __( 'Select or input the backlink symbol:', 'footnotes' ) ), - 'symbol-options' => $this->add_select_box( \footnotes\includes\Settings::C_STR_HYPERLINK_ARROW, Includes\Convert::get_arrow() ), - 'symbol-custom' => $this->add_text_box( \footnotes\includes\Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED ), + 'label-symbol' => $this->add_label( \footnotes\includes\Settings::HYPERLINK_ARROW, __( 'Select or input the backlink symbol:', 'footnotes' ) ), + 'symbol-options' => $this->add_select_box( \footnotes\includes\Settings::HYPERLINK_ARROW, Includes\Convert::get_arrow() ), + 'symbol-custom' => $this->add_text_box( \footnotes\includes\Settings::HYPERLINK_ARROW_USER_DEFINED ), 'notice-symbol' => __( 'Your input overrides the selection.', 'footnotes' ), 'description-symbol' => __( 'This symbol is used in the reference container. But this setting pre-existed under this tab and cannot be moved to another one.', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1069,12 +1069,12 @@ class Settings extends Engine { */ public function custom_css() { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'customize-css' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'customize-css' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-css' => $this->add_label( \footnotes\includes\Settings::C_STR_CUSTOM_CSS, __( 'Your existing Custom CSS code:', 'footnotes' ) ), - 'css' => $this->add_textarea( \footnotes\includes\Settings::C_STR_CUSTOM_CSS ), + 'label-css' => $this->add_label( \footnotes\includes\Settings::CUSTOM_CSS, __( 'Your existing Custom CSS code:', 'footnotes' ) ), + 'css' => $this->add_textarea( \footnotes\includes\Settings::CUSTOM_CSS ), 'description-css' => __( 'Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe, and the code remains valid while visible. Please copy-paste the content into the new text area under the new tab.', 'footnotes' ), // phpcs:disable Squiz.PHP.CommentedOutCode.Found @@ -1097,7 +1097,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1110,22 +1110,22 @@ class Settings extends Engine { public function custom_css_migration(): void { // Options for Yes/No select box. - $l_arr_enabled = array( + $enabled = array( 'yes' => __( 'Yes', 'footnotes' ), 'no' => __( 'No', 'footnotes' ), ); // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'customize-css-migration' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'customize-css-migration' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'label-css' => $this->add_label( \footnotes\includes\Settings::C_STR_CUSTOM_CSS, __( 'Your existing Custom CSS code:', 'footnotes' ) ), - 'css' => $this->add_textarea( \footnotes\includes\Settings::C_STR_CUSTOM_CSS ), + 'label-css' => $this->add_label( \footnotes\includes\Settings::CUSTOM_CSS, __( 'Your existing Custom CSS code:', 'footnotes' ) ), + 'css' => $this->add_textarea( \footnotes\includes\Settings::CUSTOM_CSS ), 'description-css' => __( 'Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe, and the code remains valid while visible. Please copy-paste the content into the new text area below. Set Show legacy to No. Save twice.', 'footnotes' ), - 'label-show-legacy' => $this->add_label( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_LEGACY_ENABLE, 'Show legacy Custom CSS settings containers:' ), - 'show-legacy' => $this->add_select_box( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_LEGACY_ENABLE, $l_arr_enabled ), + 'label-show-legacy' => $this->add_label( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE, 'Show legacy Custom CSS settings containers:' ), + 'show-legacy' => $this->add_select_box( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE, $enabled ), 'notice-show-legacy' => __( 'Please set to No when you are done migrating, for the legacy Custom CSS containers to disappear.', 'footnotes' ), // Translators: %s: Referres and tooltips. 'description-show-legacy' => sprintf( __( 'The legacy Custom CSS under the %s tab and its mirror here are emptied, and the select box saved as No, when the settings tab is saved while the settings container is not displayed.', 'footnotes' ), __( 'Referrers and tooltips', 'footnotes' ) ), @@ -1134,7 +1134,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1145,11 +1145,11 @@ class Settings extends Engine { */ public function custom_css_new(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'customize-css-new' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'customize-css-new' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( - 'css' => $this->add_textarea( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_NEW ), + 'css' => $this->add_textarea( \footnotes\includes\Settings::CUSTOM_CSS_NEW ), 'headline' => $this->add_text( __( 'Recommended CSS classes:', 'footnotes' ) ), @@ -1157,7 +1157,7 @@ class Settings extends Engine { ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1175,10 +1175,10 @@ class Settings extends Engine { */ public function lookup_hooks(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'expert-lookup' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'expert-lookup' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'description-1' => __( 'The priority level determines whether Footnotes is executed timely before other plugins, and how the reference container is positioned relative to other features.', 'footnotes' ), // Translators: 1: 99; 2: 1200. @@ -1192,35 +1192,35 @@ class Settings extends Engine { 'head-numbox' => __( 'Priority level', 'footnotes' ), 'head-url' => __( 'WordPress documentation', 'footnotes' ), - 'label-the-title' => $this->add_label( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_TITLE, 'the_title' ), - 'the-title' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_TITLE ), - 'priority-the-title' => $this->add_num_box( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL, -1, PHP_INT_MAX ), + 'label-the-title' => $this->add_label( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_TITLE, 'the_title' ), + 'the-title' => $this->add_checkbox( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_TITLE ), + 'priority-the-title' => $this->add_num_box( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL, -1, PHP_INT_MAX ), 'url-the-title' => 'https://developer.wordpress.org/reference/hooks/the_title/', - 'label-the-content' => $this->add_label( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_CONTENT, 'the_content' ), - 'the-content' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_CONTENT ), - 'priority-the-content' => $this->add_num_box( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), + 'label-the-content' => $this->add_label( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_CONTENT, 'the_content' ), + 'the-content' => $this->add_checkbox( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_CONTENT ), + 'priority-the-content' => $this->add_num_box( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), 'url-the-content' => 'https://developer.wordpress.org/reference/hooks/the_content/', - 'label-the-excerpt' => $this->add_label( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_EXCERPT, 'the_excerpt' ), - 'the-excerpt' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_EXCERPT ), - 'priority-the-excerpt' => $this->add_num_box( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), + 'label-the-excerpt' => $this->add_label( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_EXCERPT, 'the_excerpt' ), + 'the-excerpt' => $this->add_checkbox( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_EXCERPT ), + 'priority-the-excerpt' => $this->add_num_box( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), 'url-the-excerpt' => 'https://developer.wordpress.org/reference/functions/the_excerpt/', - 'label-widget-title' => $this->add_label( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TITLE, 'widget_title' ), - 'widget-title' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TITLE ), - 'priority-widget-title' => $this->add_num_box( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL, -1, PHP_INT_MAX ), + 'label-widget-title' => $this->add_label( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TITLE, 'widget_title' ), + 'widget-title' => $this->add_checkbox( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TITLE ), + 'priority-widget-title' => $this->add_num_box( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL, -1, PHP_INT_MAX ), 'url-widget-title' => 'https://codex.wordpress.org/Plugin_API/Filter_Reference/widget_title', - 'label-widget-text' => $this->add_label( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TEXT, 'widget_text' ), - 'widget-text' => $this->add_checkbox( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TEXT ), - 'priority-widget-text' => $this->add_num_box( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), + 'label-widget-text' => $this->add_label( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TEXT, 'widget_text' ), + 'widget-text' => $this->add_checkbox( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TEXT ), + 'priority-widget-text' => $this->add_num_box( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL, -1, PHP_INT_MAX ), 'url-widget-text' => 'https://codex.wordpress.org/Plugin_API/Filter_Reference/widget_text', ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1234,15 +1234,15 @@ class Settings extends Engine { $footnotes = new General\General( $this->plugin_name, 'foo' ); // Load footnotes starting and end tag. - $l_arr_footnote_starting_tag = $this->load_setting( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START ); - $l_arr_footnote_ending_tag = $this->load_setting( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END ); + $footnote_starting_tag = $this->load_setting( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START ); + $footnote_ending_tag = $this->load_setting( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END ); - if ( 'userdefined' === $l_arr_footnote_starting_tag['value'] || 'userdefined' === $l_arr_footnote_ending_tag['value'] ) { + if ( 'userdefined' === $footnote_starting_tag['value'] || 'userdefined' === $footnote_ending_tag['value'] ) { // Load user defined starting and end tag. - $l_arr_footnote_starting_tag = $this->load_setting( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED ); - $l_arr_footnote_ending_tag = $this->load_setting( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED ); + $footnote_starting_tag = $this->load_setting( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START_USER_DEFINED ); + $footnote_ending_tag = $this->load_setting( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END_USER_DEFINED ); } - $l_str_example = 'Hello' . $l_arr_footnote_starting_tag['value'] . + $example = 'Hello' . $footnote_starting_tag['value'] . 'Sed ut perspiciatis, unde omnis iste natus error ' . 'sit voluptatem accusantium doloremque laudantium, ' . 'totam rem aperiam eaque ipsa, quae ab illo ' . @@ -1255,20 +1255,20 @@ class Settings extends Engine { 'dolor sit amet, consectetur, adipisci velit, sed ' . 'quia non numquam eius modi tempora incidunt, ut ' . 'labore et dolore magnam aliquam quaerat voluptatem.' . - $l_arr_footnote_ending_tag['value'] . ' World!'; + $footnote_ending_tag['value'] . ' World!'; // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'how-to-help' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'how-to-help' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'label-start' => __( 'Start your footnote with the following short code:', 'footnotes' ), - 'start' => $l_arr_footnote_starting_tag['value'], + 'start' => $footnote_starting_tag['value'], 'label-end' => __( '…and end your footnote with this short code:', 'footnotes' ), - 'end' => $l_arr_footnote_ending_tag['value'], - 'example-code' => $l_str_example, + 'end' => $footnote_ending_tag['value'], + 'example-code' => $example, 'example-string' => '
                                                                                          ' . __( 'will be displayed as:', 'footnotes' ), - 'example' => $footnotes->a_obj_task->exec( $l_str_example, true ), + 'example' => $footnotes->task->exec( $example, true ), // Translators: %1$s, %2$s: anchor element with hyperlink to the Support Forum. 'information' => sprintf( __( 'For further information please check out our %1$sSupport Forum%2$s on WordPress.org.', 'footnotes' ), '', '' ), ) @@ -1282,11 +1282,11 @@ class Settings extends Engine { * the name of the filtered function. * When this callback function was renamed, this call went unnoticed. */ - $footnotes->a_obj_task->footnotes_output_head(); + $footnotes->task->footnotes_output_head(); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } @@ -1297,16 +1297,16 @@ class Settings extends Engine { */ public function donate(): void { // Load template file. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_DASHBOARD, 'how-to-donate' ); + $template = new Includes\Template( \footnotes\includes\Template::DASHBOARD, 'how-to-donate' ); // Replace all placeholders. - $l_obj_template->replace( + $template->replace( array( 'caption' => __( 'Donate now', 'footnotes' ), ) ); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $l_obj_template->get_content(); + echo $template->get_content(); // phpcs:enable } } diff --git a/src/includes/class-config.php b/src/includes/class-config.php index 8f93d29..5b1786f 100644 --- a/src/includes/class-config.php +++ b/src/includes/class-config.php @@ -55,7 +55,7 @@ class Config { * * @var string */ - const C_STR_PLUGIN_PUBLIC_NAME = ''; + const PLUGIN_PUBLIC_NAME = ''; /** * Public plugin name for use as a dashboard heading. @@ -72,7 +72,7 @@ class Config { * * @var string */ - const C_STR_PLUGIN_HEADING_NAME = 'footnotes'; + const PLUGIN_HEADING_NAME = 'footnotes'; /** * HTML element for the ‘love’ symbol. @@ -83,7 +83,7 @@ class Config { * * @var string */ - const C_STR_LOVE_SYMBOL = ''; + const LOVE_SYMBOL = ''; /** * HTML element for the ‘love’ symbol used in dashboard heading @@ -94,7 +94,7 @@ class Config { * * @var string */ - const C_STR_LOVE_SYMBOL_HEADING = ''; + const LOVE_SYMBOL_HEADING = ''; /** * Shortcode to NOT display the ‘LOVE ME’ slug on certain pages. @@ -105,5 +105,5 @@ class Config { * * @var string */ - const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]'; + const NO_LOVE_SLUG = '[[no footnotes: love]]'; } diff --git a/src/includes/class-convert.php b/src/includes/class-convert.php index 59b955c..73dc048 100644 --- a/src/includes/class-convert.php +++ b/src/includes/class-convert.php @@ -22,27 +22,27 @@ class Convert { /** * Converts an integer into the user-defined counter style for the footnotes. * - * @param int $p_int_index Index to be converted. - * @param string $p_str_convert_style Counter style to use. + * @param int $index Index to be converted. + * @param string $convert_style Counter style to use. * @return string The index converted to the defined counter style. * * @since 1.5.0 */ - public static function index( int $p_int_index, string $p_str_convert_style = 'arabic_plain' ): string { - switch ( $p_str_convert_style ) { + public static function index( int $index, string $convert_style = 'arabic_plain' ): string { + switch ( $convert_style ) { case 'roman': - return self::to_roman( $p_int_index, true ); + return self::to_roman( $index, true ); case 'roman_low': - return self::to_roman( $p_int_index, false ); + return self::to_roman( $index, false ); case 'latin_high': - return self::to_latin( $p_int_index, true ); + return self::to_latin( $index, true ); case 'latin_low': - return self::to_latin( $p_int_index, false ); + return self::to_latin( $index, false ); case 'arabic_leading': - return self::to_arabic_leading( $p_int_index ); + return self::to_arabic_leading( $index ); case 'arabic_plain': default: - return (string) $p_int_index; + return (string) $index; } } @@ -52,63 +52,63 @@ class Convert { * This function works from values A–ZZ (meaning there is a limit of 676 * gootnotes per Page). * - * @param int $p_int_value Value to be converted. - * @param bool $p_bool_upper_case Whether to convert the value to upper-case. + * @param int $value Value to be converted. + * @param bool $upper_case Whether to convert the value to upper-case. * * @since 1.0-gamma * @todo Replace with built-in char casting. */ - private static function to_latin( int $p_int_value, bool $p_bool_upper_case ): string { + private static function to_latin( int $value, bool $upper_case ): string { // Output string. - $l_str_return = ''; - $l_int_offset = 0; + $return = ''; + $offset = 0; // Check if the value is higher then 26 = Z. - while ( $p_int_value > 26 ) { + while ( $value > 26 ) { // Increase offset and reduce counter. - $l_int_offset++; - $p_int_value -= 26; + $offset++; + $value -= 26; } // If offset set (more then Z), then add a new letter in front. - if ( $l_int_offset > 0 ) { - $l_str_return = chr( $l_int_offset + 64 ); + if ( $offset > 0 ) { + $return = chr( $offset + 64 ); } // Add the origin letter. - $l_str_return .= chr( $p_int_value + 64 ); + $return .= chr( $value + 64 ); // Return the latin character representing the integer. - if ( $p_bool_upper_case ) { - return strtoupper( $l_str_return ); + if ( $upper_case ) { + return strtoupper( $return ); } - return strtolower( $l_str_return ); + return strtolower( $return ); } /** * Converts an integer to a leading-0 integer. * - * @param int $p_int_value Value to be converted. + * @param int $value Value to be converted. * @return string Value with a leading zero. * * @since 1.0-gamma * @todo Replace with built-in string formatting. */ - private static function to_arabic_leading( int $p_int_value ): string { + private static function to_arabic_leading( int $value ): string { // Add a leading 0 if number lower then 10. - if ( $p_int_value < 10 ) { - return '0' . $p_int_value; + if ( $value < 10 ) { + return '0' . $value; } - return $p_int_value; + return $value; } /** * Converts an integer to a Roman numeral. * - * @param int $p_int_value Value to be converted. - * @param bool $p_bool_upper_case Whether to convert the value to upper-case. + * @param int $value Value to be converted. + * @param bool $upper_case Whether to convert the value to upper-case. * * @since 1.0-gamma */ - private static function to_roman( int $p_int_value, bool $p_bool_upper_case ): string { + private static function to_roman( int $value, bool $upper_case ): string { // Table containing all necessary roman letters. - $l_arr_roman_numerals = array( + $roman_numerals = array( 'M' => 1000, 'CM' => 900, 'D' => 500, @@ -124,38 +124,38 @@ class Convert { 'I' => 1, ); // Return value. - $l_str_return = ''; + $return = ''; // Iterate through integer value until it is reduced to 0. - while ( $p_int_value > 0 ) { - foreach ( $l_arr_roman_numerals as $l_str_roman => $l_int_arabic ) { - if ( $p_int_value >= $l_int_arabic ) { - $p_int_value -= $l_int_arabic; - $l_str_return .= $l_str_roman; + while ( $value > 0 ) { + foreach ( $roman_numerals as $roman => $arabic ) { + if ( $value >= $arabic ) { + $value -= $arabic; + $return .= $roman; break; } } } // Return roman letters as string. - if ( $p_bool_upper_case ) { - return strtoupper( $l_str_return ); + if ( $upper_case ) { + return strtoupper( $return ); } - return strtolower( $l_str_return ); + return strtolower( $return ); } /** * Converts a string depending on its value to a boolean. * - * @param string $p_str_value String to be converted to boolean. + * @param string $value String to be converted to boolean. * @return bool Boolean value represented by the string. * * @since 1.0-beta * @todo Replace with built-in type casting. */ - public static function to_bool( string $p_str_value ): bool { + public static function to_bool( string $value ): bool { // Convert string to lower-case to make it easier. - $p_str_value = strtolower( $p_str_value ); + $value = strtolower( $value ); // Check if string seems to contain a "true" value. - switch ( $p_str_value ) { + switch ( $value ) { case 'checked': case 'yes': case 'true': @@ -170,29 +170,29 @@ class Convert { /** * Get an HTML array short code depending on Arrow-Array key index. * - * @param int $p_int_index Index representing the arrow. If empty, all arrows are specified. + * @param int $index Index representing the arrow. If empty, all arrows are specified. * @return string|string[] Array of all arrows if index is empty, otherwise HTML tag of a specific arrow. * * @since 1.3.2 * @todo Review. * @todo Single return type. */ - public static function get_arrow( int $p_int_index = -1 ): string|array { + public static function get_arrow( int $index = -1 ): string|array { // Define all possible arrows. - $l_arr_arrows = array( '↑', '↥', '↟', '↩', '↲', '↵', '⇑', '⇡', '⇧', '↑' ); + $arrows = array( '↑', '↥', '↟', '↩', '↲', '↵', '⇑', '⇡', '⇧', '↑' ); // Convert index to an integer. - if ( ! is_int( $p_int_index ) ) { - $p_int_index = (int) $p_int_index; + if ( ! is_int( $index ) ) { + $index = (int) $index; } // Return the whole arrow array. - if ( $p_int_index < 0 ) { - return $l_arr_arrows; + if ( $index < 0 ) { + return $arrows; } - if ( $p_int_index > count( $l_arr_arrows ) ) { - return $l_arr_arrows; + if ( $index > count( $arrows ) ) { + return $arrows; } // Return a single arrow. - return $l_arr_arrows[ $p_int_index ]; + return $arrows[ $index ]; } // phpcs:disable WordPress.PHP.DevelopmentFunctions.error_log_var_dump, WordPress.PHP.DevelopmentFunctions.error_log_print_r diff --git a/src/includes/class-i18n.php b/src/includes/class-i18n.php index c01d116..e63d8d5 100644 --- a/src/includes/class-i18n.php +++ b/src/includes/class-i18n.php @@ -32,7 +32,7 @@ class i18n { * Load the plugin text domain for translation. * * @since 1.5.1 - * @since 2.8.0 Rename from `load()` to `load_plugin_textdomain()`. Remove unused `$p_str_language_code` parameter. + * @since 2.8.0 Rename from `load()` to `load_plugin_textdomain()`. Remove unused `$language_code` parameter. * * @return void */ diff --git a/src/includes/class-settings.php b/src/includes/class-settings.php index 50591de..4f295f9 100644 --- a/src/includes/class-settings.php +++ b/src/includes/class-settings.php @@ -35,7 +35,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_REFERENCE_CONTAINER_NAME = 'footnote_inputfield_references_label'; + const REFERENCE_CONTAINER_NAME = 'footnote_inputfield_references_label'; /** * Settings container key to collapse the reference container by default. @@ -47,7 +47,7 @@ class Settings { * @since 1.5.0 * @todo Refactor to use sane typing. */ - const C_STR_REFERENCE_CONTAINER_COLLAPSE = 'footnote_inputfield_collapse_references'; + const REFERENCE_CONTAINER_COLLAPSE = 'footnote_inputfield_collapse_references'; /** * Settings container key for the position of the reference container. @@ -56,7 +56,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_REFERENCE_CONTAINER_POSITION = 'footnote_inputfield_reference_container_place'; + const REFERENCE_CONTAINER_POSITION = 'footnote_inputfield_reference_container_place'; /** * Settings container key for combining identical footnotes. @@ -65,7 +65,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_COMBINE_IDENTICAL_FOOTNOTES = 'footnote_inputfield_combine_identical'; + const COMBINE_IDENTICAL_FOOTNOTES = 'footnote_inputfield_combine_identical'; /** * Settings container key for the short code of the footnote's start. @@ -74,7 +74,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_SHORT_CODE_START = 'footnote_inputfield_placeholder_start'; + const FOOTNOTES_SHORT_CODE_START = 'footnote_inputfield_placeholder_start'; /** * Settings container key for the short code of the footnote's end. @@ -83,7 +83,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_SHORT_CODE_END = 'footnote_inputfield_placeholder_end'; + const FOOTNOTES_SHORT_CODE_END = 'footnote_inputfield_placeholder_end'; /** * Settings container key for the user-defined short code of the footnotes start. @@ -92,7 +92,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED = 'footnote_inputfield_placeholder_start_user_defined'; + const FOOTNOTES_SHORT_CODE_START_USER_DEFINED = 'footnote_inputfield_placeholder_start_user_defined'; /** * Settings container key for the user-defined short code of the footnotes end. @@ -101,7 +101,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED = 'footnote_inputfield_placeholder_end_user_defined'; + const FOOTNOTES_SHORT_CODE_END_USER_DEFINED = 'footnote_inputfield_placeholder_end_user_defined'; /** * Settings container key for the counter style of the footnotes. @@ -110,7 +110,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_COUNTER_STYLE = 'footnote_inputfield_counter_style'; + const FOOTNOTES_COUNTER_STYLE = 'footnote_inputfield_counter_style'; /** * Settings container key for the backlink symbol selection. @@ -119,7 +119,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol'; + const HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol'; /** * Settings container key for the user-defined backlink symbol. @@ -128,18 +128,18 @@ class Settings { * * @since 1.5.0 */ - const C_STR_HYPERLINK_ARROW_USER_DEFINED = 'footnote_inputfield_custom_hyperlink_symbol_user'; + const HYPERLINK_ARROW_USER_DEFINED = 'footnote_inputfield_custom_hyperlink_symbol_user'; /** * Settings container key to look for footnotes in post excerpts. * - * @see C_STR_EXPERT_LOOKUP_THE_EXCERPT + * @see EXPERT_LOOKUP_THE_EXCERPT * @var string * * @since 1.5.0 * @since 2.6.3 Enabled by default. */ - const C_STR_FOOTNOTES_IN_EXCERPT = 'footnote_inputfield_search_in_excerpt'; + const FOOTNOTES_IN_EXCERPT = 'footnote_inputfield_search_in_excerpt'; /** * Settings container key for the string before the footnote referrer. @@ -153,7 +153,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_STYLING_BEFORE = 'footnote_inputfield_custom_styling_before'; + const FOOTNOTES_STYLING_BEFORE = 'footnote_inputfield_custom_styling_before'; /** * Settings container key for the string after the footnote referrer. @@ -162,7 +162,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_STYLING_AFTER = 'footnote_inputfield_custom_styling_after'; + const FOOTNOTES_STYLING_AFTER = 'footnote_inputfield_custom_styling_after'; /** * Settings container key for the Custom CSS. @@ -171,7 +171,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_CUSTOM_CSS = 'footnote_inputfield_custom_css'; + const CUSTOM_CSS = 'footnote_inputfield_custom_css'; /** * Settings container key for the ‘I love footnotes’ text. @@ -180,7 +180,7 @@ class Settings { * * @since 1.5.0 */ - const C_STR_FOOTNOTES_LOVE = 'footnote_inputfield_love'; + const FOOTNOTES_LOVE = 'footnote_inputfield_love'; /** * Settings container key to enable the mouse-over box. @@ -189,7 +189,7 @@ class Settings { * * @since 1.5.2 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED = 'footnote_inputfield_custom_mouse_over_box_enabled'; + const FOOTNOTES_MOUSE_OVER_BOX_ENABLED = 'footnote_inputfield_custom_mouse_over_box_enabled'; /** * Settings container key to enable tooltip truncation. @@ -201,7 +201,7 @@ class Settings { * awareness of the functionality, prevent the screen from being filled on * mouse-over, and allow the use of ‘Continue Reading’ functionality. */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED = 'footnote_inputfield_custom_mouse_over_box_excerpt_enabled'; + const FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED = 'footnote_inputfield_custom_mouse_over_box_excerpt_enabled'; /** * Settings container key for the mouse-over box to define the max. length of @@ -213,7 +213,7 @@ class Settings { * * @since 1.5.4 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH = 'footnote_inputfield_custom_mouse_over_box_excerpt_length'; + const FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH = 'footnote_inputfield_custom_mouse_over_box_excerpt_length'; /** * Settings container key to enable the `the_title` hook. @@ -233,7 +233,7 @@ class Settings { * title string in menus and in the title element, but Footnotes doesn't * delete footnotes in them. */ - const C_STR_EXPERT_LOOKUP_THE_TITLE = 'footnote_inputfield_expert_lookup_the_title'; + const EXPERT_LOOKUP_THE_TITLE = 'footnote_inputfield_expert_lookup_the_title'; /** * Settings container key to enable the `the_content` hook. @@ -242,19 +242,19 @@ class Settings { * * @since 1.5.5 */ - const C_STR_EXPERT_LOOKUP_THE_CONTENT = 'footnote_inputfield_expert_lookup_the_content'; + const EXPERT_LOOKUP_THE_CONTENT = 'footnote_inputfield_expert_lookup_the_content'; /** * Settings container key to enable the `the_excerpt` hook. * * @var string * - * @see C_STR_FOOTNOTES_IN_EXCERPT + * @see FOOTNOTES_IN_EXCERPT * * @since 1.5.5 * @since 2.6.3 Enable by default. */ - const C_STR_EXPERT_LOOKUP_THE_EXCERPT = 'footnote_inputfield_expert_lookup_the_excerpt'; + const EXPERT_LOOKUP_THE_EXCERPT = 'footnote_inputfield_expert_lookup_the_excerpt'; /** * Settings container key to enable the `widget_title` hook. @@ -263,7 +263,7 @@ class Settings { * * @since 1.5.5 */ - const C_STR_EXPERT_LOOKUP_WIDGET_TITLE = 'footnote_inputfield_expert_lookup_widget_title'; + const EXPERT_LOOKUP_WIDGET_TITLE = 'footnote_inputfield_expert_lookup_widget_title'; /** * Settings container key to enable the `widget_text` hook. @@ -277,7 +277,7 @@ class Settings { * * @since 1.5.5 */ - const C_STR_EXPERT_LOOKUP_WIDGET_TEXT = 'footnote_inputfield_expert_lookup_widget_text'; + const EXPERT_LOOKUP_WIDGET_TEXT = 'footnote_inputfield_expert_lookup_widget_text'; /** * Settings container key for the Expert mode. @@ -292,18 +292,18 @@ class Settings { * @deprecated * @todo Un-deprecate. */ - const C_STR_FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode'; + const FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode'; /** * Settings container key for the mouse-over box to define the color. * * @var string * - * @see C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND + * @see FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND * * @since 1.5.6 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR = 'footnote_inputfield_custom_mouse_over_box_color'; + const FOOTNOTES_MOUSE_OVER_BOX_COLOR = 'footnote_inputfield_custom_mouse_over_box_color'; /** * Settings container key for the mouse-over box to define the background color. @@ -315,11 +315,11 @@ class Settings { * * @var string * - * @see C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR + * @see FOOTNOTES_MOUSE_OVER_BOX_COLOR * * @since 1.5.6 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND = 'footnote_inputfield_custom_mouse_over_box_background'; + const FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND = 'footnote_inputfield_custom_mouse_over_box_background'; /** * Settings container key for the mouse-over box to define the border width. @@ -328,7 +328,7 @@ class Settings { * * @since 1.5.6 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH = 'footnote_inputfield_custom_mouse_over_box_border_width'; + const FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH = 'footnote_inputfield_custom_mouse_over_box_border_width'; /** * Settings container key for the mouse-over box to define the border color. @@ -337,7 +337,7 @@ class Settings { * * @since 1.5.6 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR = 'footnote_inputfield_custom_mouse_over_box_border_color'; + const FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR = 'footnote_inputfield_custom_mouse_over_box_border_color'; /** * Settings container key for the mouse-over box to define the border radius. @@ -346,7 +346,7 @@ class Settings { * * @since 1.5.6 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS = 'footnote_inputfield_custom_mouse_over_box_border_radius'; + const FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS = 'footnote_inputfield_custom_mouse_over_box_border_radius'; /** * Settings container key for the mouse-over box to define the max. width. @@ -359,7 +359,7 @@ class Settings { * * @since 1.5.6 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH = 'footnote_inputfield_custom_mouse_over_box_max_width'; + const FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH = 'footnote_inputfield_custom_mouse_over_box_max_width'; /** * Settings container key for the mouse-over box to define the position. @@ -372,7 +372,7 @@ class Settings { * * @since 1.5.7 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION = 'footnote_inputfield_custom_mouse_over_box_position'; + const FOOTNOTES_MOUSE_OVER_BOX_POSITION = 'footnote_inputfield_custom_mouse_over_box_position'; /** * Settings container key for the mouse-over box to define the _x_-offset. @@ -381,7 +381,7 @@ class Settings { * * @since 1.5.7 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X = 'footnote_inputfield_custom_mouse_over_box_offset_x'; + const FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X = 'footnote_inputfield_custom_mouse_over_box_offset_x'; /** * Settings container key for the mouse-over box to define the _y_-offset. @@ -393,7 +393,7 @@ class Settings { * * @since 1.5.7 */ - const C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y = 'footnote_inputfield_custom_mouse_over_box_offset_y'; + const FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y = 'footnote_inputfield_custom_mouse_over_box_offset_y'; /** * Settings container key for the mouse-over box to define the box-shadow color. @@ -402,7 +402,7 @@ class Settings { * * @since 1.5.8 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR = 'footnote_inputfield_custom_mouse_over_box_shadow_color'; + const FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR = 'footnote_inputfield_custom_mouse_over_box_shadow_color'; /** * Settings container key for the label of the Read-on button in truncated tooltips. @@ -411,7 +411,7 @@ class Settings { * * @since 2.1.0 */ - const C_STR_FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label'; + const FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label'; /** * Settings container key to enable the alternative tooltips. @@ -425,7 +425,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE = 'footnote_inputfield_custom_mouse_over_box_alternative'; + const FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE = 'footnote_inputfield_custom_mouse_over_box_alternative'; /** * Settings container key for the referrer element. @@ -434,7 +434,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags'; + const FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags'; /** * Settings container key to enable the display of a backlink symbol. @@ -443,7 +443,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable'; + const REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable'; /** * Settings container key to not display the reference container on the homepage. @@ -452,7 +452,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE = 'footnotes_inputfield_reference_container_start_page_enable'; + const REFERENCE_CONTAINER_START_PAGE_ENABLE = 'footnotes_inputfield_reference_container_start_page_enable'; /** * Settings container key to enable the legacy layout of the reference container. @@ -461,7 +461,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE = 'footnotes_inputfield_reference_container_3column_layout_enable'; + const REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE = 'footnotes_inputfield_reference_container_3column_layout_enable'; /** * Settings container key to get the backlink symbol switch side. @@ -470,7 +470,7 @@ class Settings { * * @since 2.1.1 */ - const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch'; + const REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch'; /** * Settings container key for `the_content` hook priority level. @@ -495,7 +495,7 @@ class Settings { * * @since 2.0.5 */ - const C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_content_priority_level'; + const EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_content_priority_level'; /** * Settings container key for `the_title` hook priority level. @@ -504,7 +504,7 @@ class Settings { * * @since 2.1.2 */ - const C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_title_priority_level'; + const EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_title_priority_level'; /** * Settings container key for `widget_title` hook priority level. @@ -513,7 +513,7 @@ class Settings { * * @since 2.1.2 */ - const C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_title_priority_level'; + const EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_title_priority_level'; /** * Settings container key for `widget_text` hook priority level. @@ -522,7 +522,7 @@ class Settings { * * @since 2.1.2 */ - const C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_text_priority_level'; + const EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_text_priority_level'; /** * Settings container key for `the_excerpt` hook priority level. @@ -531,7 +531,7 @@ class Settings { * * @since 2.1.2 */ - const C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level'; + const EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level'; /** * Settings container key for the link element option. @@ -540,7 +540,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_LINK_ELEMENT_ENABLED = 'footnote_inputfield_link_element_enabled'; + const LINK_ELEMENT_ENABLED = 'footnote_inputfield_link_element_enabled'; /** * Settings container key to enable the presence of a backlink separator. @@ -552,7 +552,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_SEPARATOR_ENABLED = 'footnotes_inputfield_backlinks_separator_enabled'; + const BACKLINKS_SEPARATOR_ENABLED = 'footnotes_inputfield_backlinks_separator_enabled'; /** * Settings container key for the backlink separator options. @@ -561,7 +561,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_SEPARATOR_OPTION = 'footnotes_inputfield_backlinks_separator_option'; + const BACKLINKS_SEPARATOR_OPTION = 'footnotes_inputfield_backlinks_separator_option'; /** * Settings container key for a custom backlink separator. @@ -570,7 +570,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_SEPARATOR_CUSTOM = 'footnotes_inputfield_backlinks_separator_custom'; + const BACKLINKS_SEPARATOR_CUSTOM = 'footnotes_inputfield_backlinks_separator_custom'; /** * Settings container key to enable the presence of a backlink terminator. @@ -579,7 +579,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_TERMINATOR_ENABLED = 'footnotes_inputfield_backlinks_terminator_enabled'; + const BACKLINKS_TERMINATOR_ENABLED = 'footnotes_inputfield_backlinks_terminator_enabled'; /** * Settings container key for the backlink terminator options. @@ -588,7 +588,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_TERMINATOR_OPTION = 'footnotes_inputfield_backlinks_terminator_option'; + const BACKLINKS_TERMINATOR_OPTION = 'footnotes_inputfield_backlinks_terminator_option'; /** * Settings container key for a custom backlink terminator. @@ -597,7 +597,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_TERMINATOR_CUSTOM = 'footnotes_inputfield_backlinks_terminator_custom'; + const BACKLINKS_TERMINATOR_CUSTOM = 'footnotes_inputfield_backlinks_terminator_custom'; /** * Settings container key to enable the backlinks column width. @@ -606,7 +606,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_width_enabled'; + const BACKLINKS_COLUMN_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_width_enabled'; /** * Settings container key for the backlinks column width scalar. @@ -615,7 +615,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR = 'footnotes_inputfield_backlinks_column_width_scalar'; + const BACKLINKS_COLUMN_WIDTH_SCALAR = 'footnotes_inputfield_backlinks_column_width_scalar'; /** * Settings container key for the backlinks column width unit. @@ -624,7 +624,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_COLUMN_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_width_unit'; + const BACKLINKS_COLUMN_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_width_unit'; /** * Settings container key to enable a max width for the backlinks column. @@ -633,7 +633,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_max_width_enabled'; + const BACKLINKS_COLUMN_MAX_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_max_width_enabled'; /** * Settings container key for the backlinks column max width scalar. @@ -642,7 +642,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR = 'footnotes_inputfield_backlinks_column_max_width_scalar'; + const BACKLINKS_COLUMN_MAX_WIDTH_SCALAR = 'footnotes_inputfield_backlinks_column_max_width_scalar'; /** * Settings container key for the backlinks column max width unit. @@ -651,7 +651,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_max_width_unit'; + const BACKLINKS_COLUMN_MAX_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_max_width_unit'; /** * Settings container key to enable line breaks between backlinks. @@ -661,7 +661,7 @@ class Settings { * @since 2.1.4 * Whether a
                                                                                          tag is inserted. */ - const C_STR_BACKLINKS_LINE_BREAKS_ENABLED = 'footnotes_inputfield_backlinks_line_breaks_enabled'; + const BACKLINKS_LINE_BREAKS_ENABLED = 'footnotes_inputfield_backlinks_line_breaks_enabled'; /** * Settings container key to enable setting the tooltip font size. @@ -674,7 +674,7 @@ class Settings { * Was set to inherit since 2.1.1 as it overrode custom CSS, * Called mouse over box not tooltip for consistency. */ - const C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED = 'footnotes_inputfield_mouse_over_box_font_size_enabled'; + const MOUSE_OVER_BOX_FONT_SIZE_ENABLED = 'footnotes_inputfield_mouse_over_box_font_size_enabled'; /** * Settings container key for the scalar value of the tooltip font size. @@ -683,7 +683,7 @@ class Settings { * * @since 2.1.4 */ - const C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR = 'footnotes_inputfield_mouse_over_box_font_size_scalar'; + const MOUSE_OVER_BOX_FONT_SIZE_SCALAR = 'footnotes_inputfield_mouse_over_box_font_size_scalar'; /** * Settings container key for the unit of the tooltip font size. @@ -692,7 +692,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT = 'footnotes_inputfield_mouse_over_box_font_size_unit'; + const MOUSE_OVER_BOX_FONT_SIZE_UNIT = 'footnotes_inputfield_mouse_over_box_font_size_unit'; /** * Settings container key for basic responsive page layout support options. @@ -703,7 +703,7 @@ class Settings { * * @since 2.1.4 */ - const C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT = 'footnotes_inputfield_page_layout_support'; + const FOOTNOTES_PAGE_LAYOUT_SUPPORT = 'footnotes_inputfield_page_layout_support'; /** * Settings container key for scroll offset. @@ -712,7 +712,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_FOOTNOTES_SCROLL_OFFSET = 'footnotes_inputfield_scroll_offset'; + const FOOTNOTES_SCROLL_OFFSET = 'footnotes_inputfield_scroll_offset'; /** * Settings container key for scroll duration. @@ -721,7 +721,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_FOOTNOTES_SCROLL_DURATION = 'footnotes_inputfield_scroll_duration'; + const FOOTNOTES_SCROLL_DURATION = 'footnotes_inputfield_scroll_duration'; /** * Settings container key for tooltip display fade-in delay. @@ -730,7 +730,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY = 'footnotes_inputfield_mouse_over_box_fade_in_delay'; + const MOUSE_OVER_BOX_FADE_IN_DELAY = 'footnotes_inputfield_mouse_over_box_fade_in_delay'; /** * Settings container key for tooltip display fade-in duration. @@ -739,7 +739,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION = 'footnotes_inputfield_mouse_over_box_fade_in_duration'; + const MOUSE_OVER_BOX_FADE_IN_DURATION = 'footnotes_inputfield_mouse_over_box_fade_in_duration'; /** * Settings container key for tooltip display fade-out delay. @@ -748,7 +748,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY = 'footnotes_inputfield_mouse_over_box_fade_out_delay'; + const MOUSE_OVER_BOX_FADE_OUT_DELAY = 'footnotes_inputfield_mouse_over_box_fade_out_delay'; /** * Settings container key for tooltip display fade-out duration. @@ -757,7 +757,7 @@ class Settings { * * @since 2.1.4 */ - const C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION = 'footnotes_inputfield_mouse_over_box_fade_out_duration'; + const MOUSE_OVER_BOX_FADE_OUT_DURATION = 'footnotes_inputfield_mouse_over_box_fade_out_duration'; /** * Settings container key for URL wrap option. @@ -769,7 +769,7 @@ class Settings { * * @since 2.1.6 */ - const C_STR_FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled'; + const FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled'; /** * Settings container key for reference container position shortcode. @@ -778,7 +778,7 @@ class Settings { * * @since 2.2.0 */ - const C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode'; + const REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode'; /** * Settings container key for the Custom CSS migrated to a dedicated tab. @@ -787,7 +787,7 @@ class Settings { * * @since 2.2.2 */ - const C_STR_CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new'; + const CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new'; /** * Settings container key to enable display of legacy Custom CSS metaboxes. @@ -802,7 +802,7 @@ class Settings { * @since 2.3.0 Swap migration Boolean, meaning ‘show legacy’ instead of * ‘migration complete’, due to storage data structure constraints. */ - const C_STR_CUSTOM_CSS_LEGACY_ENABLE = 'footnote_inputfield_custom_css_legacy_enable'; + const CUSTOM_CSS_LEGACY_ENABLE = 'footnote_inputfield_custom_css_legacy_enable'; /** * Settings container key for alternative tooltip position. @@ -813,7 +813,7 @@ class Settings { * * @since 2.2.5 */ - const C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION = 'footnotes_inputfield_alternative_mouse_over_box_position'; + const FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION = 'footnotes_inputfield_alternative_mouse_over_box_position'; /** * Settings container key for alternative tooltip _x_-offset. @@ -822,7 +822,7 @@ class Settings { * * @since 2.2.5 */ - const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X = 'footnotes_inputfield_alternative_mouse_over_box_offset_x'; + const FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X = 'footnotes_inputfield_alternative_mouse_over_box_offset_x'; /** * Settings container key for alternative tooltip _y_-offset. @@ -831,7 +831,7 @@ class Settings { * * @since 2.2.5 */ - const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y = 'footnotes_inputfield_alternative_mouse_over_box_offset_y'; + const FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y = 'footnotes_inputfield_alternative_mouse_over_box_offset_y'; /** * Settings container key for alternative tooltip width. @@ -840,7 +840,7 @@ class Settings { * * @since 2.2.5 */ - const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH = 'footnotes_inputfield_alternative_mouse_over_box_width'; + const FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH = 'footnotes_inputfield_alternative_mouse_over_box_width'; /** @@ -850,7 +850,7 @@ class Settings { * * @since 2.2.5 */ - const C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element'; + const REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element'; /** * Settings container key to enable the reference container label bottom border. @@ -859,7 +859,7 @@ class Settings { * * @since 2.2.5 */ - const C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border'; + const REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border'; /** * Settings container key to enable reference container table row borders. @@ -868,7 +868,7 @@ class Settings { * * @since 2.2.10 */ - const C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable'; + const REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable'; /** * Settings container key for reference container top margin. @@ -877,7 +877,7 @@ class Settings { * * @since 2.3.0 */ - const C_INT_REFERENCE_CONTAINER_TOP_MARGIN = 'footnotes_inputfield_reference_container_top_margin'; + const REFERENCE_CONTAINER_TOP_MARGIN = 'footnotes_inputfield_reference_container_top_margin'; /** * Settings container key for reference container bottom margin. @@ -886,7 +886,7 @@ class Settings { * * @since 2.3.0 */ - const C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN = 'footnotes_inputfield_reference_container_bottom_margin'; + const REFERENCE_CONTAINER_BOTTOM_MARGIN = 'footnotes_inputfield_reference_container_bottom_margin'; /** * Settings container key to enable hard links. @@ -897,7 +897,7 @@ class Settings { * * @since 2.3.0 */ - const C_STR_FOOTNOTES_HARD_LINKS_ENABLE = 'footnotes_inputfield_hard_links_enable'; + const FOOTNOTES_HARD_LINKS_ENABLE = 'footnotes_inputfield_hard_links_enable'; /** * Settings container key for the fragment ID slug in referrers. @@ -906,7 +906,7 @@ class Settings { * * @since 2.3.0 */ - const C_STR_REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug'; + const REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug'; /** * Settings container key for the fragment ID slug in footnotes. @@ -915,7 +915,7 @@ class Settings { * * @since 2.3.0 */ - const C_STR_FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug'; + const FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug'; /** * Settings container key for the ID separator in fragment IDs. @@ -924,7 +924,7 @@ class Settings { * * @since 2.3.0 */ - const C_STR_HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator'; + const HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator'; /** * Settings container key to enable shortcode syntax validation. @@ -933,7 +933,7 @@ class Settings { * * @since 2.4.0 */ - const C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable'; + const FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable'; /** * Settings container key to enable backlink tooltips. @@ -949,7 +949,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE = 'footnotes_inputfield_backlink_tooltip_enable'; + const FOOTNOTES_BACKLINK_TOOLTIP_ENABLE = 'footnotes_inputfield_backlink_tooltip_enable'; /** * Settings container key to configure the backlink tooltip. @@ -958,7 +958,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT = 'footnotes_inputfield_backlink_tooltip_text'; + const FOOTNOTES_BACKLINK_TOOLTIP_TEXT = 'footnotes_inputfield_backlink_tooltip_text'; /** * Settings container key to configure the tooltip excerpt delimiter. @@ -975,7 +975,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER = 'footnotes_inputfield_tooltip_excerpt_delimiter'; + const FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER = 'footnotes_inputfield_tooltip_excerpt_delimiter'; /** * Settings container key to enable mirroring the tooltip excerpt in the @@ -991,7 +991,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE = 'footnotes_inputfield_tooltip_excerpt_mirror_enable'; + const FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE = 'footnotes_inputfield_tooltip_excerpt_mirror_enable'; /** * Settings container key to configure the tooltip excerpt separator in the @@ -1001,7 +1001,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR = 'footnotes_inputfield_tooltip_excerpt_mirror_separator'; + const FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR = 'footnotes_inputfield_tooltip_excerpt_mirror_separator'; /** * Settings container key to enable superscript style normalization. @@ -1010,7 +1010,7 @@ class Settings { * * @since 2.5.4 */ - const C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT = 'footnotes_inputfield_referrers_normal_superscript'; + const FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT = 'footnotes_inputfield_referrers_normal_superscript'; /** * Settings container key to select the script mode for the reference container. @@ -1019,7 +1019,7 @@ class Settings { * * @since 2.5.6 */ - const C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE = 'footnotes_inputfield_reference_container_script_mode'; + const FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE = 'footnotes_inputfield_reference_container_script_mode'; /** * Settings container key to enable AMP compatibility mode. @@ -1028,7 +1028,7 @@ class Settings { * * @since 2.6.0 */ - const C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE = 'footnotes_inputfield_amp_compatibility_enable'; + const FOOTNOTES_AMP_COMPATIBILITY_ENABLE = 'footnotes_inputfield_amp_compatibility_enable'; /** * Settings container key for scroll duration asymmetricity. @@ -1037,7 +1037,7 @@ class Settings { * * @since 2.5.11 */ - const C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY = 'footnotes_inputfield_scroll_duration_asymmetricity'; + const FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY = 'footnotes_inputfield_scroll_duration_asymmetricity'; /** * Settings container key for scroll-down duration. @@ -1046,7 +1046,7 @@ class Settings { * * @since 2.5.11 */ - const C_INT_FOOTNOTES_SCROLL_DOWN_DURATION = 'footnotes_inputfield_scroll_down_duration'; + const FOOTNOTES_SCROLL_DOWN_DURATION = 'footnotes_inputfield_scroll_down_duration'; /** * Settings container key for scroll-down delay. @@ -1055,7 +1055,7 @@ class Settings { * * @since 2.5.11 */ - const C_INT_FOOTNOTES_SCROLL_DOWN_DELAY = 'footnotes_inputfield_scroll_down_delay'; + const FOOTNOTES_SCROLL_DOWN_DELAY = 'footnotes_inputfield_scroll_down_delay'; /** * Settings container key for scroll-up delay. @@ -1064,7 +1064,7 @@ class Settings { * * @since 2.5.11 */ - const C_INT_FOOTNOTES_SCROLL_UP_DELAY = 'footnotes_inputfield_scroll_up_delay'; + const FOOTNOTES_SCROLL_UP_DELAY = 'footnotes_inputfield_scroll_up_delay'; /** * Settings container key to set the solution of the input element label issue. @@ -1081,7 +1081,7 @@ class Settings { * @since 2.5.12 * @todo Review, remove? */ - const C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION = 'footnotes_inputfield_label_issue_solution'; + const FOOTNOTES_LABEL_ISSUE_SOLUTION = 'footnotes_inputfield_label_issue_solution'; /** * Settings container key to enable CSS smooth scrolling. @@ -1092,7 +1092,7 @@ class Settings { * * @since 2.5.12 */ - const C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING = 'footnotes_inputfield_css_smooth_scrolling'; + const FOOTNOTES_CSS_SMOOTH_SCROLLING = 'footnotes_inputfield_css_smooth_scrolling'; /** * Settings container key for the footnote section shortcode. @@ -1101,7 +1101,7 @@ class Settings { * * @since 2.7.0 */ - const C_STR_FOOTNOTE_SECTION_SHORTCODE = 'footnotes_inputfield_section_shortcode'; + const FOOTNOTE_SECTION_SHORTCODE = 'footnotes_inputfield_section_shortcode'; /********************************************************************** * SETTINGS STORAGE. @@ -1111,7 +1111,7 @@ class Settings { * * @since 1.5.0 */ - private static ?\footnotes\includes\Settings $a_obj_instance = null; + private static ?\footnotes\includes\Settings $instance = null; /** * Contains all Settings Container names. @@ -1122,7 +1122,7 @@ class Settings { * * @since 1.5.0 */ - private array $a_arr_container = array( + private array $container = array( 'footnotes_storage', 'footnotes_storage_custom', 'footnotes_storage_expert', @@ -1139,86 +1139,86 @@ class Settings { * * @var (string|int)[] */ - private array $a_arr_default = array( + private array $default = array( // General settings. 'footnotes_storage' => array( // AMP compatibility. - self::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', + self::FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', // Footnote start and end short codes. - self::C_STR_FOOTNOTES_SHORT_CODE_START => '((', - self::C_STR_FOOTNOTES_SHORT_CODE_END => '))', - self::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '', - self::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', - self::C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE => 'yes', + self::FOOTNOTES_SHORT_CODE_START => '((', + self::FOOTNOTES_SHORT_CODE_END => '))', + self::FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '', + self::FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', + self::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE => 'yes', // Footnotes numbering. - self::C_STR_FOOTNOTES_COUNTER_STYLE => 'arabic_plain', - self::C_STR_COMBINE_IDENTICAL_FOOTNOTES => 'yes', + self::FOOTNOTES_COUNTER_STYLE => 'arabic_plain', + self::COMBINE_IDENTICAL_FOOTNOTES => 'yes', // Scrolling behavior. - self::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', - self::C_INT_FOOTNOTES_SCROLL_OFFSET => 20, - self::C_INT_FOOTNOTES_SCROLL_DURATION => 380, - self::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no', - self::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION => 150, - self::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY => 0, - self::C_INT_FOOTNOTES_SCROLL_UP_DELAY => 0, - self::C_STR_FOOTNOTES_HARD_LINKS_ENABLE => 'no', - self::C_STR_REFERRER_FRAGMENT_ID_SLUG => 'r', - self::C_STR_FOOTNOTE_FRAGMENT_ID_SLUG => 'f', - self::C_STR_HARD_LINK_IDS_SEPARATOR => '+', - self::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', - self::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', + self::FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', + self::FOOTNOTES_SCROLL_OFFSET => 20, + self::FOOTNOTES_SCROLL_DURATION => 380, + self::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no', + self::FOOTNOTES_SCROLL_DOWN_DURATION => 150, + self::FOOTNOTES_SCROLL_DOWN_DELAY => 0, + self::FOOTNOTES_SCROLL_UP_DELAY => 0, + self::FOOTNOTES_HARD_LINKS_ENABLE => 'no', + self::REFERRER_FRAGMENT_ID_SLUG => 'r', + self::FOOTNOTE_FRAGMENT_ID_SLUG => 'f', + self::HARD_LINK_IDS_SEPARATOR => '+', + self::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', + self::FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', // Reference container. - self::C_STR_REFERENCE_CONTAINER_NAME => 'References', - self::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', - self::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER => 'yes', - self::C_STR_REFERENCE_CONTAINER_COLLAPSE => 'no', - self::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE => 'jquery', - self::C_STR_REFERENCE_CONTAINER_POSITION => 'post_end', - self::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', - self::C_STR_FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', - self::C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', - self::C_INT_REFERENCE_CONTAINER_TOP_MARGIN => 24, - self::C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, - self::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', - self::C_STR_FOOTNOTE_URL_WRAP_ENABLED => 'yes', - self::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes', - self::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH => 'no', - self::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no', - self::C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', + self::REFERENCE_CONTAINER_NAME => 'References', + self::REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', + self::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER => 'yes', + self::REFERENCE_CONTAINER_COLLAPSE => 'no', + self::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE => 'jquery', + self::REFERENCE_CONTAINER_POSITION => 'post_end', + self::REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', + self::FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', + self::REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', + self::REFERENCE_CONTAINER_TOP_MARGIN => 24, + self::REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, + self::FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', + self::FOOTNOTE_URL_WRAP_ENABLED => 'yes', + self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes', + self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH => 'no', + self::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no', + self::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', - self::C_STR_BACKLINKS_SEPARATOR_ENABLED => 'yes', - self::C_STR_BACKLINKS_SEPARATOR_OPTION => 'comma', - self::C_STR_BACKLINKS_SEPARATOR_CUSTOM => '', + self::BACKLINKS_SEPARATOR_ENABLED => 'yes', + self::BACKLINKS_SEPARATOR_OPTION => 'comma', + self::BACKLINKS_SEPARATOR_CUSTOM => '', - self::C_STR_BACKLINKS_TERMINATOR_ENABLED => 'no', - self::C_STR_BACKLINKS_TERMINATOR_OPTION => 'full_stop', - self::C_STR_BACKLINKS_TERMINATOR_CUSTOM => '', + self::BACKLINKS_TERMINATOR_ENABLED => 'no', + self::BACKLINKS_TERMINATOR_OPTION => 'full_stop', + self::BACKLINKS_TERMINATOR_CUSTOM => '', - self::C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', - self::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR => '50', - self::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT => 'px', + self::BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_WIDTH_SCALAR => '50', + self::BACKLINKS_COLUMN_WIDTH_UNIT => 'px', - self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', - self::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', - self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', + self::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', + self::BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', - self::C_STR_BACKLINKS_LINE_BREAKS_ENABLED => 'no', - self::C_STR_LINK_ELEMENT_ENABLED => 'yes', + self::BACKLINKS_LINE_BREAKS_ENABLED => 'no', + self::LINK_ELEMENT_ENABLED => 'yes', // Footnotes in excerpts. - self::C_STR_FOOTNOTES_IN_EXCERPT => 'manual', + self::FOOTNOTES_IN_EXCERPT => 'manual', // Footnotes love. - self::C_STR_FOOTNOTES_LOVE => 'no', + self::FOOTNOTES_LOVE => 'no', // Deprecated. - self::C_STR_FOOTNOTES_EXPERT_MODE => 'yes', + self::FOOTNOTES_EXPERT_MODE => 'yes', ), @@ -1226,64 +1226,64 @@ class Settings { 'footnotes_storage_custom' => array( // Backlink symbol. - self::C_STR_HYPERLINK_ARROW => 0, - self::C_STR_HYPERLINK_ARROW_USER_DEFINED => '', + self::HYPERLINK_ARROW => 0, + self::HYPERLINK_ARROW_USER_DEFINED => '', // Referrers. - self::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', - self::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', - self::C_STR_FOOTNOTES_STYLING_BEFORE => '[', - self::C_STR_FOOTNOTES_STYLING_AFTER => ']', + self::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', + self::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', + self::FOOTNOTES_STYLING_BEFORE => '[', + self::FOOTNOTES_STYLING_AFTER => ']', // Referrers in labels. - self::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', + self::FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', // Tooltips. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', + self::FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', + self::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', // Tooltip position. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', - self::C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION => 'top right', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X => -50, - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y => 24, + self::FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION => 'top right', + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X => -50, + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y => 24, // Tooltip dimensions. - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH => 400, + self::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH => 400, // Tooltip timing. - self::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY => 0, - self::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION => 200, - self::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, - self::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_IN_DELAY => 0, + self::MOUSE_OVER_BOX_FADE_IN_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, + self::MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, // Tooltip truncation. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'yes', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, - self::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', + self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'yes', + self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, + self::FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', // Tooltip text. - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR => ' — ', + self::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', + self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', + self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR => ' — ', // Tooltip appearance. - self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', - self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, - self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', + self::MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', + self::MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, + self::MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', + self::FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', + self::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, + self::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', // Your existing Custom CSS code. - self::C_STR_CUSTOM_CSS => '', + self::CUSTOM_CSS => '', ), @@ -1291,20 +1291,20 @@ class Settings { 'footnotes_storage_expert' => array( // WordPress hooks with priority level. - self::C_STR_EXPERT_LOOKUP_THE_TITLE => '', - self::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_THE_TITLE => '', + self::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_THE_CONTENT => 'checked', - self::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98, + self::EXPERT_LOOKUP_THE_CONTENT => 'checked', + self::EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98, - self::C_STR_EXPERT_LOOKUP_THE_EXCERPT => '', - self::C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_THE_EXCERPT => '', + self::EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_WIDGET_TITLE => '', - self::C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_WIDGET_TITLE => '', + self::EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_WIDGET_TEXT => '', - self::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98, + self::EXPERT_LOOKUP_WIDGET_TEXT => '', + self::EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98, ), @@ -1312,10 +1312,10 @@ class Settings { 'footnotes_storage_custom_css' => array( // Your existing Custom CSS code. - self::C_STR_CUSTOM_CSS_LEGACY_ENABLE => 'yes', + self::CUSTOM_CSS_LEGACY_ENABLE => 'yes', // Custom CSS. - self::C_STR_CUSTOM_CSS_NEW => '', + self::CUSTOM_CSS_NEW => '', ), @@ -1329,7 +1329,7 @@ class Settings { * @since 1.5.0 * @todo Create `PreferencesSet` class. */ - private array $a_arr_settings = array(); + private array $settings = array(); /** * Loads all Settings from each WordPress Settings Container. @@ -1348,35 +1348,35 @@ class Settings { */ public static function instance(): self { // No instance defined yet, load it. - if ( ! self::$a_obj_instance ) { - self::$a_obj_instance = new self(); + if ( ! self::$instance ) { + self::$instance = new self(); } // Return a singleton of this class. - return self::$a_obj_instance; + return self::$instance; } /** * Returns the name of a specified Settings Container. * - * @param int $p_int_index Settings Container index. + * @param int $index Settings Container index. * @return string Settings Container name. * * @since 1.5.0 */ - public function get_container( int $p_int_index ): string { - return $this->a_arr_container[ $p_int_index ]; + public function get_container( int $index ): string { + return $this->container[ $index ]; } /** * Returns the default value(s) of a specific Settings Container. * - * @param int $p_int_index Settings Container index. + * @param int $index Settings Container index. * @return (string|int)[] Settings Container default value(s). * * @since 1.5.6 */ - public function get_defaults( int $p_int_index ): array { - return $this->a_arr_default[ $this->a_arr_container[ $p_int_index ] ]; + public function get_defaults( int $index ): array { + return $this->default[ $this->container[ $index ] ]; } /** @@ -1386,54 +1386,54 @@ class Settings { */ private function load_all(): void { // Clear current settings. - $this->a_arr_settings = array(); - $num_settings = count( $this->a_arr_container ); + $this->settings = array(); + $num_settings = count( $this->container ); for ( $i = 0; $i < $num_settings; $i++ ) { // Load settings. - $this->a_arr_settings = array_merge( $this->a_arr_settings, $this->load( $i ) ); + $this->settings = array_merge( $this->settings, $this->load( $i ) ); } } /** * Loads all settings from specified Settings Containers. * - * @param int $p_int_index Settings container index. + * @param int $index Settings container index. * @return (string|int)[] Loaded settings (or defaults if specified container is empty). * * @since 1.5.0 */ - private function load( int $p_int_index ): array { + private function load( int $index ): array { // Load all settings from container. - $l_arr_options = get_option( $this->get_container( $p_int_index ) ); + $options = get_option( $this->get_container( $index ) ); // Load all default settings. - $l_arr_default = $this->a_arr_default[ $this->get_container( $p_int_index ) ]; + $default = $this->default[ $this->get_container( $index ) ]; // No settings found, set them to their default value. - if ( empty( $l_arr_options ) ) { - return $l_arr_default; + if ( empty( $options ) ) { + return $default; } // Iterate through all available settings ( = default values). - foreach ( $l_arr_default as $l_str_key => $l_str_value ) { + foreach ( $default as $key => $value ) { // Available setting not found in the container. - if ( ! array_key_exists( $l_str_key, $l_arr_options ) ) { + if ( ! array_key_exists( $key, $options ) ) { // Define the setting with its default value. - $l_arr_options[ $l_str_key ] = $l_str_value; + $options[ $key ] = $value; } } // Return settings loaded from Container. - return $l_arr_options; + return $options; } /** * Updates a whole Setting Container on save. * - * @param int $p_int_index Index of the Setting Container. - * @param array $p_arr_new_values The new Settings value(s). + * @param int $index Index of the Setting Container. + * @param array $new_values The new Settings value(s). * * @since 1.5.0 */ - public function save_options( int $p_int_index, array $p_arr_new_values ): bool { - if ( update_option( $this->get_container( $p_int_index ), $p_arr_new_values ) ) { + public function save_options( int $index, array $new_values ): bool { + if ( update_option( $this->get_container( $index ), $new_values ) ) { $this->load_all(); return true; } @@ -1443,14 +1443,14 @@ class Settings { /** * Returns the value of specified Setting. * - * @param string $p_str_key Setting key. + * @param string $key Setting key. * @return string|int|null Setting value, or `null` if setting key is invalid. * * @since 1.5.0 * @todo Add return type. */ - public function get( string $p_str_key ) { - return $this->a_arr_settings[ $p_str_key ] ?? null; + public function get( string $key ) { + return $this->settings[ $key ] ?? null; } /** @@ -1462,7 +1462,7 @@ class Settings { */ public function register_settings(): void { // Register all settings. - $num_settings = count( $this->a_arr_container ); + $num_settings = count( $this->container ); for ( $i = 0; $i < $num_settings; $i++ ) { register_setting( $this->get_container( $i ), $this->get_container( $i ) ); } diff --git a/src/includes/class-template.php b/src/includes/class-template.php index 95b97a8..6865dda 100644 --- a/src/includes/class-template.php +++ b/src/includes/class-template.php @@ -36,7 +36,7 @@ class Template { * * @var string */ - const C_STR_DASHBOARD = 'admin/partials'; + const DASHBOARD = 'admin/partials'; /** * Directory name for public partials. @@ -45,21 +45,21 @@ class Template { * * @var string */ - const C_STR_PUBLIC = 'public/partials'; + const PUBLIC = 'public/partials'; /** * Contains the content of the template after initialize. * * @since 1.5.0 */ - private ?string $a_str_original_content = ''; + private ?string $original_content = ''; /** * Contains the content of the template after initialize with replaced place holders. * * @since 1.5.0 */ - private string $a_str_replaced_content = ''; + private string $replaced_content = ''; /** * Plugin Directory @@ -74,22 +74,22 @@ class Template { * @since 1.5.0 * @todo Refactor templating. * - * @param string $p_str_file_type Template file type. - * @param string $p_str_file_name Template file name inside the `partials/` directory, without the file extension. - * @param string $p_str_extension (optional) Template file extension (default: 'html'). + * @param string $file_type Template file type. + * @param string $file_name Template file name inside the `partials/` directory, without the file extension. + * @param string $extension (optional) Template file extension (default: 'html'). * @return void */ - public function __construct( string $p_str_file_type, string $p_str_file_name, string $p_str_extension = 'html' ) { + public function __construct( string $file_type, string $file_name, string $extension = 'html' ) { // No template file type and/or file name set. - if ( empty( $p_str_file_type ) ) { + if ( empty( $file_type ) ) { return; } - if ( empty( $p_str_file_name ) ) { + if ( empty( $file_name ) ) { return; } $this->plugin_directory = plugin_dir_path( __DIR__ ); - $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ); + $template = $this->get_template( $file_type, $file_name, $extension ); if ( $template ) { $this->process_template( $template ); } else { @@ -104,21 +104,21 @@ class Template { * @since 1.5.0 * @todo Refactor templating. * - * @param string[] $p_arr_placeholders Placeholders (key = placeholder, value = value). + * @param string[] $placeholders Placeholders (key = placeholder, value = value). * @return bool `true` on Success, `false` if placeholders invalid. */ - public function replace( array $p_arr_placeholders ): bool { + public function replace( array $placeholders ): bool { // No placeholders set. - if ( empty( $p_arr_placeholders ) ) { + if ( empty( $placeholders ) ) { return false; } // Template content is empty. - if ( empty( $this->a_str_replaced_content ) ) { + if ( empty( $this->replaced_content ) ) { return false; } // Iterate through each placeholder and replace it with its value. - foreach ( $p_arr_placeholders as $l_str_placeholder => $l_str_value ) { - $this->a_str_replaced_content = str_replace( '[[' . $l_str_placeholder . ']]', (string) $l_str_value, $this->a_str_replaced_content ); + foreach ( $placeholders as $placeholder => $value ) { + $this->replaced_content = str_replace( '[[' . $placeholder . ']]', (string) $value, $this->replaced_content ); } // Success. return true; @@ -133,7 +133,7 @@ class Template { * @return void */ public function reload() { - $this->a_str_replaced_content = $this->a_str_original_content; + $this->replaced_content = $this->original_content; } /** @@ -145,7 +145,7 @@ class Template { * @return string Template content with replaced placeholders. */ public function get_content(): string { - return $this->a_str_replaced_content; + return $this->replaced_content; } /** @@ -159,14 +159,14 @@ class Template { */ public function process_template( string $template ) { // phpcs:disable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents - $this->a_str_original_content = preg_replace( '##s', '', file_get_contents( $template ) ); + $this->original_content = preg_replace( '##s', '', file_get_contents( $template ) ); // phpcs:enable - $this->a_str_original_content = preg_replace( '#/\*\*.+?\*/#s', '', $this->a_str_original_content ); - $this->a_str_original_content = str_replace( "\n", '', $this->a_str_original_content ); - $this->a_str_original_content = str_replace( "\r", '', $this->a_str_original_content ); - $this->a_str_original_content = str_replace( "\t", ' ', $this->a_str_original_content ); - $this->a_str_original_content = preg_replace( '# +#', ' ', $this->a_str_original_content ); - $this->a_str_original_content = str_replace( ' >', '>', $this->a_str_original_content ); + $this->original_content = preg_replace( '#/\*\*.+?\*/#s', '', $this->original_content ); + $this->original_content = str_replace( "\n", '', $this->original_content ); + $this->original_content = str_replace( "\r", '', $this->original_content ); + $this->original_content = str_replace( "\t", ' ', $this->original_content ); + $this->original_content = preg_replace( '# +#', ' ', $this->original_content ); + $this->original_content = str_replace( ' >', '>', $this->original_content ); $this->reload(); } @@ -177,12 +177,12 @@ class Template { * @todo Refactor templating. * @todo Single return type. * - * @param string $p_str_file_type The file type of the template. - * @param string $p_str_file_name The file name of the template. - * @param string $p_str_extension The file extension of the template. + * @param string $file_type The file type of the template. + * @param string $file_name The file name of the template. + * @param string $extension The file extension of the template. * @return string|bool `false` or the template path */ - public function get_template( string $p_str_file_type, string $p_str_file_name, string $p_str_extension = 'html' ): string|bool { + public function get_template( string $file_type, string $file_name, string $extension = 'html' ): string|bool { $located = false; /* @@ -195,7 +195,7 @@ class Template { */ $template_directory = apply_filters( '', 'footnotes/' ); $custom_directory = apply_filters( 'custom_template_directory', 'footnotes-custom/' ); - $template_name = $p_str_file_type . '/' . $p_str_file_name . '.' . $p_str_extension; + $template_name = $file_type . '/' . $file_name . '.' . $extension; // Look in active theme. if ( file_exists( trailingslashit( get_stylesheet_directory() ) . $template_directory . $template_name ) ) { diff --git a/src/public/class-general.php b/src/public/class-general.php index fd1d8aa..3835ba0 100644 --- a/src/public/class-general.php +++ b/src/public/class-general.php @@ -61,7 +61,7 @@ class General { * * @var Parser $task The Plugin task. */ - public ?Parser $a_obj_task = null; + public ?Parser $task = null; /** * Flag for using tooltips. @@ -71,7 +71,7 @@ class General { * * @var bool $tooltips_enabled Whether tooltips are enabled or not. */ - public static $a_bool_tooltips_enabled = false; + public static $tooltips_enabled = false; /** * Allows to determine whether alternative tooltips are enabled. @@ -81,7 +81,7 @@ class General { * * @var bool */ - public static $a_bool_alternative_tooltips_enabled = false; + public static $alternative_tooltips_enabled = false; /** * Allows to determine whether AMP compatibility mode is enabled. @@ -91,7 +91,7 @@ class General { * * @var bool */ - public static $a_bool_amp_enabled = false; + public static $amp_enabled = false; /** * Allows to determine the script mode among jQuery or plain JS. @@ -101,7 +101,7 @@ class General { * * @var string ‘js’ to use plain JavaScript, ‘jquery’ to use jQuery. */ - public static $a_str_script_mode = 'js'; + public static $script_mode = 'js'; /** * Initialize the class and set its properties. @@ -118,10 +118,10 @@ class General { $this->load_dependencies(); // Set conditions re-used for stylesheet enqueuing and in class/task.php. - self::$a_bool_amp_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); - self::$a_bool_tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); - self::$a_bool_alternative_tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); - self::$a_str_script_mode = Includes\Settings::instance()->get( Includes\Settings::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); + self::$amp_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); + self::$tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); + self::$alternative_tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); + self::$script_mode = Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); } /** @@ -146,7 +146,7 @@ class General { $this->reference_container_widget = new Widget\Reference_Container( $this->plugin_name ); - $this->a_obj_task = new Parser(); + $this->task = new Parser(); } /** @@ -162,53 +162,53 @@ class General { public function enqueue_styles(): void { if ( PRODUCTION_ENV ) { // Set tooltip mode for use in stylesheet name. - if ( self::$a_bool_tooltips_enabled ) { + if ( self::$tooltips_enabled ) { - if ( self::$a_bool_amp_enabled ) { - $l_str_tooltip_mode_short = 'ampt'; - $l_str_tooltip_mode_long = 'amp-tooltips'; + if ( self::$amp_enabled ) { + $tooltip_mode_short = 'ampt'; + $tooltip_mode_long = 'amp-tooltips'; - } elseif ( self::$a_bool_alternative_tooltips_enabled ) { - $l_str_tooltip_mode_short = 'altt'; - $l_str_tooltip_mode_long = 'alternative-tooltips'; + } elseif ( self::$alternative_tooltips_enabled ) { + $tooltip_mode_short = 'altt'; + $tooltip_mode_long = 'alternative-tooltips'; } else { - $l_str_tooltip_mode_short = 'jqtt'; - $l_str_tooltip_mode_long = 'jquery-tooltips'; + $tooltip_mode_short = 'jqtt'; + $tooltip_mode_long = 'jquery-tooltips'; } } else { - $l_str_tooltip_mode_short = 'nott'; - $l_str_tooltip_mode_long = 'no-tooltips'; + $tooltip_mode_short = 'nott'; + $tooltip_mode_long = 'no-tooltips'; } // Set basic responsive page layout mode for use in stylesheet name. - $l_str_page_layout_option = Includes\Settings::instance()->get( Includes\Settings::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT ); - switch ( $l_str_page_layout_option ) { + $page_layout_option = Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_PAGE_LAYOUT_SUPPORT ); + switch ( $page_layout_option ) { case 'reference-container': - $l_str_layout_mode = '1'; + $layout_mode = '1'; break; case 'entry-content': - $l_str_layout_mode = '2'; + $layout_mode = '2'; break; case 'main-content': - $l_str_layout_mode = '3'; + $layout_mode = '3'; break; case 'none': default: - $l_str_layout_mode = '0'; + $layout_mode = '0'; break; } // Enqueue the tailored united minified stylesheet. wp_enqueue_style( - "footnotes-{$l_str_tooltip_mode_long}-pagelayout-{$l_str_page_layout_option}", - plugin_dir_url( __FILE__ ) . "css/footnotes-{$l_str_tooltip_mode_short}brpl{$l_str_layout_mode}.min.css", + "footnotes-{$tooltip_mode_long}-pagelayout-{$page_layout_option}", + plugin_dir_url( __FILE__ ) . "css/footnotes-{$tooltip_mode_short}brpl{$layout_mode}.min.css", array(), ( PRODUCTION_ENV ) ? $this->version : filemtime( plugin_dir_path( __FILE__ - ) . "css/footnotes-{$l_str_tooltip_mode_short}brpl{$l_str_layout_mode}.min.css" + ) . "css/footnotes-{$tooltip_mode_short}brpl{$layout_mode}.min.css" ), 'all' ); @@ -247,15 +247,15 @@ class General { * After adding the alternative reference container, jQuery has become optional, * but still enabled by default. */ - if ( ! self::$a_bool_amp_enabled ) { + if ( ! self::$amp_enabled ) { - if ( 'jquery' === self::$a_str_script_mode || ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) ) { + if ( 'jquery' === self::$script_mode || ( self::$tooltips_enabled && ! self::$alternative_tooltips_enabled ) ) { wp_enqueue_script( 'jquery' ); } - if ( self::$a_bool_tooltips_enabled && ! self::$a_bool_alternative_tooltips_enabled ) { + if ( self::$tooltips_enabled && ! self::$alternative_tooltips_enabled ) { /* * Enqueues the jQuery Tools library shipped with the plugin. * diff --git a/src/public/class-parser.php b/src/public/class-parser.php index b2ea843..902fda6 100644 --- a/src/public/class-parser.php +++ b/src/public/class-parser.php @@ -30,21 +30,21 @@ class Parser { * @since 1.5.0 * @var string[] */ - public static array $a_arr_footnotes = array(); + public static array $footnotes = array(); /** * Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page. * * @since 1.5.0 */ - public static bool $a_bool_allow_love_me = true; + public static bool $allow_love_me = true; /** * Prefix for the Footnote html element ID. * * @since 1.5.8 */ - public static string $a_str_prefix = ''; + public static string $prefix = ''; /** * Autoload a.k.a. infinite scroll, or archive view. @@ -54,7 +54,7 @@ class Parser { * * @since 2.0.6 */ - public static int $a_int_post_id = 0; + public static int $post_id = 0; /** * Multiple reference containers in content and widgets. @@ -66,7 +66,7 @@ class Parser { * @since 2.2.9 * @var int Incremented every time after a reference container is inserted. */ - public static int $a_int_reference_container_id = 1; + public static int $reference_container_id = 1; /** * Hard links for AMP compatibility. @@ -75,7 +75,7 @@ class Parser { * * @since 2.0.0 */ - public static bool $a_bool_hard_links_enabled = false; + public static bool $hard_links_enabled = false; /** * The referrer slug. @@ -83,7 +83,7 @@ class Parser { * @since 2.3.0 * @var string */ - public static $a_str_referrer_link_slug = 'r'; + public static $referrer_link_slug = 'r'; /** * The footnote slug. @@ -92,7 +92,7 @@ class Parser { * * @var string */ - public static $a_str_footnote_link_slug = 'f'; + public static $footnote_link_slug = 'f'; /** * The slug and identifier separator. @@ -101,7 +101,7 @@ class Parser { * * @var string */ - private static $a_str_link_ids_separator = '+'; + private static $link_ids_separator = '+'; /** * Contains the concatenated fragment ID base. @@ -110,7 +110,7 @@ class Parser { * * @var string */ - public static $a_str_post_container_id_compound = ''; + public static $post_container_id_compound = ''; /** * Scroll offset. @@ -121,7 +121,7 @@ class Parser { * * @since 2.1.4 */ - public static int $a_int_scroll_offset = 34; + public static int $scroll_offset = 34; /* * Optional link element for footnote referrers and backlinks @@ -147,7 +147,7 @@ class Parser { * @since 2.3.0 * @todo Remove. */ - public static string $a_str_link_span = 'span'; + public static string $link_span = 'span'; /** * The opening tag. @@ -155,7 +155,7 @@ class Parser { * @since 2.3.0 * @todo Remove. */ - public static string $a_str_link_open_tag = ''; + public static string $link_open_tag = ''; /** * The closing tag. @@ -163,7 +163,7 @@ class Parser { * @since 2.3.0 * @todo Remove. */ - public static string $a_str_link_close_tag = ''; + public static string $link_close_tag = ''; /* * Dedicated tooltip text. @@ -180,21 +180,21 @@ class Parser { * @since 2.5.2 * @var string */ - public static $a_str_tooltip_shortcode = '[[/tooltip]]'; + public static $tooltip_shortcode = '[[/tooltip]]'; /** * The tooltip delimiter shortcode length. * * @since 2.5.2 */ - public static int $a_int_tooltip_shortcode_length = 12; + public static int $tooltip_shortcode_length = 12; /** * Whether to mirror the tooltip text in the reference container. * * @since 2.5.2 */ - public static bool $a_bool_mirror_tooltip_text = false; + public static bool $mirror_tooltip_text = false; /** * Footnote delimiter start short code. @@ -202,7 +202,7 @@ class Parser { * @since 1.5.0 * @since 2.6.2 Move from constant to class property. */ - public static string|int $a_str_start_tag = ''; + public static string|int $start_tag = ''; /** * Footnote delimiter end short code. @@ -210,7 +210,7 @@ class Parser { * @since 1.5.0 * @since 2.6.2 Move from constant to class property. */ - public static string|int $a_str_end_tag = ''; + public static string|int $end_tag = ''; /** * Footnote delimiter start short code in RegEx format. @@ -218,7 +218,7 @@ class Parser { * @since 2.4.0 * @since 2.6.2 Move from global constant to class property. */ - public static ?string $a_str_start_tag_regex = ''; + public static ?string $start_tag_regex = ''; /** * Footnote delimiter end short code in RegEx format. @@ -226,7 +226,7 @@ class Parser { * @since 2.4.0 * @since 2.6.2 Move from global constant to class property. */ - public static ?string $a_str_end_tag_regex = ''; + public static ?string $end_tag_regex = ''; /** * Footnote delimiter syntax validation enabled. @@ -241,7 +241,7 @@ class Parser { * * @since 2.4.0 */ - public static bool $a_bool_syntax_error_flag = true; + public static bool $syntax_error_flag = true; /** * Initialize the class and set its properties. @@ -272,18 +272,18 @@ class Parser { */ public function register_hooks(): void { // Get values from settings. - $l_int_the_title_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL ); - $l_int_the_content_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL ); - $l_int_the_excerpt_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL ); - $l_int_widget_title_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL ); - $l_int_widget_text_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL ); + $the_title_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL ); + $the_content_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL ); + $the_excerpt_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL ); + $widget_title_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL ); + $widget_text_priority = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL ); // PHP_INT_MAX can be set by -1. - $l_int_the_title_priority = ( -1 === $l_int_the_title_priority ) ? PHP_INT_MAX : $l_int_the_title_priority; - $l_int_the_content_priority = ( -1 === $l_int_the_content_priority ) ? PHP_INT_MAX : $l_int_the_content_priority; - $l_int_the_excerpt_priority = ( -1 === $l_int_the_excerpt_priority ) ? PHP_INT_MAX : $l_int_the_excerpt_priority; - $l_int_widget_title_priority = ( -1 === $l_int_widget_title_priority ) ? PHP_INT_MAX : $l_int_widget_title_priority; - $l_int_widget_text_priority = ( -1 === $l_int_widget_text_priority ) ? PHP_INT_MAX : $l_int_widget_text_priority; + $the_title_priority = ( -1 === $the_title_priority ) ? PHP_INT_MAX : $the_title_priority; + $the_content_priority = ( -1 === $the_content_priority ) ? PHP_INT_MAX : $the_content_priority; + $the_excerpt_priority = ( -1 === $the_excerpt_priority ) ? PHP_INT_MAX : $the_excerpt_priority; + $widget_title_priority = ( -1 === $widget_title_priority ) ? PHP_INT_MAX : $widget_title_priority; + $widget_text_priority = ( -1 === $widget_text_priority ) ? PHP_INT_MAX : $widget_text_priority; // Append custom css to the header. add_filter( @@ -299,20 +299,20 @@ class Parser { PHP_INT_MAX ); - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_TITLE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_TITLE ) ) ) { add_filter( 'the_title', - fn( string $p_str_content): string => $this->footnotes_in_title( $p_str_content ), - $l_int_the_title_priority + fn( string $content): string => $this->footnotes_in_title( $content ), + $the_title_priority ); } // Configurable priority level for reference container relative positioning; default 98. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_CONTENT ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_CONTENT ) ) ) { add_filter( 'the_content', - fn( string $p_str_content): string => $this->footnotes_in_content( $p_str_content ), - $l_int_the_content_priority + fn( string $content): string => $this->footnotes_in_content( $content ), + $the_content_priority ); /** @@ -329,8 +329,8 @@ class Parser { */ add_filter( 'term_description', - fn( string $p_str_content): string => $this->footnotes_in_content( $p_str_content ), - $l_int_the_content_priority + fn( string $content): string => $this->footnotes_in_content( $content ), + $the_content_priority ); /** @@ -345,12 +345,12 @@ class Parser { */ add_filter( 'pum_popup_content', - fn( string $p_str_content): string => $this->footnotes_in_content( $p_str_content ), - $l_int_the_content_priority + fn( string $content): string => $this->footnotes_in_content( $content ), + $the_content_priority ); } - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_THE_EXCERPT ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_THE_EXCERPT ) ) ) { /** * Adds a filter to the excerpt hook. * @@ -361,36 +361,36 @@ class Parser { */ add_filter( 'the_excerpt', - fn( string $p_str_excerpt): string => $this->footnotes_in_excerpt( $p_str_excerpt ), - $l_int_the_excerpt_priority + fn( string $excerpt): string => $this->footnotes_in_excerpt( $excerpt ), + $the_excerpt_priority ); } - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TITLE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TITLE ) ) ) { /** * TODO */ add_filter( 'widget_title', - fn( string $p_str_content): string => $this->footnotes_in_widget_title( $p_str_content ), - $l_int_widget_title_priority + fn( string $content): string => $this->footnotes_in_widget_title( $content ), + $widget_title_priority ); } - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_EXPERT_LOOKUP_WIDGET_TEXT ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::EXPERT_LOOKUP_WIDGET_TEXT ) ) ) { /** * TODO */ add_filter( 'widget_text', - fn( string $p_str_content): string => $this->footnotes_in_widget_text( $p_str_content ), - $l_int_widget_text_priority + fn( string $content): string => $this->footnotes_in_widget_text( $content ), + $widget_text_priority ); } // Reset stored footnotes when displaying the header. - self::$a_arr_footnotes = array(); - self::$a_bool_allow_love_me = true; + self::$footnotes = array(); + self::$allow_love_me = true; } /** @@ -409,7 +409,7 @@ class Parser { * * Native smooth scrolling only works in recent browsers. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_CSS_SMOOTH_SCROLLING ) ) ) { echo "html {scroll-behavior: smooth;}\r\n"; } @@ -419,9 +419,9 @@ class Parser { * Cannot be included in external stylesheet, as it is only optional. * The scope is variable too: referrers only, or all superscript elements. */ - $l_str_normalize_superscript = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT ); - if ( 'no' !== $l_str_normalize_superscript ) { - if ( 'all' === $l_str_normalize_superscript ) { + $normalize_superscript = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT ); + if ( 'no' !== $normalize_superscript ) { + if ( 'all' === $normalize_superscript ) { echo 'sup {'; } else { echo '.footnote_plugin_tooltip_text {'; @@ -430,24 +430,24 @@ class Parser { } // Reference container display on home page. - if ( ! Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE ) ) ) { + if ( ! Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_START_PAGE_ENABLE ) ) ) { echo ".home .footnotes_reference_container { display: none; }\r\n"; } // Reference container top and bottom margins. - $l_int_reference_container_top_margin = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_TOP_MARGIN ); - $l_int_reference_container_bottom_margin = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN ); + $reference_container_top_margin = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_TOP_MARGIN ); + $reference_container_bottom_margin = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_BOTTOM_MARGIN ); echo '.footnotes_reference_container {margin-top: '; - echo empty( $l_int_reference_container_top_margin ) ? '0' : $l_int_reference_container_top_margin; + echo empty( $reference_container_top_margin ) ? '0' : $reference_container_top_margin; echo 'px !important; margin-bottom: '; - echo empty( $l_int_reference_container_bottom_margin ) ? '0' : $l_int_reference_container_bottom_margin; + echo empty( $reference_container_bottom_margin ) ? '0' : $reference_container_bottom_margin; echo "px !important;}\r\n"; // Reference container label bottom border. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER ) ) ) { echo '.footnote_container_prepare > '; - echo Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT ); + echo Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_ELEMENT ); echo " {border-bottom: 1px solid #aaaaaa !important;}\r\n"; } @@ -460,7 +460,7 @@ class Parser { * issues as browsers won’t reload these style sheets after settings are * changed while the version string is not. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE ) ) ) { echo '.footnotes_table, .footnotes_plugin_reference_row {'; echo 'border: 1px solid #060606;'; echo " !important;}\r\n"; @@ -470,123 +470,123 @@ class Parser { } // Ref container first column width and max-width. - $l_bool_column_width_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED ) ); - $l_bool_column_max_width_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED ) ); + $column_width_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_ENABLED ) ); + $column_max_width_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED ) ); - if ( $l_bool_column_width_enabled || $l_bool_column_max_width_enabled ) { + if ( $column_width_enabled || $column_max_width_enabled ) { echo '.footnote-reference-container { table-layout: fixed; }'; echo '.footnote_plugin_index, .footnote_plugin_index_combi {'; - if ( $l_bool_column_width_enabled ) { - $l_int_column_width_scalar = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR ); - $l_str_column_width_unit = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT ); + if ( $column_width_enabled ) { + $column_width_scalar = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_SCALAR ); + $column_width_unit = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_WIDTH_UNIT ); - if ( ! empty( $l_int_column_width_scalar ) ) { - if ( '%' === $l_str_column_width_unit && $l_int_column_width_scalar > 100 ) { - $l_int_column_width_scalar = 100; + if ( ! empty( $column_width_scalar ) ) { + if ( '%' === $column_width_unit && $column_width_scalar > 100 ) { + $column_width_scalar = 100; } } else { - $l_int_column_width_scalar = 0; + $column_width_scalar = 0; } - echo ' width: ' . $l_int_column_width_scalar . $l_str_column_width_unit . ' !important;'; + echo ' width: ' . $column_width_scalar . $column_width_unit . ' !important;'; } - if ( $l_bool_column_max_width_enabled ) { - $l_int_column_max_width_scalar = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR ); - $l_str_column_max_width_unit = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT ); + if ( $column_max_width_enabled ) { + $column_max_width_scalar = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR ); + $column_max_width_unit = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_COLUMN_MAX_WIDTH_UNIT ); - if ( ! empty( $l_int_column_max_width_scalar ) ) { - if ( '%' === $l_str_column_max_width_unit && $l_int_column_max_width_scalar > 100 ) { - $l_int_column_max_width_scalar = 100; + if ( ! empty( $column_max_width_scalar ) ) { + if ( '%' === $column_max_width_unit && $column_max_width_scalar > 100 ) { + $column_max_width_scalar = 100; } } else { - $l_int_column_max_width_scalar = 0; + $column_max_width_scalar = 0; } - echo ' max-width: ' . $l_int_column_max_width_scalar . $l_str_column_max_width_unit . ' !important;'; + echo ' max-width: ' . $column_max_width_scalar . $column_max_width_unit . ' !important;'; } echo "}\r\n"; } // Hard links scroll offset. - self::$a_bool_hard_links_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_HARD_LINKS_ENABLE ) ); + self::$hard_links_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_HARD_LINKS_ENABLE ) ); // Correct hard links enabled status depending on AMP-compatible or alternative reference container enabled status. - if ( General::$a_bool_amp_enabled || 'jquery' !== General::$a_str_script_mode ) { - self::$a_bool_hard_links_enabled = true; + if ( General::$amp_enabled || 'jquery' !== General::$script_mode ) { + self::$hard_links_enabled = true; } - self::$a_int_scroll_offset = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_OFFSET ); - if ( self::$a_bool_hard_links_enabled ) { + self::$scroll_offset = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_OFFSET ); + if ( self::$hard_links_enabled ) { echo '.footnote_referrer_anchor, .footnote_item_anchor {bottom: '; - echo self::$a_int_scroll_offset; + echo self::$scroll_offset; echo "vh;}\r\n"; } // Tooltips. - if ( General::$a_bool_tooltips_enabled ) { + if ( General::$tooltips_enabled ) { echo '.footnote_tooltip {'; // Tooltip appearance: Tooltip font size. echo ' font-size: '; - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED ) ) ) { - echo Includes\Settings::instance()->get( \footnotes\includes\Settings::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR ); - echo Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT ); + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_ENABLED ) ) ) { + echo Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_SCALAR ); + echo Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FONT_SIZE_UNIT ); } else { echo 'inherit'; } echo ' !important;'; // Tooltip Text color. - $l_str_color = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR ); - if ( ! empty( $l_str_color ) ) { - printf( ' color: %s !important;', $l_str_color ); + $color = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_COLOR ); + if ( ! empty( $color ) ) { + printf( ' color: %s !important;', $color ); } // Tooltip Background color. - $l_str_background = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND ); - if ( ! empty( $l_str_background ) ) { - printf( ' background-color: %s !important;', $l_str_background ); + $background = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND ); + if ( ! empty( $background ) ) { + printf( ' background-color: %s !important;', $background ); } // Tooltip Border width. - $l_int_border_width = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH ); - if ( ! empty( $l_int_border_width ) && (int) $l_int_border_width > 0 ) { - printf( ' border-width: %dpx !important; border-style: solid !important;', $l_int_border_width ); + $border_width = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH ); + if ( ! empty( $border_width ) && (int) $border_width > 0 ) { + printf( ' border-width: %dpx !important; border-style: solid !important;', $border_width ); } // Tooltip Border color. - $l_str_border_color = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR ); - if ( ! empty( $l_str_border_color ) ) { - printf( ' border-color: %s !important;', $l_str_border_color ); + $border_color = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR ); + if ( ! empty( $border_color ) ) { + printf( ' border-color: %s !important;', $border_color ); } // Tooltip Corner radius. - $l_int_border_radius = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS ); - if ( ! empty( $l_int_border_radius ) && (int) $l_int_border_radius > 0 ) { - printf( ' border-radius: %dpx !important;', $l_int_border_radius ); + $border_radius = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS ); + if ( ! empty( $border_radius ) && (int) $border_radius > 0 ) { + printf( ' border-radius: %dpx !important;', $border_radius ); } // Tooltip Shadow color. - $l_str_box_shadow_color = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR ); - if ( ! empty( $l_str_box_shadow_color ) ) { - printf( ' -webkit-box-shadow: 2px 2px 11px %s;', $l_str_box_shadow_color ); - printf( ' -moz-box-shadow: 2px 2px 11px %s;', $l_str_box_shadow_color ); - printf( ' box-shadow: 2px 2px 11px %s;', $l_str_box_shadow_color ); + $box_shadow_color = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR ); + if ( ! empty( $box_shadow_color ) ) { + printf( ' -webkit-box-shadow: 2px 2px 11px %s;', $box_shadow_color ); + printf( ' -moz-box-shadow: 2px 2px 11px %s;', $box_shadow_color ); + printf( ' box-shadow: 2px 2px 11px %s;', $box_shadow_color ); } // Tooltip position, dimensions and timing. - if ( ! General::$a_bool_alternative_tooltips_enabled && ! General::$a_bool_amp_enabled ) { + if ( ! General::$alternative_tooltips_enabled && ! General::$amp_enabled ) { /* * Dimensions of jQuery tooltips. * * Position and timing of jQuery tooltips are script-defined. */ - $l_int_max_width = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH ); - if ( ! empty( $l_int_max_width ) && (int) $l_int_max_width > 0 ) { - printf( ' max-width: %dpx !important;', $l_int_max_width ); + $max_width = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH ); + if ( ! empty( $max_width ) && (int) $max_width > 0 ) { + printf( ' max-width: %dpx !important;', $max_width ); } echo "}\r\n"; @@ -595,57 +595,57 @@ class Parser { echo "}\r\n"; // Dimensions. - $l_int_alternative_tooltip_width = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH ); + $alternative_tooltip_width = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH ); echo '.footnote_tooltip.position {'; echo ' width: max-content; '; // Set also as max-width wrt short tooltip shrinking. - echo ' max-width: ' . $l_int_alternative_tooltip_width . 'px;'; + echo ' max-width: ' . $alternative_tooltip_width . 'px;'; // Position. - $l_str_alternative_position = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION ); - $l_int_offset_x = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X ); + $alternative_position = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION ); + $offset_x = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X ); - if ( 'top left' === $l_str_alternative_position || 'bottom left' === $l_str_alternative_position ) { - echo ' right: ' . ( empty( $l_int_offset_x ) ? 0 : $l_int_offset_x ) . 'px;'; + if ( 'top left' === $alternative_position || 'bottom left' === $alternative_position ) { + echo ' right: ' . ( empty( $offset_x ) ? 0 : $offset_x ) . 'px;'; } else { - echo ' left: ' . ( empty( $l_int_offset_x ) ? 0 : $l_int_offset_x ) . 'px;'; + echo ' left: ' . ( empty( $offset_x ) ? 0 : $offset_x ) . 'px;'; } - $l_int_offset_y = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y ); + $offset_y = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y ); - if ( 'top left' === $l_str_alternative_position || 'top right' === $l_str_alternative_position ) { - echo ' bottom: ' . ( empty( $l_int_offset_y ) ? 0 : $l_int_offset_y ) . 'px;'; + if ( 'top left' === $alternative_position || 'top right' === $alternative_position ) { + echo ' bottom: ' . ( empty( $offset_y ) ? 0 : $offset_y ) . 'px;'; } else { - echo ' top: ' . ( empty( $l_int_offset_y ) ? 0 : $l_int_offset_y ) . 'px;'; + echo ' top: ' . ( empty( $offset_y ) ? 0 : $offset_y ) . 'px;'; } echo "}\r\n"; // Timing. - $l_int_fade_in_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY ); - $l_int_fade_in_delay = empty( $l_int_fade_in_delay ) ? '0' : $l_int_fade_in_delay; - $l_int_fade_in_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION ); - $l_int_fade_in_duration = empty( $l_int_fade_in_duration ) ? '0' : $l_int_fade_in_duration; - $l_int_fade_out_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY ); - $l_int_fade_out_delay = empty( $l_int_fade_out_delay ) ? '0' : $l_int_fade_out_delay; - $l_int_fade_out_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION ); - $l_int_fade_out_duration = empty( $l_int_fade_out_duration ) ? '0' : $l_int_fade_out_duration; + $fade_in_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DELAY ); + $fade_in_delay = empty( $fade_in_delay ) ? '0' : $fade_in_delay; + $fade_in_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DURATION ); + $fade_in_duration = empty( $fade_in_duration ) ? '0' : $fade_in_duration; + $fade_out_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DELAY ); + $fade_out_delay = empty( $fade_out_delay ) ? '0' : $fade_out_delay; + $fade_out_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DURATION ); + $fade_out_duration = empty( $fade_out_duration ) ? '0' : $fade_out_duration; /* * AMP-compatible tooltips. * * To streamline internal CSS, immutable rules are in external stylesheet. */ - if ( General::$a_bool_amp_enabled ) { + if ( General::$amp_enabled ) { echo 'span.footnote_referrer > span.footnote_tooltip {'; - echo 'transition-delay: ' . $l_int_fade_out_delay . 'ms;'; - echo 'transition-duration: ' . $l_int_fade_out_duration . 'ms;'; + echo 'transition-delay: ' . $fade_out_delay . 'ms;'; + echo 'transition-duration: ' . $fade_out_duration . 'ms;'; echo "}\r\n"; echo 'span.footnote_referrer:focus-within > span.footnote_tooltip, span.footnote_referrer:hover > span.footnote_tooltip {'; - echo 'transition-delay: ' . $l_int_fade_in_delay . 'ms;'; - echo 'transition-duration: ' . $l_int_fade_in_duration . 'ms;'; + echo 'transition-delay: ' . $fade_in_delay . 'ms;'; + echo 'transition-duration: ' . $fade_in_duration . 'ms;'; echo "}\r\n"; /* @@ -656,13 +656,13 @@ class Parser { } else { echo '.footnote_tooltip.hidden {'; - echo 'transition-delay: ' . $l_int_fade_out_delay . 'ms;'; - echo 'transition-duration: ' . $l_int_fade_out_duration . 'ms;'; + echo 'transition-delay: ' . $fade_out_delay . 'ms;'; + echo 'transition-duration: ' . $fade_out_duration . 'ms;'; echo "}\r\n"; echo '.footnote_tooltip.shown {'; - echo 'transition-delay: ' . $l_int_fade_in_delay . 'ms;'; - echo 'transition-duration: ' . $l_int_fade_in_duration . 'ms;'; + echo 'transition-delay: ' . $fade_in_delay . 'ms;'; + echo 'transition-duration: ' . $fade_in_duration . 'ms;'; echo "}\r\n"; } } @@ -674,11 +674,11 @@ class Parser { * Set custom CSS to override settings, not conversely. * Legacy Custom CSS is used until it’s set to disappear after dashboard tab migration. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_LEGACY_ENABLE ) ) ) { - echo Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_CUSTOM_CSS ); + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { + echo Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS ); echo "\r\n"; } - echo Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_CUSTOM_CSS_NEW ); + echo Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_NEW ); // Insert end tag without switching out of PHP. echo "\r\n\r\n"; @@ -689,7 +689,7 @@ class Parser { * The script for alternative tooltips is printed formatted, not minified, * for transparency. It isn’t indented though (the PHP open tag neither). */ - if ( General::$a_bool_alternative_tooltips_enabled ) { + if ( General::$alternative_tooltips_enabled ) { // Start internal script. ?> @@ -715,54 +715,54 @@ class Parser { * @since 1.5.0 */ public function footnotes_output_footer(): void { - if ( 'footer' === Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ) { + if ( 'footer' === Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION ) ) { echo $this->reference_container(); } // Get setting for love and share this plugin. - $l_str_love_me_index = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_LOVE ); + $love_me_index = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_LOVE ); // Check if the admin allows to add a link to the footer. - if ( empty( $l_str_love_me_index ) || 'no' === strtolower( $l_str_love_me_index ) || ! self::$a_bool_allow_love_me ) { + if ( empty( $love_me_index ) || 'no' === strtolower( $love_me_index ) || ! self::$allow_love_me ) { return; } // Set a hyperlink to the word "footnotes" in the Love slug. - $l_str_linked_name = sprintf( '%s', \footnotes\includes\Config::C_STR_PLUGIN_PUBLIC_NAME ); + $linked_name = sprintf( '%s', \footnotes\includes\Config::PLUGIN_PUBLIC_NAME ); // Get random love me text. - if ( 'random' === strtolower( $l_str_love_me_index ) ) { - $l_str_love_me_index = 'text-' . wp_rand( 1, 7 ); + if ( 'random' === strtolower( $love_me_index ) ) { + $love_me_index = 'text-' . wp_rand( 1, 7 ); } - switch ( $l_str_love_me_index ) { + switch ( $love_me_index ) { // Options named wrt backcompat, simplest is default. case 'text-1': /* Translators: 2: Link to plugin page 1: Love heart symbol */ - $l_str_love_me_text = sprintf( __( 'I %2$s %1$s', 'footnotes' ), $l_str_linked_name, \footnotes\includes\Config::C_STR_LOVE_SYMBOL ); + $love_me_text = sprintf( __( 'I %2$s %1$s', 'footnotes' ), $linked_name, \footnotes\includes\Config::LOVE_SYMBOL ); break; case 'text-2': /* Translators: %s: Link to plugin page */ - $l_str_love_me_text = sprintf( __( 'This website uses the awesome %s plugin.', 'footnotes' ), $l_str_linked_name ); + $love_me_text = sprintf( __( 'This website uses the awesome %s plugin.', 'footnotes' ), $linked_name ); break; case 'text-4': /* Translators: 1: Link to plugin page 2: Love heart symbol */ - $l_str_love_me_text = sprintf( '%1$s %2$s', $l_str_linked_name, \footnotes\includes\Config::C_STR_LOVE_SYMBOL ); + $love_me_text = sprintf( '%1$s %2$s', $linked_name, \footnotes\includes\Config::LOVE_SYMBOL ); break; case 'text-5': /* Translators: 1: Love heart symbol 2: Link to plugin page */ - $l_str_love_me_text = sprintf( '%1$s %2$s', \footnotes\includes\Config::C_STR_LOVE_SYMBOL, $l_str_linked_name ); + $love_me_text = sprintf( '%1$s %2$s', \footnotes\includes\Config::LOVE_SYMBOL, $linked_name ); break; case 'text-6': /* Translators: %s: Link to plugin page */ - $l_str_love_me_text = sprintf( __( 'This website uses %s.', 'footnotes' ), $l_str_linked_name ); + $love_me_text = sprintf( __( 'This website uses %s.', 'footnotes' ), $linked_name ); break; case 'text-7': /* Translators: %s: Link to plugin page */ - $l_str_love_me_text = sprintf( __( 'This website uses the %s plugin.', 'footnotes' ), $l_str_linked_name ); + $love_me_text = sprintf( __( 'This website uses the %s plugin.', 'footnotes' ), $linked_name ); break; case 'text-3': default: /* Translators: %s: Link to plugin page */ - $l_str_love_me_text = $l_str_linked_name; + $love_me_text = $linked_name; break; } - echo sprintf( '
                                                                                          %s
                                                                                          ', $l_str_love_me_text ); + echo sprintf( '
                                                                                          %s
                                                                                          ', $love_me_text ); } /** @@ -770,12 +770,12 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_content Title. - * @return string $p_str_content Title with replaced footnotes. + * @param string $content Title. + * @return string $content Title with replaced footnotes. */ - public function footnotes_in_title( string $p_str_content ): string { + public function footnotes_in_title( string $content ): string { // Appends the reference container if set to "post_end". - return $this->exec( $p_str_content, false ); + return $this->exec( $content, false ); } /** @@ -783,39 +783,39 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_content Page/Post content. - * @return string $p_str_content Content with replaced footnotes. + * @param string $content Page/Post content. + * @return string $content Content with replaced footnotes. */ - public function footnotes_in_content( string $p_str_content ): string { + public function footnotes_in_content( string $content ): string { - $l_str_ref_container_position = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION ); - $l_str_footnote_section_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTE_SECTION_SHORTCODE ); - $l_int_footnote_section_shortcode_length = strlen( $l_str_footnote_section_shortcode ); + $ref_container_position = Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION ); + $footnote_section_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTE_SECTION_SHORTCODE ); + $footnote_section_shortcode_length = strlen( $footnote_section_shortcode ); - if ( ! str_contains( $p_str_content, (string) $l_str_footnote_section_shortcode ) ) { + if ( ! str_contains( $content, (string) $footnote_section_shortcode ) ) { // phpcs:disable WordPress.PHP.YodaConditions.NotYoda // Appends the reference container if set to "post_end". - return $this->exec( $p_str_content, 'post_end' === $l_str_ref_container_position ); + return $this->exec( $content, 'post_end' === $ref_container_position ); // phpcs:enable WordPress.PHP.YodaConditions.NotYoda } else { - $l_str_rest_content = $p_str_content; - $l_arr_sections_raw = array(); - $l_arr_sections_processed = array(); + $rest_content = $content; + $sections_raw = array(); + $sections_processed = array(); do { - $l_int_section_end = strpos( $l_str_rest_content, (string) $l_str_footnote_section_shortcode ); - $l_arr_sections_raw[] = substr( $l_str_rest_content, 0, $l_int_section_end ); - $l_str_rest_content = substr( $l_str_rest_content, $l_int_section_end + $l_int_footnote_section_shortcode_length ); - } while ( str_contains( $l_str_rest_content, (string) $l_str_footnote_section_shortcode ) ); - $l_arr_sections_raw[] = $l_str_rest_content; + $section_end = strpos( $rest_content, (string) $footnote_section_shortcode ); + $sections_raw[] = substr( $rest_content, 0, $section_end ); + $rest_content = substr( $rest_content, $section_end + $footnote_section_shortcode_length ); + } while ( str_contains( $rest_content, (string) $footnote_section_shortcode ) ); + $sections_raw[] = $rest_content; - foreach ( $l_arr_sections_raw as $l_str_section ) { - $l_arr_sections_processed[] = self::exec( $l_str_section, true ); + foreach ( $sections_raw as $section ) { + $sections_processed[] = self::exec( $section, true ); } - return implode( $l_arr_sections_processed ); + return implode( $sections_processed ); } } @@ -829,20 +829,20 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_excerpt Excerpt content. - * @return string $p_str_excerpt Processed or new excerpt. + * @param string $excerpt Excerpt content. + * @return string $excerpt Processed or new excerpt. */ - public function footnotes_in_excerpt( string $p_str_excerpt ): string { - $l_str_excerpt_mode = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_IN_EXCERPT ); + public function footnotes_in_excerpt( string $excerpt ): string { + $excerpt_mode = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_IN_EXCERPT ); - if ( 'yes' === $l_str_excerpt_mode ) { - return $this->generate_excerpt_with_footnotes( $p_str_excerpt ); + if ( 'yes' === $excerpt_mode ) { + return $this->generate_excerpt_with_footnotes( $excerpt ); - } elseif ( 'no' === $l_str_excerpt_mode ) { - return $this->generate_excerpt( $p_str_excerpt ); + } elseif ( 'no' === $excerpt_mode ) { + return $this->generate_excerpt( $excerpt ); } else { - return $this->exec( $p_str_excerpt ); + return $this->exec( $excerpt ); } } @@ -856,38 +856,38 @@ class Parser { * * @since 2.6.2 * - * @param string $p_str_content The post. - * @return string $p_str_content An excerpt of the post. + * @param string $content The post. + * @return string $content An excerpt of the post. */ - public function generate_excerpt( string $p_str_content ): string { + public function generate_excerpt( string $content ): string { // Discard existing excerpt and start on the basis of the post. - $p_str_content = get_the_content( get_the_id() ); + $content = get_the_content( get_the_id() ); // Get footnote delimiter shortcodes and unify them. - $p_str_content = self::unify_delimiters( $p_str_content ); + $content = self::unify_delimiters( $content ); // Remove footnotes. - $p_str_content = preg_replace( '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', '', $p_str_content ); + $content = preg_replace( '#' . self::$start_tag_regex . '.+?' . self::$end_tag_regex . '#', '', $content ); // Apply WordPress excerpt processing. - $p_str_content = strip_shortcodes( $p_str_content ); - $p_str_content = excerpt_remove_blocks( $p_str_content ); + $content = strip_shortcodes( $content ); + $content = excerpt_remove_blocks( $content ); // Here the footnotes would be processed as part of WordPress content processing. - $p_str_content = apply_filters( 'the_content', $p_str_content ); + $content = apply_filters( 'the_content', $content ); // According to Advanced Excerpt, this is some kind of precaution against malformed CDATA in RSS feeds. - $p_str_content = str_replace( ']]>', ']]>', $p_str_content ); + $content = str_replace( ']]>', ']]>', $content ); - $l_int_excerpt_length = (int) _x( '55', 'excerpt_length' ); - $l_int_excerpt_length = (int) apply_filters( 'excerpt_length', $l_int_excerpt_length ); - $l_str_excerpt_more = apply_filters( 'excerpt_more', ' […]' ); + $excerpt_length = (int) _x( '55', 'excerpt_length' ); + $excerpt_length = (int) apply_filters( 'excerpt_length', $excerpt_length ); + $excerpt_more = apply_filters( 'excerpt_more', ' […]' ); // Function wp_trim_words() calls wp_strip_all_tags() that wrecks the footnotes. - $p_str_content = wp_trim_words( $p_str_content, $l_int_excerpt_length, $l_str_excerpt_more ); + $content = wp_trim_words( $content, $excerpt_length, $excerpt_more ); - return $p_str_content; + return $content; } /** @@ -901,99 +901,99 @@ class Parser { * * @since 2.6.3 * - * @param string $p_str_content The post. - * @return string $p_str_content An excerpt of the post. + * @param string $content The post. + * @return string $content An excerpt of the post. */ - public function generate_excerpt_with_footnotes( string $p_str_content ): string { + public function generate_excerpt_with_footnotes( string $content ): string { // Discard existing excerpt and start on the basis of the post. - $p_str_content = get_the_content( get_the_id() ); + $content = get_the_content( get_the_id() ); // Get footnote delimiter shortcodes and unify them. - $p_str_content = self::unify_delimiters( $p_str_content ); + $content = self::unify_delimiters( $content ); // Apply WordPress excerpt processing. - $p_str_content = strip_shortcodes( $p_str_content ); - $p_str_content = excerpt_remove_blocks( $p_str_content ); + $content = strip_shortcodes( $content ); + $content = excerpt_remove_blocks( $content ); // But do not process footnotes at this point; do only this. - $p_str_content = str_replace( ']]>', ']]>', $p_str_content ); + $content = str_replace( ']]>', ']]>', $content ); // Prepare the excerpt length argument. - $l_int_excerpt_length = (int) _x( '55', 'excerpt_length' ); - $l_int_excerpt_length = (int) apply_filters( 'excerpt_length', $l_int_excerpt_length ); + $excerpt_length = (int) _x( '55', 'excerpt_length' ); + $excerpt_length = (int) apply_filters( 'excerpt_length', $excerpt_length ); // Prepare the Read-on string. - $l_str_excerpt_more = apply_filters( 'excerpt_more', ' […]' ); + $excerpt_more = apply_filters( 'excerpt_more', ' […]' ); // Safeguard the footnotes. preg_match_all( - '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', - $p_str_content, - $p_arr_saved_footnotes + '#' . self::$start_tag_regex . '.+?' . self::$end_tag_regex . '#', + $content, + $saved_footnotes ); // Prevent the footnotes from altering the excerpt: previously hard-coded '5ED84D6'. - $l_int_placeholder = '@' . wp_rand( 100_000_000, 2_147_483_647 ) . '@'; - $p_str_content = preg_replace( - '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', - $l_int_placeholder, - $p_str_content + $placeholder = '@' . wp_rand( 100_000_000, 2_147_483_647 ) . '@'; + $content = preg_replace( + '#' . self::$start_tag_regex . '.+?' . self::$end_tag_regex . '#', + $placeholder, + $content ); // Replace line breaking markup with a separator. - $l_str_separator = ' '; - $p_str_content = preg_replace( '#
                                                                                          #', $l_str_separator, $p_str_content ); - $p_str_content = preg_replace( '#
                                                                                          #', $l_str_separator, $p_str_content ); - $p_str_content = preg_replace( '#<(p|li|div)[^>]*>#', $l_str_separator, $p_str_content ); - $p_str_content = preg_replace( '#' . $l_str_separator . '#', '', $p_str_content, 1 ); - $p_str_content = preg_replace( '##', '', $p_str_content ); - $p_str_content = preg_replace( '#[\r\n]#', '', $p_str_content ); + $separator = ' '; + $content = preg_replace( '#
                                                                                          #', $separator, $content ); + $content = preg_replace( '#
                                                                                          #', $separator, $content ); + $content = preg_replace( '#<(p|li|div)[^>]*>#', $separator, $content ); + $content = preg_replace( '#' . $separator . '#', '', $content, 1 ); + $content = preg_replace( '##', '', $content ); + $content = preg_replace( '#[\r\n]#', '', $content ); // To count words like Advanced Excerpt does it. - $l_arr_tokens = array(); - $l_str_output = ''; - $l_int_counter = 0; + $tokens = array(); + $output = ''; + $counter = 0; // Tokenize into tags and words as in Advanced Excerpt. - preg_match_all( '#(<[^>]+>|[^<>\s]+)\s*#u', $p_str_content, $l_arr_tokens ); + preg_match_all( '#(<[^>]+>|[^<>\s]+)\s*#u', $content, $tokens ); // Count words following one option of Advanced Excerpt. - foreach ( $l_arr_tokens[0] as $l_str_token ) { + foreach ( $tokens[0] as $token ) { - if ( $l_int_counter >= $l_int_excerpt_length ) { + if ( $counter >= $excerpt_length ) { break; } // If token is not a tag, increment word count. - if ( '<' !== $l_str_token[0] ) { - $l_int_counter++; + if ( '<' !== $token[0] ) { + $counter++; } // Append the token to the output. - $l_str_output .= $l_str_token; + $output .= $token; } // Complete unbalanced markup, used by Advanced Excerpt. - $p_str_content = force_balance_tags( $l_str_output ); + $content = force_balance_tags( $output ); // Readd footnotes in excerpt. - $l_int_index = 0; - while ( 0 !== preg_match( '#' . $l_int_placeholder . '#', $p_str_content ) ) { - $p_str_content = preg_replace( - '#' . $l_int_placeholder . '#', - $p_arr_saved_footnotes[0][ $l_int_index ], - $p_str_content, + $index = 0; + while ( 0 !== preg_match( '#' . $placeholder . '#', $content ) ) { + $content = preg_replace( + '#' . $placeholder . '#', + $saved_footnotes[0][ $index ], + $content, 1 ); - $l_int_index++; + $index++; } // Append the Read-on string as in wp_trim_words(). - $p_str_content .= $l_str_excerpt_more; + $content .= $excerpt_more; // Process readded footnotes without appending the reference container. - $p_str_content = self::exec( $p_str_content, false ); + $content = self::exec( $content, false ); - return $p_str_content; + return $content; } @@ -1002,12 +1002,12 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_content Widget content. - * @return string $p_str_content Content with replaced footnotes. + * @param string $content Widget content. + * @return string $content Content with replaced footnotes. */ - public function footnotes_in_widget_title( string $p_str_content ): string { + public function footnotes_in_widget_title( string $content ): string { // Appends the reference container if set to "post_end". - return $this->exec( $p_str_content, false ); + return $this->exec( $content, false ); } /** @@ -1015,13 +1015,13 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_content Widget content. - * @return string $p_str_content Content with replaced footnotes. + * @param string $content Widget content. + * @return string $content Content with replaced footnotes. */ - public function footnotes_in_widget_text( string $p_str_content ): string { + public function footnotes_in_widget_text( string $content ): string { // phpcs:disable WordPress.PHP.YodaConditions.NotYoda // Appends the reference container if set to "post_end". - return $this->exec( $p_str_content, 'post_end' === Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ); + return $this->exec( $content, 'post_end' === Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION ) ); // phpcs:enable WordPress.PHP.YodaConditions.NotYoda } @@ -1030,51 +1030,51 @@ class Parser { * * @since 1.5.0 * - * @param string $p_str_content Any string that may contain footnotes to be replaced. - * @param bool $p_bool_output_references Appends the Reference Container to the output if set to true, default true. - * @param bool $p_bool_hide_footnotes_text Hide footnotes found in the string. + * @param string $content Any string that may contain footnotes to be replaced. + * @param bool $output_references Appends the Reference Container to the output if set to true, default true. + * @param bool $hide_footnotes_text Hide footnotes found in the string. */ - public function exec( string $p_str_content, bool $p_bool_output_references = false, bool $p_bool_hide_footnotes_text = false ): string { + public function exec( string $content, bool $output_references = false, bool $hide_footnotes_text = false ): string { // Process content. - $p_str_content = $this->search( $p_str_content, $p_bool_hide_footnotes_text ); + $content = $this->search( $content, $hide_footnotes_text ); /* * Reference container customized positioning through shortcode. */ // Append the reference container or insert at shortcode. - $l_str_reference_container_position_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE ); - if ( empty( $l_str_reference_container_position_shortcode ) ) { - $l_str_reference_container_position_shortcode = '[[references]]'; + $reference_container_position_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_POSITION_SHORTCODE ); + if ( empty( $reference_container_position_shortcode ) ) { + $reference_container_position_shortcode = '[[references]]'; } - if ( $p_bool_output_references ) { + if ( $output_references ) { - if ( strpos( $p_str_content, (string) $l_str_reference_container_position_shortcode ) ) { + if ( strpos( $content, (string) $reference_container_position_shortcode ) ) { - $p_str_content = str_replace( $l_str_reference_container_position_shortcode, $this->reference_container(), $p_str_content ); + $content = str_replace( $reference_container_position_shortcode, $this->reference_container(), $content ); } else { - $p_str_content .= $this->reference_container(); + $content .= $this->reference_container(); } // Increment the container ID. - self::$a_int_reference_container_id++; + self::$reference_container_id++; } // Delete position shortcode should any remain. - $p_str_content = str_replace( $l_str_reference_container_position_shortcode, '', $p_str_content ); + $content = str_replace( $reference_container_position_shortcode, '', $content ); // Take a look if the LOVE ME slug should NOT be displayed on this page/post, remove the short code if found. - if ( strpos( $p_str_content, \footnotes\includes\Config::C_STR_NO_LOVE_SLUG ) ) { - self::$a_bool_allow_love_me = false; - $p_str_content = str_replace( \footnotes\includes\Config::C_STR_NO_LOVE_SLUG, '', $p_str_content ); + if ( strpos( $content, \footnotes\includes\Config::NO_LOVE_SLUG ) ) { + self::$allow_love_me = false; + $content = str_replace( \footnotes\includes\Config::NO_LOVE_SLUG, '', $content ); } // Return the content with replaced footnotes and optional reference container appended. - return $p_str_content; + return $content; } /** @@ -1087,63 +1087,63 @@ class Parser { * * @since 2.1.14 * - * @param string $p_str_content The footnote, including delimiters. + * @param string $content The footnote, including delimiters. */ - public function unify_delimiters( string $p_str_content ): string { + public function unify_delimiters( string $content ): string { // Get footnotes start and end tag short codes. - $l_str_starting_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START ); - $l_str_ending_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END ); - if ( 'userdefined' === $l_str_starting_tag || 'userdefined' === $l_str_ending_tag ) { - $l_str_starting_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED ); - $l_str_ending_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED ); + $starting_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START ); + $ending_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END ); + if ( 'userdefined' === $starting_tag || 'userdefined' === $ending_tag ) { + $starting_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START_USER_DEFINED ); + $ending_tag = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_END_USER_DEFINED ); } // If any footnotes short code is empty, return the content without changes. - if ( empty( $l_str_starting_tag ) || empty( $l_str_ending_tag ) ) { - return $p_str_content; + if ( empty( $starting_tag ) || empty( $ending_tag ) ) { + return $content; } - if ( preg_match( '#[&"\'<>]#', $l_str_starting_tag . $l_str_ending_tag ) ) { + if ( preg_match( '#[&"\'<>]#', $starting_tag . $ending_tag ) ) { - $l_str_harmonized_start_tag = '{[(|fnote_stt|)]}'; - $l_str_harmonized_end_tag = '{[(|fnote_end|)]}'; + $harmonized_start_tag = '{[(|fnote_stt|)]}'; + $harmonized_end_tag = '{[(|fnote_end|)]}'; // Harmonize footnotes without escaping any HTML special characters in delimiter shortcodes. // The footnote has been added in the Block Editor code editor (doesn’t work in Classic Editor text mode). - $p_str_content = str_replace( $l_str_starting_tag, $l_str_harmonized_start_tag, $p_str_content ); - $p_str_content = str_replace( $l_str_ending_tag, $l_str_harmonized_end_tag, $p_str_content ); + $content = str_replace( $starting_tag, $harmonized_start_tag, $content ); + $content = str_replace( $ending_tag, $harmonized_end_tag, $content ); // Harmonize footnotes while escaping HTML special characters in delimiter shortcodes. // The footnote has been added in the Classic Editor visual mode. - $p_str_content = str_replace( htmlspecialchars( $l_str_starting_tag ), $l_str_harmonized_start_tag, $p_str_content ); - $p_str_content = str_replace( htmlspecialchars( $l_str_ending_tag ), $l_str_harmonized_end_tag, $p_str_content ); + $content = str_replace( htmlspecialchars( $starting_tag ), $harmonized_start_tag, $content ); + $content = str_replace( htmlspecialchars( $ending_tag ), $harmonized_end_tag, $content ); // Harmonize footnotes while escaping HTML special characters except greater-than sign in delimiter shortcodes. // The footnote has been added in the Block Editor visual mode. - $p_str_content = str_replace( str_replace( '>', '>', htmlspecialchars( $l_str_starting_tag ) ), $l_str_harmonized_start_tag, $p_str_content ); - $p_str_content = str_replace( str_replace( '>', '>', htmlspecialchars( $l_str_ending_tag ) ), $l_str_harmonized_end_tag, $p_str_content ); + $content = str_replace( str_replace( '>', '>', htmlspecialchars( $starting_tag ) ), $harmonized_start_tag, $content ); + $content = str_replace( str_replace( '>', '>', htmlspecialchars( $ending_tag ) ), $harmonized_end_tag, $content ); // Assign the delimiter shortcodes. - self::$a_str_start_tag = $l_str_harmonized_start_tag; - self::$a_str_end_tag = $l_str_harmonized_end_tag; + self::$start_tag = $harmonized_start_tag; + self::$end_tag = $harmonized_end_tag; // Assign the regex-conformant shortcodes. - self::$a_str_start_tag_regex = '\{\[\(\|fnote_stt\|\)\]\}'; - self::$a_str_end_tag_regex = '\{\[\(\|fnote_end\|\)\]\}'; + self::$start_tag_regex = '\{\[\(\|fnote_stt\|\)\]\}'; + self::$end_tag_regex = '\{\[\(\|fnote_end\|\)\]\}'; } else { // Assign the delimiter shortcodes. - self::$a_str_start_tag = $l_str_starting_tag; - self::$a_str_end_tag = $l_str_ending_tag; + self::$start_tag = $starting_tag; + self::$end_tag = $ending_tag; // Make shortcodes conform to regex syntax. - self::$a_str_start_tag_regex = preg_replace( '#([\(\)\{\}\[\]\|\*\.\?\!])#', '\\\\$1', self::$a_str_start_tag ); - self::$a_str_end_tag_regex = preg_replace( '#([\(\)\{\}\[\]\|\*\.\?\!])#', '\\\\$1', self::$a_str_end_tag ); + self::$start_tag_regex = preg_replace( '#([\(\)\{\}\[\]\|\*\.\?\!])#', '\\\\$1', self::$start_tag ); + self::$end_tag_regex = preg_replace( '#([\(\)\{\}\[\]\|\*\.\?\!])#', '\\\\$1', self::$end_tag ); } - return $p_str_content; + return $content; } /** @@ -1153,13 +1153,13 @@ class Parser { * @todo Refactor to parse DOM rather than using RegEx. * @todo Decompose. * - * @param string $p_str_content Any content to be parsed for footnotes. - * @param bool $p_bool_hide_footnotes_text Hide footnotes found in the string. + * @param string $content Any content to be parsed for footnotes. + * @param bool $hide_footnotes_text Hide footnotes found in the string. */ - public function search( string $p_str_content, bool $p_bool_hide_footnotes_text ): string { + public function search( string $content, bool $hide_footnotes_text ): string { // Get footnote delimiter shortcodes and unify them. - $p_str_content = self::unify_delimiters( $p_str_content ); + $content = self::unify_delimiters( $content ); /* * Checks for balanced footnote delimiters; delimiter syntax validation. @@ -1169,59 +1169,59 @@ class Parser { */ // If enabled. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE ) ) ) { // Apply different regex depending on whether start shortcode is double/triple opening parenthesis. - if ( '((' === self::$a_str_start_tag || '(((' === self::$a_str_start_tag ) { + if ( '((' === self::$start_tag || '(((' === self::$start_tag ) { // This prevents from catching a script containing e.g. a double opening parenthesis. - $l_str_validation_regex = '#' . self::$a_str_start_tag_regex . '(((?!' . self::$a_str_end_tag_regex . ')[^\{\}])*?)(' . self::$a_str_start_tag_regex . '|$)#s'; + $validation_regex = '#' . self::$start_tag_regex . '(((?!' . self::$end_tag_regex . ')[^\{\}])*?)(' . self::$start_tag_regex . '|$)#s'; } else { // Catch all only if the start shortcode is not double/triple opening parenthesis, i.e. is unlikely to occur in scripts. - $l_str_validation_regex = '#' . self::$a_str_start_tag_regex . '(((?!' . self::$a_str_end_tag_regex . ').)*?)(' . self::$a_str_start_tag_regex . '|$)#s'; + $validation_regex = '#' . self::$start_tag_regex . '(((?!' . self::$end_tag_regex . ').)*?)(' . self::$start_tag_regex . '|$)#s'; } // Check syntax and get error locations. - preg_match( $l_str_validation_regex, $p_str_content, $p_arr_error_location ); - if ( empty( $p_arr_error_location ) ) { - self::$a_bool_syntax_error_flag = false; + preg_match( $validation_regex, $content, $error_location ); + if ( empty( $error_location ) ) { + self::$syntax_error_flag = false; } // Prevent generating and inserting the warning multiple times. - if ( self::$a_bool_syntax_error_flag ) { + if ( self::$syntax_error_flag ) { // Get plain text string for error location. - $l_str_error_spot_string = wp_strip_all_tags( $p_arr_error_location[1] ); + $error_spot_string = wp_strip_all_tags( $error_location[1] ); // Limit string length to 300 characters. - if ( strlen( $l_str_error_spot_string ) > 300 ) { - $l_str_error_spot_string = substr( $l_str_error_spot_string, 0, 299 ) . '…'; + if ( strlen( $error_spot_string ) > 300 ) { + $error_spot_string = substr( $error_spot_string, 0, 299 ) . '…'; } // Compose warning box. - $l_str_syntax_error_warning = '

                                                                                          '; - $l_str_syntax_error_warning .= __( 'WARNING: unbalanced footnote start tag short code found.', 'footnotes' ); - $l_str_syntax_error_warning .= '

                                                                                          '; + $syntax_error_warning = '

                                                                                          '; + $syntax_error_warning .= __( 'WARNING: unbalanced footnote start tag short code found.', 'footnotes' ); + $syntax_error_warning .= '

                                                                                          '; // Syntax validation setting in the dashboard under the General settings tab. /* Translators: 1: General Settings 2: Footnote start and end short codes 3: Check for balanced shortcodes */ - $l_str_syntax_error_warning .= sprintf( __( 'If this warning is irrelevant, please disable the syntax validation feature in the dashboard under %1$s > %2$s > %3$s.', 'footnotes' ), __( 'General settings', 'footnotes' ), __( 'Footnote start and end short codes', 'footnotes' ), __( 'Check for balanced shortcodes', 'footnotes' ) ); + $syntax_error_warning .= sprintf( __( 'If this warning is irrelevant, please disable the syntax validation feature in the dashboard under %1$s > %2$s > %3$s.', 'footnotes' ), __( 'General settings', 'footnotes' ), __( 'Footnote start and end short codes', 'footnotes' ), __( 'Check for balanced shortcodes', 'footnotes' ) ); - $l_str_syntax_error_warning .= '

                                                                                          '; - $l_str_syntax_error_warning .= __( 'Unbalanced start tag short code found before:', 'footnotes' ); - $l_str_syntax_error_warning .= '

                                                                                          “'; - $l_str_syntax_error_warning .= $l_str_error_spot_string; - $l_str_syntax_error_warning .= '”

                                                                                          '; + $syntax_error_warning .= '

                                                                                          '; + $syntax_error_warning .= __( 'Unbalanced start tag short code found before:', 'footnotes' ); + $syntax_error_warning .= '

                                                                                          “'; + $syntax_error_warning .= $error_spot_string; + $syntax_error_warning .= '”

                                                                                          '; // Prepend the warning box to the content. - $p_str_content = $l_str_syntax_error_warning . $p_str_content; + $content = $syntax_error_warning . $content; // Checked, set flag to false to prevent duplicate warning. - self::$a_bool_syntax_error_flag = false; + self::$syntax_error_flag = false; - return $p_str_content; + return $content; } } @@ -1231,22 +1231,22 @@ class Parser { * When the HTML 'input' element 'value' attribute value is derived from * 'label', footnotes need to be removed in the value of 'value'. */ - $l_str_value_regex = '#(]+?value=["\'][^>]+?)' . self::$a_str_start_tag_regex . '[^>]+?' . self::$a_str_end_tag_regex . '#'; + $value_regex = '#(]+?value=["\'][^>]+?)' . self::$start_tag_regex . '[^>]+?' . self::$end_tag_regex . '#'; do { - $p_str_content = preg_replace( $l_str_value_regex, '$1', $p_str_content ); - } while ( preg_match( $l_str_value_regex, $p_str_content ) ); + $content = preg_replace( $value_regex, '$1', $content ); + } while ( preg_match( $value_regex, $content ) ); // Optionally moves footnotes outside at the end of the label element. - $l_str_label_issue_solution = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION ); + $label_issue_solution = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_LABEL_ISSUE_SOLUTION ); - if ( 'move' === $l_str_label_issue_solution ) { + if ( 'move' === $label_issue_solution ) { - $l_str_move_regex = '#(
                                                                                          ', - $l_str_footnote_text + $footnote_text ); } // Text to be displayed instead of the footnote. - $l_str_footnote_replace_text = ''; + $footnote_replace_text = ''; // Whether hard links are enabled. - if ( self::$a_bool_hard_links_enabled ) { + if ( self::$hard_links_enabled ) { // Get the configurable parts. - self::$a_str_referrer_link_slug = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERRER_FRAGMENT_ID_SLUG ); - self::$a_str_footnote_link_slug = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTE_FRAGMENT_ID_SLUG ); - self::$a_str_link_ids_separator = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_HARD_LINK_IDS_SEPARATOR ); + self::$referrer_link_slug = Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERRER_FRAGMENT_ID_SLUG ); + self::$footnote_link_slug = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTE_FRAGMENT_ID_SLUG ); + self::$link_ids_separator = Includes\Settings::instance()->get( \footnotes\includes\Settings::HARD_LINK_IDS_SEPARATOR ); // Streamline ID concatenation. - self::$a_str_post_container_id_compound = self::$a_str_link_ids_separator; - self::$a_str_post_container_id_compound .= self::$a_int_post_id; - self::$a_str_post_container_id_compound .= self::$a_str_link_ids_separator; - self::$a_str_post_container_id_compound .= self::$a_int_reference_container_id; - self::$a_str_post_container_id_compound .= self::$a_str_link_ids_separator; + self::$post_container_id_compound = self::$link_ids_separator; + self::$post_container_id_compound .= self::$post_id; + self::$post_container_id_compound .= self::$link_ids_separator; + self::$post_container_id_compound .= self::$reference_container_id; + self::$post_container_id_compound .= self::$link_ids_separator; } // Display the footnote referrers and the tooltips. - if ( ! $p_bool_hide_footnotes_text ) { - $l_int_index = Includes\Convert::index( $l_int_footnote_index, Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE ) ); + if ( ! $hide_footnotes_text ) { + $index = Includes\Convert::index( $footnote_index, Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE ) ); // Display only a truncated footnote text if option enabled. - $l_bool_enable_excerpt = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED ) ); - $l_int_max_length = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH ); + $enable_excerpt = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED ) ); + $max_length = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH ); // Define excerpt text as footnote text by default. - $l_str_excerpt_text = $l_str_footnote_text; + $excerpt_text = $footnote_text; /* * Tooltip truncation. @@ -1432,56 +1432,56 @@ class Parser { * This is equivalent to the WordPress default excerpt generation, i.e. without a * custom excerpt and without a delimiter. But WordPress does word count, usually 55. */ - if ( General::$a_bool_tooltips_enabled && $l_bool_enable_excerpt ) { - $l_str_dummy_text = wp_strip_all_tags( $l_str_footnote_text ); - if ( is_int( $l_int_max_length ) && strlen( $l_str_dummy_text ) > $l_int_max_length ) { - $l_str_excerpt_text = substr( $l_str_dummy_text, 0, $l_int_max_length ); - $l_str_excerpt_text = substr( $l_str_excerpt_text, 0, strrpos( $l_str_excerpt_text, ' ' ) ); - $l_str_excerpt_text .= ' … <'; - $l_str_excerpt_text .= self::$a_bool_hard_links_enabled ? 'a' : 'span'; - $l_str_excerpt_text .= ' class="footnote_tooltip_continue" '; + if ( General::$tooltips_enabled && $enable_excerpt ) { + $dummy_text = wp_strip_all_tags( $footnote_text ); + if ( is_int( $max_length ) && strlen( $dummy_text ) > $max_length ) { + $excerpt_text = substr( $dummy_text, 0, $max_length ); + $excerpt_text = substr( $excerpt_text, 0, strrpos( $excerpt_text, ' ' ) ); + $excerpt_text .= ' … <'; + $excerpt_text .= self::$hard_links_enabled ? 'a' : 'span'; + $excerpt_text .= ' class="footnote_tooltip_continue" '; // If AMP compatibility mode is enabled. - if ( General::$a_bool_amp_enabled ) { + if ( General::$amp_enabled ) { // If the reference container is also collapsed by default. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_COLLAPSE ) ) ) { - $l_str_excerpt_text .= ' on="tap:footnote_references_container_'; - $l_str_excerpt_text .= self::$a_int_post_id . '_' . self::$a_int_reference_container_id; - $l_str_excerpt_text .= '.toggleClass(class=collapsed, force=false),footnotes_container_button_plus_'; - $l_str_excerpt_text .= self::$a_int_post_id . '_' . self::$a_int_reference_container_id; - $l_str_excerpt_text .= '.toggleClass(class=collapsed, force=true),footnotes_container_button_minus_'; - $l_str_excerpt_text .= self::$a_int_post_id . '_' . self::$a_int_reference_container_id; - $l_str_excerpt_text .= '.toggleClass(class=collapsed, force=false)"'; + $excerpt_text .= ' on="tap:footnote_references_container_'; + $excerpt_text .= self::$post_id . '_' . self::$reference_container_id; + $excerpt_text .= '.toggleClass(class=collapsed, force=false),footnotes_container_button_plus_'; + $excerpt_text .= self::$post_id . '_' . self::$reference_container_id; + $excerpt_text .= '.toggleClass(class=collapsed, force=true),footnotes_container_button_minus_'; + $excerpt_text .= self::$post_id . '_' . self::$reference_container_id; + $excerpt_text .= '.toggleClass(class=collapsed, force=false)"'; } } else { // Don’t add onclick event in AMP compatibility mode. // Reverted wrong linting. - $l_str_excerpt_text .= ' onclick="footnote_moveToReference_' . self::$a_int_post_id; - $l_str_excerpt_text .= '_' . self::$a_int_reference_container_id; - $l_str_excerpt_text .= '(\'footnote_plugin_reference_' . self::$a_int_post_id; - $l_str_excerpt_text .= '_' . self::$a_int_reference_container_id; - $l_str_excerpt_text .= "_$l_int_index');\""; + $excerpt_text .= ' onclick="footnote_moveToReference_' . self::$post_id; + $excerpt_text .= '_' . self::$reference_container_id; + $excerpt_text .= '(\'footnote_plugin_reference_' . self::$post_id; + $excerpt_text .= '_' . self::$reference_container_id; + $excerpt_text .= "_$index');\""; } // If enabled, add the hard link fragment ID. - if ( self::$a_bool_hard_links_enabled ) { + if ( self::$hard_links_enabled ) { - $l_str_excerpt_text .= ' href="#'; - $l_str_excerpt_text .= self::$a_str_footnote_link_slug; - $l_str_excerpt_text .= self::$a_str_post_container_id_compound; - $l_str_excerpt_text .= $l_int_index; - $l_str_excerpt_text .= '"'; + $excerpt_text .= ' href="#'; + $excerpt_text .= self::$footnote_link_slug; + $excerpt_text .= self::$post_container_id_compound; + $excerpt_text .= $index; + $excerpt_text .= '"'; } - $l_str_excerpt_text .= '>'; + $excerpt_text .= '>'; // Configurable read-on button label. - $l_str_excerpt_text .= Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL ); + $excerpt_text .= Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_READON_LABEL ); - $l_str_excerpt_text .= self::$a_bool_hard_links_enabled ? '' : '
                                                                                          '; + $excerpt_text .= self::$hard_links_enabled ? '' : '
                                                                                          '; } } @@ -1490,38 +1490,38 @@ class Parser { * * Define the HTML element to use for the referrers. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS ) ) ) { - $l_str_sup_span = 'sup'; + $sup_span = 'sup'; } else { - $l_str_sup_span = 'span'; + $sup_span = 'span'; } // Whether hard links are enabled. - if ( self::$a_bool_hard_links_enabled ) { + if ( self::$hard_links_enabled ) { - self::$a_str_link_span = 'a'; - self::$a_str_link_close_tag = ''; - // Self::$a_str_link_open_tag will be defined as needed. + self::$link_span = 'a'; + self::$link_close_tag = ''; + // Self::$link_open_tag will be defined as needed. // Compose hyperlink address (leading space is in template). - $l_str_footnote_link_argument = 'href="#'; - $l_str_footnote_link_argument .= self::$a_str_footnote_link_slug; - $l_str_footnote_link_argument .= self::$a_str_post_container_id_compound; - $l_str_footnote_link_argument .= $l_int_index; - $l_str_footnote_link_argument .= '" class="footnote_hard_link"'; + $footnote_link_argument = 'href="#'; + $footnote_link_argument .= self::$footnote_link_slug; + $footnote_link_argument .= self::$post_container_id_compound; + $footnote_link_argument .= $index; + $footnote_link_argument .= '" class="footnote_hard_link"'; /* * Compose fragment ID anchor with offset, for use in reference container. * Empty span, child of empty span, to avoid tall dotted rectangles in browser. */ - $l_str_referrer_anchor_element = ''; + $referrer_anchor_element = ''; } else { /* @@ -1529,105 +1529,105 @@ class Parser { * * If no hyperlink nor offset anchor is needed, initialize as empty. */ - $l_str_footnote_link_argument = ''; - $l_str_referrer_anchor_element = ''; + $footnote_link_argument = ''; + $referrer_anchor_element = ''; // The link element is set independently as it may be needed for styling. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_LINK_ELEMENT_ENABLED ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::LINK_ELEMENT_ENABLED ) ) ) { - self::$a_str_link_span = 'a'; - self::$a_str_link_open_tag = ''; - self::$a_str_link_close_tag = ''; + self::$link_span = 'a'; + self::$link_open_tag = ''; + self::$link_close_tag = ''; } } // Determine tooltip content. - if ( General::$a_bool_tooltips_enabled ) { - $l_str_tooltip_content = $l_bool_has_tooltip_text ? $l_str_tooltip_text : $l_str_excerpt_text; + if ( General::$tooltips_enabled ) { + $tooltip_content = $has_tooltip_text ? $tooltip_text : $excerpt_text; /* * Ensures paragraph separation * * Ensures that footnotes containing paragraph separators get displayed correctly. */ - $l_arr_paragraph_splitters = array( '#(

                                                                                          |]*>)#', '#(
                                                                                          |]*>)#' ); - $l_str_tooltip_content = preg_replace( $l_arr_paragraph_splitters, '
                                                                                          ', $l_str_tooltip_content ); + $paragraph_splitters = array( '#(

                                                                                          |]*>)#', '#(
                                                                                          |]*>)#' ); + $tooltip_content = preg_replace( $paragraph_splitters, '
                                                                                          ', $tooltip_content ); } else { - $l_str_tooltip_content = ''; + $tooltip_content = ''; } // Determine shrink width if alternative tooltips are enabled. - $l_str_tooltip_style = ''; - if ( General::$a_bool_alternative_tooltips_enabled && General::$a_bool_tooltips_enabled ) { - $l_int_tooltip_length = strlen( wp_strip_all_tags( $l_str_tooltip_content ) ); - if ( $l_int_tooltip_length < 70 ) { - $l_str_tooltip_style = ' style="width: '; - $l_str_tooltip_style .= ( $l_int_tooltip_length * .7 ); - $l_str_tooltip_style .= 'em;"'; + $tooltip_style = ''; + if ( General::$alternative_tooltips_enabled && General::$tooltips_enabled ) { + $tooltip_length = strlen( wp_strip_all_tags( $tooltip_content ) ); + if ( $tooltip_length < 70 ) { + $tooltip_style = ' style="width: '; + $tooltip_style .= ( $tooltip_length * .7 ); + $tooltip_style .= 'em;"'; } } // Fill in 'public/partials/footnote.html'. - $l_obj_template->replace( + $template->replace( array( - 'link-span' => self::$a_str_link_span, - 'post_id' => self::$a_int_post_id, - 'container_id' => self::$a_int_reference_container_id, - 'note_id' => $l_int_index, - 'hard-link' => $l_str_footnote_link_argument, - 'sup-span' => $l_str_sup_span, - 'before' => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_BEFORE ), - 'index' => $l_int_index, - 'after' => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_STYLING_AFTER ), - 'anchor-element' => $l_str_referrer_anchor_element, - 'style' => $l_str_tooltip_style, - 'text' => $l_str_tooltip_content, + 'link-span' => self::$link_span, + 'post_id' => self::$post_id, + 'container_id' => self::$reference_container_id, + 'note_id' => $index, + 'hard-link' => $footnote_link_argument, + 'sup-span' => $sup_span, + 'before' => Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_STYLING_BEFORE ), + 'index' => $index, + 'after' => Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_STYLING_AFTER ), + 'anchor-element' => $referrer_anchor_element, + 'style' => $tooltip_style, + 'text' => $tooltip_content, ) ); - $l_str_footnote_replace_text = $l_obj_template->get_content(); + $footnote_replace_text = $template->get_content(); // Reset the template. - $l_obj_template->reload(); + $template->reload(); // If tooltips are enabled but neither AMP nor alternative are. - if ( General::$a_bool_tooltips_enabled && ! General::$a_bool_amp_enabled && ! General::$a_bool_alternative_tooltips_enabled ) { + if ( General::$tooltips_enabled && ! General::$amp_enabled && ! General::$alternative_tooltips_enabled ) { - $l_int_offset_y = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y ); - $l_int_offset_x = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X ); - $l_int_fade_in_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY ); - $l_int_fade_in_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION ); - $l_int_fade_out_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY ); - $l_int_fade_out_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION ); + $offset_y = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y ); + $offset_x = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X ); + $fade_in_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DELAY ); + $fade_in_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_IN_DURATION ); + $fade_out_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DELAY ); + $fade_out_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::MOUSE_OVER_BOX_FADE_OUT_DURATION ); // Fill in 'public/partials/tooltip.html'. - $l_obj_template_tooltip->replace( + $template_tooltip->replace( array( - 'post_id' => self::$a_int_post_id, - 'container_id' => self::$a_int_reference_container_id, - 'note_id' => $l_int_index, - 'position' => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION ), - 'offset-y' => empty( $l_int_offset_y ) ? 0 : $l_int_offset_y, - 'offset-x' => empty( $l_int_offset_x ) ? 0 : $l_int_offset_x, - 'fade-in-delay' => empty( $l_int_fade_in_delay ) ? 0 : $l_int_fade_in_delay, - 'fade-in-duration' => empty( $l_int_fade_in_duration ) ? 0 : $l_int_fade_in_duration, - 'fade-out-delay' => empty( $l_int_fade_out_delay ) ? 0 : $l_int_fade_out_delay, - 'fade-out-duration' => empty( $l_int_fade_out_duration ) ? 0 : $l_int_fade_out_duration, + 'post_id' => self::$post_id, + 'container_id' => self::$reference_container_id, + 'note_id' => $index, + 'position' => Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_POSITION ), + 'offset-y' => empty( $offset_y ) ? 0 : $offset_y, + 'offset-x' => empty( $offset_x ) ? 0 : $offset_x, + 'fade-in-delay' => empty( $fade_in_delay ) ? 0 : $fade_in_delay, + 'fade-in-duration' => empty( $fade_in_duration ) ? 0 : $fade_in_duration, + 'fade-out-delay' => empty( $fade_out_delay ) ? 0 : $fade_out_delay, + 'fade-out-duration' => empty( $fade_out_duration ) ? 0 : $fade_out_duration, ) ); - $l_str_footnote_replace_text .= $l_obj_template_tooltip->get_content(); - $l_obj_template_tooltip->reload(); + $footnote_replace_text .= $template_tooltip->get_content(); + $template_tooltip->reload(); } } // Replace the footnote with the template. - $p_str_content = substr_replace( $p_str_content, $l_str_footnote_replace_text, $l_int_pos_start, $l_int_length + strlen( self::$a_str_end_tag ) ); + $content = substr_replace( $content, $footnote_replace_text, $pos_start, $length + strlen( self::$end_tag ) ); // Add footnote only if not empty. - if ( ! empty( $l_str_footnote_text ) ) { + if ( ! empty( $footnote_text ) ) { // Set footnote to the output box at the end. - self::$a_arr_footnotes[] = $l_str_footnote_text; + self::$footnotes[] = $footnote_text; // Increase footnote index. - $l_int_footnote_index++; + $footnote_index++; } /* @@ -1653,12 +1653,12 @@ class Parser { * and mixed escapement schemas. */ // Add offset to the new starting position. - $l_int_pos_start += strlen( $l_str_footnote_replace_text ); + $pos_start += strlen( $footnote_replace_text ); } while ( true ); // Return content. - return $p_str_content; + return $content; } /** @@ -1668,9 +1668,9 @@ class Parser { */ public function reference_container(): string { - $l_str_use_backbutton_hint = null; + $use_backbutton_hint = null; // No footnotes have been replaced on this page. - if ( empty( self::$a_arr_footnotes ) ) { + if ( empty( self::$footnotes ) ) { return ''; } @@ -1679,29 +1679,29 @@ class Parser { */ // If the backlink symbol is enabled. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE ) ) ) { // Get html arrow. - $l_str_arrow = Includes\Convert::get_arrow( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_HYPERLINK_ARROW ) ); + $arrow = Includes\Convert::get_arrow( Includes\Settings::instance()->get( \footnotes\includes\Settings::HYPERLINK_ARROW ) ); // Set html arrow to the first one if invalid index defined. - if ( is_array( $l_str_arrow ) ) { - $l_str_arrow = Includes\Convert::get_arrow( 0 ); + if ( is_array( $arrow ) ) { + $arrow = Includes\Convert::get_arrow( 0 ); } // Get user defined arrow. - $l_str_arrow_user_defined = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED ); - if ( ! empty( $l_str_arrow_user_defined ) ) { - $l_str_arrow = $l_str_arrow_user_defined; + $arrow_user_defined = Includes\Settings::instance()->get( \footnotes\includes\Settings::HYPERLINK_ARROW_USER_DEFINED ); + if ( ! empty( $arrow_user_defined ) ) { + $arrow = $arrow_user_defined; } // Wrap the arrow in a @media print { display:hidden } span. - $l_str_footnote_arrow = ''; - $l_str_footnote_arrow .= $l_str_arrow . ''; + $footnote_arrow = ''; + $footnote_arrow .= $arrow . ''; } else { // If the backlink symbol isn’t enabled, set it to empty. - $l_str_arrow = ''; - $l_str_footnote_arrow = ''; + $arrow = ''; + $footnote_arrow = ''; } @@ -1711,22 +1711,22 @@ class Parser { * Initially an appended comma was hard-coded in this algorithm for enumerations. * The comma in enumerations is not universally preferred. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_ENABLED ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_ENABLED ) ) ) { - if ( empty( $l_str_separator ) ) { + if ( empty( $separator ) ) { // If it is not, check which option is on. - $l_str_separator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_OPTION ); - $l_str_separator = match ($l_str_separator_option) { + $separator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_OPTION ); + $separator = match ($separator_option) { 'comma' => ',', 'semicolon' => ';', 'en_dash' => ' –', - default => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_SEPARATOR_CUSTOM ), + default => Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_CUSTOM ), }; } } else { - $l_str_separator = ''; + $separator = ''; } /* @@ -1734,22 +1734,22 @@ class Parser { * * Initially a dot was appended in the table row template. */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_ENABLED ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_ENABLED ) ) ) { - if ( empty( $l_str_terminator ) ) { + if ( empty( $terminator ) ) { // If it is not, check which option is on. - $l_str_terminator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_OPTION ); - $l_str_terminator = match ($l_str_terminator_option) { + $terminator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_OPTION ); + $terminator = match ($terminator_option) { 'period' => '.', 'parenthesis' => ')', 'colon' => ':', - default => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_TERMINATOR_CUSTOM ), + default => Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_CUSTOM ), }; } } else { - $l_str_terminator = ''; + $terminator = ''; } /* @@ -1760,7 +1760,7 @@ class Parser { * Variable number length and proportional character width require explicit line breaks. * Otherwise, an ordinary space character offering a line break opportunity is inserted. */ - $l_str_line_break = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_BACKLINKS_LINE_BREAKS_ENABLED ) ) ? '
                                                                                          ' : ' '; + $line_break = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_LINE_BREAKS_ENABLED ) ) ? '
                                                                                          ' : ' '; /* * Line breaks for source readability. @@ -1769,67 +1769,67 @@ class Parser { * separated by an empty line. So we add these line breaks for source readability. * Before the first table row (breaks between rows are ~200 lines below). */ - $l_str_body = "\r\n\r\n"; + $body = "\r\n\r\n"; /* * Reference container table row template load. */ - $l_bool_combine_identical_footnotes = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES ) ); + $combine_identical_footnotes = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::COMBINE_IDENTICAL_FOOTNOTES ) ); // AMP compatibility requires a full set of AMP compatible table row templates. - if ( General::$a_bool_amp_enabled ) { + if ( General::$amp_enabled ) { // When combining identical footnotes is turned on, another template is needed. - if ( $l_bool_combine_identical_footnotes ) { + if ( $combine_identical_footnotes ) { // The combining template allows for backlink clusters and supports cell clicking for single notes. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container-body-combi' ); - } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE ) ) ) { - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container-body-3column' ); - } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ) ) { - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container-body-switch' ); + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container-body-combi' ); + } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE ) ) ) { + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container-body-3column' ); + } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ) ) { + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container-body-switch' ); } else { // Default is the standard template. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container-body' ); + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container-body' ); } - } elseif ( $l_bool_combine_identical_footnotes ) { + } elseif ( $combine_identical_footnotes ) { // The combining template allows for backlink clusters and supports cell clicking for single notes. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'reference-container-body-combi' ); - } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE ) ) ) { - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'reference-container-body-3column' ); - } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ) ) { - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'reference-container-body-switch' ); + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'reference-container-body-combi' ); + } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE ) ) ) { + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'reference-container-body-3column' ); + } elseif ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ) ) { + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'reference-container-body-switch' ); } else { // Default is the standard template. - $l_obj_template = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'reference-container-body' ); + $template = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'reference-container-body' ); } /* * Switch backlink symbol and footnote number. */ - $l_bool_symbol_switch = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ); + $symbol_switch = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ); // Loop through all footnotes found in the page. - $num_footnotes = count( self::$a_arr_footnotes ); - for ( $l_int_index = 0; $l_int_index < $num_footnotes; $l_int_index++ ) { + $num_footnotes = count( self::$footnotes ); + for ( $index = 0; $index < $num_footnotes; $index++ ) { // Get footnote text. - $l_str_footnote_text = self::$a_arr_footnotes[ $l_int_index ]; + $footnote_text = self::$footnotes[ $index ]; // If footnote is empty, go to the next one;. // With combine identicals turned on, identicals will be deleted and are skipped. - if ( empty( $l_str_footnote_text ) ) { + if ( empty( $footnote_text ) ) { continue; } // Generate content of footnote index cell. - $l_int_first_footnote_index = ( $l_int_index + 1 ); + $first_footnote_index = ( $index + 1 ); // Get the footnote index string and. // Keep supporting legacy index placeholder. - $l_str_footnote_id = Includes\Convert::index( ( $l_int_index + 1 ), Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE ) ); + $footnote_id = Includes\Convert::index( ( $index + 1 ), Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE ) ); /** * Case of only one backlink per table row. @@ -1837,9 +1837,9 @@ class Parser { * If enabled, and for the case the footnote is single, compose hard link. */ // Define anyway. - $l_str_hard_link_address = ''; + $hard_link_address = ''; - if ( self::$a_bool_hard_links_enabled ) { + if ( self::$hard_links_enabled ) { /* * Use-Backbutton-Hint tooltip, optional and configurable. * @@ -1849,35 +1849,35 @@ class Parser { * * @since 2.5.4 */ - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE ) ) ) { - $l_str_use_backbutton_hint = ' title="'; - $l_str_use_backbutton_hint .= Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT ); - $l_str_use_backbutton_hint .= '"'; + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE ) ) ) { + $use_backbutton_hint = ' title="'; + $use_backbutton_hint .= Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_BACKLINK_TOOLTIP_TEXT ); + $use_backbutton_hint .= '"'; } else { - $l_str_use_backbutton_hint = ''; + $use_backbutton_hint = ''; } /** * Compose fragment ID anchor with offset, for use in reference container. * Empty span, child of empty span, to avoid tall dotted rectangles in browser. */ - $l_str_footnote_anchor_element = ''; + $footnote_anchor_element = ''; // Compose optional hard link address. - $l_str_hard_link_address = ' href="#'; - $l_str_hard_link_address .= self::$a_str_referrer_link_slug; - $l_str_hard_link_address .= self::$a_str_post_container_id_compound; - $l_str_hard_link_address .= $l_str_footnote_id . '"'; - $l_str_hard_link_address .= $l_str_use_backbutton_hint; - self::$a_str_link_open_tag = ' class="footnote_hard_back_link">'; + $hard_link_address = ' href="#'; + $hard_link_address .= self::$referrer_link_slug; + $hard_link_address .= self::$post_container_id_compound; + $hard_link_address .= $footnote_id . '"'; + $hard_link_address .= $use_backbutton_hint; + self::$link_open_tag = ' class="footnote_hard_back_link">'; } else { // Define as empty, too. - $l_str_footnote_anchor_element = ''; + $footnote_anchor_element = ''; } /* @@ -1891,207 +1891,207 @@ class Parser { */ // Set a flag to check for the combined status of a footnote item. - $l_bool_flag_combined = false; + $flag_combined = false; // Set otherwise unused variables as empty to avoid screwing up the placeholder array. - $l_str_backlink_event = ''; - $l_str_footnote_backlinks = ''; - $l_str_footnote_reference = ''; + $backlink_event = ''; + $footnote_backlinks = ''; + $footnote_reference = ''; - if ( $l_bool_combine_identical_footnotes ) { + if ( $combine_identical_footnotes ) { // ID, optional hard link address, and class. - $l_str_footnote_reference = '<' . self::$a_str_link_span; - $l_str_footnote_reference .= ' id="footnote_plugin_reference_'; - $l_str_footnote_reference .= self::$a_int_post_id; - $l_str_footnote_reference .= '_' . self::$a_int_reference_container_id; - $l_str_footnote_reference .= "_$l_str_footnote_id\""; - if ( self::$a_bool_hard_links_enabled ) { - $l_str_footnote_reference .= ' href="#'; - $l_str_footnote_reference .= self::$a_str_referrer_link_slug; - $l_str_footnote_reference .= self::$a_str_post_container_id_compound; - $l_str_footnote_reference .= $l_str_footnote_id . '"'; - $l_str_footnote_reference .= $l_str_use_backbutton_hint; + $footnote_reference = '<' . self::$link_span; + $footnote_reference .= ' id="footnote_plugin_reference_'; + $footnote_reference .= self::$post_id; + $footnote_reference .= '_' . self::$reference_container_id; + $footnote_reference .= "_$footnote_id\""; + if ( self::$hard_links_enabled ) { + $footnote_reference .= ' href="#'; + $footnote_reference .= self::$referrer_link_slug; + $footnote_reference .= self::$post_container_id_compound; + $footnote_reference .= $footnote_id . '"'; + $footnote_reference .= $use_backbutton_hint; } - $l_str_footnote_reference .= ' class="footnote_backlink"'; + $footnote_reference .= ' class="footnote_backlink"'; /* * The click event goes in the table cell if footnote remains single. */ - $l_str_backlink_event = ' onclick="footnote_moveToAnchor_'; + $backlink_event = ' onclick="footnote_moveToAnchor_'; - $l_str_backlink_event .= self::$a_int_post_id; - $l_str_backlink_event .= '_' . self::$a_int_reference_container_id; - $l_str_backlink_event .= "('footnote_plugin_tooltip_"; - $l_str_backlink_event .= self::$a_int_post_id; - $l_str_backlink_event .= '_' . self::$a_int_reference_container_id; - $l_str_backlink_event .= "_$l_str_footnote_id');\""; + $backlink_event .= self::$post_id; + $backlink_event .= '_' . self::$reference_container_id; + $backlink_event .= "('footnote_plugin_tooltip_"; + $backlink_event .= self::$post_id; + $backlink_event .= '_' . self::$reference_container_id; + $backlink_event .= "_$footnote_id');\""; // The dedicated template enumerating backlinks uses another variable. - $l_str_footnote_backlinks = $l_str_footnote_reference; + $footnote_backlinks = $footnote_reference; // Append the click event right to the backlink item for enumerations;. // Else it goes in the table cell. - $l_str_footnote_backlinks .= $l_str_backlink_event . '>'; - $l_str_footnote_reference .= '>'; + $footnote_backlinks .= $backlink_event . '>'; + $footnote_reference .= '>'; // Append the optional offset anchor for hard links. - if ( self::$a_bool_hard_links_enabled ) { - $l_str_footnote_reference .= $l_str_footnote_anchor_element; - $l_str_footnote_backlinks .= $l_str_footnote_anchor_element; + if ( self::$hard_links_enabled ) { + $footnote_reference .= $footnote_anchor_element; + $footnote_backlinks .= $footnote_anchor_element; } // Continue both single note and notes cluster, depending on switch option status. - if ( $l_bool_symbol_switch ) { + if ( $symbol_switch ) { - $l_str_footnote_reference .= "$l_str_footnote_id$l_str_footnote_arrow"; - $l_str_footnote_backlinks .= "$l_str_footnote_id$l_str_footnote_arrow"; + $footnote_reference .= "$footnote_id$footnote_arrow"; + $footnote_backlinks .= "$footnote_id$footnote_arrow"; } else { - $l_str_footnote_reference .= "$l_str_footnote_arrow$l_str_footnote_id"; - $l_str_footnote_backlinks .= "$l_str_footnote_arrow$l_str_footnote_id"; + $footnote_reference .= "$footnote_arrow$footnote_id"; + $footnote_backlinks .= "$footnote_arrow$footnote_id"; } // If that is the only footnote with this text, we’re almost done.. // Check if it isn't the last footnote in the array. - if ( $l_int_first_footnote_index < count( self::$a_arr_footnotes ) ) { + if ( $first_footnote_index < count( self::$footnotes ) ) { // Get all footnotes that haven't passed yet. - $num_footnotes = count( self::$a_arr_footnotes ); - for ( $l_int_check_index = $l_int_first_footnote_index; $l_int_check_index < $num_footnotes; $l_int_check_index++ ) { + $num_footnotes = count( self::$footnotes ); + for ( $check_index = $first_footnote_index; $check_index < $num_footnotes; $check_index++ ) { // Check if a further footnote is the same as the actual one. - if ( self::$a_arr_footnotes[ $l_int_check_index ] === $l_str_footnote_text ) { + if ( self::$footnotes[ $check_index ] === $footnote_text ) { // If so, set the further footnote as empty so it won't be displayed later. - self::$a_arr_footnotes[ $l_int_check_index ] = ''; + self::$footnotes[ $check_index ] = ''; // Set the flag to true for the combined status. - $l_bool_flag_combined = true; + $flag_combined = true; // Update the footnote ID. - $l_str_footnote_id = Includes\Convert::index( ( $l_int_check_index + 1 ), Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE ) ); + $footnote_id = Includes\Convert::index( ( $check_index + 1 ), Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE ) ); // Resume composing the backlinks enumeration. - $l_str_footnote_backlinks .= "$l_str_separator'; - $l_str_footnote_backlinks .= $l_str_line_break; - $l_str_footnote_backlinks .= '<' . self::$a_str_link_span; - $l_str_footnote_backlinks .= ' id="footnote_plugin_reference_'; - $l_str_footnote_backlinks .= self::$a_int_post_id; - $l_str_footnote_backlinks .= '_' . self::$a_int_reference_container_id; - $l_str_footnote_backlinks .= "_$l_str_footnote_id\""; + $footnote_backlinks .= "$separator'; + $footnote_backlinks .= $line_break; + $footnote_backlinks .= '<' . self::$link_span; + $footnote_backlinks .= ' id="footnote_plugin_reference_'; + $footnote_backlinks .= self::$post_id; + $footnote_backlinks .= '_' . self::$reference_container_id; + $footnote_backlinks .= "_$footnote_id\""; // Insert the optional hard link address. - if ( self::$a_bool_hard_links_enabled ) { - $l_str_footnote_backlinks .= ' href="#'; - $l_str_footnote_backlinks .= self::$a_str_referrer_link_slug; - $l_str_footnote_backlinks .= self::$a_str_post_container_id_compound; - $l_str_footnote_backlinks .= $l_str_footnote_id . '"'; - $l_str_footnote_backlinks .= $l_str_use_backbutton_hint; + if ( self::$hard_links_enabled ) { + $footnote_backlinks .= ' href="#'; + $footnote_backlinks .= self::$referrer_link_slug; + $footnote_backlinks .= self::$post_container_id_compound; + $footnote_backlinks .= $footnote_id . '"'; + $footnote_backlinks .= $use_backbutton_hint; } - $l_str_footnote_backlinks .= ' class="footnote_backlink"'; + $footnote_backlinks .= ' class="footnote_backlink"'; // Reverted wrong linting. - $l_str_footnote_backlinks .= ' onclick="footnote_moveToAnchor_'; + $footnote_backlinks .= ' onclick="footnote_moveToAnchor_'; - $l_str_footnote_backlinks .= self::$a_int_post_id; - $l_str_footnote_backlinks .= '_' . self::$a_int_reference_container_id; - $l_str_footnote_backlinks .= "('footnote_plugin_tooltip_"; - $l_str_footnote_backlinks .= self::$a_int_post_id; - $l_str_footnote_backlinks .= '_' . self::$a_int_reference_container_id; - $l_str_footnote_backlinks .= "_$l_str_footnote_id');\">"; + $footnote_backlinks .= self::$post_id; + $footnote_backlinks .= '_' . self::$reference_container_id; + $footnote_backlinks .= "('footnote_plugin_tooltip_"; + $footnote_backlinks .= self::$post_id; + $footnote_backlinks .= '_' . self::$reference_container_id; + $footnote_backlinks .= "_$footnote_id');\">"; // Append the offset anchor for optional hard links. - if ( self::$a_bool_hard_links_enabled ) { - $l_str_footnote_backlinks .= ''; + if ( self::$hard_links_enabled ) { + $footnote_backlinks .= ''; } - $l_str_footnote_backlinks .= $l_bool_symbol_switch ? '' : $l_str_footnote_arrow; - $l_str_footnote_backlinks .= $l_str_footnote_id; - $l_str_footnote_backlinks .= $l_bool_symbol_switch ? $l_str_footnote_arrow : ''; + $footnote_backlinks .= $symbol_switch ? '' : $footnote_arrow; + $footnote_backlinks .= $footnote_id; + $footnote_backlinks .= $symbol_switch ? $footnote_arrow : ''; } } } // Append terminator and end tag. - $l_str_footnote_reference .= $l_str_terminator . ''; - $l_str_footnote_backlinks .= $l_str_terminator . ''; + $footnote_reference .= $terminator . ''; + $footnote_backlinks .= $terminator . ''; } // Line wrapping of URLs already fixed, see above. // Get reference container item text if tooltip text goes separate. - $l_int_tooltip_text_length = strpos( $l_str_footnote_text, self::$a_str_tooltip_shortcode ); - $l_bool_has_tooltip_text = (bool) $l_int_tooltip_text_length; - if ( $l_bool_has_tooltip_text ) { - $l_str_not_tooltip_text = substr( $l_str_footnote_text, ( $l_int_tooltip_text_length + self::$a_int_tooltip_shortcode_length ) ); - self::$a_bool_mirror_tooltip_text = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE ) ); - if ( self::$a_bool_mirror_tooltip_text ) { - $l_str_tooltip_text = substr( $l_str_footnote_text, 0, $l_int_tooltip_text_length ); - $l_str_reference_text_introducer = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR ); - $l_str_reference_text = $l_str_tooltip_text . $l_str_reference_text_introducer . $l_str_not_tooltip_text; + $tooltip_text_length = strpos( $footnote_text, self::$tooltip_shortcode ); + $has_tooltip_text = (bool) $tooltip_text_length; + if ( $has_tooltip_text ) { + $not_tooltip_text = substr( $footnote_text, ( $tooltip_text_length + self::$tooltip_shortcode_length ) ); + self::$mirror_tooltip_text = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE ) ); + if ( self::$mirror_tooltip_text ) { + $tooltip_text = substr( $footnote_text, 0, $tooltip_text_length ); + $reference_text_introducer = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR ); + $reference_text = $tooltip_text . $reference_text_introducer . $not_tooltip_text; } else { - $l_str_reference_text = $l_str_not_tooltip_text; + $reference_text = $not_tooltip_text; } } else { - $l_str_reference_text = $l_str_footnote_text; + $reference_text = $footnote_text; } // Replace all placeholders in table row template. - $l_obj_template->replace( + $template->replace( array( // Placeholder used in all templates. - 'text' => $l_str_reference_text, + 'text' => $reference_text, // Used in standard layout W/O COMBINED FOOTNOTES. - 'post_id' => self::$a_int_post_id, - 'container_id' => self::$a_int_reference_container_id, - 'note_id' => Includes\Convert::index( $l_int_first_footnote_index, Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_COUNTER_STYLE ) ), - 'link-start' => self::$a_str_link_open_tag, - 'link-end' => self::$a_str_link_close_tag, - 'link-span' => self::$a_str_link_span, - 'terminator' => $l_str_terminator, - 'anchor-element' => $l_str_footnote_anchor_element, - 'hard-link' => $l_str_hard_link_address, + 'post_id' => self::$post_id, + 'container_id' => self::$reference_container_id, + 'note_id' => Includes\Convert::index( $first_footnote_index, Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_COUNTER_STYLE ) ), + 'link-start' => self::$link_open_tag, + 'link-end' => self::$link_close_tag, + 'link-span' => self::$link_span, + 'terminator' => $terminator, + 'anchor-element' => $footnote_anchor_element, + 'hard-link' => $hard_link_address, // Used in standard layout WITH COMBINED IDENTICALS TURNED ON. - 'pointer' => $l_bool_flag_combined ? '' : ' pointer', - 'event' => $l_bool_flag_combined ? '' : $l_str_backlink_event, - 'backlinks' => $l_bool_flag_combined ? $l_str_footnote_backlinks : $l_str_footnote_reference, + 'pointer' => $flag_combined ? '' : ' pointer', + 'event' => $flag_combined ? '' : $backlink_event, + 'backlinks' => $flag_combined ? $footnote_backlinks : $footnote_reference, // Legacy placeholders for use in legacy layout templates. - 'arrow' => $l_str_footnote_arrow, - 'index' => $l_str_footnote_id, + 'arrow' => $footnote_arrow, + 'index' => $footnote_id, ) ); - $l_str_body .= $l_obj_template->get_content(); + $body .= $template->get_content(); // Extra line breaks for page source readability. - $l_str_body .= "\r\n\r\n"; + $body .= "\r\n\r\n"; - $l_obj_template->reload(); + $template->reload(); } // Call again for robustness when priority levels don’t match any longer. - self::$a_int_scroll_offset = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_OFFSET ); + self::$scroll_offset = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_OFFSET ); // Streamline. - $l_bool_collapse_default = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ); + $collapse_default = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_COLLAPSE ) ); /* * Reference container label. @@ -2100,81 +2100,81 @@ class Parser { * In case of empty label that would apply to the left half button character. * Hence the point in setting an empty label to U+202F NARROW NO-BREAK SPACE. */ - $l_str_reference_container_label = Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_NAME ); + $reference_container_label = Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_NAME ); // Select the reference container template. // Whether AMP compatibility mode is enabled. - if ( General::$a_bool_amp_enabled ) { + if ( General::$amp_enabled ) { // Whether the reference container is collapsed by default. - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_COLLAPSE ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_COLLAPSE ) ) ) { // Load 'public/partials/amp-reference-container-collapsed.html'. - $l_obj_template_container = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container-collapsed' ); + $template_container = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container-collapsed' ); } else { // Load 'public/partials/amp-reference-container.html'. - $l_obj_template_container = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'amp-reference-container' ); + $template_container = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'amp-reference-container' ); } - } elseif ( 'js' === General::$a_str_script_mode ) { + } elseif ( 'js' === General::$script_mode ) { // Load 'public/partials/js-reference-container.html'. - $l_obj_template_container = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'js-reference-container' ); + $template_container = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'js-reference-container' ); } else { // Load 'public/partials/reference-container.html'. - $l_obj_template_container = new Includes\Template( \footnotes\includes\Template::C_STR_PUBLIC, 'reference-container' ); + $template_container = new Includes\Template( \footnotes\includes\Template::PUBLIC, 'reference-container' ); } - $l_int_scroll_offset = ''; - $l_int_scroll_down_delay = ''; - $l_int_scroll_down_duration = ''; - $l_int_scroll_up_delay = ''; - $l_int_scroll_up_duration = ''; + $scroll_offset = ''; + $scroll_down_delay = ''; + $scroll_down_duration = ''; + $scroll_up_delay = ''; + $scroll_up_duration = ''; - if ( 'jquery' === General::$a_str_script_mode ) { + if ( 'jquery' === General::$script_mode ) { - $l_int_scroll_offset = ( self::$a_int_scroll_offset / 100 ); - $l_int_scroll_up_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DURATION ); + $scroll_offset = ( self::$scroll_offset / 100 ); + $scroll_up_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION ); - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY ) ) ) { + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY ) ) ) { - $l_int_scroll_down_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION ); + $scroll_down_duration = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DURATION ); } else { - $l_int_scroll_down_duration = $l_int_scroll_up_duration; + $scroll_down_duration = $scroll_up_duration; } - $l_int_scroll_down_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY ); - $l_int_scroll_up_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::C_INT_FOOTNOTES_SCROLL_UP_DELAY ); + $scroll_down_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_DOWN_DELAY ); + $scroll_up_delay = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_SCROLL_UP_DELAY ); } - $l_obj_template_container->replace( + $template_container->replace( array( - 'post_id' => self::$a_int_post_id, - 'container_id' => self::$a_int_reference_container_id, - 'element' => Includes\Settings::instance()->get( \footnotes\includes\Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT ), - 'name' => empty( $l_str_reference_container_label ) ? ' ' : $l_str_reference_container_label, - 'button-style' => $l_bool_collapse_default ? '' : 'display: none;', - 'style' => $l_bool_collapse_default ? 'display: none;' : '', - 'caption' => ( empty( $l_str_reference_container_label ) || ' ' === $l_str_reference_container_label ) ? 'References' : $l_str_reference_container_label, - 'content' => $l_str_body, - 'scroll-offset' => $l_int_scroll_offset, - 'scroll-down-delay' => $l_int_scroll_down_delay, - 'scroll-down-duration' => $l_int_scroll_down_duration, - 'scroll-up-delay' => $l_int_scroll_up_delay, - 'scroll-up-duration' => $l_int_scroll_up_duration, + 'post_id' => self::$post_id, + 'container_id' => self::$reference_container_id, + 'element' => Includes\Settings::instance()->get( \footnotes\includes\Settings::REFERENCE_CONTAINER_LABEL_ELEMENT ), + 'name' => empty( $reference_container_label ) ? ' ' : $reference_container_label, + 'button-style' => $collapse_default ? '' : 'display: none;', + 'style' => $collapse_default ? 'display: none;' : '', + 'caption' => ( empty( $reference_container_label ) || ' ' === $reference_container_label ) ? 'References' : $reference_container_label, + 'content' => $body, + 'scroll-offset' => $scroll_offset, + 'scroll-down-delay' => $scroll_down_delay, + 'scroll-down-duration' => $scroll_down_duration, + 'scroll-up-delay' => $scroll_up_delay, + 'scroll-up-duration' => $scroll_up_duration, ) ); // Free all found footnotes if reference container will be displayed. - self::$a_arr_footnotes = array(); + self::$footnotes = array(); - return $l_obj_template_container->get_content(); + return $template_container->get_content(); } } diff --git a/src/public/widget/class-base.php b/src/public/widget/class-base.php index 324f356..f075943 100644 --- a/src/public/widget/class-base.php +++ b/src/public/widget/class-base.php @@ -77,11 +77,11 @@ abstract class Base extends \WP_Widget { * @since 1.5.0 */ public function __construct() { - $l_arr_widget_options = array( + $widget_options = array( 'classname' => __CLASS__, 'description' => $this->get_description(), ); - $l_arr_control_options = array( + $control_options = array( 'id_base' => strtolower( $this->get_id() ), 'width' => $this->get_widget_width(), ); @@ -89,8 +89,8 @@ abstract class Base extends \WP_Widget { parent::__construct( strtolower( $this->get_id() ), // Unique ID for the widget, has to be lowercase. $this->get_name(), // Plugin name to be displayed. - $l_arr_widget_options, // Optional Widget Options. - $l_arr_control_options // Optional Widget Control Options. + $widget_options, // Optional Widget Options. + $control_options // Optional Widget Control Options. ); } diff --git a/src/public/widget/class-reference-container.php b/src/public/widget/class-reference-container.php index 52061e6..97f07b5 100644 --- a/src/public/widget/class-reference-container.php +++ b/src/public/widget/class-reference-container.php @@ -111,9 +111,9 @@ class Reference_Container extends Base { public function widget( $args, $instance ) { global $footnotes; // Reference container positioning is set to "widget area". - if ( 'widget' === Includes\Settings::instance()->get( Includes\Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ) { + if ( 'widget' === Includes\Settings::instance()->get( Includes\Settings::REFERENCE_CONTAINER_POSITION ) ) { // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped - echo $footnotes->a_obj_task->reference_container(); + echo $footnotes->task->reference_container(); // phpcs:enable } } From c60f6265c18dd8ba60a0fc2411d4c52158d77963 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 20:57:38 +0100 Subject: [PATCH 82/99] chore: lint code --- src/includes/class-settings.php | 170 ++++++++++++++++---------------- src/public/class-general.php | 2 +- src/public/class-parser.php | 12 +-- 3 files changed, 92 insertions(+), 92 deletions(-) diff --git a/src/includes/class-settings.php b/src/includes/class-settings.php index 4f295f9..3536c7e 100644 --- a/src/includes/class-settings.php +++ b/src/includes/class-settings.php @@ -1145,80 +1145,80 @@ class Settings { 'footnotes_storage' => array( // AMP compatibility. - self::FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', + self::FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', // Footnote start and end short codes. - self::FOOTNOTES_SHORT_CODE_START => '((', - self::FOOTNOTES_SHORT_CODE_END => '))', + self::FOOTNOTES_SHORT_CODE_START => '((', + self::FOOTNOTES_SHORT_CODE_END => '))', self::FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '', - self::FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', + self::FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', self::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE => 'yes', // Footnotes numbering. - self::FOOTNOTES_COUNTER_STYLE => 'arabic_plain', - self::COMBINE_IDENTICAL_FOOTNOTES => 'yes', + self::FOOTNOTES_COUNTER_STYLE => 'arabic_plain', + self::COMBINE_IDENTICAL_FOOTNOTES => 'yes', // Scrolling behavior. - self::FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', - self::FOOTNOTES_SCROLL_OFFSET => 20, - self::FOOTNOTES_SCROLL_DURATION => 380, + self::FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', + self::FOOTNOTES_SCROLL_OFFSET => 20, + self::FOOTNOTES_SCROLL_DURATION => 380, self::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no', - self::FOOTNOTES_SCROLL_DOWN_DURATION => 150, - self::FOOTNOTES_SCROLL_DOWN_DELAY => 0, - self::FOOTNOTES_SCROLL_UP_DELAY => 0, - self::FOOTNOTES_HARD_LINKS_ENABLE => 'no', - self::REFERRER_FRAGMENT_ID_SLUG => 'r', - self::FOOTNOTE_FRAGMENT_ID_SLUG => 'f', - self::HARD_LINK_IDS_SEPARATOR => '+', - self::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', - self::FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', + self::FOOTNOTES_SCROLL_DOWN_DURATION => 150, + self::FOOTNOTES_SCROLL_DOWN_DELAY => 0, + self::FOOTNOTES_SCROLL_UP_DELAY => 0, + self::FOOTNOTES_HARD_LINKS_ENABLE => 'no', + self::REFERRER_FRAGMENT_ID_SLUG => 'r', + self::FOOTNOTE_FRAGMENT_ID_SLUG => 'f', + self::HARD_LINK_IDS_SEPARATOR => '+', + self::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', + self::FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', // Reference container. - self::REFERENCE_CONTAINER_NAME => 'References', - self::REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', + self::REFERENCE_CONTAINER_NAME => 'References', + self::REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', self::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER => 'yes', - self::REFERENCE_CONTAINER_COLLAPSE => 'no', + self::REFERENCE_CONTAINER_COLLAPSE => 'no', self::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE => 'jquery', - self::REFERENCE_CONTAINER_POSITION => 'post_end', - self::REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', - self::FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', - self::REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', - self::REFERENCE_CONTAINER_TOP_MARGIN => 24, - self::REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, - self::FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', - self::FOOTNOTE_URL_WRAP_ENABLED => 'yes', + self::REFERENCE_CONTAINER_POSITION => 'post_end', + self::REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', + self::FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', + self::REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', + self::REFERENCE_CONTAINER_TOP_MARGIN => 24, + self::REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, + self::FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', + self::FOOTNOTE_URL_WRAP_ENABLED => 'yes', self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes', self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH => 'no', self::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no', - self::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', + self::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', - self::BACKLINKS_SEPARATOR_ENABLED => 'yes', - self::BACKLINKS_SEPARATOR_OPTION => 'comma', - self::BACKLINKS_SEPARATOR_CUSTOM => '', + self::BACKLINKS_SEPARATOR_ENABLED => 'yes', + self::BACKLINKS_SEPARATOR_OPTION => 'comma', + self::BACKLINKS_SEPARATOR_CUSTOM => '', - self::BACKLINKS_TERMINATOR_ENABLED => 'no', - self::BACKLINKS_TERMINATOR_OPTION => 'full_stop', - self::BACKLINKS_TERMINATOR_CUSTOM => '', + self::BACKLINKS_TERMINATOR_ENABLED => 'no', + self::BACKLINKS_TERMINATOR_OPTION => 'full_stop', + self::BACKLINKS_TERMINATOR_CUSTOM => '', - self::BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', - self::BACKLINKS_COLUMN_WIDTH_SCALAR => '50', - self::BACKLINKS_COLUMN_WIDTH_UNIT => 'px', + self::BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_WIDTH_SCALAR => '50', + self::BACKLINKS_COLUMN_WIDTH_UNIT => 'px', - self::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', - self::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', - self::BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', + self::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', + self::BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', - self::BACKLINKS_LINE_BREAKS_ENABLED => 'no', - self::LINK_ELEMENT_ENABLED => 'yes', + self::BACKLINKS_LINE_BREAKS_ENABLED => 'no', + self::LINK_ELEMENT_ENABLED => 'yes', // Footnotes in excerpts. - self::FOOTNOTES_IN_EXCERPT => 'manual', + self::FOOTNOTES_IN_EXCERPT => 'manual', // Footnotes love. - self::FOOTNOTES_LOVE => 'no', + self::FOOTNOTES_LOVE => 'no', // Deprecated. - self::FOOTNOTES_EXPERT_MODE => 'yes', + self::FOOTNOTES_EXPERT_MODE => 'yes', ), @@ -1226,64 +1226,64 @@ class Settings { 'footnotes_storage_custom' => array( // Backlink symbol. - self::HYPERLINK_ARROW => 0, - self::HYPERLINK_ARROW_USER_DEFINED => '', + self::HYPERLINK_ARROW => 0, + self::HYPERLINK_ARROW_USER_DEFINED => '', // Referrers. - self::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', - self::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', - self::FOOTNOTES_STYLING_BEFORE => '[', - self::FOOTNOTES_STYLING_AFTER => ']', + self::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', + self::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', + self::FOOTNOTES_STYLING_BEFORE => '[', + self::FOOTNOTES_STYLING_AFTER => ']', // Referrers in labels. - self::FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', + self::FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', // Tooltips. - self::FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', - self::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', + self::FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', + self::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', // Tooltip position. - self::FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', + self::FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION => 'top right', - self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X => -50, - self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y => 24, // Tooltip dimensions. - self::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, + self::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH => 400, // Tooltip timing. - self::MOUSE_OVER_BOX_FADE_IN_DELAY => 0, - self::MOUSE_OVER_BOX_FADE_IN_DURATION => 200, - self::MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, - self::MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_IN_DELAY => 0, + self::MOUSE_OVER_BOX_FADE_IN_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, + self::MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, // Tooltip truncation. self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'yes', - self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, - self::FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', + self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, + self::FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', // Tooltip text. - self::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', - self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', + self::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', + self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR => ' — ', // Tooltip appearance. - self::MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', - self::MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, - self::MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', + self::MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', + self::MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, + self::MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', - self::FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', - self::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', - self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, - self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', - self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, - self::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', + self::FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', + self::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, + self::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', // Your existing Custom CSS code. - self::CUSTOM_CSS => '', + self::CUSTOM_CSS => '', ), @@ -1291,19 +1291,19 @@ class Settings { 'footnotes_storage_expert' => array( // WordPress hooks with priority level. - self::EXPERT_LOOKUP_THE_TITLE => '', - self::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_THE_TITLE => '', + self::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::EXPERT_LOOKUP_THE_CONTENT => 'checked', + self::EXPERT_LOOKUP_THE_CONTENT => 'checked', self::EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98, - self::EXPERT_LOOKUP_THE_EXCERPT => '', + self::EXPERT_LOOKUP_THE_EXCERPT => '', self::EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX, - self::EXPERT_LOOKUP_WIDGET_TITLE => '', + self::EXPERT_LOOKUP_WIDGET_TITLE => '', self::EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::EXPERT_LOOKUP_WIDGET_TEXT => '', + self::EXPERT_LOOKUP_WIDGET_TEXT => '', self::EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98, ), @@ -1387,7 +1387,7 @@ class Settings { private function load_all(): void { // Clear current settings. $this->settings = array(); - $num_settings = count( $this->container ); + $num_settings = count( $this->container ); for ( $i = 0; $i < $num_settings; $i++ ) { // Load settings. $this->settings = array_merge( $this->settings, $this->load( $i ) ); diff --git a/src/public/class-general.php b/src/public/class-general.php index 3835ba0..f584bc4 100644 --- a/src/public/class-general.php +++ b/src/public/class-general.php @@ -121,7 +121,7 @@ class General { self::$amp_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) ); self::$tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) ); self::$alternative_tooltips_enabled = Includes\Convert::to_bool( Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE ) ); - self::$script_mode = Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); + self::$script_mode = Includes\Settings::instance()->get( Includes\Settings::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE ); } /** diff --git a/src/public/class-parser.php b/src/public/class-parser.php index 902fda6..42ca4f9 100644 --- a/src/public/class-parser.php +++ b/src/public/class-parser.php @@ -389,7 +389,7 @@ class Parser { } // Reset stored footnotes when displaying the header. - self::$footnotes = array(); + self::$footnotes = array(); self::$allow_love_me = true; } @@ -1071,7 +1071,7 @@ class Parser { // Take a look if the LOVE ME slug should NOT be displayed on this page/post, remove the short code if found. if ( strpos( $content, \footnotes\includes\Config::NO_LOVE_SLUG ) ) { self::$allow_love_me = false; - $content = str_replace( \footnotes\includes\Config::NO_LOVE_SLUG, '', $content ); + $content = str_replace( \footnotes\includes\Config::NO_LOVE_SLUG, '', $content ); } // Return the content with replaced footnotes and optional reference container appended. return $content; @@ -1363,7 +1363,7 @@ class Parser { self::$tooltip_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER ); self::$tooltip_shortcode_length = strlen( self::$tooltip_shortcode ); $tooltip_text_length = strpos( $footnote_text, (string) self::$tooltip_shortcode ); - $has_tooltip_text = (bool) $tooltip_text_length; + $has_tooltip_text = (bool) $tooltip_text_length; $tooltip_text = $has_tooltip_text ? substr( $footnote_text, 0, $tooltip_text_length ) : ''; /* @@ -1419,7 +1419,7 @@ class Parser { // Display only a truncated footnote text if option enabled. $enable_excerpt = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED ) ); - $max_length = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH ); + $max_length = (int) Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH ); // Define excerpt text as footnote text by default. $excerpt_text = $footnote_text; @@ -2034,9 +2034,9 @@ class Parser { // Get reference container item text if tooltip text goes separate. $tooltip_text_length = strpos( $footnote_text, self::$tooltip_shortcode ); - $has_tooltip_text = (bool) $tooltip_text_length; + $has_tooltip_text = (bool) $tooltip_text_length; if ( $has_tooltip_text ) { - $not_tooltip_text = substr( $footnote_text, ( $tooltip_text_length + self::$tooltip_shortcode_length ) ); + $not_tooltip_text = substr( $footnote_text, ( $tooltip_text_length + self::$tooltip_shortcode_length ) ); self::$mirror_tooltip_text = Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE ) ); if ( self::$mirror_tooltip_text ) { $tooltip_text = substr( $footnote_text, 0, $tooltip_text_length ); From 667d8dada93cfb5ef72921b0c513049bc8739b7f Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:04:31 +0100 Subject: [PATCH 83/99] refactor: run Rector `NAMING` setlist --- src/admin/layout/class-init.php | 10 +++++----- src/admin/layout/class-settings.php | 6 +++--- src/includes/class-core.php | 30 ++++++++++++++--------------- src/includes/class-loader.php | 8 ++++---- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/admin/layout/class-init.php b/src/admin/layout/class-init.php index ae41125..4649583 100644 --- a/src/admin/layout/class-init.php +++ b/src/admin/layout/class-init.php @@ -43,7 +43,7 @@ class Init { * * @since 1.5.0 */ - private Settings $settings_page; + private Settings $settings; /** * Initializes all WordPress hooks for the Plugin Settings. @@ -64,7 +64,7 @@ class Init { ) { $this->load_dependencies(); - $this->settings_page = new Settings( $this->plugin_name ); + $this->settings = new Settings( $this->plugin_name ); // Register hooks/actions. add_action( @@ -123,7 +123,7 @@ class Init { */ public function initialize_settings(): void { Includes\Settings::instance()->register_settings(); - $this->settings_page->register_sections(); + $this->settings->register_sections(); } /** @@ -139,9 +139,9 @@ class Init { \footnotes\includes\Config::PLUGIN_PUBLIC_NAME, 'manage_options', self::MAIN_MENU_SLUG, - fn() => $this->settings_page->display_content() + fn() => $this->settings->display_content() ); - $this->settings_page->register_sub_page(); + $this->settings->register_sub_page(); } // phpcs:disable WordPress.Security.NonceVerification.Missing diff --git a/src/admin/layout/class-settings.php b/src/admin/layout/class-settings.php index b5dc4ce..1db528b 100644 --- a/src/admin/layout/class-settings.php +++ b/src/admin/layout/class-settings.php @@ -1231,7 +1231,7 @@ class Settings extends Engine { * @todo Review in light of admin/public split. */ public function help(): void { - $footnotes = new General\General( $this->plugin_name, 'foo' ); + $general = new General\General( $this->plugin_name, 'foo' ); // Load footnotes starting and end tag. $footnote_starting_tag = $this->load_setting( \footnotes\includes\Settings::FOOTNOTES_SHORT_CODE_START ); @@ -1268,7 +1268,7 @@ class Settings extends Engine { 'end' => $footnote_ending_tag['value'], 'example-code' => $example, 'example-string' => '
                                                                                          ' . __( 'will be displayed as:', 'footnotes' ), - 'example' => $footnotes->task->exec( $example, true ), + 'example' => $general->task->exec( $example, true ), // Translators: %1$s, %2$s: anchor element with hyperlink to the Support Forum. 'information' => sprintf( __( 'For further information please check out our %1$sSupport Forum%2$s on WordPress.org.', 'footnotes' ), '', '' ), ) @@ -1282,7 +1282,7 @@ class Settings extends Engine { * the name of the filtered function. * When this callback function was renamed, this call went unnoticed. */ - $footnotes->task->footnotes_output_head(); + $general->task->footnotes_output_head(); // Display template with replaced placeholders. // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped diff --git a/src/includes/class-core.php b/src/includes/class-core.php index b9b230c..e5b0a2b 100644 --- a/src/includes/class-core.php +++ b/src/includes/class-core.php @@ -168,9 +168,9 @@ class Core { */ private function set_locale() { - $plugin_i18n = new i18n(); + $i18n = new i18n(); - $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' ); + $this->loader->add_action( 'plugins_loaded', $i18n, 'load_plugin_textdomain' ); } @@ -186,23 +186,23 @@ class Core { */ private function define_admin_hooks() { - $plugin_admin = new Admin\Admin( $this->get_plugin_name(), $this->get_version() ); + $admin = new Admin\Admin( $this->get_plugin_name(), $this->get_version() ); - $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); - $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); + $this->loader->add_action( 'admin_enqueue_scripts', $admin, 'enqueue_styles' ); + $this->loader->add_action( 'admin_enqueue_scripts', $admin, 'enqueue_scripts' ); - $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'action_links' ); + $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $admin, 'action_links' ); - $this->loader->add_filter( 'mce_buttons', $plugin_admin->wysiwyg, 'new_visual_editor_button' ); - $this->loader->add_action( 'admin_print_footer_scripts', $plugin_admin->wysiwyg, 'new_plain_text_editor_button' ); + $this->loader->add_filter( 'mce_buttons', $admin->wysiwyg, 'new_visual_editor_button' ); + $this->loader->add_action( 'admin_print_footer_scripts', $admin->wysiwyg, 'new_plain_text_editor_button' ); - $this->loader->add_filter( 'mce_external_plugins', $plugin_admin->wysiwyg, 'include_scripts' ); + $this->loader->add_filter( 'mce_external_plugins', $admin->wysiwyg, 'include_scripts' ); // phpcs:disable // 'footnotes_getTags' must match its instance in wysiwyg-editor.js. // 'footnotes_getTags' must match its instance in editor-button.html. - $this->loader->add_action( 'wp_ajax_nopriv_footnotes_getTags', $plugin_admin->wysiwyg, 'ajax_callback' ); - $this->loader->add_action( 'wp_ajax_footnotes_getTags', $plugin_admin->wysiwyg, 'ajax_callback' ); + $this->loader->add_action( 'wp_ajax_nopriv_footnotes_getTags', $admin->wysiwyg, 'ajax_callback' ); + $this->loader->add_action( 'wp_ajax_footnotes_getTags', $admin->wysiwyg, 'ajax_callback' ); // phpcs:enable } @@ -217,12 +217,12 @@ class Core { */ private function define_public_hooks() { - $plugin_public = new General\General( $this->get_plugin_name(), $this->get_version() ); + $general = new General\General( $this->get_plugin_name(), $this->get_version() ); - $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' ); - $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); + $this->loader->add_action( 'wp_enqueue_scripts', $general, 'enqueue_styles' ); + $this->loader->add_action( 'wp_enqueue_scripts', $general, 'enqueue_scripts' ); - $this->loader->add_action( 'widgets_init', $plugin_public, 'register_widgets' ); + $this->loader->add_action( 'widgets_init', $general, 'register_widgets' ); } /** diff --git a/src/includes/class-loader.php b/src/includes/class-loader.php index a0d6bcf..5ca90a7 100644 --- a/src/includes/class-loader.php +++ b/src/includes/class-loader.php @@ -137,12 +137,12 @@ class Loader { */ public function run() { - foreach ( $this->filters as $hook ) { - add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); + foreach ( $this->filters as $filter ) { + add_filter( $filter['hook'], array( $filter['component'], $filter['callback'] ), $filter['priority'], $filter['accepted_args'] ); } - foreach ( $this->actions as $hook ) { - add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); + foreach ( $this->actions as $action ) { + add_action( $action['hook'], array( $action['component'], $action['callback'] ), $action['priority'], $action['accepted_args'] ); } } From 114121a7e27f17b69c0190d94bfdf40c3be69eb6 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:05:37 +0100 Subject: [PATCH 84/99] refactor: run Rector `ORDER` setlist --- src/admin/class-admin.php | 57 +++-- src/admin/layout/class-engine.php | 353 ++++++++++++++-------------- src/admin/layout/class-init.php | 59 +++-- src/admin/layout/class-settings.php | 184 +++++++-------- src/includes/class-convert.php | 189 ++++++++------- src/includes/class-core.php | 80 +++---- src/includes/class-loader.php | 39 ++- src/includes/class-settings.php | 136 ++++++----- src/includes/class-template.php | 13 +- 9 files changed, 542 insertions(+), 568 deletions(-) diff --git a/src/admin/class-admin.php b/src/admin/class-admin.php index 5181f26..c9d02a0 100644 --- a/src/admin/class-admin.php +++ b/src/admin/class-admin.php @@ -65,35 +65,6 @@ class Admin { } - /** - * Load the required admin-specific dependencies. - * - * Includes the following files that provide the admin-specific functionality - * of this plugin: - * - * - {@see WYSIWYG}: Provides plugin integration with the WYSIWYG editor. - * - {@see layout\Settings}: Defines the plugin dashboard page(s). - * - * @access private - * - * @since 2.8.0 - */ - private function load_dependencies(): void { - /** - * The class responsible for WYSIWYG editor integration. - */ - require_once plugin_dir_path( __DIR__ ) . 'admin/class-wysiwyg.php'; - - $this->wysiwyg = new WYSIWYG( $this->plugin_name ); - - /** - * The class responsible for constructing the plugin dashboard page(s). - */ - require_once plugin_dir_path( __DIR__ ) . 'admin/layout/class-init.php'; - - new layout\Init( $this->plugin_name ); - } - /** * Register the stylesheets for the admin area. * @@ -154,6 +125,34 @@ class Admin { $plugin_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); return $plugin_links; } + /** + * Load the required admin-specific dependencies. + * + * Includes the following files that provide the admin-specific functionality + * of this plugin: + * + * - {@see WYSIWYG}: Provides plugin integration with the WYSIWYG editor. + * - {@see layout\Settings}: Defines the plugin dashboard page(s). + * + * @access private + * + * @since 2.8.0 + */ + private function load_dependencies(): void { + /** + * The class responsible for WYSIWYG editor integration. + */ + require_once plugin_dir_path( __DIR__ ) . 'admin/class-wysiwyg.php'; + + $this->wysiwyg = new WYSIWYG( $this->plugin_name ); + + /** + * The class responsible for constructing the plugin dashboard page(s). + */ + require_once plugin_dir_path( __DIR__ ) . 'admin/layout/class-init.php'; + + new layout\Init( $this->plugin_name ); + } } diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index 5e44069..b6286bb 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -69,6 +69,121 @@ abstract class Engine { * @since 1.5.0 */ abstract public function get_priority(): int; + /** + * Registers a sub-page. + * + * @since 1.5.0 + */ + public function register_sub_page(): void { + global $submenu; + + if ( array_key_exists( plugin_basename( Init::MAIN_MENU_SLUG ), $submenu ) ) { + foreach ( $submenu[ plugin_basename( Init::MAIN_MENU_SLUG ) ] as $sub_menu ) { + if ( plugin_basename( Init::MAIN_MENU_SLUG . $this->get_sub_page_slug() ) === $sub_menu[2] ) { + remove_submenu_page( Init::MAIN_MENU_SLUG, Init::MAIN_MENU_SLUG . $this->get_sub_page_slug() ); + } + } + } + + $this->sub_page_hook = add_submenu_page( + Init::MAIN_MENU_SLUG, + $this->get_sub_page_title(), + $this->get_sub_page_title(), + 'manage_options', + Init::MAIN_MENU_SLUG . $this->get_sub_page_slug(), + fn() => $this->display_content() + ); + } + /** + * Registers all sections for a sub-page. + * + * @since 1.5.0 + */ + public function register_sections(): void { + foreach ( $this->get_sections() as $section ) { + // Append tab to the tab-array. + $this->sections[ $section['id'] ] = $section; + add_settings_section( + $section['id'], + '', + fn() => $this->description(), + $section['id'] + ); + $this->register_meta_boxes( $section['id'] ); + } + } + // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing + /** + * Displays the content of specific sub-page. + * + * @since 1.5.0 + * @todo Review nonce verification. + */ + public function display_content(): void { + $this->append_scripts(); + $active_section_id = isset( $_GET['t'] ) ? wp_unslash( $_GET['t'] ) : array_key_first( $this->sections ); + $active_section = $this->sections[ $active_section_id ]; + + // Store settings. + $settings_updated = false; + if ( array_key_exists( 'save-settings', $_POST ) && 'save' === $_POST['save-settings'] ) { + unset( $_POST['save-settings'] ); + unset( $_POST['submit'] ); + $settings_updated = $this->save_settings(); + } + + // Display all sections and highlight the active section. + echo '
                                                                                          '; + echo '
                                                                                          '; + + if ( $settings_updated ) { + echo sprintf( '
                                                                                          %s
                                                                                          ', __( 'Settings saved', 'footnotes' ) ); + } + + // Form to submit the active section. + echo '
                                                                                          '; + echo ''; + // Outputs the settings field of the active section. + do_settings_sections( $active_section['id'] ); + do_meta_boxes( $active_section['id'], 'main', null ); + + // Add submit button to active section if defined. + if ( $active_section['submit'] ) { + submit_button(); + } + echo '
                                                                                          '; + echo '
                                                                                          '; + + // Echo JavaScript for the expand/collapse function of the meta boxes. + echo ''; + } + // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing + /** + * Output the description of a section. May be overwritten in any section. + * + * @since 1.5.0 + * @todo Required? Should be `abstract`? + */ + public function description(): void { + // Default no description will be displayed. + } /** * Returns the unique slug of the child sub-page. @@ -170,186 +285,6 @@ abstract class Engine { ); } - /** - * Registers a sub-page. - * - * @since 1.5.0 - */ - public function register_sub_page(): void { - global $submenu; - - if ( array_key_exists( plugin_basename( Init::MAIN_MENU_SLUG ), $submenu ) ) { - foreach ( $submenu[ plugin_basename( Init::MAIN_MENU_SLUG ) ] as $sub_menu ) { - if ( plugin_basename( Init::MAIN_MENU_SLUG . $this->get_sub_page_slug() ) === $sub_menu[2] ) { - remove_submenu_page( Init::MAIN_MENU_SLUG, Init::MAIN_MENU_SLUG . $this->get_sub_page_slug() ); - } - } - } - - $this->sub_page_hook = add_submenu_page( - Init::MAIN_MENU_SLUG, - $this->get_sub_page_title(), - $this->get_sub_page_title(), - 'manage_options', - Init::MAIN_MENU_SLUG . $this->get_sub_page_slug(), - fn() => $this->display_content() - ); - } - - /** - * Registers all sections for a sub-page. - * - * @since 1.5.0 - */ - public function register_sections(): void { - foreach ( $this->get_sections() as $section ) { - // Append tab to the tab-array. - $this->sections[ $section['id'] ] = $section; - add_settings_section( - $section['id'], - '', - fn() => $this->description(), - $section['id'] - ); - $this->register_meta_boxes( $section['id'] ); - } - } - - /** - * Registers all Meta boxes for a sub-page. - * - * @access private - * @param string $parent_id Parent section unique ID. - * - * @since 1.5.0 - */ - private function register_meta_boxes( string $parent_id ): void { - // Iterate through each meta box. - foreach ( $this->get_meta_boxes() as $meta_box ) { - if ( $parent_id !== $meta_box['parent'] ) { - continue; - } - add_meta_box( - $parent_id . '-' . $meta_box['id'], - $meta_box['title'], - array( $this, $meta_box['callback'] ), - $parent_id, - 'main' - ); - } - } - - /** - * Append JavaScript and CSS files for specific sub-page. - * - * @access private - * - * @since 1.5.0 - * @todo Move to {@see Includes\Admin}. - */ - private function append_scripts(): void { - wp_enqueue_script( 'postbox' ); - wp_enqueue_style( 'wp-color-picker' ); - wp_enqueue_script( 'wp-color-picker' ); - } - - // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing - /** - * Displays the content of specific sub-page. - * - * @since 1.5.0 - * @todo Review nonce verification. - */ - public function display_content(): void { - $this->append_scripts(); - $active_section_id = isset( $_GET['t'] ) ? wp_unslash( $_GET['t'] ) : array_key_first( $this->sections ); - $active_section = $this->sections[ $active_section_id ]; - - // Store settings. - $settings_updated = false; - if ( array_key_exists( 'save-settings', $_POST ) && 'save' === $_POST['save-settings'] ) { - unset( $_POST['save-settings'] ); - unset( $_POST['submit'] ); - $settings_updated = $this->save_settings(); - } - - // Display all sections and highlight the active section. - echo '
                                                                                          '; - echo '
                                                                                          '; - - if ( $settings_updated ) { - echo sprintf( '
                                                                                          %s
                                                                                          ', __( 'Settings saved', 'footnotes' ) ); - } - - // Form to submit the active section. - echo '
                                                                                          '; - echo ''; - // Outputs the settings field of the active section. - do_settings_sections( $active_section['id'] ); - do_meta_boxes( $active_section['id'], 'main', null ); - - // Add submit button to active section if defined. - if ( $active_section['submit'] ) { - submit_button(); - } - echo '
                                                                                          '; - echo '
                                                                                          '; - - // Echo JavaScript for the expand/collapse function of the meta boxes. - echo ''; - } - // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing - - // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing - /** - * Save all plugin settings. - * - * @access private - * @return bool `true` on save success, else `false`. - * - * @since 1.5.0 - * @todo Review nonce verification. - */ - private function save_settings(): bool { - $new_settings = array(); - $active_section_id = isset( $_GET['t'] ) ? wp_unslash( $_GET['t'] ) : array_key_first( $this->sections ); - $active_section = $this->sections[ $active_section_id ]; - - foreach ( array_keys( Includes\Settings::instance()->get_defaults( $active_section['container'] ) ) as $key ) { - $new_settings[ $key ] = array_key_exists( $key, $_POST ) ? wp_unslash( $_POST[ $key ] ) : ''; - } - // Update settings. - return Includes\Settings::instance()->save_options( $active_section['container'], $new_settings ); - } - // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing - - /** - * Output the description of a section. May be overwritten in any section. - * - * @since 1.5.0 - * @todo Required? Should be `abstract`? - */ - public function description(): void { - // Default no description will be displayed. - } - /** * Loads a specified setting. * @@ -582,5 +517,63 @@ abstract class Engine { $max ); } + /** + * Registers all Meta boxes for a sub-page. + * + * @access private + * @param string $parent_id Parent section unique ID. + * + * @since 1.5.0 + */ + private function register_meta_boxes( string $parent_id ): void { + // Iterate through each meta box. + foreach ( $this->get_meta_boxes() as $meta_box ) { + if ( $parent_id !== $meta_box['parent'] ) { + continue; + } + add_meta_box( + $parent_id . '-' . $meta_box['id'], + $meta_box['title'], + array( $this, $meta_box['callback'] ), + $parent_id, + 'main' + ); + } + } + /** + * Append JavaScript and CSS files for specific sub-page. + * + * @access private + * + * @since 1.5.0 + * @todo Move to {@see Includes\Admin}. + */ + private function append_scripts(): void { + wp_enqueue_script( 'postbox' ); + wp_enqueue_style( 'wp-color-picker' ); + wp_enqueue_script( 'wp-color-picker' ); + } + // phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing + // phpcs:disable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing + /** + * Save all plugin settings. + * + * @access private + * @return bool `true` on save success, else `false`. + * + * @since 1.5.0 + * @todo Review nonce verification. + */ + private function save_settings(): bool { + $new_settings = array(); + $active_section_id = isset( $_GET['t'] ) ? wp_unslash( $_GET['t'] ) : array_key_first( $this->sections ); + $active_section = $this->sections[ $active_section_id ]; + + foreach ( array_keys( Includes\Settings::instance()->get_defaults( $active_section['container'] ) ) as $key ) { + $new_settings[ $key ] = array_key_exists( $key, $_POST ) ? wp_unslash( $_POST[ $key ] ) : ''; + } + // Update settings. + return Includes\Settings::instance()->save_options( $active_section['container'], $new_settings ); + } } diff --git a/src/admin/layout/class-init.php b/src/admin/layout/class-init.php index 4649583..6a54e9e 100644 --- a/src/admin/layout/class-init.php +++ b/src/admin/layout/class-init.php @@ -86,36 +86,6 @@ class Init { ); } - /** - * Load the required dependencies for the layouts pages. - * - * Include the following files that make up the plugin: - * - * - {@see Includes\Config}: defines plugin constants; - * - {@see Includes\Settings}: defines configurable plugin settings; and - * - {@see Settings}: defines the plugin settings page. - * - * @access private - * - * @since 2.8.0 - */ - private function load_dependencies(): void { - /** - * Defines plugin constants. - */ - require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-config.php'; - - /** - * Defines configurable plugin settings. - */ - require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-settings.php'; - - /** - * Represents the plugin settings dashboard page. - */ - require_once plugin_dir_path( __DIR__ ) . 'layout/class-settings.php'; - } - /** * Registers the settings and initialises the settings page. * @@ -207,5 +177,34 @@ class Init { ); exit; } + /** + * Load the required dependencies for the layouts pages. + * + * Include the following files that make up the plugin: + * + * - {@see Includes\Config}: defines plugin constants; + * - {@see Includes\Settings}: defines configurable plugin settings; and + * - {@see Settings}: defines the plugin settings page. + * + * @access private + * + * @since 2.8.0 + */ + private function load_dependencies(): void { + /** + * Defines plugin constants. + */ + require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-config.php'; + + /** + * Defines configurable plugin settings. + */ + require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-settings.php'; + + /** + * Represents the plugin settings dashboard page. + */ + require_once plugin_dir_path( __DIR__ ) . 'layout/class-settings.php'; + } // phpcs:enable WordPress.Security.NonceVerification.Missing } diff --git a/src/admin/layout/class-settings.php b/src/admin/layout/class-settings.php index 1db528b..61905a1 100644 --- a/src/admin/layout/class-settings.php +++ b/src/admin/layout/class-settings.php @@ -57,100 +57,6 @@ class Settings extends Engine { return 10; } - /** - * Returns the unique slug of the sub-page. - * - * @since 1.5.0 - * @return string - */ - protected function get_sub_page_slug(): string { - return '-' . $this->plugin_name; - } - - /** - * Returns the title of the sub-page. - * - * @since 1.5.0 - * @return string - */ - protected function get_sub_page_title(): string { - return \footnotes\includes\Config::PLUGIN_PUBLIC_NAME; - } - - /** - * Returns an array of all registered sections for the sub-page. - * - * @see Engine::add_section() For more information on the section array format. - * @return array[] All of the registered sections. - * - * @since 1.5.0 - * @since 2.1.6 Remove conditional rendering of ‘Expert’ tab. - */ - protected function get_sections(): array { - $tabs = array(); - - // Sync tab name with mirror in task.php. - $tabs[] = $this->add_section( 'settings', __( 'General settings', 'footnotes' ), 0, true ); - - // Sync tab name with mirror in public function custom_css_migration(). - $tabs[] = $this->add_section( 'customize', __( 'Referrers and tooltips', 'footnotes' ), 1, true ); - - $tabs[] = $this->add_section( 'expert', __( 'Scope and priority', 'footnotes' ), 2, true ); - $tabs[] = $this->add_section( 'customcss', __( 'Custom CSS', 'footnotes' ), 3, true ); - $tabs[] = $this->add_section( 'how-to', __( 'Quick start guide', 'footnotes' ), 4, false ); - - return $tabs; - } - - /** - * Returns an array of all registered meta boxes for each section of the sub-page. - * - * @see Engine::add_meta_box() For more information on the - * meta box array format. - * @return array[] All of the registered meta boxes. - * - * @since 1.5.0 - * @since 2.2.0 Re-order and rename tabs. - */ - protected function get_meta_boxes(): array { - $meta_boxes = array(); - - $meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility', 'footnotes' ), 'amp_compat' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'start-end', __( 'Footnote start and end short codes', 'footnotes' ), 'start_end' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'numbering', __( 'Footnotes numbering', 'footnotes' ), 'numbering' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'scrolling', __( 'Scrolling behavior', 'footnotes' ), 'scrolling' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'hard-links', __( 'URL fragment ID configuration', 'footnotes' ), 'hard_links' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'reference-container', __( 'Reference container', 'footnotes' ), 'reference_container' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'excerpts', __( 'Footnotes in excerpts', 'footnotes' ), 'excerpts' ); - $meta_boxes[] = $this->add_meta_box( 'settings', 'love', \footnotes\includes\Config::PLUGIN_HEADING_NAME . ' ' . \footnotes\includes\Config::LOVE_SYMBOL_HEADING, 'love' ); - - $meta_boxes[] = $this->add_meta_box( 'customize', 'hyperlink-arrow', __( 'Backlink symbol', 'footnotes' ), 'hyperlink_arrow' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'superscript', __( 'Referrers', 'footnotes' ), 'superscript' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'label-solution', __( 'Referrers in labels', 'footnotes' ), 'label_solution' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box', __( 'Tooltips', 'footnotes' ), 'mouseover_box' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-position', __( 'Tooltip position', 'footnotes' ), 'mouseover_box_position' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-dimensions', __( 'Tooltip dimensions', 'footnotes' ), 'mouseover_box_dimensions' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-timing', __( 'Tooltip timing', 'footnotes' ), 'mouseover_box_timing' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-truncation', __( 'Tooltip truncation', 'footnotes' ), 'mouseover_box_truncation' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-text', __( 'Tooltip text', 'footnotes' ), 'mouseover_box_text' ); - $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-appearance', __( 'Tooltip appearance', 'footnotes' ), 'mouseover_box_appearance' ); - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { - $meta_boxes[] = $this->add_meta_box( 'customize', 'custom-css', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css' ); - } - - $meta_boxes[] = $this->add_meta_box( 'expert', 'lookup', __( 'WordPress hooks with priority level', 'footnotes' ), 'lookup_hooks' ); - - if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { - $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-migration', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css_migration' ); - } - $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-new', __( 'Custom CSS', 'footnotes' ), 'custom_css_new' ); - - $meta_boxes[] = $this->add_meta_box( 'how-to', 'help', __( 'Brief introduction: How to use the plugin', 'footnotes' ), 'help' ); - $meta_boxes[] = $this->add_meta_box( 'how-to', 'donate', __( 'Help us to improve our Plugin', 'footnotes' ), 'donate' ); - - return $meta_boxes; - } - /** * Displays the AMP compatibility mode option. * @@ -1309,4 +1215,94 @@ class Settings extends Engine { echo $template->get_content(); // phpcs:enable } + /** + * Returns the unique slug of the sub-page. + * + * @since 1.5.0 + * @return string + */ + protected function get_sub_page_slug(): string { + return '-' . $this->plugin_name; + } + /** + * Returns the title of the sub-page. + * + * @since 1.5.0 + * @return string + */ + protected function get_sub_page_title(): string { + return \footnotes\includes\Config::PLUGIN_PUBLIC_NAME; + } + /** + * Returns an array of all registered sections for the sub-page. + * + * @see Engine::add_section() For more information on the section array format. + * @return array[] All of the registered sections. + * + * @since 1.5.0 + * @since 2.1.6 Remove conditional rendering of ‘Expert’ tab. + */ + protected function get_sections(): array { + $tabs = array(); + + // Sync tab name with mirror in task.php. + $tabs[] = $this->add_section( 'settings', __( 'General settings', 'footnotes' ), 0, true ); + + // Sync tab name with mirror in public function custom_css_migration(). + $tabs[] = $this->add_section( 'customize', __( 'Referrers and tooltips', 'footnotes' ), 1, true ); + + $tabs[] = $this->add_section( 'expert', __( 'Scope and priority', 'footnotes' ), 2, true ); + $tabs[] = $this->add_section( 'customcss', __( 'Custom CSS', 'footnotes' ), 3, true ); + $tabs[] = $this->add_section( 'how-to', __( 'Quick start guide', 'footnotes' ), 4, false ); + + return $tabs; + } + /** + * Returns an array of all registered meta boxes for each section of the sub-page. + * + * @see Engine::add_meta_box() For more information on the + * meta box array format. + * @return array[] All of the registered meta boxes. + * + * @since 1.5.0 + * @since 2.2.0 Re-order and rename tabs. + */ + protected function get_meta_boxes(): array { + $meta_boxes = array(); + + $meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility', 'footnotes' ), 'amp_compat' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'start-end', __( 'Footnote start and end short codes', 'footnotes' ), 'start_end' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'numbering', __( 'Footnotes numbering', 'footnotes' ), 'numbering' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'scrolling', __( 'Scrolling behavior', 'footnotes' ), 'scrolling' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'hard-links', __( 'URL fragment ID configuration', 'footnotes' ), 'hard_links' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'reference-container', __( 'Reference container', 'footnotes' ), 'reference_container' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'excerpts', __( 'Footnotes in excerpts', 'footnotes' ), 'excerpts' ); + $meta_boxes[] = $this->add_meta_box( 'settings', 'love', \footnotes\includes\Config::PLUGIN_HEADING_NAME . ' ' . \footnotes\includes\Config::LOVE_SYMBOL_HEADING, 'love' ); + + $meta_boxes[] = $this->add_meta_box( 'customize', 'hyperlink-arrow', __( 'Backlink symbol', 'footnotes' ), 'hyperlink_arrow' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'superscript', __( 'Referrers', 'footnotes' ), 'superscript' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'label-solution', __( 'Referrers in labels', 'footnotes' ), 'label_solution' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box', __( 'Tooltips', 'footnotes' ), 'mouseover_box' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-position', __( 'Tooltip position', 'footnotes' ), 'mouseover_box_position' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-dimensions', __( 'Tooltip dimensions', 'footnotes' ), 'mouseover_box_dimensions' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-timing', __( 'Tooltip timing', 'footnotes' ), 'mouseover_box_timing' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-truncation', __( 'Tooltip truncation', 'footnotes' ), 'mouseover_box_truncation' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-text', __( 'Tooltip text', 'footnotes' ), 'mouseover_box_text' ); + $meta_boxes[] = $this->add_meta_box( 'customize', 'mouse-over-box-appearance', __( 'Tooltip appearance', 'footnotes' ), 'mouseover_box_appearance' ); + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { + $meta_boxes[] = $this->add_meta_box( 'customize', 'custom-css', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css' ); + } + + $meta_boxes[] = $this->add_meta_box( 'expert', 'lookup', __( 'WordPress hooks with priority level', 'footnotes' ), 'lookup_hooks' ); + + if ( Includes\Convert::to_bool( Includes\Settings::instance()->get( \footnotes\includes\Settings::CUSTOM_CSS_LEGACY_ENABLE ) ) ) { + $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-migration', __( 'Your existing Custom CSS code', 'footnotes' ), 'custom_css_migration' ); + } + $meta_boxes[] = $this->add_meta_box( 'customcss', 'custom-css-new', __( 'Custom CSS', 'footnotes' ), 'custom_css_new' ); + + $meta_boxes[] = $this->add_meta_box( 'how-to', 'help', __( 'Brief introduction: How to use the plugin', 'footnotes' ), 'help' ); + $meta_boxes[] = $this->add_meta_box( 'how-to', 'donate', __( 'Help us to improve our Plugin', 'footnotes' ), 'donate' ); + + return $meta_boxes; + } } diff --git a/src/includes/class-convert.php b/src/includes/class-convert.php index 73dc048..d9c7f1e 100644 --- a/src/includes/class-convert.php +++ b/src/includes/class-convert.php @@ -46,102 +46,6 @@ class Convert { } } - /** - * Converts an integer into Latin ASCII characters, either lower or upper-case. - * - * This function works from values A–ZZ (meaning there is a limit of 676 - * gootnotes per Page). - * - * @param int $value Value to be converted. - * @param bool $upper_case Whether to convert the value to upper-case. - * - * @since 1.0-gamma - * @todo Replace with built-in char casting. - */ - private static function to_latin( int $value, bool $upper_case ): string { - // Output string. - $return = ''; - $offset = 0; - // Check if the value is higher then 26 = Z. - while ( $value > 26 ) { - // Increase offset and reduce counter. - $offset++; - $value -= 26; - } - // If offset set (more then Z), then add a new letter in front. - if ( $offset > 0 ) { - $return = chr( $offset + 64 ); - } - // Add the origin letter. - $return .= chr( $value + 64 ); - // Return the latin character representing the integer. - if ( $upper_case ) { - return strtoupper( $return ); - } - return strtolower( $return ); - } - - /** - * Converts an integer to a leading-0 integer. - * - * @param int $value Value to be converted. - * @return string Value with a leading zero. - * - * @since 1.0-gamma - * @todo Replace with built-in string formatting. - */ - private static function to_arabic_leading( int $value ): string { - // Add a leading 0 if number lower then 10. - if ( $value < 10 ) { - return '0' . $value; - } - return $value; - } - - /** - * Converts an integer to a Roman numeral. - * - * @param int $value Value to be converted. - * @param bool $upper_case Whether to convert the value to upper-case. - * - * @since 1.0-gamma - */ - private static function to_roman( int $value, bool $upper_case ): string { - // Table containing all necessary roman letters. - $roman_numerals = array( - 'M' => 1000, - 'CM' => 900, - 'D' => 500, - 'CD' => 400, - 'C' => 100, - 'XC' => 90, - 'L' => 50, - 'XL' => 40, - 'X' => 10, - 'IX' => 9, - 'V' => 5, - 'IV' => 4, - 'I' => 1, - ); - // Return value. - $return = ''; - // Iterate through integer value until it is reduced to 0. - while ( $value > 0 ) { - foreach ( $roman_numerals as $roman => $arabic ) { - if ( $value >= $arabic ) { - $value -= $arabic; - $return .= $roman; - break; - } - } - } - // Return roman letters as string. - if ( $upper_case ) { - return strtoupper( $return ); - } - return strtolower( $return ); - } - /** * Converts a string depending on its value to a boolean. * @@ -230,5 +134,98 @@ class Convert { } echo '
                                                                                          '; } + /** + * Converts an integer into Latin ASCII characters, either lower or upper-case. + * + * This function works from values A–ZZ (meaning there is a limit of 676 + * gootnotes per Page). + * + * @param int $value Value to be converted. + * @param bool $upper_case Whether to convert the value to upper-case. + * + * @since 1.0-gamma + * @todo Replace with built-in char casting. + */ + private static function to_latin( int $value, bool $upper_case ): string { + // Output string. + $return = ''; + $offset = 0; + // Check if the value is higher then 26 = Z. + while ( $value > 26 ) { + // Increase offset and reduce counter. + $offset++; + $value -= 26; + } + // If offset set (more then Z), then add a new letter in front. + if ( $offset > 0 ) { + $return = chr( $offset + 64 ); + } + // Add the origin letter. + $return .= chr( $value + 64 ); + // Return the latin character representing the integer. + if ( $upper_case ) { + return strtoupper( $return ); + } + return strtolower( $return ); + } + /** + * Converts an integer to a leading-0 integer. + * + * @param int $value Value to be converted. + * @return string Value with a leading zero. + * + * @since 1.0-gamma + * @todo Replace with built-in string formatting. + */ + private static function to_arabic_leading( int $value ): string { + // Add a leading 0 if number lower then 10. + if ( $value < 10 ) { + return '0' . $value; + } + return $value; + } + /** + * Converts an integer to a Roman numeral. + * + * @param int $value Value to be converted. + * @param bool $upper_case Whether to convert the value to upper-case. + * + * @since 1.0-gamma + */ + private static function to_roman( int $value, bool $upper_case ): string { + // Table containing all necessary roman letters. + $roman_numerals = array( + 'M' => 1000, + 'CM' => 900, + 'D' => 500, + 'CD' => 400, + 'C' => 100, + 'XC' => 90, + 'L' => 50, + 'XL' => 40, + 'X' => 10, + 'IX' => 9, + 'V' => 5, + 'IV' => 4, + 'I' => 1, + ); + // Return value. + $return = ''; + // Iterate through integer value until it is reduced to 0. + while ( $value > 0 ) { + foreach ( $roman_numerals as $roman => $arabic ) { + if ( $value >= $arabic ) { + $value -= $arabic; + $return .= $roman; + break; + } + } + } + // Return roman letters as string. + if ( $upper_case ) { + return strtoupper( $return ); + } + return strtolower( $return ); + } // phpcs:enable WordPress.PHP.DevelopmentFunctions.error_log_var_dump, WordPress.PHP.DevelopmentFunctions.error_log_print_r } diff --git a/src/includes/class-core.php b/src/includes/class-core.php index e5b0a2b..048b547 100644 --- a/src/includes/class-core.php +++ b/src/includes/class-core.php @@ -97,6 +97,44 @@ class Core { $this->define_public_hooks(); } + /** + * Runs the loader to execute all of the hooks with WordPress. + * + * @since 1.5.0 + * + * @return void + */ + public function run() { + $this->loader->run(); + } + + /** + * Gets the name of the plugin used to uniquely identify it within the + * context of WordPress and to define internationalization functionality. + * + * @since 2.8.0 + */ + public function get_plugin_name(): string { + return $this->plugin_name; + } + + /** + * Returns a reference to the class that orchestrates the hooks with the plugin. + * + * @since 2.8.0 + */ + public function get_loader(): Loader { + return $this->loader; + } + + /** + * Gets the version number of the plugin. + * + * @since 2.8.0 + */ + public function get_version(): string { + return $this->version; + } /** * Load the required dependencies for this plugin. * @@ -154,7 +192,6 @@ class Core { $this->loader = new Loader(); } - /** * Define the locale for this plugin for internationalization. * @@ -173,7 +210,6 @@ class Core { $this->loader->add_action( 'plugins_loaded', $i18n, 'load_plugin_textdomain' ); } - /** * Register all of the hooks related to the admin area functionality of the * plugin. @@ -205,7 +241,6 @@ class Core { $this->loader->add_action( 'wp_ajax_footnotes_getTags', $admin->wysiwyg, 'ajax_callback' ); // phpcs:enable } - /** * Register all of the hooks related to the public-facing functionality of * the plugin. @@ -224,43 +259,4 @@ class Core { $this->loader->add_action( 'widgets_init', $general, 'register_widgets' ); } - - /** - * Runs the loader to execute all of the hooks with WordPress. - * - * @since 1.5.0 - * - * @return void - */ - public function run() { - $this->loader->run(); - } - - /** - * Gets the name of the plugin used to uniquely identify it within the - * context of WordPress and to define internationalization functionality. - * - * @since 2.8.0 - */ - public function get_plugin_name(): string { - return $this->plugin_name; - } - - /** - * Returns a reference to the class that orchestrates the hooks with the plugin. - * - * @since 2.8.0 - */ - public function get_loader(): Loader { - return $this->loader; - } - - /** - * Gets the version number of the plugin. - * - * @since 2.8.0 - */ - public function get_version(): string { - return $this->version; - } } diff --git a/src/includes/class-loader.php b/src/includes/class-loader.php index 5ca90a7..454a927 100644 --- a/src/includes/class-loader.php +++ b/src/includes/class-loader.php @@ -91,6 +91,25 @@ class Loader { $this->filters = $this->add( $this->filters, $hook, $component, $callback, $priority, $accepted_args ); } + /** + * Registers the filters and actions with WordPress. + * + * @since 2.8.0 + * @see Loader::add() For more information on the hook array format. + * + * @return void + */ + public function run() { + + foreach ( $this->filters as $filter ) { + add_filter( $filter['hook'], array( $filter['component'], $filter['callback'] ), $filter['priority'], $filter['accepted_args'] ); + } + + foreach ( $this->actions as $action ) { + add_action( $action['hook'], array( $action['component'], $action['callback'] ), $action['priority'], $action['accepted_args'] ); + } + + } /** * A utility function that is used to register the actions and hooks into a single * collection. @@ -127,24 +146,4 @@ class Loader { } - /** - * Registers the filters and actions with WordPress. - * - * @since 2.8.0 - * @see Loader::add() For more information on the hook array format. - * - * @return void - */ - public function run() { - - foreach ( $this->filters as $filter ) { - add_filter( $filter['hook'], array( $filter['component'], $filter['callback'] ), $filter['priority'], $filter['accepted_args'] ); - } - - foreach ( $this->actions as $action ) { - add_action( $action['hook'], array( $action['component'], $action['callback'] ), $action['priority'], $action['accepted_args'] ); - } - - } - } diff --git a/src/includes/class-settings.php b/src/includes/class-settings.php index 3536c7e..42fff9f 100644 --- a/src/includes/class-settings.php +++ b/src/includes/class-settings.php @@ -1103,16 +1103,6 @@ class Settings { */ const FOOTNOTE_SECTION_SHORTCODE = 'footnotes_inputfield_section_shortcode'; - /********************************************************************** - * SETTINGS STORAGE. - **********************************************************************/ - /** - * Stores a singleton reference of this class. - * - * @since 1.5.0 - */ - private static ?\footnotes\includes\Settings $instance = null; - /** * Contains all Settings Container names. * @@ -1330,6 +1320,15 @@ class Settings { * @todo Create `PreferencesSet` class. */ private array $settings = array(); + /********************************************************************** + * SETTINGS STORAGE. + **********************************************************************/ + /** + * Stores a singleton reference of this class. + * + * @since 1.5.0 + */ + private static ?\footnotes\includes\Settings $instance = null; /** * Loads all Settings from each WordPress Settings Container. @@ -1340,21 +1339,6 @@ class Settings { $this->load_all(); } - /** - * Returns a singleton of this class. - * - * @since 1.5.0 - * @todo Remove? - */ - public static function instance(): self { - // No instance defined yet, load it. - if ( ! self::$instance ) { - self::$instance = new self(); - } - // Return a singleton of this class. - return self::$instance; - } - /** * Returns the name of a specified Settings Container. * @@ -1379,51 +1363,6 @@ class Settings { return $this->default[ $this->container[ $index ] ]; } - /** - * Loads all Settings from each Settings container. - * - * @since 1.5.0 - */ - private function load_all(): void { - // Clear current settings. - $this->settings = array(); - $num_settings = count( $this->container ); - for ( $i = 0; $i < $num_settings; $i++ ) { - // Load settings. - $this->settings = array_merge( $this->settings, $this->load( $i ) ); - } - } - - /** - * Loads all settings from specified Settings Containers. - * - * @param int $index Settings container index. - * @return (string|int)[] Loaded settings (or defaults if specified container is empty). - * - * @since 1.5.0 - */ - private function load( int $index ): array { - // Load all settings from container. - $options = get_option( $this->get_container( $index ) ); - // Load all default settings. - $default = $this->default[ $this->get_container( $index ) ]; - - // No settings found, set them to their default value. - if ( empty( $options ) ) { - return $default; - } - // Iterate through all available settings ( = default values). - foreach ( $default as $key => $value ) { - // Available setting not found in the container. - if ( ! array_key_exists( $key, $options ) ) { - // Define the setting with its default value. - $options[ $key ] = $value; - } - } - // Return settings loaded from Container. - return $options; - } - /** * Updates a whole Setting Container on save. * @@ -1467,4 +1406,61 @@ class Settings { register_setting( $this->get_container( $i ), $this->get_container( $i ) ); } } + /** + * Returns a singleton of this class. + * + * @since 1.5.0 + * @todo Remove? + */ + public static function instance(): self { + // No instance defined yet, load it. + if ( ! self::$instance ) { + self::$instance = new self(); + } + // Return a singleton of this class. + return self::$instance; + } + /** + * Loads all Settings from each Settings container. + * + * @since 1.5.0 + */ + private function load_all(): void { + // Clear current settings. + $this->settings = array(); + $num_settings = count( $this->container ); + for ( $i = 0; $i < $num_settings; $i++ ) { + // Load settings. + $this->settings = array_merge( $this->settings, $this->load( $i ) ); + } + } + /** + * Loads all settings from specified Settings Containers. + * + * @param int $index Settings container index. + * @return (string|int)[] Loaded settings (or defaults if specified container is empty). + * + * @since 1.5.0 + */ + private function load( int $index ): array { + // Load all settings from container. + $options = get_option( $this->get_container( $index ) ); + // Load all default settings. + $default = $this->default[ $this->get_container( $index ) ]; + + // No settings found, set them to their default value. + if ( empty( $options ) ) { + return $default; + } + // Iterate through all available settings ( = default values). + foreach ( $default as $key => $value ) { + // Available setting not found in the container. + if ( ! array_key_exists( $key, $options ) ) { + // Define the setting with its default value. + $options[ $key ] = $value; + } + } + // Return settings loaded from Container. + return $options; + } } diff --git a/src/includes/class-template.php b/src/includes/class-template.php index 6865dda..c1c025f 100644 --- a/src/includes/class-template.php +++ b/src/includes/class-template.php @@ -46,6 +46,12 @@ class Template { * @var string */ const PUBLIC = 'public/partials'; + /** + * Plugin Directory + * + * @since 2.4.0d3 + */ + public string $plugin_directory; /** * Contains the content of the template after initialize. @@ -61,13 +67,6 @@ class Template { */ private string $replaced_content = ''; - /** - * Plugin Directory - * - * @since 2.4.0d3 - */ - public string $plugin_directory; - /** * Class Constructor. Reads and loads the template file without replace any placeholder. * From a5e4764a3561dfc55a7fcc17039932a3e77934a9 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:21:32 +0100 Subject: [PATCH 85/99] fix: fix variable clash --- src/admin/layout/class-engine.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index b6286bb..dcdd26f 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -417,11 +417,11 @@ abstract class Engine { protected function add_select_box( string $setting_name, array $options ): string { // Collect data for given settings field. $data = $this->load_setting( $setting_name ); - $options = ''; + $select_options = ''; // Loop through all array keys. foreach ( $options as $value => $caption ) { - $options .= sprintf( + $select_options .= sprintf( '', $value, // Only check for equality, not identity, WRT backlink symbol arrows. @@ -435,7 +435,7 @@ abstract class Engine { '', $data['name'], $data['id'], - $options + $select_options ); } From 7d72930899cc96675a31f9e182cad207eed886cf Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:24:59 +0100 Subject: [PATCH 86/99] ci: update Rector config --- rector.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rector.php b/rector.php index 3d837f2..fd5241c 100644 --- a/rector.php +++ b/rector.php @@ -3,9 +3,9 @@ declare(strict_types=1); use Rector\Core\Configuration\Option; -use Rector\Set\ValueObject\SetList; -use Rector\Set\ValueObject\DowngradeSetList; use Rector\Core\ValueObject\PhpVersion; +use Rector\Set\ValueObject\SetList; +//use Rector\Set\ValueObject\DowngradeSetList; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { @@ -16,16 +16,16 @@ return static function (ContainerConfigurator $containerConfigurator): void { __DIR__ . '/src', ]); + $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_80); + // Define what rule sets will be applied $parameters->set(Option::SETS, [ - SetList::CODE_QUALITY, - SetList::DEAD_CODE, - SetList::TYPE_DECLARATION, + // TODO: + //SetList::PRIVATIZATION + // TODO: in Build // DowngradeSetList::PHP_80, // DowngradeSetList::PHP_74, // DowngradeSetList::PHP_73, //DowngradeSetList::PHP_72, ]); - - $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_71); }; From ebcba982e6f982777f10e3ca7893f12f8c723267 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:25:27 +0100 Subject: [PATCH 87/99] chore: lint code --- src/admin/layout/class-engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index dcdd26f..a4e20cb 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -416,7 +416,7 @@ abstract class Engine { */ protected function add_select_box( string $setting_name, array $options ): string { // Collect data for given settings field. - $data = $this->load_setting( $setting_name ); + $data = $this->load_setting( $setting_name ); $select_options = ''; // Loop through all array keys. From 5afd55dba66d73f8bf31fdfe5d87dd9d09967683 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:27:53 +0100 Subject: [PATCH 88/99] docs: update documentation --- docs/classes/footnotes-admin-Admin.html | 198 +- docs/classes/footnotes-admin-WYSIWYG.html | 183 +- .../footnotes-admin-layout-Engine.html | 456 +- docs/classes/footnotes-admin-layout-Init.html | 141 +- .../footnotes-admin-layout-Settings.html | 656 +-- docs/classes/footnotes-general-General.html | 357 +- docs/classes/footnotes-general-Parser.html | 1217 ++--- .../footnotes-general-Widget-Base.html | 26 +- ...es-general-Widget-Reference-Container.html | 32 +- .../classes/footnotes-includes-Activator.html | 18 +- docs/classes/footnotes-includes-Config.html | 76 +- docs/classes/footnotes-includes-Convert.html | 89 +- docs/classes/footnotes-includes-Core.html | 40 +- .../footnotes-includes-Deactivator.html | 24 +- docs/classes/footnotes-includes-Loader.html | 157 +- docs/classes/footnotes-includes-Settings.html | 4397 +++++++++-------- docs/classes/footnotes-includes-Template.html | 122 +- docs/classes/footnotes-includes-i18n.html | 26 +- docs/files/src-admin-class-admin.html | 8 + docs/files/src-admin-class-wysiwyg.html | 8 + docs/files/src-admin-layout-class-engine.html | 8 + docs/files/src-admin-layout-class-init.html | 8 + .../src-admin-layout-class-settings.html | 8 + docs/files/src-footnotes.html | 12 +- docs/files/src-includes-class-activator.html | 8 + docs/files/src-includes-class-config.html | 8 + docs/files/src-includes-class-convert.html | 8 + docs/files/src-includes-class-core.html | 8 + .../files/src-includes-class-deactivator.html | 8 + docs/files/src-includes-class-i18n.html | 8 + docs/files/src-includes-class-loader.html | 8 + docs/files/src-includes-class-settings.html | 8 + docs/files/src-includes-class-template.html | 8 + docs/files/src-public-class-general.html | 8 + docs/files/src-public-class-parser.html | 8 + docs/files/src-public-widget-class-base.html | 8 + ...blic-widget-class-reference-container.html | 8 + docs/files/src-uninstall.html | 8 + docs/graphs/classes.html | 8 + docs/index.html | 19 +- docs/indices/files.html | 8 + docs/js/searchIndex.js | 1632 +++--- docs/namespaces/default.html | 8 + docs/namespaces/footnotes-admin-layout.html | 8 + docs/namespaces/footnotes-admin.html | 8 + docs/namespaces/footnotes-general-widget.html | 8 + docs/namespaces/footnotes-general.html | 8 + docs/namespaces/footnotes-includes.html | 8 + docs/namespaces/footnotes.html | 12 +- docs/packages/Default.html | 189 +- docs/packages/default.html | 9 + docs/packages/footnotes-includes.html | 8 + docs/packages/footnotes.html | 184 +- docs/reports/deprecated.html | 36 +- docs/reports/errors.html | 8 + docs/reports/markers.html | 243 +- 56 files changed, 5566 insertions(+), 5217 deletions(-) diff --git a/docs/classes/footnotes-admin-Admin.html b/docs/classes/footnotes-admin-Admin.html index 5c618aa..beffba4 100644 --- a/docs/classes/footnotes-admin-Admin.html +++ b/docs/classes/footnotes-admin-Admin.html @@ -59,6 +59,14 @@ +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Admin +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class provide all admin-specific functionality of the plugin.

                                                                                          @@ -135,20 +149,6 @@ and JavaScript.

                                                                                          The WYSIWYG editor integration object.
                                                                                          -
                                                                                          - $plugin_name - -  : string -
                                                                                          -
                                                                                          The ID of this plugin.
                                                                                          - -
                                                                                          - $version - -  : string -
                                                                                          -
                                                                                          The version of this plugin.
                                                                                          -
                                                                                          __construct() @@ -166,21 +166,21 @@ and JavaScript.

                                                                                          enqueue_scripts() -  : mixed +  : void
                                                                                          Register the JavaScript for the admin area.
                                                                                          enqueue_styles() -  : mixed +  : void
                                                                                          Register the stylesheets for the admin area.
                                                                                          load_dependencies() -  : mixed +  : void
                                                                                          Load the required admin-specific dependencies.
                                                                                          @@ -212,7 +212,7 @@ and JavaScript.

                                                                                          The WYSIWYG editor integration object.

                                                                                          @@ -242,136 +242,6 @@ and JavaScript.

                                                                                          -
                                                                                          -
                                                                                          -

                                                                                          - $plugin_name - - - -

                                                                                          - - -

                                                                                          The ID of this plugin.

                                                                                          - - - private - string - $plugin_name - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          private

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - see -
                                                                                          -
                                                                                          - Footnotes::$plugin_name - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $version - - - -

                                                                                          - - -

                                                                                          The version of this plugin.

                                                                                          - - - private - string - $version - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          private

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - see -
                                                                                          -
                                                                                          - Footnotes::$version - -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          @@ -393,7 +263,7 @@ and JavaScript.

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -411,18 +281,14 @@ and JavaScript.

                                                                                          : string
                                                                                          -

                                                                                          The name of this plugin.

                                                                                          -
                                                                                          - +
                                                                                          $version : string
                                                                                          -

                                                                                          The version of this plugin.

                                                                                          -
                                                                                          - +
                                                                                          @@ -463,7 +329,7 @@ and JavaScript.

                                                                                          Appends the Plugin links for display in the dashboard Plugins page.

                                                                                          @@ -535,14 +401,14 @@ and JavaScript.

                                                                                          Register the JavaScript for the admin area.

                                                                                          public - enqueue_scripts() : mixed + enqueue_scripts() : void
                                                                                          @@ -565,7 +431,7 @@ and JavaScript.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -584,14 +450,14 @@ and JavaScript.

                                                                                          Register the stylesheets for the admin area.

                                                                                          public - enqueue_styles() : mixed + enqueue_styles() : void
                                                                                          @@ -614,7 +480,7 @@ and JavaScript.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -633,14 +499,14 @@ and JavaScript.

                                                                                          Load the required admin-specific dependencies.

                                                                                          private - load_dependencies() : mixed + load_dependencies() : void

                                                                                          Includes the following files that provide the admin-specific functionality of this plugin:

                                                                                          @@ -680,7 +546,7 @@ of this plugin:

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          diff --git a/docs/classes/footnotes-admin-WYSIWYG.html b/docs/classes/footnotes-admin-WYSIWYG.html index c37c5e1..794af8b 100644 --- a/docs/classes/footnotes-admin-WYSIWYG.html +++ b/docs/classes/footnotes-admin-WYSIWYG.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ WYSIWYG +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing WYSIWYG editor intergration for the plugin.

                                                                                          @@ -126,24 +140,10 @@
                                                                                          -
                                                                                          - $plugin_name - -  : string -
                                                                                          -
                                                                                          The ID of this plugin.
                                                                                          - -
                                                                                          - __construct() - -  : mixed -
                                                                                          -
                                                                                          Initialize the class and set its properties.
                                                                                          - -
                                                                                          +
                                                                                          ajax_callback() -  : mixed +  : void
                                                                                          AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
                                                                                          @@ -157,7 +157,7 @@
                                                                                          new_plain_text_editor_button() -  : mixed +  : void
                                                                                          Add a new button to the plain text editor.
                                                                                          @@ -175,68 +175,6 @@ -
                                                                                          -

                                                                                          - Properties - -

                                                                                          -
                                                                                          -

                                                                                          - $plugin_name - - - -

                                                                                          - - -

                                                                                          The ID of this plugin.

                                                                                          - - - private - string - $plugin_name - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          private

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -

                                                                                          @@ -244,67 +182,6 @@

                                                                                          -

                                                                                          - __construct() - -

                                                                                          - - -

                                                                                          Initialize the class and set its properties.

                                                                                          - - - public - __construct(string $plugin_name) : mixed - -
                                                                                          - -
                                                                                          Parameters
                                                                                          -
                                                                                          -
                                                                                          - $plugin_name - : string -
                                                                                          -
                                                                                          -

                                                                                          The name of this plugin.

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          Return values
                                                                                          - mixed - — -
                                                                                          - - -
                                                                                          -
                                                                                          class-wysiwyg.php : - 97 + 76

                                                                                          AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.

                                                                                          public - static ajax_callback() : mixed + static ajax_callback() : void

                                                                                          Returns an JSON encoded array with the Footnotes start and end short code.

                                                                                          @@ -348,7 +225,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -367,21 +244,21 @@

                                                                                          Includes the Plugins WYSIWYG editor script.

                                                                                          public - static include_scripts(array<string|int, string> $p_arr_plugins) : array<string|int, string> + static include_scripts(array<string|int, string> $plugins) : array<string|int, string>
                                                                                          Parameters
                                                                                          - $p_arr_plugins + $plugins : array<string|int, string>
                                                                                          @@ -437,14 +314,14 @@

                                                                                          Add a new button to the plain text editor.

                                                                                          public - static new_plain_text_editor_button() : mixed + static new_plain_text_editor_button() : void
                                                                                          @@ -467,7 +344,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -486,21 +363,21 @@

                                                                                          Append a new Button to the WYSIWYG editor of Posts and Pages.

                                                                                          public - static new_visual_editor_button(array<string|int, string> $p_arr_buttons) : array<string|int, string> + static new_visual_editor_button(array<string|int, string> $buttons) : array<string|int, string>
                                                                                          Parameters
                                                                                          - $p_arr_buttons + $buttons : array<string|int, string>
                                                                                          diff --git a/docs/classes/footnotes-admin-layout-Engine.html b/docs/classes/footnotes-admin-layout-Engine.html index 784bb5a..3c73dc6 100644 --- a/docs/classes/footnotes-admin-layout-Engine.html +++ b/docs/classes/footnotes-admin-layout-Engine.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -85,6 +93,12 @@ Engine +
                                                                                          + in package + +
                                                                                          @@ -92,7 +106,7 @@

                                                                                          Class to be extended by page layout sub-classes.

                                                                                          @@ -136,37 +150,37 @@
                                                                                          - $a_arr_sections - -  : array<string|int, mixed> -
                                                                                          -
                                                                                          Stores all Sections for the child sub-page.
                                                                                          - -
                                                                                          - $a_str_sub_page_hook - -  : null|string -
                                                                                          -
                                                                                          Stores the Hook connection string for the child sub-page.
                                                                                          - -
                                                                                          $plugin_name  : string
                                                                                          The ID of this plugin.
                                                                                          +
                                                                                          + $sections + +  : array<string|int, mixed> +
                                                                                          +
                                                                                          Stores all Sections for the child sub-page.
                                                                                          + +
                                                                                          + $sub_page_hook + +  : string|null +
                                                                                          +
                                                                                          Stores the Hook connection string for the child sub-page.
                                                                                          +
                                                                                          description() -  : mixed +  : void
                                                                                          Output the description of a section. May be overwritten in any section.
                                                                                          display_content() -  : mixed +  : void
                                                                                          Displays the content of specific sub-page.
                                                                                          @@ -180,14 +194,14 @@
                                                                                          register_sections() -  : mixed +  : void
                                                                                          Registers all sections for a sub-page.
                                                                                          register_sub_page() -  : mixed +  : void
                                                                                          Registers a sub-page.
                                                                                          @@ -196,14 +210,14 @@  : string -
                                                                                          Constructs the HTML for a checkbox `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for a checkbox 'input' element.
                                                                                          add_color_selection()  : string
                                                                                          -
                                                                                          Constructs the HTML for a text `<input>` element with the colour selection +
                                                                                          Constructs the HTML for a text 'input' element with the colour selection class.
                                                                                          @@ -211,7 +225,7 @@ class.  : string
                                                                                          -
                                                                                          Returns the HTML tag for an `<input>`/`<select>` label.
                                                                                          +
                                                                                          Returns the HTML tag for a 'label' element.
                                                                                          add_meta_box() @@ -225,7 +239,7 @@ class.  : string
                                                                                          -
                                                                                          Constructs the HTML for numeric `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for numeric 'input' element.
                                                                                          add_section() @@ -239,28 +253,28 @@ class.  : string
                                                                                          -
                                                                                          Constructs the HTML for a `<select>` element.
                                                                                          +
                                                                                          Constructs the HTML for a 'select' element.
                                                                                          add_text()  : string
                                                                                          -
                                                                                          Returns a simple text inside HTML `<span>` element.
                                                                                          +
                                                                                          Returns a simple text inside a 'span' element.
                                                                                          add_text_box()  : string
                                                                                          -
                                                                                          Constructs the HTML for a text `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for a text 'input' element.
                                                                                          add_textarea()  : string
                                                                                          -
                                                                                          Constructs the HTML for a `<textarea>` element.
                                                                                          +
                                                                                          Constructs the HTML for a 'textarea' element.
                                                                                          get_meta_boxes() @@ -300,14 +314,14 @@ class.
                                                                                          append_scripts() -  : mixed +  : void
                                                                                          Append JavaScript and CSS files for specific sub-page.
                                                                                          register_meta_boxes() -  : mixed +  : void
                                                                                          Registers all Meta boxes for a sub-page.
                                                                                          @@ -336,118 +350,6 @@ class. -property -protected " -> -

                                                                                          - $a_arr_sections - - - -

                                                                                          - - -

                                                                                          Stores all Sections for the child sub-page.

                                                                                          - - - protected - array<string|int, mixed> - $a_arr_sections - = array() - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_str_sub_page_hook - - - -

                                                                                          - - -

                                                                                          Stores the Hook connection string for the child sub-page.

                                                                                          - - - protected - null|string - $a_str_sub_page_hook - = null - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -

                                                                                          $plugin_name @@ -458,7 +360,7 @@ class.

                                                                                          The ID of this plugin.

                                                                                          @@ -497,6 +399,118 @@ class. +

                                                                                          +
                                                                                          +

                                                                                          + $sections + + + +

                                                                                          + + +

                                                                                          Stores all Sections for the child sub-page.

                                                                                          + + + protected + array<string|int, mixed> + $sections + = array() + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + access +
                                                                                          +
                                                                                          + +

                                                                                          protected

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $sub_page_hook + + + +

                                                                                          + + +

                                                                                          Stores the Hook connection string for the child sub-page.

                                                                                          + + + protected + string|null + $sub_page_hook + = null + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + access +
                                                                                          +
                                                                                          + +

                                                                                          protected

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                          @@ -518,14 +532,14 @@ class.

                                                                                          Output the description of a section. May be overwritten in any section.

                                                                                          public - description() : mixed + description() : void
                                                                                          @@ -557,7 +571,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -576,14 +590,14 @@ class.

                                                                                          Displays the content of specific sub-page.

                                                                                          public - display_content() : mixed + display_content() : void
                                                                                          @@ -615,7 +629,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -634,7 +648,7 @@ class.

                                                                                          Returns a Priority index. Lower numbers have a higher priority.

                                                                                          @@ -691,14 +705,14 @@ class.

                                                                                          Registers all sections for a sub-page.

                                                                                          public - register_sections() : mixed + register_sections() : void
                                                                                          @@ -721,7 +735,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -740,14 +754,14 @@ class.

                                                                                          Registers a sub-page.

                                                                                          public - register_sub_page() : mixed + register_sub_page() : void
                                                                                          @@ -770,7 +784,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -789,21 +803,21 @@ class. -

                                                                                          Constructs the HTML for a checkbox `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for a checkbox 'input' element.

                                                                                          protected - add_checkbox(string $p_str_setting_name) : string + add_checkbox(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -868,22 +882,22 @@ class.
                                                                                          -

                                                                                          Constructs the HTML for a text `<input>` element with the colour selection +

                                                                                          Constructs the HTML for a text 'input' element with the colour selection class.

                                                                                          protected - add_color_selection(string $p_str_setting_name) : string + add_color_selection(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -957,21 +971,21 @@ class.

                                                                                          -

                                                                                          Returns the HTML tag for an `<input>`/`<select>` label.

                                                                                          +

                                                                                          Returns the HTML tag for a 'label' element.

                                                                                          protected - add_label(string $p_str_setting_name, string $p_str_caption) : string + add_label(string $setting_name, string $caption) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -980,7 +994,7 @@ class.

                                                                                          - $p_str_caption + $caption : string
                                                                                          @@ -1045,21 +1059,21 @@ class.

                                                                                          Returns an array describing a meta box.

                                                                                          protected - add_meta_box(string $p_str_section_id, string $p_str_id, string $p_str_title, string $p_str_callback_function_name) : array<string|int, mixed> + add_meta_box(string $section_id, string $id, string $title, string $callback_function_name) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_section_id + $section_id : string
                                                                                          @@ -1068,7 +1082,7 @@ class.

                                                                                          - $p_str_id + $id : string
                                                                                          @@ -1077,7 +1091,7 @@ class.

                                                                                          - $p_str_title + $title : string
                                                                                          @@ -1086,7 +1100,7 @@ class.

                                                                                          - $p_str_callback_function_name + $callback_function_name : string
                                                                                          @@ -1168,21 +1182,21 @@ A dashboard meta box.

                                                                                          -

                                                                                          Constructs the HTML for numeric `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for numeric 'input' element.

                                                                                          protected - add_num_box(string $p_str_setting_name, int $p_in_min, int $p_int_max[, bool $p_bool_deci = false ]) : string + add_num_box(string $setting_name, int $p_in_min, int $max[, bool $deci = false ]) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -1200,7 +1214,7 @@ A dashboard meta box.

                                                                                          - $p_int_max + $max : int
                                                                                          @@ -1209,7 +1223,7 @@ A dashboard meta box.

                                                                                          - $p_bool_deci + $deci : bool = false
                                                                                          @@ -1274,21 +1288,21 @@ A dashboard meta box.

                                                                                          Returns an array describing a sub-page section.

                                                                                          protected - add_section(string $p_str_id, string $p_str_title, int $p_int_settings_container_index[, bool $p_bool_has_submit_button = true ]) : array<string|int, mixed> + add_section(string $id, string $title, int $settings_container_index[, bool $has_submit_button = true ]) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_id + $id : string
                                                                                          @@ -1297,7 +1311,7 @@ A dashboard meta box.

                                                                                          - $p_str_title + $title : string
                                                                                          @@ -1306,7 +1320,7 @@ A dashboard meta box.

                                                                                          - $p_int_settings_container_index + $settings_container_index : int
                                                                                          @@ -1315,7 +1329,7 @@ A dashboard meta box.

                                                                                          - $p_bool_has_submit_button + $has_submit_button : bool = true
                                                                                          @@ -1389,21 +1403,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a `<select>` element.

                                                                                          +

                                                                                          Constructs the HTML for a 'select' element.

                                                                                          protected - add_select_box(string $p_str_setting_name, array<string|int, mixed> $p_arr_options) : string + add_select_box(string $setting_name, array<string|int, mixed> $options) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -1412,7 +1426,7 @@ A dashboard section.

                                                                                          - $p_arr_options + $options : array<string|int, mixed>
                                                                                          @@ -1477,21 +1491,21 @@ A dashboard section.

                                                                                          -

                                                                                          Returns a simple text inside HTML `<span>` element.

                                                                                          +

                                                                                          Returns a simple text inside a 'span' element.

                                                                                          protected - add_text(string $p_str_text) : string + add_text(string $text) : string
                                                                                          Parameters
                                                                                          - $p_str_text + $text : string
                                                                                          @@ -1556,21 +1570,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a text `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for a text 'input' element.

                                                                                          protected - add_text_box(string $p_str_setting_name[, int $p_str_max_length = 999 ][, bool $p_bool_readonly = false ][, bool $p_bool_hidden = false ]) : string + add_text_box(string $setting_name[, int $max_length = 999 ][, bool $readonly = false ][, bool $hidden = false ]) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -1579,7 +1593,7 @@ A dashboard section.

                                                                                          - $p_str_max_length + $max_length : int = 999
                                                                                          @@ -1588,7 +1602,7 @@ A dashboard section.

                                                                                          - $p_bool_readonly + $readonly : bool = false
                                                                                          @@ -1597,7 +1611,7 @@ A dashboard section.

                                                                                          - $p_bool_hidden + $hidden : bool = false
                                                                                          @@ -1662,21 +1676,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a `<textarea>` element.

                                                                                          +

                                                                                          Constructs the HTML for a 'textarea' element.

                                                                                          protected - add_textarea(string $p_str_setting_name) : string + add_textarea(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -1741,7 +1755,7 @@ A dashboard section.

                                                                                          Returns an array of all registered meta boxes.

                                                                                          @@ -1807,7 +1821,7 @@ A dashboard section.

                                                                                          Returns an array of all registered sections for a sub-page.

                                                                                          @@ -1873,7 +1887,7 @@ A dashboard section.

                                                                                          Returns the unique slug of the child sub-page.

                                                                                          @@ -1939,7 +1953,7 @@ A dashboard section.

                                                                                          Returns the title of the child sub-page.

                                                                                          @@ -2005,21 +2019,21 @@ A dashboard section.

                                                                                          Loads a specified setting.

                                                                                          protected - load_setting(string $p_str_setting_key_name) : array<string|int, mixed> + load_setting(string $setting_key_name) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_setting_key_name + $setting_key_name : string
                                                                                          @@ -2102,14 +2116,14 @@ A configurable setting.

                                                                                          Append JavaScript and CSS files for specific sub-page.

                                                                                          private - append_scripts() : mixed + append_scripts() : void
                                                                                          @@ -2150,7 +2164,7 @@ A configurable setting.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2169,21 +2183,21 @@ A configurable setting.

                                                                                          Registers all Meta boxes for a sub-page.

                                                                                          private - register_meta_boxes(string $p_str_parent_id) : mixed + register_meta_boxes(string $parent_id) : void
                                                                                          Parameters
                                                                                          - $p_str_parent_id + $parent_id : string
                                                                                          @@ -2220,7 +2234,7 @@ A configurable setting.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2239,7 +2253,7 @@ A configurable setting.

                                                                                          Save all plugin settings.

                                                                                          diff --git a/docs/classes/footnotes-admin-layout-Init.html b/docs/classes/footnotes-admin-layout-Init.html index 21d2d9c..6cbb30b 100644 --- a/docs/classes/footnotes-admin-layout-Init.html +++ b/docs/classes/footnotes-admin-layout-Init.html @@ -59,6 +59,14 @@ +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -85,6 +93,12 @@ Init +
                                                                                          + in package + +
                                                                                          @@ -92,7 +106,7 @@

                                                                                          Class to initialise all defined page layouts.

                                                                                          @@ -128,21 +142,14 @@
                                                                                          - C_STR_MAIN_MENU_SLUG + MAIN_MENU_SLUG  = 'footnotes'
                                                                                          Slug for the Plugin main menu.
                                                                                          - $plugin_name - -  : string -
                                                                                          -
                                                                                          The ID of this plugin.
                                                                                          - -
                                                                                          - $settings_page + $settings  : Settings
                                                                                          @@ -158,28 +165,28 @@
                                                                                          get_plugin_meta_information() -  : mixed +  : void
                                                                                          AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.
                                                                                          initialize_settings() -  : mixed +  : void
                                                                                          Registers the settings and initialises the settings page.
                                                                                          register_options_submenu() -  : mixed +  : void
                                                                                          Registers the footnotes submenu page.
                                                                                          load_dependencies() -  : mixed +  : void
                                                                                          Load the required dependencies for the layouts pages.
                                                                                          @@ -194,15 +201,15 @@
                                                                                          -

                                                                                          - C_STR_MAIN_MENU_SLUG - +

                                                                                          + MAIN_MENU_SLUG +

                                                                                          Slug for the Plugin main menu.

                                                                                          @@ -210,7 +217,7 @@ public string - C_STR_MAIN_MENU_SLUG + MAIN_MENU_SLUG = 'footnotes' @@ -250,72 +257,16 @@ -private " > -

                                                                                          - $plugin_name - +

                                                                                          + $settings +

                                                                                          - -

                                                                                          The ID of this plugin.

                                                                                          - - - private - string - $plugin_name - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          private

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $settings_page - - - -

                                                                                          -

                                                                                          Contains the settings page.

                                                                                          @@ -323,7 +274,7 @@ private Settings - $settings_page + $settings
                                                                                          @@ -366,7 +317,7 @@

                                                                                          Initializes all WordPress hooks for the Plugin Settings.

                                                                                          @@ -384,9 +335,7 @@ : string
                                                                                          -

                                                                                          The name of the plugin.

                                                                                          -
                                                                                          - +
                                                                                          @@ -437,14 +386,14 @@

                                                                                          AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.

                                                                                          public - get_plugin_meta_information() : mixed + get_plugin_meta_information() : void
                                                                                          @@ -467,7 +416,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -486,14 +435,14 @@

                                                                                          Registers the settings and initialises the settings page.

                                                                                          public - initialize_settings() : mixed + initialize_settings() : void
                                                                                          @@ -516,7 +465,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -535,14 +484,14 @@

                                                                                          Registers the footnotes submenu page.

                                                                                          public - register_options_submenu() : mixed + register_options_submenu() : void
                                                                                          @@ -574,7 +523,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -593,14 +542,14 @@

                                                                                          Load the required dependencies for the layouts pages.

                                                                                          private - load_dependencies() : mixed + load_dependencies() : void

                                                                                          Include the following files that make up the plugin:

                                                                                            @@ -641,7 +590,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          diff --git a/docs/classes/footnotes-admin-layout-Settings.html b/docs/classes/footnotes-admin-layout-Settings.html index 7d09e07..1a00067 100644 --- a/docs/classes/footnotes-admin-layout-Settings.html +++ b/docs/classes/footnotes-admin-layout-Settings.html @@ -59,6 +59,14 @@ +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -88,6 +96,12 @@ extends Engine +
                                                                                          + in package + +
                                                                                          @@ -95,7 +109,7 @@

                                                                                          Class to initialise all defined page layouts.

                                                                                          @@ -140,26 +154,26 @@
                                                                                          - $a_arr_sections + $plugin_name + +  : string +
                                                                                          +
                                                                                          The ID of this plugin.
                                                                                          + +
                                                                                          + $sections  : array<string|int, mixed>
                                                                                          Stores all Sections for the child sub-page.
                                                                                          - $a_str_sub_page_hook + $sub_page_hook -  : null|string +  : string|null
                                                                                          Stores the Hook connection string for the child sub-page.
                                                                                          -
                                                                                          - $plugin_name - -  : string -
                                                                                          -
                                                                                          The ID of this plugin.
                                                                                          -
                                                                                          __construct() @@ -170,7 +184,7 @@
                                                                                          amp_compat() -  : mixed +  : void
                                                                                          Displays the AMP compatibility mode option.
                                                                                          @@ -184,42 +198,42 @@
                                                                                          custom_css_migration() -  : mixed +  : void
                                                                                          Displays transitional legacy Custom CSS box.
                                                                                          custom_css_new() -  : mixed +  : void
                                                                                          Displays the new Custom CSS box.
                                                                                          description() -  : mixed +  : void
                                                                                          Output the description of a section. May be overwritten in any section.
                                                                                          display_content() -  : mixed +  : void
                                                                                          Displays the content of specific sub-page.
                                                                                          donate() -  : mixed +  : void
                                                                                          Displays all Donate button to support the developers.
                                                                                          excerpts() -  : mixed +  : void
                                                                                          Displays the footnotes in excerpt setting.
                                                                                          @@ -233,140 +247,140 @@
                                                                                          hard_links() -  : mixed +  : void
                                                                                          Displays all options for the fragment identifier configuration.
                                                                                          - Help() + help() -  : mixed +  : void
                                                                                          Displays a short introduction to the plugin.
                                                                                          hyperlink_arrow() -  : mixed +  : void
                                                                                          Displays all settings for the backlink symbol.
                                                                                          label_solution() -  : mixed +  : void
                                                                                          Displays the setting for the input label issue solution.
                                                                                          lookup_hooks() -  : mixed +  : void
                                                                                          Displays available Hooks to look for Footnote short codes.
                                                                                          love() -  : mixed +  : void
                                                                                          Displays all settings for ‘I love Footnotes’ note.
                                                                                          mouseover_box() -  : mixed +  : void
                                                                                          Displays enabled status for the footnotes mouse-over box.
                                                                                          mouseover_box_appearance() -  : mixed +  : void
                                                                                          Displays style settings for the footnotes mouse-over box.
                                                                                          mouseover_box_dimensions() -  : mixed +  : void
                                                                                          Displays dimensions setting for the footnotes mouse-over box.
                                                                                          mouseover_box_position() -  : mixed +  : void
                                                                                          Displays position settings for the footnotes mouse-over box.
                                                                                          mouseover_box_text() -  : mixed +  : void
                                                                                          Displays dedicated tooltip text settings for the footnotes mouse-over box.
                                                                                          mouseover_box_timing() -  : mixed +  : void
                                                                                          Displays timing settings for the footnotes mouse-over box.
                                                                                          mouseover_box_truncation() -  : mixed +  : void
                                                                                          Displays truncation settings for the footnotes mouse-over box.
                                                                                          numbering() -  : mixed +  : void
                                                                                          Displays all options for the footnotes numbering.
                                                                                          reference_container() -  : mixed +  : void
                                                                                          Displays all settings for the reference container.
                                                                                          register_sections() -  : mixed +  : void
                                                                                          Registers all sections for a sub-page.
                                                                                          register_sub_page() -  : mixed +  : void
                                                                                          Registers a sub-page.
                                                                                          scrolling() -  : mixed +  : void
                                                                                          Displays all options for the scrolling behavior.
                                                                                          start_end() -  : mixed +  : void
                                                                                          Displays all options for the footnotes start and end tag short codes.
                                                                                          superscript() -  : mixed +  : void
                                                                                          Displays all settings for the footnote referrers.
                                                                                          @@ -375,14 +389,14 @@  : string -
                                                                                          Constructs the HTML for a checkbox `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for a checkbox 'input' element.
                                                                                          add_color_selection()  : string
                                                                                          -
                                                                                          Constructs the HTML for a text `<input>` element with the colour selection +
                                                                                          Constructs the HTML for a text 'input' element with the colour selection class.
                                                                                          @@ -390,7 +404,7 @@ class.
                                                                                           : string -
                                                                                          Returns the HTML tag for an `<input>`/`<select>` label.
                                                                                          +
                                                                                          Returns the HTML tag for a 'label' element.
                                                                                          add_meta_box() @@ -404,7 +418,7 @@ class.
                                                                                           : string -
                                                                                          Constructs the HTML for numeric `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for numeric 'input' element.
                                                                                          add_section() @@ -418,28 +432,28 @@ class.
                                                                                           : string -
                                                                                          Constructs the HTML for a `<select>` element.
                                                                                          +
                                                                                          Constructs the HTML for a 'select' element.
                                                                                          add_text()  : string
                                                                                          -
                                                                                          Returns a simple text inside HTML `<span>` element.
                                                                                          +
                                                                                          Returns a simple text inside a 'span' element.
                                                                                          add_text_box()  : string
                                                                                          -
                                                                                          Constructs the HTML for a text `<input>` element.
                                                                                          +
                                                                                          Constructs the HTML for a text 'input' element.
                                                                                          add_textarea()  : string
                                                                                          -
                                                                                          Constructs the HTML for a `<textarea>` element.
                                                                                          +
                                                                                          Constructs the HTML for a 'textarea' element.
                                                                                          get_meta_boxes() @@ -479,14 +493,14 @@ class.
                                                                                          append_scripts() -  : mixed +  : void
                                                                                          Append JavaScript and CSS files for specific sub-page.
                                                                                          register_meta_boxes() -  : mixed +  : void
                                                                                          Registers all Meta boxes for a sub-page.
                                                                                          @@ -515,118 +529,6 @@ class.
                                                                                          -property -protected " -> -

                                                                                          - $a_arr_sections - - - -

                                                                                          - - -

                                                                                          Stores all Sections for the child sub-page.

                                                                                          - - - protected - array<string|int, mixed> - $a_arr_sections - = array() - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_str_sub_page_hook - - - -

                                                                                          - - -

                                                                                          Stores the Hook connection string for the child sub-page.

                                                                                          - - - protected - null|string - $a_str_sub_page_hook - = null - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -

                                                                                          $plugin_name @@ -637,7 +539,7 @@ class.

                                                                                          The ID of this plugin.

                                                                                          @@ -676,6 +578,118 @@ class. +

                                                                                          +
                                                                                          +

                                                                                          + $sections + + + +

                                                                                          + + +

                                                                                          Stores all Sections for the child sub-page.

                                                                                          + + + protected + array<string|int, mixed> + $sections + = array() + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + access +
                                                                                          +
                                                                                          + +

                                                                                          protected

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $sub_page_hook + + + +

                                                                                          + + +

                                                                                          Stores the Hook connection string for the child sub-page.

                                                                                          + + + protected + string|null + $sub_page_hook + = null + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + access +
                                                                                          +
                                                                                          + +

                                                                                          protected

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                          @@ -697,7 +711,7 @@ class.

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -758,14 +772,14 @@ class.

                                                                                          Displays the AMP compatibility mode option.

                                                                                          public - amp_compat() : mixed + amp_compat() : void
                                                                                          @@ -789,7 +803,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -808,7 +822,7 @@ class.

                                                                                          Displays the Custom CSS box.

                                                                                          @@ -857,14 +871,14 @@ class.

                                                                                          Displays transitional legacy Custom CSS box.

                                                                                          public - custom_css_migration() : mixed + custom_css_migration() : void
                                                                                          @@ -895,7 +909,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -914,14 +928,14 @@ class.

                                                                                          Displays the new Custom CSS box.

                                                                                          public - custom_css_new() : mixed + custom_css_new() : void
                                                                                          @@ -944,7 +958,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -963,14 +977,14 @@ class.

                                                                                          Output the description of a section. May be overwritten in any section.

                                                                                          public - description() : mixed + description() : void
                                                                                          @@ -1002,7 +1016,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1021,14 +1035,14 @@ class.

                                                                                          Displays the content of specific sub-page.

                                                                                          public - display_content() : mixed + display_content() : void
                                                                                          @@ -1060,7 +1074,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1079,14 +1093,14 @@ class.

                                                                                          Displays all Donate button to support the developers.

                                                                                          public - donate() : mixed + donate() : void
                                                                                          @@ -1109,7 +1123,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1128,14 +1142,14 @@ class.

                                                                                          Displays the footnotes in excerpt setting.

                                                                                          public - excerpts() : mixed + excerpts() : void
                                                                                          @@ -1158,7 +1172,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1177,7 +1191,7 @@ class.

                                                                                          Returns a priority index.

                                                                                          @@ -1227,14 +1241,14 @@ class.

                                                                                          Displays all options for the fragment identifier configuration.

                                                                                          public - hard_links() : mixed + hard_links() : void
                                                                                          @@ -1257,7 +1271,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1269,21 +1283,21 @@ class. -public " > -

                                                                                          - Help() - +

                                                                                          + help() +

                                                                                          Displays a short introduction to the plugin.

                                                                                          public - Help() : mixed + help() : void
                                                                                          @@ -1302,11 +1316,20 @@ class.
                                                                                          + +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Review in light of admin/public split.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1325,14 +1348,14 @@ class.

                                                                                          Displays all settings for the backlink symbol.

                                                                                          public - hyperlink_arrow() : mixed + hyperlink_arrow() : void
                                                                                          @@ -1355,7 +1378,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1374,14 +1397,14 @@ class.

                                                                                          Displays the setting for the input label issue solution.

                                                                                          public - label_solution() : mixed + label_solution() : void
                                                                                          @@ -1404,7 +1427,7 @@ class.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1423,14 +1446,14 @@ class.

                                                                                          Displays available Hooks to look for Footnote short codes.

                                                                                          public - lookup_hooks() : mixed + lookup_hooks() : void

                                                                                          Priority level was initially a hard-coded default shows ‘9223372036854775807’ in the numbox @@ -1458,7 +1481,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1477,14 +1500,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for ‘I love Footnotes’ note.

                                                                                          public - love() : mixed + love() : void
                                                                                          @@ -1507,7 +1530,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1526,14 +1549,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays enabled status for the footnotes mouse-over box.

                                                                                          public - mouseover_box() : mixed + mouseover_box() : void
                                                                                          @@ -1556,7 +1579,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1575,14 +1598,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays style settings for the footnotes mouse-over box.

                                                                                          public - mouseover_box_appearance() : mixed + mouseover_box_appearance() : void
                                                                                          @@ -1605,7 +1628,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1624,14 +1647,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays dimensions setting for the footnotes mouse-over box.

                                                                                          public - mouseover_box_dimensions() : mixed + mouseover_box_dimensions() : void
                                                                                          @@ -1654,7 +1677,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1673,14 +1696,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays position settings for the footnotes mouse-over box.

                                                                                          public - mouseover_box_position() : mixed + mouseover_box_position() : void
                                                                                          @@ -1703,7 +1726,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1722,14 +1745,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays dedicated tooltip text settings for the footnotes mouse-over box.

                                                                                          public - mouseover_box_text() : mixed + mouseover_box_text() : void
                                                                                          @@ -1752,7 +1775,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1771,14 +1794,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays timing settings for the footnotes mouse-over box.

                                                                                          public - mouseover_box_timing() : mixed + mouseover_box_timing() : void
                                                                                          @@ -1801,7 +1824,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1820,14 +1843,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays truncation settings for the footnotes mouse-over box.

                                                                                          public - mouseover_box_truncation() : mixed + mouseover_box_truncation() : void
                                                                                          @@ -1850,7 +1873,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1869,14 +1892,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the footnotes numbering.

                                                                                          public - numbering() : mixed + numbering() : void
                                                                                          @@ -1899,7 +1922,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1918,14 +1941,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for the reference container.

                                                                                          public - reference_container() : mixed + reference_container() : void
                                                                                          @@ -1948,7 +1971,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -1967,14 +1990,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Registers all sections for a sub-page.

                                                                                          public - register_sections() : mixed + register_sections() : void
                                                                                          @@ -1997,7 +2020,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2016,14 +2039,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Registers a sub-page.

                                                                                          public - register_sub_page() : mixed + register_sub_page() : void
                                                                                          @@ -2046,7 +2069,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2065,14 +2088,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the scrolling behavior.

                                                                                          public - scrolling() : mixed + scrolling() : void
                                                                                          @@ -2095,7 +2118,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2114,14 +2137,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all options for the footnotes start and end tag short codes.

                                                                                          public - start_end() : mixed + start_end() : void
                                                                                          @@ -2144,7 +2167,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2163,14 +2186,14 @@ define -1 as PHP_INT_MAX instead

                                                                                          Displays all settings for the footnote referrers.

                                                                                          public - superscript() : mixed + superscript() : void
                                                                                          @@ -2193,7 +2216,7 @@ define -1 as PHP_INT_MAX instead

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2212,21 +2235,21 @@ define -1 as PHP_INT_MAX instead

                                                                                          -

                                                                                          Constructs the HTML for a checkbox `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for a checkbox 'input' element.

                                                                                          protected - add_checkbox(string $p_str_setting_name) : string + add_checkbox(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -2291,22 +2314,22 @@ define -1 as PHP_INT_MAX instead

                                                                                          -

                                                                                          Constructs the HTML for a text `<input>` element with the colour selection +

                                                                                          Constructs the HTML for a text 'input' element with the colour selection class.

                                                                                          protected - add_color_selection(string $p_str_setting_name) : string + add_color_selection(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -2380,21 +2403,21 @@ class.

                                                                                          -

                                                                                          Returns the HTML tag for an `<input>`/`<select>` label.

                                                                                          +

                                                                                          Returns the HTML tag for a 'label' element.

                                                                                          protected - add_label(string $p_str_setting_name, string $p_str_caption) : string + add_label(string $setting_name, string $caption) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -2403,7 +2426,7 @@ class.

                                                                                          - $p_str_caption + $caption : string
                                                                                          @@ -2468,21 +2491,21 @@ class.

                                                                                          Returns an array describing a meta box.

                                                                                          protected - add_meta_box(string $p_str_section_id, string $p_str_id, string $p_str_title, string $p_str_callback_function_name) : array<string|int, mixed> + add_meta_box(string $section_id, string $id, string $title, string $callback_function_name) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_section_id + $section_id : string
                                                                                          @@ -2491,7 +2514,7 @@ class.

                                                                                          - $p_str_id + $id : string
                                                                                          @@ -2500,7 +2523,7 @@ class.

                                                                                          - $p_str_title + $title : string
                                                                                          @@ -2509,7 +2532,7 @@ class.

                                                                                          - $p_str_callback_function_name + $callback_function_name : string
                                                                                          @@ -2591,21 +2614,21 @@ A dashboard meta box.

                                                                                          -

                                                                                          Constructs the HTML for numeric `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for numeric 'input' element.

                                                                                          protected - add_num_box(string $p_str_setting_name, int $p_in_min, int $p_int_max[, bool $p_bool_deci = false ]) : string + add_num_box(string $setting_name, int $p_in_min, int $max[, bool $deci = false ]) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -2623,7 +2646,7 @@ A dashboard meta box.

                                                                                          - $p_int_max + $max : int
                                                                                          @@ -2632,7 +2655,7 @@ A dashboard meta box.

                                                                                          - $p_bool_deci + $deci : bool = false
                                                                                          @@ -2697,21 +2720,21 @@ A dashboard meta box.

                                                                                          Returns an array describing a sub-page section.

                                                                                          protected - add_section(string $p_str_id, string $p_str_title, int $p_int_settings_container_index[, bool $p_bool_has_submit_button = true ]) : array<string|int, mixed> + add_section(string $id, string $title, int $settings_container_index[, bool $has_submit_button = true ]) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_id + $id : string
                                                                                          @@ -2720,7 +2743,7 @@ A dashboard meta box.

                                                                                          - $p_str_title + $title : string
                                                                                          @@ -2729,7 +2752,7 @@ A dashboard meta box.

                                                                                          - $p_int_settings_container_index + $settings_container_index : int
                                                                                          @@ -2738,7 +2761,7 @@ A dashboard meta box.

                                                                                          - $p_bool_has_submit_button + $has_submit_button : bool = true
                                                                                          @@ -2812,21 +2835,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a `<select>` element.

                                                                                          +

                                                                                          Constructs the HTML for a 'select' element.

                                                                                          protected - add_select_box(string $p_str_setting_name, array<string|int, mixed> $p_arr_options) : string + add_select_box(string $setting_name, array<string|int, mixed> $options) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -2835,7 +2858,7 @@ A dashboard section.

                                                                                          - $p_arr_options + $options : array<string|int, mixed>
                                                                                          @@ -2900,21 +2923,21 @@ A dashboard section.

                                                                                          -

                                                                                          Returns a simple text inside HTML `<span>` element.

                                                                                          +

                                                                                          Returns a simple text inside a 'span' element.

                                                                                          protected - add_text(string $p_str_text) : string + add_text(string $text) : string
                                                                                          Parameters
                                                                                          - $p_str_text + $text : string
                                                                                          @@ -2979,21 +3002,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a text `<input>` element.

                                                                                          +

                                                                                          Constructs the HTML for a text 'input' element.

                                                                                          protected - add_text_box(string $p_str_setting_name[, int $p_str_max_length = 999 ][, bool $p_bool_readonly = false ][, bool $p_bool_hidden = false ]) : string + add_text_box(string $setting_name[, int $max_length = 999 ][, bool $readonly = false ][, bool $hidden = false ]) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -3002,7 +3025,7 @@ A dashboard section.

                                                                                          - $p_str_max_length + $max_length : int = 999
                                                                                          @@ -3011,7 +3034,7 @@ A dashboard section.

                                                                                          - $p_bool_readonly + $readonly : bool = false
                                                                                          @@ -3020,7 +3043,7 @@ A dashboard section.

                                                                                          - $p_bool_hidden + $hidden : bool = false
                                                                                          @@ -3085,21 +3108,21 @@ A dashboard section.

                                                                                          -

                                                                                          Constructs the HTML for a `<textarea>` element.

                                                                                          +

                                                                                          Constructs the HTML for a 'textarea' element.

                                                                                          protected - add_textarea(string $p_str_setting_name) : string + add_textarea(string $setting_name) : string
                                                                                          Parameters
                                                                                          - $p_str_setting_name + $setting_name : string
                                                                                          @@ -3164,7 +3187,7 @@ A dashboard section.

                                                                                          Returns an array of all registered meta boxes for each section of the sub-page.

                                                                                          @@ -3235,7 +3258,7 @@ meta box array format.

                                                                                          Returns an array of all registered sections for the sub-page.

                                                                                          @@ -3259,8 +3282,7 @@ meta box array format.

                                                                                          Engine::add_section() -

                                                                                          For more information on the -section array format.

                                                                                          +

                                                                                          For more information on the section array format.

                                                                                          @@ -3306,7 +3328,7 @@ section array format.

                                                                                          Returns the unique slug of the sub-page.

                                                                                          @@ -3355,7 +3377,7 @@ section array format.

                                                                                          Returns the title of the sub-page.

                                                                                          @@ -3404,21 +3426,21 @@ section array format.

                                                                                          Loads a specified setting.

                                                                                          protected - load_setting(string $p_str_setting_key_name) : array<string|int, mixed> + load_setting(string $setting_key_name) : array<string|int, mixed>
                                                                                          Parameters
                                                                                          - $p_str_setting_key_name + $setting_key_name : string
                                                                                          @@ -3501,14 +3523,14 @@ A configurable setting.

                                                                                          Append JavaScript and CSS files for specific sub-page.

                                                                                          private - append_scripts() : mixed + append_scripts() : void
                                                                                          @@ -3549,7 +3571,7 @@ A configurable setting.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -3568,21 +3590,21 @@ A configurable setting.

                                                                                          Registers all Meta boxes for a sub-page.

                                                                                          private - register_meta_boxes(string $p_str_parent_id) : mixed + register_meta_boxes(string $parent_id) : void
                                                                                          Parameters
                                                                                          - $p_str_parent_id + $parent_id : string
                                                                                          @@ -3619,7 +3641,7 @@ A configurable setting.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -3638,7 +3660,7 @@ A configurable setting.

                                                                                          Save all plugin settings.

                                                                                          diff --git a/docs/classes/footnotes-general-General.html b/docs/classes/footnotes-general-General.html index cc0516d..bb24079 100644 --- a/docs/classes/footnotes-general-General.html +++ b/docs/classes/footnotes-general-General.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ General +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class provide all public-facing functionality of the plugin.

                                                                                          @@ -129,40 +143,40 @@ and JavaScript.

                                                                                          - $a_bool_alternative_tooltips_enabled + $alternative_tooltips_enabled  : bool
                                                                                          Allows to determine whether alternative tooltips are enabled.
                                                                                          - $a_bool_amp_enabled + $amp_enabled  : bool
                                                                                          Allows to determine whether AMP compatibility mode is enabled.
                                                                                          - $a_bool_tooltips_enabled - -  : bool -
                                                                                          -
                                                                                          Flag for using tooltips.
                                                                                          - -
                                                                                          - $a_obj_task - -  : Parser -
                                                                                          -
                                                                                          The footnote parser.
                                                                                          - -
                                                                                          - $a_str_script_mode + $script_mode  : string
                                                                                          Allows to determine the script mode among jQuery or plain JS.
                                                                                          +
                                                                                          + $task + +  : Parser|null +
                                                                                          +
                                                                                          The footnote parser.
                                                                                          + +
                                                                                          + $tooltips_enabled + +  : bool +
                                                                                          +
                                                                                          Flag for using tooltips.
                                                                                          +
                                                                                          $plugin_name @@ -194,28 +208,28 @@ and JavaScript.

                                                                                          enqueue_scripts() -  : mixed +  : void
                                                                                          Register the JavaScript for the public-facing side of the site.
                                                                                          enqueue_styles() -  : mixed +  : void
                                                                                          Register the stylesheets for the public-facing side of the site.
                                                                                          register_widgets() -  : mixed +  : void
                                                                                          Register the widget(s) for the public-facing side of the site.
                                                                                          load_dependencies() -  : mixed +  : void
                                                                                          Load the required public-facing dependencies.
                                                                                          @@ -238,16 +252,16 @@ and JavaScript.

                                                                                          -public -static " > -

                                                                                          - $a_bool_alternative_tooltips_enabled - +

                                                                                          + $alternative_tooltips_enabled +

                                                                                          Allows to determine whether alternative tooltips are enabled.

                                                                                          @@ -255,7 +269,7 @@ and JavaScript.

                                                                                          public static bool - $a_bool_alternative_tooltips_enabled + $alternative_tooltips_enabled = false
                                                                                          @@ -295,16 +309,16 @@ and JavaScript.

                                                                                          -public -static " > -

                                                                                          - $a_bool_amp_enabled - +

                                                                                          + $amp_enabled +

                                                                                          Allows to determine whether AMP compatibility mode is enabled.

                                                                                          @@ -312,7 +326,7 @@ and JavaScript.

                                                                                          public static bool - $a_bool_amp_enabled + $amp_enabled = false
                                                                                          @@ -352,130 +366,16 @@ and JavaScript.

                                                                                          -public -static " > -

                                                                                          - $a_bool_tooltips_enabled - +

                                                                                          + $script_mode +

                                                                                          - -

                                                                                          Flag for using tooltips.

                                                                                          - - - public - static bool - $a_bool_tooltips_enabled - = false - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.4.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -

                                                                                          Moved from Footnotes to Public.

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_obj_task - - - -

                                                                                          - - -

                                                                                          The footnote parser.

                                                                                          - - - public - Parser - $a_obj_task - = null - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -

                                                                                          Moved from Footnotes to Public.

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_str_script_mode - - - -

                                                                                          -

                                                                                          Allows to determine the script mode among jQuery or plain JS.

                                                                                          @@ -483,7 +383,7 @@ and JavaScript.

                                                                                          public static string - $a_str_script_mode + $script_mode = 'js'
                                                                                          @@ -515,6 +415,129 @@ and JavaScript.

                                                                                          +
                                                                                          +
                                                                                          +

                                                                                          + $task + + + +

                                                                                          + + +

                                                                                          The footnote parser.

                                                                                          + + + public + Parser|null + $task + = null + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.8.0 + +

                                                                                          Moved from Footnotes to Public.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Review null init.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $tooltips_enabled + + + +

                                                                                          + + +

                                                                                          Flag for using tooltips.

                                                                                          + + + public + static bool + $tooltips_enabled + = false + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.4.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.8.0 + +

                                                                                          Moved from Footnotes to Public.

                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                          class-general.php : - 32 + 34

                                                                                          The ID of this plugin.

                                                                                          @@ -588,7 +611,7 @@ and JavaScript.

                                                                                          The reference container widget.

                                                                                          @@ -635,7 +658,7 @@ and JavaScript.

                                                                                          The version of this plugin.

                                                                                          @@ -695,7 +718,7 @@ and JavaScript.

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -765,14 +788,14 @@ and JavaScript.

                                                                                          Register the JavaScript for the public-facing side of the site.

                                                                                          public - enqueue_scripts() : mixed + enqueue_scripts() : void
                                                                                          @@ -835,7 +858,7 @@ and JavaScript.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -854,14 +877,14 @@ and JavaScript.

                                                                                          Register the stylesheets for the public-facing side of the site.

                                                                                          public - enqueue_styles() : mixed + enqueue_styles() : void

                                                                                          Enables enqueuing the formatted individual stylesheets if PRODUCTION_ENV is true.

                                                                                          @@ -906,7 +929,7 @@ is true.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -925,14 +948,14 @@ is true.

                                                                                          Register the widget(s) for the public-facing side of the site.

                                                                                          public - register_widgets() : mixed + register_widgets() : void
                                                                                          @@ -965,7 +988,7 @@ is true.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -984,14 +1007,14 @@ is true.

                                                                                          Load the required public-facing dependencies.

                                                                                          private - load_dependencies() : mixed + load_dependencies() : void

                                                                                          Include the following files that provide the public-facing functionality of this plugin:

                                                                                          @@ -1022,7 +1045,7 @@ of this plugin:

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          diff --git a/docs/classes/footnotes-general-Parser.html b/docs/classes/footnotes-general-Parser.html index 40d4a39..95854a0 100644 --- a/docs/classes/footnotes-general-Parser.html +++ b/docs/classes/footnotes-general-Parser.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Parser +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Searches and replaces the footnotes and generates the reference container.

                                                                                          @@ -137,154 +151,154 @@
                                                                                          - $a_arr_footnotes - -  : array<string|int, string> -
                                                                                          -
                                                                                          Contains all footnotes found in the searched content.
                                                                                          - -
                                                                                          - $a_bool_allow_love_me + $allow_love_me  : bool
                                                                                          Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
                                                                                          - $a_bool_hard_links_enabled + $end_tag -  : bool -
                                                                                          -
                                                                                          Hard links for AMP compatibility.
                                                                                          - -
                                                                                          - $a_bool_mirror_tooltip_text - -  : bool -
                                                                                          -
                                                                                          Whether to mirror the tooltip text in the reference container.
                                                                                          - -
                                                                                          - $a_bool_syntax_error_flag - -  : bool -
                                                                                          -
                                                                                          Footnote delimiter syntax validation enabled.
                                                                                          - -
                                                                                          - $a_int_post_id - -  : int -
                                                                                          -
                                                                                          Autoload a.k.a. infinite scroll, or archive view.
                                                                                          - -
                                                                                          - $a_int_reference_container_id - -  : int -
                                                                                          -
                                                                                          Multiple reference containers in content and widgets.
                                                                                          - -
                                                                                          - $a_int_scroll_offset - -  : int -
                                                                                          -
                                                                                          Scroll offset.
                                                                                          - -
                                                                                          - $a_int_tooltip_shortcode_length - -  : int -
                                                                                          -
                                                                                          The tooltip delimiter shortcode length.
                                                                                          - -
                                                                                          - $a_str_end_tag - -  : string +  : string|int
                                                                                          Footnote delimiter end short code.
                                                                                          - $a_str_end_tag_regex + $end_tag_regex -  : string +  : string|null
                                                                                          Footnote delimiter end short code in RegEx format.
                                                                                          - $a_str_footnote_link_slug + $footnote_link_slug  : string
                                                                                          The footnote slug.
                                                                                          - $a_str_link_close_tag + $footnotes + +  : array<string|int, mixed> +
                                                                                          +
                                                                                          Contains all footnotes found in the searched content.
                                                                                          + +
                                                                                          + $hard_links_enabled + +  : bool +
                                                                                          +
                                                                                          Hard links for AMP compatibility.
                                                                                          + +
                                                                                          + $link_close_tag  : string
                                                                                          The closing tag.
                                                                                          - $a_str_link_open_tag + $link_open_tag  : string
                                                                                          The opening tag.
                                                                                          - $a_str_link_span + $link_span  : string
                                                                                          The span element name.
                                                                                          - $a_str_post_container_id_compound + $mirror_tooltip_text + +  : bool +
                                                                                          +
                                                                                          Whether to mirror the tooltip text in the reference container.
                                                                                          + +
                                                                                          + $post_container_id_compound  : string
                                                                                          Contains the concatenated fragment ID base.
                                                                                          - $a_str_prefix + $post_id + +  : int +
                                                                                          +
                                                                                          Autoload a.k.a. infinite scroll, or archive view.
                                                                                          + +
                                                                                          + $prefix  : string
                                                                                          Prefix for the Footnote html element ID.
                                                                                          - $a_str_referrer_link_slug + $reference_container_id + +  : int +
                                                                                          +
                                                                                          Multiple reference containers in content and widgets.
                                                                                          + +
                                                                                          + $referrer_link_slug  : string
                                                                                          The referrer slug.
                                                                                          - $a_str_start_tag + $scroll_offset -  : string +  : int +
                                                                                          +
                                                                                          Scroll offset.
                                                                                          + +
                                                                                          + $start_tag + +  : string|int
                                                                                          Footnote delimiter start short code.
                                                                                          - $a_str_start_tag_regex + $start_tag_regex -  : string +  : string|null
                                                                                          Footnote delimiter start short code in RegEx format.
                                                                                          - $a_str_tooltip_shortcode + $syntax_error_flag + +  : bool +
                                                                                          +
                                                                                          Footnote delimiter syntax validation enabled.
                                                                                          + +
                                                                                          + $tooltip_shortcode  : string
                                                                                          The tooltip delimiter shortcode.
                                                                                          +
                                                                                          + $tooltip_shortcode_length + +  : int +
                                                                                          +
                                                                                          The tooltip delimiter shortcode length.
                                                                                          +
                                                                                          - $a_str_link_ids_separator + $link_ids_separator  : string
                                                                                          @@ -342,14 +356,14 @@
                                                                                          footnotes_output_footer() -  : mixed +  : void
                                                                                          Displays the 'LOVE FOOTNOTES' slug if enabled.
                                                                                          footnotes_output_head() -  : mixed +  : void
                                                                                          Outputs the custom css to the header of the public page.
                                                                                          @@ -377,7 +391,7 @@
                                                                                          register_hooks() -  : mixed +  : void
                                                                                          Register WordPress hooks to replace Footnotes in the content of a public page.
                                                                                          @@ -391,7 +405,7 @@
                                                                                          unify_delimiters() -  : mixed +  : string
                                                                                          Brings the delimiters and unifies their various HTML escapement schemas.
                                                                                          @@ -414,63 +428,16 @@ -public -static " > -

                                                                                          - $a_arr_footnotes - +

                                                                                          + $allow_love_me +

                                                                                          - -

                                                                                          Contains all footnotes found in the searched content.

                                                                                          - - - public - static array<string|int, string> - $a_arr_footnotes - = array() - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_bool_allow_love_me - - - -

                                                                                          -

                                                                                          Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.

                                                                                          @@ -478,7 +445,7 @@ public static bool - $a_bool_allow_love_me + $allow_love_me = true
                                                                                          @@ -508,368 +475,24 @@ -public -static " > -

                                                                                          + $end_tag +

                                                                                          - -

                                                                                          Hard links for AMP compatibility.

                                                                                          - - - public - static bool - $a_bool_hard_links_enabled - = false - -

                                                                                          A property because used both in search() and reference_container().

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.0.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_bool_mirror_tooltip_text - - - -

                                                                                          - - -

                                                                                          Whether to mirror the tooltip text in the reference container.

                                                                                          - - - public - static bool - $a_bool_mirror_tooltip_text - = false - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.5.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_bool_syntax_error_flag - - - -

                                                                                          - - -

                                                                                          Footnote delimiter syntax validation enabled.

                                                                                          - - - public - static bool - $a_bool_syntax_error_flag - = true - -

                                                                                          The algorithm first checks for balanced footnote opening and closing tag short codes. -The first encountered error triggers the display of a warning below the post title.

                                                                                          -

                                                                                          Unbalanced short codes have caused significant trouble because they are hard to detect. -Any compiler or other tool reports syntax errors in the first place. Footnotes' exception -is considered a design flaw, and the feature is released as a bug fix after overdue 2.3.0 -released in urgency to provide AMP compat before 2021.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.4.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_int_post_id - - - -

                                                                                          - - -

                                                                                          Autoload a.k.a. infinite scroll, or archive view.

                                                                                          - - - public - static int - $a_int_post_id - = 0 - -

                                                                                          As multiple posts are appended to each other, functions and fragment IDs must be disambiguated. -post ID to make everything unique wrt infinite scroll and archive view.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.0.6 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_int_reference_container_id - - - -

                                                                                          - - -

                                                                                          Multiple reference containers in content and widgets.

                                                                                          - - - public - static int - $a_int_reference_container_id - = 1 - -

                                                                                          This ID disambiguates multiple reference containers in a page -as they may occur when the widget_text hook is active and the page -is built with Elementor and has an accordion or similar toggle sections.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.2.9 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_int_scroll_offset - - - -

                                                                                          - - -

                                                                                          Scroll offset.

                                                                                          - - - public - static int - $a_int_scroll_offset - = 34 - -

                                                                                          Websites may use high fixed headers not contracting at scroll. -Scroll offset may now need to get into inline CSS. -Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_int_tooltip_shortcode_length - - - -

                                                                                          - - -

                                                                                          The tooltip delimiter shortcode length.

                                                                                          - - - public - static int - $a_int_tooltip_shortcode_length - = 12 - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.5.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - $a_str_end_tag - - - -

                                                                                          -

                                                                                          Footnote delimiter end short code.

                                                                                          public - static string - $a_str_end_tag + static string|int + $end_tag = ''
                                                                                          @@ -909,24 +532,24 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_end_tag_regex - +

                                                                                          + $end_tag_regex +

                                                                                          Footnote delimiter end short code in RegEx format.

                                                                                          public - static string - $a_str_end_tag_regex + static string|null + $end_tag_regex = ''
                                                                                          @@ -966,16 +589,16 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          The footnote slug.

                                                                                          @@ -983,7 +606,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_footnote_link_slug + $footnote_link_slug = 'f'
                                                                                          @@ -1013,16 +636,111 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          + $footnotes +

                                                                                          + +

                                                                                          Contains all footnotes found in the searched content.

                                                                                          + + + public + static array<string|int, mixed> + $footnotes + = array() + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + + + +

                                                                                          Hard links for AMP compatibility.

                                                                                          + + + public + static bool + $hard_links_enabled + = false + +

                                                                                          A property because used both in search() and reference_container().

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.0.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +

                                                                                          The closing tag.

                                                                                          @@ -1030,7 +748,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_link_close_tag + $link_close_tag = ''
                                                                                          @@ -1069,16 +787,16 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          The opening tag.

                                                                                          @@ -1086,7 +804,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_link_open_tag + $link_open_tag = ''
                                                                                          @@ -1125,16 +843,16 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          The span element name.

                                                                                          @@ -1142,7 +860,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_link_span + $link_span = 'span'
                                                                                          @@ -1181,16 +899,63 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_post_container_id_compound - +

                                                                                          + $mirror_tooltip_text +

                                                                                          + +

                                                                                          Whether to mirror the tooltip text in the reference container.

                                                                                          + + + public + static bool + $mirror_tooltip_text + = false + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.5.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $post_container_id_compound + + + +

                                                                                          +

                                                                                          Contains the concatenated fragment ID base.

                                                                                          @@ -1198,7 +963,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_post_container_id_compound + $post_container_id_compound = ''
                                                                                          @@ -1228,9 +993,58 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_prefix - +

                                                                                          + $post_id + + + +

                                                                                          + + +

                                                                                          Autoload a.k.a. infinite scroll, or archive view.

                                                                                          + + + public + static int + $post_id + = 0 + +

                                                                                          As multiple posts are appended to each other, functions and fragment IDs must be disambiguated. +post ID to make everything unique wrt infinite scroll and archive view.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.0.6 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $prefix +

                                                                                          @@ -1245,7 +1059,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_prefix + $prefix = ''
                                                                                          @@ -1275,16 +1089,66 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          + $reference_container_id +

                                                                                          + +

                                                                                          Multiple reference containers in content and widgets.

                                                                                          + + + public + static int + $reference_container_id + = 1 + +

                                                                                          This ID disambiguates multiple reference containers in a page +as they may occur when the widget_text hook is active and the page +is built with Elementor and has an accordion or similar toggle sections.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.2.9 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +

                                                                                          The referrer slug.

                                                                                          @@ -1292,7 +1156,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          public static string - $a_str_referrer_link_slug + $referrer_link_slug = 'r'
                                                                                          @@ -1322,24 +1186,74 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_start_tag - +

                                                                                          + $scroll_offset +

                                                                                          + +

                                                                                          Scroll offset.

                                                                                          + + + public + static int + $scroll_offset + = 34 + +

                                                                                          Websites may use high fixed headers not contracting at scroll. +Scroll offset may now need to get into inline CSS. +Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $start_tag + + + +

                                                                                          +

                                                                                          Footnote delimiter start short code.

                                                                                          public - static string - $a_str_start_tag + static string|int + $start_tag = ''
                                                                                          @@ -1379,24 +1293,24 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_start_tag_regex - +

                                                                                          + $start_tag_regex +

                                                                                          Footnote delimiter start short code in RegEx format.

                                                                                          public - static string - $a_str_start_tag_regex + static string|null + $start_tag_regex = ''
                                                                                          @@ -1436,9 +1350,109 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -public -static " > -

                                                                                          - $a_str_tooltip_shortcode - +

                                                                                          + $syntax_error_flag + + + +

                                                                                          + + +

                                                                                          Footnote delimiter syntax validation enabled.

                                                                                          + + + public + static bool + $syntax_error_flag + = true + +

                                                                                          The algorithm first checks for balanced footnote opening and closing tag short codes. +The first encountered error triggers the display of a warning below the post title.

                                                                                          +

                                                                                          Unbalanced short codes have caused significant trouble because they are hard to detect. +Any compiler or other tool reports syntax errors in the first place. Footnotes' exception +is considered a design flaw, and the feature is released as a bug fix after overdue 2.3.0 +released in urgency to provide AMP compat before 2021.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.4.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $tooltip_shortcode + + + +

                                                                                          + + +

                                                                                          The tooltip delimiter shortcode.

                                                                                          + + + public + static string + $tooltip_shortcode + = '[[/tooltip]]' + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.5.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + $tooltip_shortcode_length +

                                                                                          @@ -1448,13 +1462,13 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          190 -

                                                                                          The tooltip delimiter shortcode.

                                                                                          +

                                                                                          The tooltip delimiter shortcode length.

                                                                                          public - static string - $a_str_tooltip_shortcode - = '[[/tooltip]]' + static int + $tooltip_shortcode_length + = 12
                                                                                          @@ -1483,16 +1497,16 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          -private -static " > -

                                                                                          The slug and identifier separator.

                                                                                          @@ -1500,7 +1514,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          private static string - $a_str_link_ids_separator + $link_ids_separator = '+'
                                                                                          @@ -1543,7 +1557,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -1610,21 +1624,21 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          Replaces all footnotes that occur in the given content.

                                                                                          public - exec(string $p_str_content[, bool $p_bool_output_references = false ][, bool $p_bool_hide_footnotes_text = false ]) : string + exec(string $content[, bool $output_references = false ][, bool $hide_footnotes_text = false ]) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -1633,7 +1647,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          - $p_bool_output_references + $output_references : bool = false
                                                                                          @@ -1642,7 +1656,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          - $p_bool_hide_footnotes_text + $hide_footnotes_text : bool = false
                                                                                          @@ -1689,21 +1703,21 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          Replaces footnotes in the content of the current page/post.

                                                                                          public - footnotes_in_content(string $p_str_content) : string + footnotes_in_content(string $content) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -1733,7 +1747,7 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content Content with replaced footnotes.

                                                                                          +

                                                                                          $content Content with replaced footnotes.

                                                                                          @@ -1751,14 +1765,14 @@ Hence it needs to be loaded twice, because priority levels may not match.

                                                                                          Processes existing excerpt or replaces it with a new one generated on the basis of the post.

                                                                                          public - footnotes_in_excerpt(string $p_str_excerpt) : string + footnotes_in_excerpt(string $excerpt) : string

                                                                                          The input was already the processed excerpt, no more footnotes to search. But issue #65 brought up that manual excerpts can include processable footnotes. @@ -1768,7 +1782,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Parameters
                                                                                          - $p_str_excerpt + $excerpt : string
                                                                                          @@ -1798,7 +1812,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_excerpt Processed or new excerpt.

                                                                                          +

                                                                                          $excerpt Processed or new excerpt.

                                                                                          @@ -1816,21 +1830,21 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Replaces footnotes in the post/page title.

                                                                                          public - footnotes_in_title(string $p_str_content) : string + footnotes_in_title(string $content) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -1860,7 +1874,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content Title with replaced footnotes.

                                                                                          +

                                                                                          $content Title with replaced footnotes.

                                                                                          @@ -1878,21 +1892,21 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Replaces footnotes in the content of the current widget.

                                                                                          public - footnotes_in_widget_text(string $p_str_content) : string + footnotes_in_widget_text(string $content) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -1922,7 +1936,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content Content with replaced footnotes.

                                                                                          +

                                                                                          $content Content with replaced footnotes.

                                                                                          @@ -1940,21 +1954,21 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Replaces footnotes in the widget title.

                                                                                          public - footnotes_in_widget_title(string $p_str_content) : string + footnotes_in_widget_title(string $content) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -1984,7 +1998,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content Content with replaced footnotes.

                                                                                          +

                                                                                          $content Content with replaced footnotes.

                                                                                          @@ -2002,14 +2016,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Displays the 'LOVE FOOTNOTES' slug if enabled.

                                                                                          public - footnotes_output_footer() : mixed + footnotes_output_footer() : void
                                                                                          @@ -2032,7 +2046,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2051,14 +2065,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Outputs the custom css to the header of the public page.

                                                                                          public - footnotes_output_head() : mixed + footnotes_output_head() : void
                                                                                          @@ -2090,7 +2104,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2109,14 +2123,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Generates excerpt on the basis of the post.

                                                                                          public - generate_excerpt(string $p_str_content) : string + generate_excerpt(string $content) : string

                                                                                          Applies full WordPress excerpt processing.

                                                                                          @@ -2124,7 +2138,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -2168,7 +2182,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content An excerpt of the post.

                                                                                          +

                                                                                          $content An excerpt of the post.

                                                                                          @@ -2186,14 +2200,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Generates excerpt with footnotes on the basis of the post.

                                                                                          public - generate_excerpt_with_footnotes(string $p_str_content) : string + generate_excerpt_with_footnotes(string $content) : string

                                                                                          Does not apply full WordPress excerpt processing.

                                                                                          @@ -2201,7 +2215,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -2248,7 +2262,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          string — -

                                                                                          $p_str_content An excerpt of the post.

                                                                                          +

                                                                                          $content An excerpt of the post.

                                                                                          @@ -2266,7 +2280,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Generates the reference container.

                                                                                          @@ -2315,14 +2329,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Register WordPress hooks to replace Footnotes in the content of a public page.

                                                                                          public - register_hooks() : mixed + register_hooks() : void
                                                                                          @@ -2384,7 +2398,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -2403,21 +2417,21 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Replaces all footnotes in the given content and appends them to the static property.

                                                                                          public - search(string $p_str_content, bool $p_bool_hide_footnotes_text) : string + search(string $content, bool $hide_footnotes_text) : string
                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -2426,7 +2440,7 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.
                                                                                          - $p_bool_hide_footnotes_text + $hide_footnotes_text : bool
                                                                                          @@ -2459,6 +2473,15 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Refactor to parse DOM rather than using RegEx.

                                                                                          +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Decompose.

                                                                                          +
                                                                                          +
                                                                                          @@ -2482,14 +2505,14 @@ Default 'manual' is fallback and is backwards-compatible with the initial setup.

                                                                                          Brings the delimiters and unifies their various HTML escapement schemas.

                                                                                          public - unify_delimiters(string $p_str_content) : mixed + unify_delimiters(string $content) : string

                                                                                          While the Classic Editor (visual mode) escapes both pointy brackets, the Block Editor enforces balanced escapement only in code editor mode @@ -2500,7 +2523,7 @@ does not escape the greater-than sign.

                                                                                          Parameters
                                                                                          - $p_str_content + $content : string
                                                                                          @@ -2528,7 +2551,7 @@ does not escape the greater-than sign.

                                                                                          Return values
                                                                                          - mixed + string
                                                                                          diff --git a/docs/classes/footnotes-general-Widget-Base.html b/docs/classes/footnotes-general-Widget-Base.html index 8ae441e..beba6e9 100644 --- a/docs/classes/footnotes-general-Widget-Base.html +++ b/docs/classes/footnotes-general-Widget-Base.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -88,6 +96,12 @@ extends WP_Widget +
                                                                                          + in package + +
                                                                                          @@ -95,7 +109,7 @@

                                                                                          Base class to be extended by all widget sub-classes.

                                                                                          @@ -210,7 +224,7 @@

                                                                                          Registers the child Widget to WordPress.

                                                                                          @@ -259,7 +273,7 @@

                                                                                          Returns the Description of the child widget.

                                                                                          @@ -316,7 +330,7 @@

                                                                                          Returns an unique ID as string used for the Widget Base ID.

                                                                                          @@ -373,7 +387,7 @@

                                                                                          Returns the Public name of child Widget to be displayed in the Configuration page.

                                                                                          @@ -430,7 +444,7 @@

                                                                                          Returns the width of the Widget. Default width is 250 pixel.

                                                                                          diff --git a/docs/classes/footnotes-general-Widget-Reference-Container.html b/docs/classes/footnotes-general-Widget-Reference-Container.html index cc393d7..76660e4 100644 --- a/docs/classes/footnotes-general-Widget-Reference-Container.html +++ b/docs/classes/footnotes-general-Widget-Reference-Container.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -88,6 +96,12 @@ extends Base +
                                                                                          + in package + +
                                                                                          @@ -95,7 +109,7 @@

                                                                                          Registers a Widget to put the Reference Container to the widget area.

                                                                                          @@ -232,7 +246,7 @@

                                                                                          The ID of this plugin.

                                                                                          @@ -301,7 +315,7 @@

                                                                                          Initialize the class and set its properties.

                                                                                          @@ -362,7 +376,7 @@

                                                                                          Outputs the Settings of the Widget.

                                                                                          @@ -431,7 +445,7 @@

                                                                                          Outputs the Content of the Widget.

                                                                                          @@ -509,7 +523,7 @@

                                                                                          Returns the Description of the child widget.

                                                                                          @@ -567,7 +581,7 @@

                                                                                          Returns an unique ID as string used for the Widget Base ID.

                                                                                          @@ -625,7 +639,7 @@

                                                                                          Returns the Public name of the Widget to be displayed in the Configuration page.

                                                                                          @@ -683,7 +697,7 @@

                                                                                          Returns the width of the Widget. Default width is 250 pixel.

                                                                                          diff --git a/docs/classes/footnotes-includes-Activator.html b/docs/classes/footnotes-includes-Activator.html index dd07211..01025f5 100644 --- a/docs/classes/footnotes-includes-Activator.html +++ b/docs/classes/footnotes-includes-Activator.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Activator +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing action(s) on plugin activation.

                                                                                          @@ -160,7 +174,7 @@

                                                                                          Runs when the plugin is deactivated.

                                                                                          diff --git a/docs/classes/footnotes-includes-Config.html b/docs/classes/footnotes-includes-Config.html index 2b64cbc..ba0a891 100644 --- a/docs/classes/footnotes-includes-Config.html +++ b/docs/classes/footnotes-includes-Config.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Config +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class defining plugin constants.

                                                                                          @@ -156,35 +170,35 @@ Moved under footnotes\includes namespace.

                                                                                          - C_STR_LOVE_SYMBOL + LOVE_SYMBOL  = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>'
                                                                                          HTML element for the ‘love’ symbol.
                                                                                          - C_STR_LOVE_SYMBOL_HEADING + LOVE_SYMBOL_HEADING  = '<span class="footnotes_heart_heading">&hearts;</span>'
                                                                                          HTML element for the ‘love’ symbol used in dashboard heading
                                                                                          - C_STR_NO_LOVE_SLUG + NO_LOVE_SLUG  = '[[no footnotes: love]]'
                                                                                          Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.
                                                                                          - C_STR_PLUGIN_HEADING_NAME + PLUGIN_HEADING_NAME  = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>'
                                                                                          Public plugin name for use as a dashboard heading.
                                                                                          - C_STR_PLUGIN_PUBLIC_NAME + PLUGIN_PUBLIC_NAME  = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>'
                                                                                          @@ -201,15 +215,15 @@ Moved under footnotes\includes namespace.

                                                                                          -

                                                                                          - C_STR_LOVE_SYMBOL - +

                                                                                          + LOVE_SYMBOL +

                                                                                          HTML element for the ‘love’ symbol.

                                                                                          @@ -217,7 +231,7 @@ Moved under footnotes\includes namespace.

                                                                                          public string - C_STR_LOVE_SYMBOL + LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>' @@ -260,15 +274,15 @@ Moved under footnotes\includes namespace.

                                                                                          -

                                                                                          - C_STR_LOVE_SYMBOL_HEADING - +

                                                                                          + LOVE_SYMBOL_HEADING +

                                                                                          HTML element for the ‘love’ symbol used in dashboard heading

                                                                                          @@ -276,7 +290,7 @@ Moved under footnotes\includes namespace.

                                                                                          public string - C_STR_LOVE_SYMBOL_HEADING + LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">&hearts;</span>' @@ -319,15 +333,15 @@ Moved under footnotes\includes namespace.

                                                                                          -

                                                                                          - C_STR_NO_LOVE_SLUG - +

                                                                                          + NO_LOVE_SLUG +

                                                                                          Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.

                                                                                          @@ -335,7 +349,7 @@ Moved under footnotes\includes namespace.

                                                                                          public string - C_STR_NO_LOVE_SLUG + NO_LOVE_SLUG = '[[no footnotes: love]]' @@ -378,15 +392,15 @@ Moved under footnotes\includes namespace.

                                                                                          -

                                                                                          - C_STR_PLUGIN_HEADING_NAME - +

                                                                                          + PLUGIN_HEADING_NAME +

                                                                                          Public plugin name for use as a dashboard heading.

                                                                                          @@ -394,7 +408,7 @@ Moved under footnotes\includes namespace.

                                                                                          public string - C_STR_PLUGIN_HEADING_NAME + PLUGIN_HEADING_NAME = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>' @@ -442,15 +456,15 @@ that isn't translated, and dropping the logo in another, translatable heading.
                                                                                          -

                                                                                          - C_STR_PLUGIN_PUBLIC_NAME - +

                                                                                          + PLUGIN_PUBLIC_NAME +

                                                                                          Public plugin name.

                                                                                          @@ -458,7 +472,7 @@ that isn't translated, and dropping the logo in another, translatable heading. public string - C_STR_PLUGIN_PUBLIC_NAME + PLUGIN_PUBLIC_NAME = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>' diff --git a/docs/classes/footnotes-includes-Convert.html b/docs/classes/footnotes-includes-Convert.html index e28c944..3266682 100644 --- a/docs/classes/footnotes-includes-Convert.html +++ b/docs/classes/footnotes-includes-Convert.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Convert +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing variable type and value conversion functions.

                                                                                          @@ -129,14 +143,14 @@
                                                                                          debug() -  : mixed +  : void
                                                                                          Displays a variable.
                                                                                          get_arrow() -  : array<string|int, mixed>|string +  : string|array<string|int, string>
                                                                                          Get an HTML array short code depending on Arrow-Array key index.
                                                                                          @@ -169,7 +183,7 @@
                                                                                          Converts an integer into Latin ASCII characters, either lower or upper-case.
                                                                                          - to_romanic() + to_roman()  : string
                                                                                          @@ -201,14 +215,14 @@

                                                                                          Displays a variable.

                                                                                          public - static debug(mixed $p_mixed_value) : mixed + static debug(mixed $p_mixed_value) : void
                                                                                          @@ -252,7 +266,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -271,21 +285,21 @@

                                                                                          Get an HTML array short code depending on Arrow-Array key index.

                                                                                          public - static get_arrow([int $p_int_index = -1 ]) : array<string|int, mixed>|string + static get_arrow([int $index = -1 ]) : string|array<string|int, string>
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int = -1
                                                                                          @@ -318,11 +332,20 @@

                                                                                          Review.

                                                                                          +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Single return type.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - array<string|int, mixed>|string + string|array<string|int, string>

                                                                                          Array of all arrows if index is empty, otherwise HTML tag of a specific arrow.

                                                                                          @@ -342,21 +365,21 @@

                                                                                          Converts an integer into the user-defined counter style for the footnotes.

                                                                                          public - static index(int $p_int_index[, string $p_str_convert_style = 'arabic_plain' ]) : string + static index(int $index[, string $convert_style = 'arabic_plain' ]) : string
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int
                                                                                          @@ -365,7 +388,7 @@
                                                                                          - $p_str_convert_style + $convert_style : string = 'arabic_plain'
                                                                                          @@ -395,7 +418,7 @@
                                                                                          Return values
                                                                                          string — -

                                                                                          Converted Index converted to the defined counter style.

                                                                                          +

                                                                                          The index converted to the defined counter style.

                                                                                          @@ -413,21 +436,21 @@

                                                                                          Converts a string depending on its value to a boolean.

                                                                                          public - static to_bool(string $p_str_value) : bool + static to_bool(string $value) : bool
                                                                                          Parameters
                                                                                          - $p_str_value + $value : string
                                                                                          @@ -484,21 +507,21 @@

                                                                                          Converts an integer to a leading-0 integer.

                                                                                          private - static to_arabic_leading(int $p_int_value) : string + static to_arabic_leading(int $value) : string
                                                                                          Parameters
                                                                                          - $p_int_value + $value : int
                                                                                          @@ -555,14 +578,14 @@

                                                                                          Converts an integer into Latin ASCII characters, either lower or upper-case.

                                                                                          private - static to_latin(int $p_int_value, bool $p_bool_upper_case) : string + static to_latin(int $value, bool $upper_case) : string

                                                                                          This function works from values A–ZZ (meaning there is a limit of 676 gootnotes per Page).

                                                                                          @@ -571,7 +594,7 @@ gootnotes per Page).

                                                                                          Parameters
                                                                                          - $p_int_value + $value : int
                                                                                          @@ -580,7 +603,7 @@ gootnotes per Page).

                                                                                          - $p_bool_upper_case + $upper_case : bool
                                                                                          @@ -629,28 +652,28 @@ gootnotes per Page).

                                                                                          -private -static " > -

                                                                                          - to_romanic() - +

                                                                                          + to_roman() +

                                                                                          Converts an integer to a Roman numeral.

                                                                                          private - static to_romanic(int $p_int_value, bool $p_bool_upper_case) : string + static to_roman(int $value, bool $upper_case) : string
                                                                                          Parameters
                                                                                          - $p_int_value + $value : int
                                                                                          @@ -659,7 +682,7 @@ gootnotes per Page).

                                                                                          - $p_bool_upper_case + $upper_case : bool
                                                                                          diff --git a/docs/classes/footnotes-includes-Core.html b/docs/classes/footnotes-includes-Core.html index 017d516..ff7ec7c 100644 --- a/docs/classes/footnotes-includes-Core.html +++ b/docs/classes/footnotes-includes-Core.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Core +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing core plugin functionality.

                                                                                          @@ -255,7 +269,7 @@ the plugin.

                                                                                          The loader that's responsible for maintaining and registering all hooks @@ -303,7 +317,7 @@ that power the plugin.

                                                                                          The unique identifier of this plugin

                                                                                          @@ -350,7 +364,7 @@ that power the plugin.

                                                                                          The current version of the plugin.

                                                                                          @@ -410,7 +424,7 @@ that power the plugin.

                                                                                          Builds the core of the plugin.

                                                                                          @@ -471,7 +485,7 @@ the admin area and the public-facing side of the site.

                                                                                          Returns a reference to the class that orchestrates the hooks with the plugin.

                                                                                          @@ -520,7 +534,7 @@ the admin area and the public-facing side of the site.

                                                                                          Gets the name of the plugin used to uniquely identify it within the @@ -570,7 +584,7 @@ context of WordPress and to define internationalization functionality.

                                                                                          Gets the version number of the plugin.

                                                                                          @@ -619,7 +633,7 @@ context of WordPress and to define internationalization functionality.

                                                                                          Runs the loader to execute all of the hooks with WordPress.

                                                                                          @@ -668,7 +682,7 @@ context of WordPress and to define internationalization functionality.

                                                                                          Register all of the hooks related to the admin area functionality of the @@ -738,7 +752,7 @@ plugin.

                                                                                          Register all of the hooks related to the public-facing functionality of @@ -798,7 +812,7 @@ the plugin.

                                                                                          Load the required dependencies for this plugin.

                                                                                          @@ -868,7 +882,7 @@ with WordPress.

                                                                                          Define the locale for this plugin for internationalization.

                                                                                          diff --git a/docs/classes/footnotes-includes-Deactivator.html b/docs/classes/footnotes-includes-Deactivator.html index 0e5319a..233f3ef 100644 --- a/docs/classes/footnotes-includes-Deactivator.html +++ b/docs/classes/footnotes-includes-Deactivator.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Deactivator +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing action(s) on plugin deactivation.

                                                                                          @@ -130,7 +144,7 @@
                                                                                          deactivate() -  : mixed +  : void
                                                                                          Runs when the plugin is deactivated.
                                                                                          @@ -160,14 +174,14 @@

                                                                                          Runs when the plugin is deactivated.

                                                                                          public - static deactivate() : mixed + static deactivate() : void

                                                                                          Currently NOP.

                                                                                          @@ -191,7 +205,7 @@
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          diff --git a/docs/classes/footnotes-includes-Loader.html b/docs/classes/footnotes-includes-Loader.html index 945cb11..d2b979b 100644 --- a/docs/classes/footnotes-includes-Loader.html +++ b/docs/classes/footnotes-includes-Loader.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Loader +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class defining action/filter registration for the plugin.

                                                                                          @@ -146,35 +160,35 @@ list of actions and filters.

                                                                                          __construct() -  : mixed +  : void
                                                                                          Initialize the collections used to maintain the actions and filters.
                                                                                          add_action() -  : mixed +  : void
                                                                                          Add a new action to the collection to be registered with WordPress.
                                                                                          add_filter() -  : mixed +  : void
                                                                                          Add a new filter to the collection to be registered with WordPress.
                                                                                          run() -  : mixed +  : void
                                                                                          Registers the filters and actions with WordPress.
                                                                                          add() -  : array<string|int, mixed> +  : array<string|int, array<string|int, string|int|object>>
                                                                                          A utility function that is used to register the actions and hooks into a single collection.
                                                                                          @@ -207,7 +221,7 @@ collection.

                                                                                          The array of actions registered with WordPress.

                                                                                          @@ -227,15 +241,6 @@ collection.
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          since
                                                                                          @@ -243,6 +248,16 @@ collection.
                                                                                          +
                                                                                          +
                                                                                          + see +
                                                                                          +
                                                                                          + Loader::add() + +

                                                                                          For more information on the hook array format.

                                                                                          +
                                                                                          +
                                                                                          @@ -263,7 +278,7 @@ collection.

                                                                                          The array of filters registered with WordPress.

                                                                                          @@ -283,15 +298,6 @@ collection.
                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          protected

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          since
                                                                                          @@ -299,6 +305,16 @@ collection.
                                                                                          + +
                                                                                          + see +
                                                                                          +
                                                                                          + Loader::add() + +

                                                                                          For more information on the hook array format.

                                                                                          +
                                                                                          +
                                                                                          @@ -323,14 +339,14 @@ collection.

                                                                                          Initialize the collections used to maintain the actions and filters.

                                                                                          public - __construct() : mixed + __construct() : void
                                                                                          @@ -353,7 +369,7 @@ collection.
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -372,14 +388,14 @@ collection.

                                                                                          Add a new action to the collection to be registered with WordPress.

                                                                                          public - add_action(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : mixed + add_action(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : void
                                                                                          @@ -417,7 +433,7 @@ collection. : int = 10
                                                                                          -

                                                                                          (optional) The priority at which the function should be fired. Default is 10.

                                                                                          +

                                                                                          Optional. The priority at which the function should be fired. Default is 10.

                                                                                          @@ -426,7 +442,7 @@ collection. : int = 1
                                                                                          -

                                                                                          (optional) The number of arguments that should be passed to the $callback. Default is 1.

                                                                                          +

                                                                                          Optional. The number of arguments that should be passed to the $callback. Default is 1.

                                                                                          @@ -446,11 +462,21 @@ collection.
                                                                                          + +
                                                                                          + see +
                                                                                          +
                                                                                          + Loader::add() + +

                                                                                          For more information on the hook array format.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -469,14 +495,14 @@ collection.

                                                                                          Add a new filter to the collection to be registered with WordPress.

                                                                                          public - add_filter(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : mixed + add_filter(string $hook, object $component, string $callback[, int $priority = 10 ][, int $accepted_args = 1 ]) : void
                                                                                          @@ -514,7 +540,7 @@ collection. : int = 10
                                                                                          -

                                                                                          (optional) The priority at which the function should be fired. Default is 10.

                                                                                          +

                                                                                          Optional. The priority at which the function should be fired. Default is 10.

                                                                                          @@ -523,7 +549,7 @@ collection. : int = 1
                                                                                          -

                                                                                          (optional) The number of arguments that should be passed to the $callback. Default is 1.

                                                                                          +

                                                                                          Optional. The number of arguments that should be passed to the $callback. Default is 1.

                                                                                          @@ -543,11 +569,21 @@ collection.
                                                                                          + +
                                                                                          + see +
                                                                                          +
                                                                                          + Loader::add() + +

                                                                                          For more information on the hook array format.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -566,14 +602,14 @@ collection.

                                                                                          Registers the filters and actions with WordPress.

                                                                                          public - run() : mixed + run() : void
                                                                                          @@ -592,11 +628,21 @@ collection.
                                                                                          + +
                                                                                          + see +
                                                                                          +
                                                                                          + Loader::add() + +

                                                                                          For more information on the hook array format.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -615,7 +661,7 @@ collection.

                                                                                          A utility function that is used to register the actions and hooks into a single @@ -623,7 +669,7 @@ collection.

                                                                                          private - add(array<string|int, mixed> $hooks, string $hook, object $component, string $callback, int $priority, int $accepted_args) : array<string|int, mixed> + add(array<string|int, array<string|int, string|int|object>> $hooks, string $hook, object $component, string $callback, int $priority, int $accepted_args) : array<string|int, array<string|int, string|int|object>>
                                                                                          @@ -631,7 +677,7 @@ collection.

                                                                                          $hooks - : array<string|int, mixed> + : array<string|int, array<string|int, string|int|object>>

                                                                                          The collection of hooks that is being registered (that is, actions or filters).

                                                                                          @@ -692,15 +738,6 @@ collection.

                                                                                          - access -
                                                                                          -
                                                                                          - -

                                                                                          private

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          since
                                                                                          @@ -712,9 +749,17 @@ collection.

                                                                                          Return values
                                                                                          - array<string|int, mixed> + array<string|int, array<string|int, string|int|object>> — -

                                                                                          The collection of actions and filters registered with WordPress.

                                                                                          +

                                                                                          { +The registered hook(s).

                                                                                          +
                                                                                          @type string $hook The name of the registered WordPress hook.
                                                                                          +@type object $component A reference to the instance of the object on which the hook is defined.
                                                                                          +@type string $callback The name of the function definition on the `$component`.
                                                                                          +@type int $priority The priority at which the function should be fired.
                                                                                          +@type int $accepted_args The number of arguments that should be passed to the `$callback`.
                                                                                          +
                                                                                          +

                                                                                          }

                                                                                          diff --git a/docs/classes/footnotes-includes-Settings.html b/docs/classes/footnotes-includes-Settings.html index dff71e9..2d7d5d9 100644 --- a/docs/classes/footnotes-includes-Settings.html +++ b/docs/classes/footnotes-includes-Settings.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ Settings +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class defining configurable plugin settings.

                                                                                          @@ -138,98 +152,385 @@ Moved under footnotes\includes namespace.

                                                                                          - C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR + BACKLINKS_COLUMN_MAX_WIDTH_ENABLED -  = 'footnotes_inputfield_mouse_over_box_font_size_scalar' +  = 'footnotes_inputfield_backlinks_column_max_width_enabled'
                                                                                          -
                                                                                          Settings container key for the scalar value of the tooltip font size.
                                                                                          +
                                                                                          Settings container key to enable a max width for the backlinks column.
                                                                                          - C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR + BACKLINKS_COLUMN_MAX_WIDTH_SCALAR  = 'footnotes_inputfield_backlinks_column_max_width_scalar'
                                                                                          Settings container key for the backlinks column max width scalar.
                                                                                          - C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR + BACKLINKS_COLUMN_MAX_WIDTH_UNIT + +  = 'footnotes_inputfield_backlinks_column_max_width_unit' +
                                                                                          +
                                                                                          Settings container key for the backlinks column max width unit.
                                                                                          + +
                                                                                          + BACKLINKS_COLUMN_WIDTH_ENABLED + +  = 'footnotes_inputfield_backlinks_column_width_enabled' +
                                                                                          +
                                                                                          Settings container key to enable the backlinks column width.
                                                                                          + +
                                                                                          + BACKLINKS_COLUMN_WIDTH_SCALAR  = 'footnotes_inputfield_backlinks_column_width_scalar'
                                                                                          Settings container key for the backlinks column width scalar.
                                                                                          - C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL + BACKLINKS_COLUMN_WIDTH_UNIT + +  = 'footnotes_inputfield_backlinks_column_width_unit' +
                                                                                          +
                                                                                          Settings container key for the backlinks column width unit.
                                                                                          + +
                                                                                          + BACKLINKS_LINE_BREAKS_ENABLED + +  = 'footnotes_inputfield_backlinks_line_breaks_enabled' +
                                                                                          +
                                                                                          Settings container key to enable line breaks between backlinks.
                                                                                          + +
                                                                                          + BACKLINKS_SEPARATOR_CUSTOM + +  = 'footnotes_inputfield_backlinks_separator_custom' +
                                                                                          +
                                                                                          Settings container key for a custom backlink separator.
                                                                                          + +
                                                                                          + BACKLINKS_SEPARATOR_ENABLED + +  = 'footnotes_inputfield_backlinks_separator_enabled' +
                                                                                          +
                                                                                          Settings container key to enable the presence of a backlink separator.
                                                                                          + +
                                                                                          + BACKLINKS_SEPARATOR_OPTION + +  = 'footnotes_inputfield_backlinks_separator_option' +
                                                                                          +
                                                                                          Settings container key for the backlink separator options.
                                                                                          + +
                                                                                          + BACKLINKS_TERMINATOR_CUSTOM + +  = 'footnotes_inputfield_backlinks_terminator_custom' +
                                                                                          +
                                                                                          Settings container key for a custom backlink terminator.
                                                                                          + +
                                                                                          + BACKLINKS_TERMINATOR_ENABLED + +  = 'footnotes_inputfield_backlinks_terminator_enabled' +
                                                                                          +
                                                                                          Settings container key to enable the presence of a backlink terminator.
                                                                                          + +
                                                                                          + BACKLINKS_TERMINATOR_OPTION + +  = 'footnotes_inputfield_backlinks_terminator_option' +
                                                                                          +
                                                                                          Settings container key for the backlink terminator options.
                                                                                          + +
                                                                                          + COMBINE_IDENTICAL_FOOTNOTES + +  = 'footnote_inputfield_combine_identical' +
                                                                                          +
                                                                                          Settings container key for combining identical footnotes.
                                                                                          + +
                                                                                          + CUSTOM_CSS + +  = 'footnote_inputfield_custom_css' +
                                                                                          +
                                                                                          Settings container key for the Custom CSS.
                                                                                          + +
                                                                                          + CUSTOM_CSS_LEGACY_ENABLE + +  = 'footnote_inputfield_custom_css_legacy_enable' +
                                                                                          +
                                                                                          Settings container key to enable display of legacy Custom CSS metaboxes.
                                                                                          + +
                                                                                          + CUSTOM_CSS_NEW + +  = 'footnote_inputfield_custom_css_new' +
                                                                                          +
                                                                                          Settings container key for the Custom CSS migrated to a dedicated tab.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_THE_CONTENT + +  = 'footnote_inputfield_expert_lookup_the_content' +
                                                                                          +
                                                                                          Settings container key to enable the `the_content` hook.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL  = 'footnote_inputfield_expert_lookup_the_content_priority_level'
                                                                                          Settings container key for `the_content` hook priority level.
                                                                                          - C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL + EXPERT_LOOKUP_THE_EXCERPT + +  = 'footnote_inputfield_expert_lookup_the_excerpt' +
                                                                                          +
                                                                                          Settings container key to enable the `the_excerpt` hook.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL  = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level'
                                                                                          Settings container key for `the_excerpt` hook priority level.
                                                                                          - C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL + EXPERT_LOOKUP_THE_TITLE + +  = 'footnote_inputfield_expert_lookup_the_title' +
                                                                                          +
                                                                                          Settings container key to enable the `the_title` hook.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL  = 'footnote_inputfield_expert_lookup_the_title_priority_level'
                                                                                          Settings container key for `the_title` hook priority level.
                                                                                          - C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL + EXPERT_LOOKUP_WIDGET_TEXT + +  = 'footnote_inputfield_expert_lookup_widget_text' +
                                                                                          +
                                                                                          Settings container key to enable the `widget_text` hook.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL  = 'footnote_inputfield_expert_lookup_widget_text_priority_level'
                                                                                          Settings container key for `widget_text` hook priority level.
                                                                                          - C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL + EXPERT_LOOKUP_WIDGET_TITLE + +  = 'footnote_inputfield_expert_lookup_widget_title' +
                                                                                          +
                                                                                          Settings container key to enable the `widget_title` hook.
                                                                                          + +
                                                                                          + EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL  = 'footnote_inputfield_expert_lookup_widget_title_priority_level'
                                                                                          Settings container key for `widget_title` hook priority level.
                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X + FOOTNOTE_FRAGMENT_ID_SLUG + +  = 'footnotes_inputfield_footnote_fragment_id_slug' +
                                                                                          +
                                                                                          Settings container key for the fragment ID slug in footnotes.
                                                                                          + +
                                                                                          + FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT + +  = 'footnotes_inputfield_referrers_normal_superscript' +
                                                                                          +
                                                                                          Settings container key to enable superscript style normalization.
                                                                                          + +
                                                                                          + FOOTNOTE_SECTION_SHORTCODE + +  = 'footnotes_inputfield_section_shortcode' +
                                                                                          +
                                                                                          Settings container key for the footnote section shortcode.
                                                                                          + +
                                                                                          + FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE + +  = 'footnotes_inputfield_shortcode_syntax_validation_enable' +
                                                                                          +
                                                                                          Settings container key to enable shortcode syntax validation.
                                                                                          + +
                                                                                          + FOOTNOTE_URL_WRAP_ENABLED + +  = 'footnote_inputfield_url_wrap_enabled' +
                                                                                          +
                                                                                          Settings container key for URL wrap option.
                                                                                          + +
                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X  = 'footnotes_inputfield_alternative_mouse_over_box_offset_x'
                                                                                          Settings container key for alternative tooltip _x_-offset.
                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y  = 'footnotes_inputfield_alternative_mouse_over_box_offset_y'
                                                                                          Settings container key for alternative tooltip _y_-offset.
                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION + +  = 'footnotes_inputfield_alternative_mouse_over_box_position' +
                                                                                          +
                                                                                          Settings container key for alternative tooltip position.
                                                                                          + +
                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH  = 'footnotes_inputfield_alternative_mouse_over_box_width'
                                                                                          Settings container key for alternative tooltip width.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS + FOOTNOTES_AMP_COMPATIBILITY_ENABLE + +  = 'footnotes_inputfield_amp_compatibility_enable' +
                                                                                          +
                                                                                          Settings container key to enable AMP compatibility mode.
                                                                                          + +
                                                                                          + FOOTNOTES_BACKLINK_TOOLTIP_ENABLE + +  = 'footnotes_inputfield_backlink_tooltip_enable' +
                                                                                          +
                                                                                          Settings container key to enable backlink tooltips.
                                                                                          + +
                                                                                          + FOOTNOTES_BACKLINK_TOOLTIP_TEXT + +  = 'footnotes_inputfield_backlink_tooltip_text' +
                                                                                          +
                                                                                          Settings container key to configure the backlink tooltip.
                                                                                          + +
                                                                                          + FOOTNOTES_COUNTER_STYLE + +  = 'footnote_inputfield_counter_style' +
                                                                                          +
                                                                                          Settings container key for the counter style of the footnotes.
                                                                                          + +
                                                                                          + FOOTNOTES_CSS_SMOOTH_SCROLLING + +  = 'footnotes_inputfield_css_smooth_scrolling' +
                                                                                          +
                                                                                          Settings container key to enable CSS smooth scrolling.
                                                                                          + +
                                                                                          + FOOTNOTES_EXPERT_MODE + +  = 'footnote_inputfield_enable_expert_mode' +
                                                                                          +
                                                                                          Settings container key for the Expert mode.
                                                                                          + +
                                                                                          + FOOTNOTES_HARD_LINKS_ENABLE + +  = 'footnotes_inputfield_hard_links_enable' +
                                                                                          +
                                                                                          Settings container key to enable hard links.
                                                                                          + +
                                                                                          + FOOTNOTES_IN_EXCERPT + +  = 'footnote_inputfield_search_in_excerpt' +
                                                                                          +
                                                                                          Settings container key to look for footnotes in post excerpts.
                                                                                          + +
                                                                                          + FOOTNOTES_LABEL_ISSUE_SOLUTION + +  = 'footnotes_inputfield_label_issue_solution' +
                                                                                          +
                                                                                          Settings container key to set the solution of the input element label issue.
                                                                                          + +
                                                                                          + FOOTNOTES_LOVE + +  = 'footnote_inputfield_love' +
                                                                                          +
                                                                                          Settings container key for the ‘I love footnotes’ text.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE + +  = 'footnote_inputfield_custom_mouse_over_box_alternative' +
                                                                                          +
                                                                                          Settings container key to enable the alternative tooltips.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND + +  = 'footnote_inputfield_custom_mouse_over_box_background' +
                                                                                          +
                                                                                          Settings container key for the mouse-over box to define the background color.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR + +  = 'footnote_inputfield_custom_mouse_over_box_border_color' +
                                                                                          +
                                                                                          Settings container key for the mouse-over box to define the border color.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS  = 'footnote_inputfield_custom_mouse_over_box_border_radius'
                                                                                          Settings container key for the mouse-over box to define the border radius.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH + FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH  = 'footnote_inputfield_custom_mouse_over_box_border_width'
                                                                                          Settings container key for the mouse-over box to define the border width.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH + FOOTNOTES_MOUSE_OVER_BOX_COLOR + +  = 'footnote_inputfield_custom_mouse_over_box_color' +
                                                                                          +
                                                                                          Settings container key for the mouse-over box to define the color.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_ENABLED + +  = 'footnote_inputfield_custom_mouse_over_box_enabled' +
                                                                                          +
                                                                                          Settings container key to enable the mouse-over box.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED + +  = 'footnote_inputfield_custom_mouse_over_box_excerpt_enabled' +
                                                                                          +
                                                                                          Settings container key to enable tooltip truncation.
                                                                                          + +
                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH  = 'footnote_inputfield_custom_mouse_over_box_excerpt_length'
                                                                                          @@ -237,490 +538,154 @@ Moved under footnotes\includes namespace.

                                                                                          the enabled excerpt.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH + FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH  = 'footnote_inputfield_custom_mouse_over_box_max_width'
                                                                                          Settings container key for the mouse-over box to define the max. width.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X  = 'footnote_inputfield_custom_mouse_over_box_offset_x'
                                                                                          Settings container key for the mouse-over box to define the _x_-offset.
                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y  = 'footnote_inputfield_custom_mouse_over_box_offset_y'
                                                                                          Settings container key for the mouse-over box to define the _y_-offset.
                                                                                          - C_INT_FOOTNOTES_SCROLL_DOWN_DELAY - -  = 'footnotes_inputfield_scroll_down_delay' -
                                                                                          -
                                                                                          Settings container key for scroll-down delay.
                                                                                          - -
                                                                                          - C_INT_FOOTNOTES_SCROLL_DOWN_DURATION - -  = 'footnotes_inputfield_scroll_down_duration' -
                                                                                          -
                                                                                          Settings container key for scroll-down duration.
                                                                                          - -
                                                                                          - C_INT_FOOTNOTES_SCROLL_DURATION - -  = 'footnotes_inputfield_scroll_duration' -
                                                                                          -
                                                                                          Settings container key for scroll duration.
                                                                                          - -
                                                                                          - C_INT_FOOTNOTES_SCROLL_OFFSET - -  = 'footnotes_inputfield_scroll_offset' -
                                                                                          -
                                                                                          Settings container key for scroll offset.
                                                                                          - -
                                                                                          - C_INT_FOOTNOTES_SCROLL_UP_DELAY - -  = 'footnotes_inputfield_scroll_up_delay' -
                                                                                          -
                                                                                          Settings container key for scroll-up delay.
                                                                                          - -
                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY - -  = 'footnotes_inputfield_mouse_over_box_fade_in_delay' -
                                                                                          -
                                                                                          Settings container key for tooltip display fade-in delay.
                                                                                          - -
                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION - -  = 'footnotes_inputfield_mouse_over_box_fade_in_duration' -
                                                                                          -
                                                                                          Settings container key for tooltip display fade-in duration.
                                                                                          - -
                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY - -  = 'footnotes_inputfield_mouse_over_box_fade_out_delay' -
                                                                                          -
                                                                                          Settings container key for tooltip display fade-out delay.
                                                                                          - -
                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION - -  = 'footnotes_inputfield_mouse_over_box_fade_out_duration' -
                                                                                          -
                                                                                          Settings container key for tooltip display fade-out duration.
                                                                                          - -
                                                                                          - C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN - -  = 'footnotes_inputfield_reference_container_bottom_margin' -
                                                                                          -
                                                                                          Settings container key for reference container bottom margin.
                                                                                          - -
                                                                                          - C_INT_REFERENCE_CONTAINER_TOP_MARGIN - -  = 'footnotes_inputfield_reference_container_top_margin' -
                                                                                          -
                                                                                          Settings container key for reference container top margin.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED - -  = 'footnotes_inputfield_backlinks_column_max_width_enabled' -
                                                                                          -
                                                                                          Settings container key to enable a max width for the backlinks column.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT - -  = 'footnotes_inputfield_backlinks_column_max_width_unit' -
                                                                                          -
                                                                                          Settings container key for the backlinks column max width unit.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED - -  = 'footnotes_inputfield_backlinks_column_width_enabled' -
                                                                                          -
                                                                                          Settings container key to enable the backlinks column width.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_COLUMN_WIDTH_UNIT - -  = 'footnotes_inputfield_backlinks_column_width_unit' -
                                                                                          -
                                                                                          Settings container key for the backlinks column width unit.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_LINE_BREAKS_ENABLED - -  = 'footnotes_inputfield_backlinks_line_breaks_enabled' -
                                                                                          -
                                                                                          Settings container key to enable line breaks between backlinks.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_SEPARATOR_CUSTOM - -  = 'footnotes_inputfield_backlinks_separator_custom' -
                                                                                          -
                                                                                          Settings container key for a custom backlink separator.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_SEPARATOR_ENABLED - -  = 'footnotes_inputfield_backlinks_separator_enabled' -
                                                                                          -
                                                                                          Settings container key to enable the presence of a backlink separator.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_SEPARATOR_OPTION - -  = 'footnotes_inputfield_backlinks_separator_option' -
                                                                                          -
                                                                                          Settings container key for the backlink separator options.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_TERMINATOR_CUSTOM - -  = 'footnotes_inputfield_backlinks_terminator_custom' -
                                                                                          -
                                                                                          Settings container key for a custom backlink terminator.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_TERMINATOR_ENABLED - -  = 'footnotes_inputfield_backlinks_terminator_enabled' -
                                                                                          -
                                                                                          Settings container key to enable the presence of a backlink terminator.
                                                                                          - -
                                                                                          - C_STR_BACKLINKS_TERMINATOR_OPTION - -  = 'footnotes_inputfield_backlinks_terminator_option' -
                                                                                          -
                                                                                          Settings container key for the backlink terminator options.
                                                                                          - -
                                                                                          - C_STR_COMBINE_IDENTICAL_FOOTNOTES - -  = 'footnote_inputfield_combine_identical' -
                                                                                          -
                                                                                          Settings container key for combining identical footnotes.
                                                                                          - -
                                                                                          - C_STR_CUSTOM_CSS - -  = 'footnote_inputfield_custom_css' -
                                                                                          -
                                                                                          Settings container key for the Custom CSS.
                                                                                          - -
                                                                                          - C_STR_CUSTOM_CSS_LEGACY_ENABLE - -  = 'footnote_inputfield_custom_css_legacy_enable' -
                                                                                          -
                                                                                          Settings container key to enable display of legacy Custom CSS metaboxes.
                                                                                          - -
                                                                                          - C_STR_CUSTOM_CSS_NEW - -  = 'footnote_inputfield_custom_css_new' -
                                                                                          -
                                                                                          Settings container key for the Custom CSS migrated to a dedicated tab.
                                                                                          - -
                                                                                          - C_STR_EXPERT_LOOKUP_THE_CONTENT - -  = 'footnote_inputfield_expert_lookup_the_content' -
                                                                                          -
                                                                                          Settings container key to enable the `the_content` hook.
                                                                                          - -
                                                                                          - C_STR_EXPERT_LOOKUP_THE_EXCERPT - -  = 'footnote_inputfield_expert_lookup_the_excerpt' -
                                                                                          -
                                                                                          Settings container key to enable the `the_excerpt` hook.
                                                                                          - -
                                                                                          - C_STR_EXPERT_LOOKUP_THE_TITLE - -  = 'footnote_inputfield_expert_lookup_the_title' -
                                                                                          -
                                                                                          Settings container key to enable the `the_title` hook.
                                                                                          - -
                                                                                          - C_STR_EXPERT_LOOKUP_WIDGET_TEXT - -  = 'footnote_inputfield_expert_lookup_widget_text' -
                                                                                          -
                                                                                          Settings container key to enable the `widget_text` hook.
                                                                                          - -
                                                                                          - C_STR_EXPERT_LOOKUP_WIDGET_TITLE - -  = 'footnote_inputfield_expert_lookup_widget_title' -
                                                                                          -
                                                                                          Settings container key to enable the `widget_title` hook.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTE_FRAGMENT_ID_SLUG - -  = 'footnotes_inputfield_footnote_fragment_id_slug' -
                                                                                          -
                                                                                          Settings container key for the fragment ID slug in footnotes.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT - -  = 'footnotes_inputfield_referrers_normal_superscript' -
                                                                                          -
                                                                                          Settings container key to enable superscript style normalization.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTE_SECTION_SHORTCODE - -  = 'footnotes_inputfield_section_shortcode' -
                                                                                          -
                                                                                          Settings container key for the footnote section shortcode.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE - -  = 'footnotes_inputfield_shortcode_syntax_validation_enable' -
                                                                                          -
                                                                                          Settings container key to enable shortcode syntax validation.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTE_URL_WRAP_ENABLED - -  = 'footnote_inputfield_url_wrap_enabled' -
                                                                                          -
                                                                                          Settings container key for URL wrap option.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION - -  = 'footnotes_inputfield_alternative_mouse_over_box_position' -
                                                                                          -
                                                                                          Settings container key for alternative tooltip position.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE - -  = 'footnotes_inputfield_amp_compatibility_enable' -
                                                                                          -
                                                                                          Settings container key to enable AMP compatibility mode.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE - -  = 'footnotes_inputfield_backlink_tooltip_enable' -
                                                                                          -
                                                                                          Settings container key to enable backlink tooltips.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT - -  = 'footnotes_inputfield_backlink_tooltip_text' -
                                                                                          -
                                                                                          Settings container key to configure the backlink tooltip.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_COUNTER_STYLE - -  = 'footnote_inputfield_counter_style' -
                                                                                          -
                                                                                          Settings container key for the counter style of the footnotes.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING - -  = 'footnotes_inputfield_css_smooth_scrolling' -
                                                                                          -
                                                                                          Settings container key to enable CSS smooth scrolling.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_EXPERT_MODE - -  = 'footnote_inputfield_enable_expert_mode' -
                                                                                          -
                                                                                          Settings container key for the Expert mode.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_HARD_LINKS_ENABLE - -  = 'footnotes_inputfield_hard_links_enable' -
                                                                                          -
                                                                                          Settings container key to enable hard links.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_IN_EXCERPT - -  = 'footnote_inputfield_search_in_excerpt' -
                                                                                          -
                                                                                          Settings container key to look for footnotes in post excerpts.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION - -  = 'footnotes_inputfield_label_issue_solution' -
                                                                                          -
                                                                                          Settings container key to set the solution of the input element label issue.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_LOVE - -  = 'footnote_inputfield_love' -
                                                                                          -
                                                                                          Settings container key for the ‘I love footnotes’ text.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE - -  = 'footnote_inputfield_custom_mouse_over_box_alternative' -
                                                                                          -
                                                                                          Settings container key to enable the alternative tooltips.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND - -  = 'footnote_inputfield_custom_mouse_over_box_background' -
                                                                                          -
                                                                                          Settings container key for the mouse-over box to define the background color.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR - -  = 'footnote_inputfield_custom_mouse_over_box_border_color' -
                                                                                          -
                                                                                          Settings container key for the mouse-over box to define the border color.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR - -  = 'footnote_inputfield_custom_mouse_over_box_color' -
                                                                                          -
                                                                                          Settings container key for the mouse-over box to define the color.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED - -  = 'footnote_inputfield_custom_mouse_over_box_enabled' -
                                                                                          -
                                                                                          Settings container key to enable the mouse-over box.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED - -  = 'footnote_inputfield_custom_mouse_over_box_excerpt_enabled' -
                                                                                          -
                                                                                          Settings container key to enable tooltip truncation.
                                                                                          - -
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION + FOOTNOTES_MOUSE_OVER_BOX_POSITION  = 'footnote_inputfield_custom_mouse_over_box_position'
                                                                                          Settings container key for the mouse-over box to define the position.
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR + FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR  = 'footnote_inputfield_custom_mouse_over_box_shadow_color'
                                                                                          Settings container key for the mouse-over box to define the box-shadow color.
                                                                                          - C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT + FOOTNOTES_PAGE_LAYOUT_SUPPORT  = 'footnotes_inputfield_page_layout_support'
                                                                                          Settings container key for basic responsive page layout support options.
                                                                                          - C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE + FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE  = 'footnotes_inputfield_reference_container_script_mode'
                                                                                          Settings container key to select the script mode for the reference container.
                                                                                          - C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS + FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS  = 'footnotes_inputfield_referrer_superscript_tags'
                                                                                          Settings container key for the referrer element.
                                                                                          - C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY + FOOTNOTES_SCROLL_DOWN_DELAY + +  = 'footnotes_inputfield_scroll_down_delay' +
                                                                                          +
                                                                                          Settings container key for scroll-down delay.
                                                                                          + +
                                                                                          + FOOTNOTES_SCROLL_DOWN_DURATION + +  = 'footnotes_inputfield_scroll_down_duration' +
                                                                                          +
                                                                                          Settings container key for scroll-down duration.
                                                                                          + +
                                                                                          + FOOTNOTES_SCROLL_DURATION + +  = 'footnotes_inputfield_scroll_duration' +
                                                                                          +
                                                                                          Settings container key for scroll duration.
                                                                                          + +
                                                                                          + FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY  = 'footnotes_inputfield_scroll_duration_asymmetricity'
                                                                                          Settings container key for scroll duration asymmetricity.
                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_END + FOOTNOTES_SCROLL_OFFSET + +  = 'footnotes_inputfield_scroll_offset' +
                                                                                          +
                                                                                          Settings container key for scroll offset.
                                                                                          + +
                                                                                          + FOOTNOTES_SCROLL_UP_DELAY + +  = 'footnotes_inputfield_scroll_up_delay' +
                                                                                          +
                                                                                          Settings container key for scroll-up delay.
                                                                                          + +
                                                                                          + FOOTNOTES_SHORT_CODE_END  = 'footnote_inputfield_placeholder_end'
                                                                                          Settings container key for the short code of the footnote's end.
                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED + FOOTNOTES_SHORT_CODE_END_USER_DEFINED  = 'footnote_inputfield_placeholder_end_user_defined'
                                                                                          Settings container key for the user-defined short code of the footnotes end.
                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_START + FOOTNOTES_SHORT_CODE_START  = 'footnote_inputfield_placeholder_start'
                                                                                          Settings container key for the short code of the footnote's start.
                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED + FOOTNOTES_SHORT_CODE_START_USER_DEFINED  = 'footnote_inputfield_placeholder_start_user_defined'
                                                                                          Settings container key for the user-defined short code of the footnotes start.
                                                                                          - C_STR_FOOTNOTES_STYLING_AFTER + FOOTNOTES_STYLING_AFTER  = 'footnote_inputfield_custom_styling_after'
                                                                                          Settings container key for the string after the footnote referrer.
                                                                                          - C_STR_FOOTNOTES_STYLING_BEFORE + FOOTNOTES_STYLING_BEFORE  = 'footnote_inputfield_custom_styling_before'
                                                                                          Settings container key for the string before the footnote referrer.
                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER + FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER  = 'footnotes_inputfield_tooltip_excerpt_delimiter'
                                                                                          Settings container key to configure the tooltip excerpt delimiter.
                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE  = 'footnotes_inputfield_tooltip_excerpt_mirror_enable'
                                                                                          @@ -728,7 +693,7 @@ the enabled excerpt. reference container.
                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR  = 'footnotes_inputfield_tooltip_excerpt_mirror_separator'
                                                                                          @@ -736,166 +701,215 @@ reference container. reference container.
                                                                                          - C_STR_FOOTNOTES_TOOLTIP_READON_LABEL + FOOTNOTES_TOOLTIP_READON_LABEL  = 'footnote_inputfield_readon_label'
                                                                                          Settings container key for the label of the Read-on button in truncated tooltips.
                                                                                          - C_STR_HARD_LINK_IDS_SEPARATOR + HARD_LINK_IDS_SEPARATOR  = 'footnotes_inputfield_hard_link_ids_separator'
                                                                                          Settings container key for the ID separator in fragment IDs.
                                                                                          - C_STR_HYPERLINK_ARROW + HYPERLINK_ARROW  = 'footnote_inputfield_custom_hyperlink_symbol'
                                                                                          Settings container key for the backlink symbol selection.
                                                                                          - C_STR_HYPERLINK_ARROW_USER_DEFINED + HYPERLINK_ARROW_USER_DEFINED  = 'footnote_inputfield_custom_hyperlink_symbol_user'
                                                                                          Settings container key for the user-defined backlink symbol.
                                                                                          - C_STR_LINK_ELEMENT_ENABLED + LINK_ELEMENT_ENABLED  = 'footnote_inputfield_link_element_enabled'
                                                                                          Settings container key for the link element option.
                                                                                          - C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED + MOUSE_OVER_BOX_FADE_IN_DELAY + +  = 'footnotes_inputfield_mouse_over_box_fade_in_delay' +
                                                                                          +
                                                                                          Settings container key for tooltip display fade-in delay.
                                                                                          + +
                                                                                          + MOUSE_OVER_BOX_FADE_IN_DURATION + +  = 'footnotes_inputfield_mouse_over_box_fade_in_duration' +
                                                                                          +
                                                                                          Settings container key for tooltip display fade-in duration.
                                                                                          + +
                                                                                          + MOUSE_OVER_BOX_FADE_OUT_DELAY + +  = 'footnotes_inputfield_mouse_over_box_fade_out_delay' +
                                                                                          +
                                                                                          Settings container key for tooltip display fade-out delay.
                                                                                          + +
                                                                                          + MOUSE_OVER_BOX_FADE_OUT_DURATION + +  = 'footnotes_inputfield_mouse_over_box_fade_out_duration' +
                                                                                          +
                                                                                          Settings container key for tooltip display fade-out duration.
                                                                                          + +
                                                                                          + MOUSE_OVER_BOX_FONT_SIZE_ENABLED  = 'footnotes_inputfield_mouse_over_box_font_size_enabled'
                                                                                          Settings container key to enable setting the tooltip font size.
                                                                                          - C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT + MOUSE_OVER_BOX_FONT_SIZE_SCALAR + +  = 'footnotes_inputfield_mouse_over_box_font_size_scalar' +
                                                                                          +
                                                                                          Settings container key for the scalar value of the tooltip font size.
                                                                                          + +
                                                                                          + MOUSE_OVER_BOX_FONT_SIZE_UNIT  = 'footnotes_inputfield_mouse_over_box_font_size_unit'
                                                                                          Settings container key for the unit of the tooltip font size.
                                                                                          - C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE + REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE  = 'footnotes_inputfield_reference_container_3column_layout_enable'
                                                                                          Settings container key to enable the legacy layout of the reference container.
                                                                                          - C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE + REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE  = 'footnotes_inputfield_reference_container_backlink_symbol_enable'
                                                                                          Settings container key to enable the display of a backlink symbol.
                                                                                          - C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH + REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH  = 'footnotes_inputfield_reference_container_backlink_symbol_switch'
                                                                                          Settings container key to get the backlink symbol switch side.
                                                                                          - C_STR_REFERENCE_CONTAINER_COLLAPSE + REFERENCE_CONTAINER_BOTTOM_MARGIN + +  = 'footnotes_inputfield_reference_container_bottom_margin' +
                                                                                          +
                                                                                          Settings container key for reference container bottom margin.
                                                                                          + +
                                                                                          + REFERENCE_CONTAINER_COLLAPSE  = 'footnote_inputfield_collapse_references'
                                                                                          Settings container key to collapse the reference container by default.
                                                                                          - C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER + REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER  = 'footnotes_inputfield_reference_container_label_bottom_border'
                                                                                          Settings container key to enable the reference container label bottom border.
                                                                                          - C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT + REFERENCE_CONTAINER_LABEL_ELEMENT  = 'footnotes_inputfield_reference_container_label_element'
                                                                                          Settings container key for the reference container label element.
                                                                                          - C_STR_REFERENCE_CONTAINER_NAME + REFERENCE_CONTAINER_NAME  = 'footnote_inputfield_references_label'
                                                                                          Settings container key for the label of the reference container.
                                                                                          - C_STR_REFERENCE_CONTAINER_POSITION + REFERENCE_CONTAINER_POSITION  = 'footnote_inputfield_reference_container_place'
                                                                                          Settings container key for the position of the reference container.
                                                                                          - C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE + REFERENCE_CONTAINER_POSITION_SHORTCODE  = 'footnote_inputfield_reference_container_position_shortcode'
                                                                                          Settings container key for reference container position shortcode.
                                                                                          - C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE + REFERENCE_CONTAINER_ROW_BORDERS_ENABLE  = 'footnotes_inputfield_reference_container_row_borders_enable'
                                                                                          Settings container key to enable reference container table row borders.
                                                                                          - C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE + REFERENCE_CONTAINER_START_PAGE_ENABLE  = 'footnotes_inputfield_reference_container_start_page_enable'
                                                                                          Settings container key to not display the reference container on the homepage.
                                                                                          - C_STR_REFERRER_FRAGMENT_ID_SLUG + REFERENCE_CONTAINER_TOP_MARGIN + +  = 'footnotes_inputfield_reference_container_top_margin' +
                                                                                          +
                                                                                          Settings container key for reference container top margin.
                                                                                          + +
                                                                                          + REFERRER_FRAGMENT_ID_SLUG  = 'footnotes_inputfield_referrer_fragment_id_slug'
                                                                                          Settings container key for the fragment ID slug in referrers.
                                                                                          - $a_arr_container + $container -  : array<string|int, string> +  : array<string|int, mixed>
                                                                                          Contains all Settings Container names.
                                                                                          - $a_arr_default + $default -  : array<string|int, string|int> +  : array<string|int, mixed>
                                                                                          Contains all default values for each Settings Container.
                                                                                          - $a_arr_settings + $instance -  : array<string|int, string|int> -
                                                                                          -
                                                                                          Contains all Settings from each Settings Container.
                                                                                          - -
                                                                                          - $a_obj_instance - -  : Settings +  : Settings|null
                                                                                          Stores a singleton reference of this class.
                                                                                          +
                                                                                          + $settings + +  : array<string|int, mixed> +
                                                                                          +
                                                                                          Contains all Settings from each Settings Container.
                                                                                          +
                                                                                          get() @@ -906,7 +920,7 @@ reference container.
                                                                                          get_container() -  : str +  : string
                                                                                          Returns the name of a specified Settings Container.
                                                                                          @@ -920,14 +934,14 @@ reference container.
                                                                                          instance() -  : Settings +  : self
                                                                                          Returns a singleton of this class.
                                                                                          register_settings() -  : mixed +  : void
                                                                                          Register all Settings Containers for the plugin Settings Page in the Dashboard.
                                                                                          @@ -955,7 +969,7 @@ reference container.
                                                                                          load_all() -  : mixed +  : void
                                                                                          Loads all Settings from each Settings container.
                                                                                          @@ -970,1208 +984,15 @@ reference container.
                                                                                          -

                                                                                          - C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR - +

                                                                                          - -

                                                                                          Settings container key for the scalar value of the tooltip font size.

                                                                                          - - - public - float - C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR - = 'footnotes_inputfield_mouse_over_box_font_size_scalar' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - - - - -

                                                                                          Settings container key for the backlinks column max width scalar.

                                                                                          - - - public - int - C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR - = 'footnotes_inputfield_backlinks_column_max_width_scalar' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - - - - -

                                                                                          Settings container key for the backlinks column width scalar.

                                                                                          - - - public - int - C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR - = 'footnotes_inputfield_backlinks_column_width_scalar' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL - -

                                                                                          - - - -

                                                                                          Settings container key for `the_content` hook priority level.

                                                                                          - - - public - int - C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL - = 'footnote_inputfield_expert_lookup_the_content_priority_level' - - - -

                                                                                          Priority level of the_content and of widget_text as the only relevant -hooks must be less than 99 because social buttons may yield scripts -that contain the strings ‘((’ and ‘))’ (i.e., the default footnote -start and end shortcodes), which causes issues with fake footnotes.

                                                                                          -

                                                                                          Setting the_content priority to 10 instead of PHP_INT_MAX makes the -footnotes reference container display beneath the post and above other -features added by other plugins, e.g. related post lists and social buttons.

                                                                                          -

                                                                                          For the YARPP plugin to display related posts below the Footnotes reference container, -priority needs to be at least 1,200.

                                                                                          -

                                                                                          PHP_INT_MAX cannot be reset by leaving the number box empty, because -WebKit browsers don't allow it, so we must resort to -1.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.0.5 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL - -

                                                                                          - - - -

                                                                                          Settings container key for `the_excerpt` hook priority level.

                                                                                          - - - public - int - C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL - = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL - -

                                                                                          - - - -

                                                                                          Settings container key for `the_title` hook priority level.

                                                                                          - - - public - int - C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL - = 'footnote_inputfield_expert_lookup_the_title_priority_level' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL - -

                                                                                          - - - -

                                                                                          Settings container key for `widget_text` hook priority level.

                                                                                          - - - public - int - C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL - = 'footnote_inputfield_expert_lookup_widget_text_priority_level' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL - -

                                                                                          - - - -

                                                                                          Settings container key for `widget_title` hook priority level.

                                                                                          - - - public - int - C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL - = 'footnote_inputfield_expert_lookup_widget_title_priority_level' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.2 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X - -

                                                                                          - - - -

                                                                                          Settings container key for alternative tooltip _x_-offset.

                                                                                          - - - public - int - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X - = 'footnotes_inputfield_alternative_mouse_over_box_offset_x' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.2.5 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y - -

                                                                                          - - - -

                                                                                          Settings container key for alternative tooltip _y_-offset.

                                                                                          - - - public - int - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y - = 'footnotes_inputfield_alternative_mouse_over_box_offset_y' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.2.5 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH - -

                                                                                          - - - -

                                                                                          Settings container key for alternative tooltip width.

                                                                                          - - - public - int - C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH - = 'footnotes_inputfield_alternative_mouse_over_box_width' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.2.5 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the border radius.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS - = 'footnote_inputfield_custom_mouse_over_box_border_radius' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.6 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the border width.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH - = 'footnote_inputfield_custom_mouse_over_box_border_width' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.6 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the max. length of -the enabled excerpt.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH - = 'footnote_inputfield_custom_mouse_over_box_excerpt_length' - - - -

                                                                                          The default truncation length is 200 chars.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the max. width.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH - = 'footnote_inputfield_custom_mouse_over_box_max_width' - - - -

                                                                                          The width should be limited to start with, for the box to have shape.

                                                                                          -

                                                                                          The default width is 450.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.6 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the _x_-offset.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X - = 'footnote_inputfield_custom_mouse_over_box_offset_x' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.7 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y - -

                                                                                          - - - -

                                                                                          Settings container key for the mouse-over box to define the _y_-offset.

                                                                                          - - - public - int - C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y - = 'footnote_inputfield_custom_mouse_over_box_offset_y' - - - -

                                                                                          The vertical offset must be negative for the box not to cover the current -line of text.

                                                                                          -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 1.5.7 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_SCROLL_DOWN_DELAY - -

                                                                                          - - - -

                                                                                          Settings container key for scroll-down delay.

                                                                                          - - - public - int - C_INT_FOOTNOTES_SCROLL_DOWN_DELAY - = 'footnotes_inputfield_scroll_down_delay' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.5.11 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_SCROLL_DOWN_DURATION - -

                                                                                          - - - -

                                                                                          Settings container key for scroll-down duration.

                                                                                          - - - public - int - C_INT_FOOTNOTES_SCROLL_DOWN_DURATION - = 'footnotes_inputfield_scroll_down_duration' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.5.11 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_SCROLL_DURATION - -

                                                                                          - - - -

                                                                                          Settings container key for scroll duration.

                                                                                          - - - public - int - C_INT_FOOTNOTES_SCROLL_DURATION - = 'footnotes_inputfield_scroll_duration' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_SCROLL_OFFSET - -

                                                                                          - - - -

                                                                                          Settings container key for scroll offset.

                                                                                          - - - public - int - C_INT_FOOTNOTES_SCROLL_OFFSET - = 'footnotes_inputfield_scroll_offset' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_FOOTNOTES_SCROLL_UP_DELAY - -

                                                                                          - - - -

                                                                                          Settings container key for scroll-up delay.

                                                                                          - - - public - int - C_INT_FOOTNOTES_SCROLL_UP_DELAY - = 'footnotes_inputfield_scroll_up_delay' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.5.11 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY - -

                                                                                          - - - -

                                                                                          Settings container key for tooltip display fade-in delay.

                                                                                          - - - public - int - C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY - = 'footnotes_inputfield_mouse_over_box_fade_in_delay' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION - -

                                                                                          - - - -

                                                                                          Settings container key for tooltip display fade-in duration.

                                                                                          - - - public - int - C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION - = 'footnotes_inputfield_mouse_over_box_fade_in_duration' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY - -

                                                                                          - - - -

                                                                                          Settings container key for tooltip display fade-out delay.

                                                                                          - - - public - int - C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY - = 'footnotes_inputfield_mouse_over_box_fade_out_delay' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION - -

                                                                                          - - - -

                                                                                          Settings container key for tooltip display fade-out duration.

                                                                                          - - - public - int - C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION - = 'footnotes_inputfield_mouse_over_box_fade_out_duration' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.1.4 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN - -

                                                                                          - - - -

                                                                                          Settings container key for reference container bottom margin.

                                                                                          - - - public - int - C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN - = 'footnotes_inputfield_reference_container_bottom_margin' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.3.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - C_INT_REFERENCE_CONTAINER_TOP_MARGIN - -

                                                                                          - - - -

                                                                                          Settings container key for reference container top margin.

                                                                                          - - - public - int - C_INT_REFERENCE_CONTAINER_TOP_MARGIN - = 'footnotes_inputfield_reference_container_top_margin' - - - -
                                                                                          - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.3.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - - -

                                                                                          Settings container key to enable a max width for the backlinks column.

                                                                                          @@ -2179,7 +1000,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED + BACKLINKS_COLUMN_MAX_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_max_width_enabled' @@ -2205,15 +1026,57 @@ line of text.

                                                                                          - + +

                                                                                          Settings container key for the backlinks column max width scalar.

                                                                                          + + + public + int + BACKLINKS_COLUMN_MAX_WIDTH_SCALAR + = 'footnotes_inputfield_backlinks_column_max_width_scalar' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + + +

                                                                                          Settings container key for the backlinks column max width unit.

                                                                                          @@ -2221,7 +1084,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT + BACKLINKS_COLUMN_MAX_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_max_width_unit' @@ -2247,15 +1110,15 @@ line of text.

                                                                                          -

                                                                                          Settings container key to enable the backlinks column width.

                                                                                          @@ -2263,7 +1126,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED + BACKLINKS_COLUMN_WIDTH_ENABLED = 'footnotes_inputfield_backlinks_column_width_enabled' @@ -2289,15 +1152,57 @@ line of text.

                                                                                          - + +

                                                                                          Settings container key for the backlinks column width scalar.

                                                                                          + + + public + int + BACKLINKS_COLUMN_WIDTH_SCALAR + = 'footnotes_inputfield_backlinks_column_width_scalar' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + + +

                                                                                          Settings container key for the backlinks column width unit.

                                                                                          @@ -2305,7 +1210,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_COLUMN_WIDTH_UNIT + BACKLINKS_COLUMN_WIDTH_UNIT = 'footnotes_inputfield_backlinks_column_width_unit' @@ -2331,15 +1236,15 @@ line of text.

                                                                                          -

                                                                                          Settings container key to enable line breaks between backlinks.

                                                                                          @@ -2347,7 +1252,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_LINE_BREAKS_ENABLED + BACKLINKS_LINE_BREAKS_ENABLED = 'footnotes_inputfield_backlinks_line_breaks_enabled' @@ -2374,15 +1279,15 @@ line of text.

                                                                                          -

                                                                                          Settings container key for a custom backlink separator.

                                                                                          @@ -2390,7 +1295,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_SEPARATOR_CUSTOM + BACKLINKS_SEPARATOR_CUSTOM = 'footnotes_inputfield_backlinks_separator_custom' @@ -2416,15 +1321,15 @@ line of text.

                                                                                          -

                                                                                          Settings container key to enable the presence of a backlink separator.

                                                                                          @@ -2432,7 +1337,7 @@ line of text.

                                                                                          public string - C_STR_BACKLINKS_SEPARATOR_ENABLED + BACKLINKS_SEPARATOR_ENABLED = 'footnotes_inputfield_backlinks_separator_enabled' @@ -2460,15 +1365,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          Settings container key for the backlink separator options.

                                                                                          @@ -2476,7 +1381,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_BACKLINKS_SEPARATOR_OPTION + BACKLINKS_SEPARATOR_OPTION = 'footnotes_inputfield_backlinks_separator_option' @@ -2502,15 +1407,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          Settings container key for a custom backlink terminator.

                                                                                          @@ -2518,7 +1423,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_BACKLINKS_TERMINATOR_CUSTOM + BACKLINKS_TERMINATOR_CUSTOM = 'footnotes_inputfield_backlinks_terminator_custom' @@ -2544,15 +1449,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          Settings container key to enable the presence of a backlink terminator.

                                                                                          @@ -2560,7 +1465,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_BACKLINKS_TERMINATOR_ENABLED + BACKLINKS_TERMINATOR_ENABLED = 'footnotes_inputfield_backlinks_terminator_enabled' @@ -2586,15 +1491,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          Settings container key for the backlink terminator options.

                                                                                          @@ -2602,7 +1507,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_BACKLINKS_TERMINATOR_OPTION + BACKLINKS_TERMINATOR_OPTION = 'footnotes_inputfield_backlinks_terminator_option' @@ -2628,15 +1533,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          - C_STR_COMBINE_IDENTICAL_FOOTNOTES - +

                                                                                          + COMBINE_IDENTICAL_FOOTNOTES +

                                                                                          Settings container key for combining identical footnotes.

                                                                                          @@ -2644,7 +1549,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_COMBINE_IDENTICAL_FOOTNOTES + COMBINE_IDENTICAL_FOOTNOTES = 'footnote_inputfield_combine_identical' @@ -2670,15 +1575,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          - C_STR_CUSTOM_CSS - +

                                                                                          + CUSTOM_CSS +

                                                                                          Settings container key for the Custom CSS.

                                                                                          @@ -2686,7 +1591,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_CUSTOM_CSS + CUSTOM_CSS = 'footnote_inputfield_custom_css' @@ -2712,15 +1617,15 @@ should be provided along with the ability to customize.

                                                                                          -

                                                                                          - C_STR_CUSTOM_CSS_LEGACY_ENABLE - +

                                                                                          + CUSTOM_CSS_LEGACY_ENABLE +

                                                                                          Settings container key to enable display of legacy Custom CSS metaboxes.

                                                                                          @@ -2728,7 +1633,7 @@ should be provided along with the ability to customize.

                                                                                          public string - C_STR_CUSTOM_CSS_LEGACY_ENABLE + CUSTOM_CSS_LEGACY_ENABLE = 'footnote_inputfield_custom_css_legacy_enable' @@ -2767,15 +1672,15 @@ because when saving, all missing constants are emptied, and -

                                                                                          - C_STR_CUSTOM_CSS_NEW - +

                                                                                          + CUSTOM_CSS_NEW +

                                                                                          Settings container key for the Custom CSS migrated to a dedicated tab.

                                                                                          @@ -2783,7 +1688,7 @@ because when saving, all missing constants are emptied, and public string - C_STR_CUSTOM_CSS_NEW + CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new' @@ -2809,15 +1714,15 @@ because when saving, all missing constants are emptied, and -

                                                                                          - C_STR_EXPERT_LOOKUP_THE_CONTENT - +

                                                                                          + EXPERT_LOOKUP_THE_CONTENT +

                                                                                          Settings container key to enable the `the_content` hook.

                                                                                          @@ -2825,7 +1730,7 @@ because when saving, all missing constants are emptied, and public string - C_STR_EXPERT_LOOKUP_THE_CONTENT + EXPERT_LOOKUP_THE_CONTENT = 'footnote_inputfield_expert_lookup_the_content' @@ -2851,15 +1756,68 @@ because when saving, all missing constants are emptied, and -

                                                                                          - C_STR_EXPERT_LOOKUP_THE_EXCERPT - +

                                                                                          + EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL +

                                                                                          + +

                                                                                          Settings container key for `the_content` hook priority level.

                                                                                          + + + public + int + EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL + = 'footnote_inputfield_expert_lookup_the_content_priority_level' + + + +

                                                                                          Priority level of the_content and of widget_text as the only relevant +hooks must be less than 99 because social buttons may yield scripts +that contain the strings ‘((’ and ‘))’ (i.e., the default footnote +start and end shortcodes), which causes issues with fake footnotes.

                                                                                          +

                                                                                          Setting the_content priority to 10 instead of PHP_INT_MAX makes the +footnotes reference container display beneath the post and above other +features added by other plugins, e.g. related post lists and social buttons.

                                                                                          +

                                                                                          For the YARPP plugin to display related posts below the Footnotes reference container, +priority needs to be at least 1,200.

                                                                                          +

                                                                                          PHP_INT_MAX cannot be reset by leaving the number box empty, because +WebKit browsers don't allow it, so we must resort to -1.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.0.5 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + EXPERT_LOOKUP_THE_EXCERPT + +

                                                                                          + +

                                                                                          Settings container key to enable the `the_excerpt` hook.

                                                                                          @@ -2867,7 +1825,7 @@ because when saving, all missing constants are emptied, and public string - C_STR_EXPERT_LOOKUP_THE_EXCERPT + EXPERT_LOOKUP_THE_EXCERPT = 'footnote_inputfield_expert_lookup_the_excerpt' @@ -2884,7 +1842,7 @@ because when saving, all missing constants are emptied, and see
                                                                                          - C_STR_FOOTNOTES_IN_EXCERPT + FOOTNOTES_IN_EXCERPT
                                                                                          @@ -2912,15 +1870,57 @@ because when saving, all missing constants are emptied, and -

                                                                                          - C_STR_EXPERT_LOOKUP_THE_TITLE - +

                                                                                          + EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL +

                                                                                          + +

                                                                                          Settings container key for `the_excerpt` hook priority level.

                                                                                          + + + public + int + EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL + = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + EXPERT_LOOKUP_THE_TITLE + +

                                                                                          + +

                                                                                          Settings container key to enable the `the_title` hook.

                                                                                          @@ -2928,7 +1928,7 @@ because when saving, all missing constants are emptied, and public string - C_STR_EXPERT_LOOKUP_THE_TITLE + EXPERT_LOOKUP_THE_TITLE = 'footnote_inputfield_expert_lookup_the_title' @@ -2970,15 +1970,57 @@ delete footnotes in them.

                                                                                          -

                                                                                          - C_STR_EXPERT_LOOKUP_WIDGET_TEXT - +

                                                                                          + EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL +

                                                                                          + +

                                                                                          Settings container key for `the_title` hook priority level.

                                                                                          + + + public + int + EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL + = 'footnote_inputfield_expert_lookup_the_title_priority_level' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + EXPERT_LOOKUP_WIDGET_TEXT + +

                                                                                          + +

                                                                                          Settings container key to enable the `widget_text` hook.

                                                                                          @@ -2986,7 +2028,7 @@ delete footnotes in them.

                                                                                          public string - C_STR_EXPERT_LOOKUP_WIDGET_TEXT + EXPERT_LOOKUP_WIDGET_TEXT = 'footnote_inputfield_expert_lookup_widget_text' @@ -3016,15 +2058,57 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_EXPERT_LOOKUP_WIDGET_TITLE - +

                                                                                          + EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL +

                                                                                          + +

                                                                                          Settings container key for `widget_text` hook priority level.

                                                                                          + + + public + int + EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL + = 'footnote_inputfield_expert_lookup_widget_text_priority_level' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + EXPERT_LOOKUP_WIDGET_TITLE + +

                                                                                          + +

                                                                                          Settings container key to enable the `widget_title` hook.

                                                                                          @@ -3032,7 +2116,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_EXPERT_LOOKUP_WIDGET_TITLE + EXPERT_LOOKUP_WIDGET_TITLE = 'footnote_inputfield_expert_lookup_widget_title' @@ -3058,15 +2142,57 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_FOOTNOTE_FRAGMENT_ID_SLUG - +

                                                                                          + EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL +

                                                                                          + +

                                                                                          Settings container key for `widget_title` hook priority level.

                                                                                          + + + public + int + EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL + = 'footnote_inputfield_expert_lookup_widget_title_priority_level' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.2 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTE_FRAGMENT_ID_SLUG + +

                                                                                          + +

                                                                                          Settings container key for the fragment ID slug in footnotes.

                                                                                          @@ -3074,7 +2200,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_FOOTNOTE_FRAGMENT_ID_SLUG + FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug' @@ -3100,15 +2226,15 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT - +

                                                                                          + FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT +

                                                                                          Settings container key to enable superscript style normalization.

                                                                                          @@ -3116,7 +2242,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT + FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT = 'footnotes_inputfield_referrers_normal_superscript' @@ -3142,15 +2268,15 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_FOOTNOTE_SECTION_SHORTCODE - +

                                                                                          + FOOTNOTE_SECTION_SHORTCODE +

                                                                                          Settings container key for the footnote section shortcode.

                                                                                          @@ -3158,7 +2284,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_FOOTNOTE_SECTION_SHORTCODE + FOOTNOTE_SECTION_SHORTCODE = 'footnotes_inputfield_section_shortcode' @@ -3184,15 +2310,15 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE - +

                                                                                          + FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE +

                                                                                          Settings container key to enable shortcode syntax validation.

                                                                                          @@ -3200,7 +2326,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE + FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable' @@ -3226,15 +2352,15 @@ in Elementor toggles.

                                                                                          -

                                                                                          - C_STR_FOOTNOTE_URL_WRAP_ENABLED - +

                                                                                          + FOOTNOTE_URL_WRAP_ENABLED +

                                                                                          Settings container key for URL wrap option.

                                                                                          @@ -3242,7 +2368,7 @@ in Elementor toggles.

                                                                                          public string - C_STR_FOOTNOTE_URL_WRAP_ENABLED + FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled' @@ -3270,15 +2396,99 @@ browsers break URLs at slashes.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION - +

                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X +

                                                                                          + +

                                                                                          Settings container key for alternative tooltip _x_-offset.

                                                                                          + + + public + int + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X + = 'footnotes_inputfield_alternative_mouse_over_box_offset_x' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.2.5 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y + +

                                                                                          + + + +

                                                                                          Settings container key for alternative tooltip _y_-offset.

                                                                                          + + + public + int + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y + = 'footnotes_inputfield_alternative_mouse_over_box_offset_y' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.2.5 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION + +

                                                                                          + +

                                                                                          Settings container key for alternative tooltip position.

                                                                                          @@ -3286,7 +2496,7 @@ browsers break URLs at slashes.

                                                                                          public string - C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION = 'footnotes_inputfield_alternative_mouse_over_box_position' @@ -3313,15 +2523,57 @@ browsers break URLs at slashes.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE - +

                                                                                          + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH +

                                                                                          + +

                                                                                          Settings container key for alternative tooltip width.

                                                                                          + + + public + int + FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH + = 'footnotes_inputfield_alternative_mouse_over_box_width' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.2.5 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_AMP_COMPATIBILITY_ENABLE + +

                                                                                          + +

                                                                                          Settings container key to enable AMP compatibility mode.

                                                                                          @@ -3329,7 +2581,7 @@ browsers break URLs at slashes.

                                                                                          public string - C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE + FOOTNOTES_AMP_COMPATIBILITY_ENABLE = 'footnotes_inputfield_amp_compatibility_enable' @@ -3355,15 +2607,15 @@ browsers break URLs at slashes.

                                                                                          -

                                                                                          Settings container key to enable backlink tooltips.

                                                                                          @@ -3371,7 +2623,7 @@ browsers break URLs at slashes.

                                                                                          public string - C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE + FOOTNOTES_BACKLINK_TOOLTIP_ENABLE = 'footnotes_inputfield_backlink_tooltip_enable' @@ -3402,15 +2654,15 @@ See -

                                                                                          Settings container key to configure the backlink tooltip.

                                                                                          @@ -3418,7 +2670,7 @@ See public string - C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT + FOOTNOTES_BACKLINK_TOOLTIP_TEXT = 'footnotes_inputfield_backlink_tooltip_text' @@ -3444,15 +2696,15 @@ See -

                                                                                          - C_STR_FOOTNOTES_COUNTER_STYLE - +

                                                                                          + FOOTNOTES_COUNTER_STYLE +

                                                                                          Settings container key for the counter style of the footnotes.

                                                                                          @@ -3460,7 +2712,7 @@ See public string - C_STR_FOOTNOTES_COUNTER_STYLE + FOOTNOTES_COUNTER_STYLE = 'footnote_inputfield_counter_style' @@ -3486,15 +2738,15 @@ See -

                                                                                          - C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING - +

                                                                                          + FOOTNOTES_CSS_SMOOTH_SCROLLING +

                                                                                          Settings container key to enable CSS smooth scrolling.

                                                                                          @@ -3502,7 +2754,7 @@ See public string - C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING + FOOTNOTES_CSS_SMOOTH_SCROLLING = 'footnotes_inputfield_css_smooth_scrolling' @@ -3529,15 +2781,15 @@ See -

                                                                                          - C_STR_FOOTNOTES_EXPERT_MODE - +

                                                                                          + FOOTNOTES_EXPERT_MODE +

                                                                                          Settings container key for the Expert mode.

                                                                                          @@ -3545,7 +2797,7 @@ See public string - C_STR_FOOTNOTES_EXPERT_MODE + FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode' @@ -3600,15 +2852,15 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          -

                                                                                          Settings container key to enable hard links.

                                                                                          @@ -3616,7 +2868,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          public string - C_STR_FOOTNOTES_HARD_LINKS_ENABLE + FOOTNOTES_HARD_LINKS_ENABLE = 'footnotes_inputfield_hard_links_enable' @@ -3643,15 +2895,15 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_IN_EXCERPT - +

                                                                                          + FOOTNOTES_IN_EXCERPT +

                                                                                          Settings container key to look for footnotes in post excerpts.

                                                                                          @@ -3659,7 +2911,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          public string - C_STR_FOOTNOTES_IN_EXCERPT + FOOTNOTES_IN_EXCERPT = 'footnote_inputfield_search_in_excerpt' @@ -3676,7 +2928,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          see
                                                                                          - C_STR_EXPERT_LOOKUP_THE_EXCERPT + EXPERT_LOOKUP_THE_EXCERPT
                                                                                          @@ -3704,15 +2956,15 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION - +

                                                                                          + FOOTNOTES_LABEL_ISSUE_SOLUTION +

                                                                                          Settings container key to set the solution of the input element label issue.

                                                                                          @@ -3720,7 +2972,7 @@ All users, not experts only, need to be able to control relative positioning.

                                                                                          public string - C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION + FOOTNOTES_LABEL_ISSUE_SOLUTION = 'footnotes_inputfield_label_issue_solution' @@ -3760,15 +3012,15 @@ See -

                                                                                          - C_STR_FOOTNOTES_LOVE - +

                                                                                          + FOOTNOTES_LOVE +

                                                                                          Settings container key for the ‘I love footnotes’ text.

                                                                                          @@ -3776,7 +3028,7 @@ See public string - C_STR_FOOTNOTES_LOVE + FOOTNOTES_LOVE = 'footnote_inputfield_love' @@ -3802,15 +3054,15 @@ See -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE +

                                                                                          Settings container key to enable the alternative tooltips.

                                                                                          @@ -3818,7 +3070,7 @@ See public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE + FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE = 'footnote_inputfield_custom_mouse_over_box_alternative' @@ -3848,15 +3100,15 @@ The very small script is inserted after the plugin's internal stylesheet.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND +

                                                                                          Settings container key for the mouse-over box to define the background color.

                                                                                          @@ -3864,7 +3116,7 @@ The very small script is inserted after the plugin's internal stylesheet.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND + FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND = 'footnote_inputfield_custom_mouse_over_box_background' @@ -3884,7 +3136,7 @@ doesn't seem to exist.

                                                                                          see
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR + FOOTNOTES_MOUSE_OVER_BOX_COLOR
                                                                                          @@ -3902,15 +3154,15 @@ doesn't seem to exist.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR +

                                                                                          Settings container key for the mouse-over box to define the border color.

                                                                                          @@ -3918,7 +3170,7 @@ doesn't seem to exist.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR + FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR = 'footnote_inputfield_custom_mouse_over_box_border_color' @@ -3944,15 +3196,99 @@ doesn't seem to exist.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS +

                                                                                          + +

                                                                                          Settings container key for the mouse-over box to define the border radius.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS + = 'footnote_inputfield_custom_mouse_over_box_border_radius' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.6 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH + +

                                                                                          + + + +

                                                                                          Settings container key for the mouse-over box to define the border width.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH + = 'footnote_inputfield_custom_mouse_over_box_border_width' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.6 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_COLOR + +

                                                                                          + +

                                                                                          Settings container key for the mouse-over box to define the color.

                                                                                          @@ -3960,7 +3296,7 @@ doesn't seem to exist.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR + FOOTNOTES_MOUSE_OVER_BOX_COLOR = 'footnote_inputfield_custom_mouse_over_box_color' @@ -3977,7 +3313,7 @@ doesn't seem to exist.

                                                                                          see
                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND + FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND
                                                                                          @@ -3995,15 +3331,15 @@ doesn't seem to exist.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_ENABLED +

                                                                                          Settings container key to enable the mouse-over box.

                                                                                          @@ -4011,7 +3347,7 @@ doesn't seem to exist.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED + FOOTNOTES_MOUSE_OVER_BOX_ENABLED = 'footnote_inputfield_custom_mouse_over_box_enabled' @@ -4037,15 +3373,15 @@ doesn't seem to exist.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED +

                                                                                          Settings container key to enable tooltip truncation.

                                                                                          @@ -4053,7 +3389,7 @@ doesn't seem to exist.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED = 'footnote_inputfield_custom_mouse_over_box_excerpt_enabled' @@ -4090,15 +3426,189 @@ mouse-over, and allow the use of ‘Continue Reading’ functionality.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH +

                                                                                          + +

                                                                                          Settings container key for the mouse-over box to define the max. length of +the enabled excerpt.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH + = 'footnote_inputfield_custom_mouse_over_box_excerpt_length' + + + +

                                                                                          The default truncation length is 200 chars.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH + +

                                                                                          + + + +

                                                                                          Settings container key for the mouse-over box to define the max. width.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH + = 'footnote_inputfield_custom_mouse_over_box_max_width' + + + +

                                                                                          The width should be limited to start with, for the box to have shape.

                                                                                          +

                                                                                          The default width is 450.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.6 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X + +

                                                                                          + + + +

                                                                                          Settings container key for the mouse-over box to define the _x_-offset.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X + = 'footnote_inputfield_custom_mouse_over_box_offset_x' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.7 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y + +

                                                                                          + + + +

                                                                                          Settings container key for the mouse-over box to define the _y_-offset.

                                                                                          + + + public + int + FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y + = 'footnote_inputfield_custom_mouse_over_box_offset_y' + + + +

                                                                                          The vertical offset must be negative for the box not to cover the current +line of text.

                                                                                          +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 1.5.7 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_POSITION + +

                                                                                          + +

                                                                                          Settings container key for the mouse-over box to define the position.

                                                                                          @@ -4106,7 +3616,7 @@ mouse-over, and allow the use of ‘Continue Reading’ functionality.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION + FOOTNOTES_MOUSE_OVER_BOX_POSITION = 'footnote_inputfield_custom_mouse_over_box_position' @@ -4135,15 +3645,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR - +

                                                                                          + FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR +

                                                                                          Settings container key for the mouse-over box to define the box-shadow color.

                                                                                          @@ -4151,7 +3661,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR + FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR = 'footnote_inputfield_custom_mouse_over_box_shadow_color' @@ -4177,15 +3687,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT - +

                                                                                          + FOOTNOTES_PAGE_LAYOUT_SUPPORT +

                                                                                          Settings container key for basic responsive page layout support options.

                                                                                          @@ -4193,7 +3703,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT + FOOTNOTES_PAGE_LAYOUT_SUPPORT = 'footnotes_inputfield_page_layout_support' @@ -4220,15 +3730,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE - +

                                                                                          + FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE +

                                                                                          Settings container key to select the script mode for the reference container.

                                                                                          @@ -4236,7 +3746,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE + FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE = 'footnotes_inputfield_reference_container_script_mode' @@ -4262,15 +3772,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS - +

                                                                                          + FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS +

                                                                                          Settings container key for the referrer element.

                                                                                          @@ -4278,7 +3788,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS + FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags' @@ -4304,15 +3814,141 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY - +

                                                                                          + FOOTNOTES_SCROLL_DOWN_DELAY +

                                                                                          + +

                                                                                          Settings container key for scroll-down delay.

                                                                                          + + + public + int + FOOTNOTES_SCROLL_DOWN_DELAY + = 'footnotes_inputfield_scroll_down_delay' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.5.11 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_SCROLL_DOWN_DURATION + +

                                                                                          + + + +

                                                                                          Settings container key for scroll-down duration.

                                                                                          + + + public + int + FOOTNOTES_SCROLL_DOWN_DURATION + = 'footnotes_inputfield_scroll_down_duration' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.5.11 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_SCROLL_DURATION + +

                                                                                          + + + +

                                                                                          Settings container key for scroll duration.

                                                                                          + + + public + int + FOOTNOTES_SCROLL_DURATION + = 'footnotes_inputfield_scroll_duration' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY + +

                                                                                          + +

                                                                                          Settings container key for scroll duration asymmetricity.

                                                                                          @@ -4320,7 +3956,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public int - C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY + FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY = 'footnotes_inputfield_scroll_duration_asymmetricity' @@ -4346,15 +3982,99 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_END - +

                                                                                          + FOOTNOTES_SCROLL_OFFSET +

                                                                                          + +

                                                                                          Settings container key for scroll offset.

                                                                                          + + + public + int + FOOTNOTES_SCROLL_OFFSET + = 'footnotes_inputfield_scroll_offset' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_SCROLL_UP_DELAY + +

                                                                                          + + + +

                                                                                          Settings container key for scroll-up delay.

                                                                                          + + + public + int + FOOTNOTES_SCROLL_UP_DELAY + = 'footnotes_inputfield_scroll_up_delay' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.5.11 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + FOOTNOTES_SHORT_CODE_END + +

                                                                                          + +

                                                                                          Settings container key for the short code of the footnote's end.

                                                                                          @@ -4362,7 +4082,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_SHORT_CODE_END + FOOTNOTES_SHORT_CODE_END = 'footnote_inputfield_placeholder_end' @@ -4388,15 +4108,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED - +

                                                                                          + FOOTNOTES_SHORT_CODE_END_USER_DEFINED +

                                                                                          Settings container key for the user-defined short code of the footnotes end.

                                                                                          @@ -4404,7 +4124,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED + FOOTNOTES_SHORT_CODE_END_USER_DEFINED = 'footnote_inputfield_placeholder_end_user_defined' @@ -4430,15 +4150,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_START - +

                                                                                          + FOOTNOTES_SHORT_CODE_START +

                                                                                          Settings container key for the short code of the footnote's start.

                                                                                          @@ -4446,7 +4166,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_SHORT_CODE_START + FOOTNOTES_SHORT_CODE_START = 'footnote_inputfield_placeholder_start' @@ -4472,15 +4192,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED - +

                                                                                          + FOOTNOTES_SHORT_CODE_START_USER_DEFINED +

                                                                                          Settings container key for the user-defined short code of the footnotes start.

                                                                                          @@ -4488,7 +4208,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED + FOOTNOTES_SHORT_CODE_START_USER_DEFINED = 'footnote_inputfield_placeholder_start_user_defined' @@ -4514,15 +4234,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_STYLING_AFTER - +

                                                                                          + FOOTNOTES_STYLING_AFTER +

                                                                                          Settings container key for the string after the footnote referrer.

                                                                                          @@ -4530,7 +4250,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_STYLING_AFTER + FOOTNOTES_STYLING_AFTER = 'footnote_inputfield_custom_styling_after' @@ -4556,15 +4276,15 @@ and top because reading at the bottom of the window is more likely.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_STYLING_BEFORE - +

                                                                                          + FOOTNOTES_STYLING_BEFORE +

                                                                                          Settings container key for the string before the footnote referrer.

                                                                                          @@ -4572,7 +4292,7 @@ and top because reading at the bottom of the window is more likely.

                                                                                          public string - C_STR_FOOTNOTES_STYLING_BEFORE + FOOTNOTES_STYLING_BEFORE = 'footnote_inputfield_custom_styling_before' @@ -4602,15 +4322,15 @@ expand-collapse button.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER - +

                                                                                          + FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER +

                                                                                          Settings container key to configure the tooltip excerpt delimiter.

                                                                                          @@ -4618,7 +4338,7 @@ expand-collapse button.

                                                                                          public string - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER + FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER = 'footnotes_inputfield_tooltip_excerpt_delimiter' @@ -4650,15 +4370,15 @@ WordPress does for excerpts.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE - +

                                                                                          + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE +

                                                                                          Settings container key to enable mirroring the tooltip excerpt in the @@ -4667,7 +4387,7 @@ reference container.

                                                                                          public string - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE = 'footnotes_inputfield_tooltip_excerpt_mirror_enable' @@ -4696,15 +4416,15 @@ container too. See -

                                                                                          - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR - +

                                                                                          + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR +

                                                                                          Settings container key to configure the tooltip excerpt separator in the @@ -4713,7 +4433,7 @@ reference container.

                                                                                          public string - C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR + FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR = 'footnotes_inputfield_tooltip_excerpt_mirror_separator' @@ -4739,15 +4459,15 @@ reference container.

                                                                                          -

                                                                                          - C_STR_FOOTNOTES_TOOLTIP_READON_LABEL - +

                                                                                          + FOOTNOTES_TOOLTIP_READON_LABEL +

                                                                                          Settings container key for the label of the Read-on button in truncated tooltips.

                                                                                          @@ -4755,7 +4475,7 @@ reference container.

                                                                                          public string - C_STR_FOOTNOTES_TOOLTIP_READON_LABEL + FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label' @@ -4781,15 +4501,15 @@ reference container.

                                                                                          -

                                                                                          Settings container key for the ID separator in fragment IDs.

                                                                                          @@ -4797,7 +4517,7 @@ reference container.

                                                                                          public string - C_STR_HARD_LINK_IDS_SEPARATOR + HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator' @@ -4823,15 +4543,15 @@ reference container.

                                                                                          -

                                                                                          Settings container key for the backlink symbol selection.

                                                                                          @@ -4839,7 +4559,7 @@ reference container.

                                                                                          public string - C_STR_HYPERLINK_ARROW + HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol' @@ -4865,15 +4585,15 @@ reference container.

                                                                                          -

                                                                                          Settings container key for the user-defined backlink symbol.

                                                                                          @@ -4881,7 +4601,7 @@ reference container.

                                                                                          public string - C_STR_HYPERLINK_ARROW_USER_DEFINED + HYPERLINK_ARROW_USER_DEFINED = 'footnote_inputfield_custom_hyperlink_symbol_user' @@ -4907,15 +4627,15 @@ reference container.

                                                                                          -

                                                                                          Settings container key for the link element option.

                                                                                          @@ -4923,7 +4643,7 @@ reference container.

                                                                                          public string - C_STR_LINK_ELEMENT_ENABLED + LINK_ELEMENT_ENABLED = 'footnote_inputfield_link_element_enabled' @@ -4949,15 +4669,183 @@ reference container.

                                                                                          -

                                                                                          - C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED - +

                                                                                          + MOUSE_OVER_BOX_FADE_IN_DELAY +

                                                                                          + +

                                                                                          Settings container key for tooltip display fade-in delay.

                                                                                          + + + public + int + MOUSE_OVER_BOX_FADE_IN_DELAY + = 'footnotes_inputfield_mouse_over_box_fade_in_delay' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + MOUSE_OVER_BOX_FADE_IN_DURATION + +

                                                                                          + + + +

                                                                                          Settings container key for tooltip display fade-in duration.

                                                                                          + + + public + int + MOUSE_OVER_BOX_FADE_IN_DURATION + = 'footnotes_inputfield_mouse_over_box_fade_in_duration' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + MOUSE_OVER_BOX_FADE_OUT_DELAY + +

                                                                                          + + + +

                                                                                          Settings container key for tooltip display fade-out delay.

                                                                                          + + + public + int + MOUSE_OVER_BOX_FADE_OUT_DELAY + = 'footnotes_inputfield_mouse_over_box_fade_out_delay' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + MOUSE_OVER_BOX_FADE_OUT_DURATION + +

                                                                                          + + + +

                                                                                          Settings container key for tooltip display fade-out duration.

                                                                                          + + + public + int + MOUSE_OVER_BOX_FADE_OUT_DURATION + = 'footnotes_inputfield_mouse_over_box_fade_out_duration' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + MOUSE_OVER_BOX_FONT_SIZE_ENABLED + +

                                                                                          + +

                                                                                          Settings container key to enable setting the tooltip font size.

                                                                                          @@ -4965,7 +4853,7 @@ reference container.

                                                                                          public string - C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED + MOUSE_OVER_BOX_FONT_SIZE_ENABLED = 'footnotes_inputfield_mouse_over_box_font_size_enabled' @@ -4994,15 +4882,57 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT - +

                                                                                          + MOUSE_OVER_BOX_FONT_SIZE_SCALAR +

                                                                                          + +

                                                                                          Settings container key for the scalar value of the tooltip font size.

                                                                                          + + + public + float + MOUSE_OVER_BOX_FONT_SIZE_SCALAR + = 'footnotes_inputfield_mouse_over_box_font_size_scalar' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.1.4 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + MOUSE_OVER_BOX_FONT_SIZE_UNIT + +

                                                                                          + +

                                                                                          Settings container key for the unit of the tooltip font size.

                                                                                          @@ -5010,7 +4940,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT + MOUSE_OVER_BOX_FONT_SIZE_UNIT = 'footnotes_inputfield_mouse_over_box_font_size_unit' @@ -5036,15 +4966,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE - +

                                                                                          + REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE +

                                                                                          Settings container key to enable the legacy layout of the reference container.

                                                                                          @@ -5052,7 +4982,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE + REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE = 'footnotes_inputfield_reference_container_3column_layout_enable' @@ -5078,15 +5008,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          Settings container key to enable the display of a backlink symbol.

                                                                                          @@ -5094,7 +5024,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE + REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable' @@ -5120,15 +5050,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          Settings container key to get the backlink symbol switch side.

                                                                                          @@ -5136,7 +5066,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH + REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch' @@ -5162,15 +5092,57 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_COLLAPSE - +

                                                                                          + REFERENCE_CONTAINER_BOTTOM_MARGIN +

                                                                                          + +

                                                                                          Settings container key for reference container bottom margin.

                                                                                          + + + public + int + REFERENCE_CONTAINER_BOTTOM_MARGIN + = 'footnotes_inputfield_reference_container_bottom_margin' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.3.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + REFERENCE_CONTAINER_COLLAPSE + +

                                                                                          + +

                                                                                          Settings container key to collapse the reference container by default.

                                                                                          @@ -5178,7 +5150,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_COLLAPSE + REFERENCE_CONTAINER_COLLAPSE = 'footnote_inputfield_collapse_references' @@ -5214,15 +5186,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER - +

                                                                                          + REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER +

                                                                                          Settings container key to enable the reference container label bottom border.

                                                                                          @@ -5230,7 +5202,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER + REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border' @@ -5256,15 +5228,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT - +

                                                                                          + REFERENCE_CONTAINER_LABEL_ELEMENT +

                                                                                          Settings container key for the reference container label element.

                                                                                          @@ -5272,7 +5244,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT + REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element' @@ -5298,15 +5270,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_NAME - +

                                                                                          + REFERENCE_CONTAINER_NAME +

                                                                                          Settings container key for the label of the reference container.

                                                                                          @@ -5314,7 +5286,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_NAME + REFERENCE_CONTAINER_NAME = 'footnote_inputfield_references_label' @@ -5340,15 +5312,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_POSITION - +

                                                                                          + REFERENCE_CONTAINER_POSITION +

                                                                                          Settings container key for the position of the reference container.

                                                                                          @@ -5356,7 +5328,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_POSITION + REFERENCE_CONTAINER_POSITION = 'footnote_inputfield_reference_container_place' @@ -5382,15 +5354,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE - +

                                                                                          + REFERENCE_CONTAINER_POSITION_SHORTCODE +

                                                                                          Settings container key for reference container position shortcode.

                                                                                          @@ -5398,7 +5370,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE + REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode' @@ -5424,15 +5396,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE - +

                                                                                          + REFERENCE_CONTAINER_ROW_BORDERS_ENABLE +

                                                                                          Settings container key to enable reference container table row borders.

                                                                                          @@ -5440,7 +5412,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE + REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable' @@ -5466,15 +5438,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE - +

                                                                                          + REFERENCE_CONTAINER_START_PAGE_ENABLE +

                                                                                          Settings container key to not display the reference container on the homepage.

                                                                                          @@ -5482,7 +5454,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE + REFERENCE_CONTAINER_START_PAGE_ENABLE = 'footnotes_inputfield_reference_container_start_page_enable' @@ -5508,15 +5480,57 @@ Called mouse over box not tooltip for consistency.

                                                                                          -

                                                                                          - C_STR_REFERRER_FRAGMENT_ID_SLUG - +

                                                                                          + REFERENCE_CONTAINER_TOP_MARGIN +

                                                                                          + +

                                                                                          Settings container key for reference container top margin.

                                                                                          + + + public + int + REFERENCE_CONTAINER_TOP_MARGIN + = 'footnotes_inputfield_reference_container_top_margin' + + + +
                                                                                          + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.3.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +

                                                                                          + REFERRER_FRAGMENT_ID_SLUG + +

                                                                                          + +

                                                                                          Settings container key for the fragment ID slug in referrers.

                                                                                          @@ -5524,7 +5538,7 @@ Called mouse over box not tooltip for consistency.

                                                                                          public string - C_STR_REFERRER_FRAGMENT_ID_SLUG + REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug' @@ -5564,24 +5578,24 @@ Called mouse over box not tooltip for consistency.

                                                                                          -private " > -

                                                                                          - $a_arr_container - +

                                                                                          + $container +

                                                                                          Contains all Settings Container names.

                                                                                          private - array<string|int, string> - $a_arr_container + array<string|int, mixed> + $container = array('footnotes_storage', 'footnotes_storage_custom', 'footnotes_storage_expert', 'footnotes_storage_custom_css')

                                                                                          These are the storage container names, one per dashboard tab.

                                                                                          @@ -5612,162 +5626,162 @@ Called mouse over box not tooltip for consistency.

                                                                                          -private " > -

                                                                                          - $a_arr_default - +

                                                                                          + $default +

                                                                                          Contains all default values for each Settings Container.

                                                                                          private - array<string|int, string|int> - $a_arr_default + array<string|int, mixed> + $default = array( // General settings. 'footnotes_storage' => array( // AMP compatibility. - self::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', + self::FOOTNOTES_AMP_COMPATIBILITY_ENABLE => '', // Footnote start and end short codes. - self::C_STR_FOOTNOTES_SHORT_CODE_START => '((', - self::C_STR_FOOTNOTES_SHORT_CODE_END => '))', - self::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '', - self::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', - self::C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE => 'yes', + self::FOOTNOTES_SHORT_CODE_START => '((', + self::FOOTNOTES_SHORT_CODE_END => '))', + self::FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '', + self::FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '', + self::FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE => 'yes', // Footnotes numbering. - self::C_STR_FOOTNOTES_COUNTER_STYLE => 'arabic_plain', - self::C_STR_COMBINE_IDENTICAL_FOOTNOTES => 'yes', + self::FOOTNOTES_COUNTER_STYLE => 'arabic_plain', + self::COMBINE_IDENTICAL_FOOTNOTES => 'yes', // Scrolling behavior. - self::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', - self::C_INT_FOOTNOTES_SCROLL_OFFSET => 20, - self::C_INT_FOOTNOTES_SCROLL_DURATION => 380, - self::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no', - self::C_INT_FOOTNOTES_SCROLL_DOWN_DURATION => 150, - self::C_INT_FOOTNOTES_SCROLL_DOWN_DELAY => 0, - self::C_INT_FOOTNOTES_SCROLL_UP_DELAY => 0, - self::C_STR_FOOTNOTES_HARD_LINKS_ENABLE => 'no', - self::C_STR_REFERRER_FRAGMENT_ID_SLUG => 'r', - self::C_STR_FOOTNOTE_FRAGMENT_ID_SLUG => 'f', - self::C_STR_HARD_LINK_IDS_SEPARATOR => '+', - self::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', - self::C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', + self::FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no', + self::FOOTNOTES_SCROLL_OFFSET => 20, + self::FOOTNOTES_SCROLL_DURATION => 380, + self::FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no', + self::FOOTNOTES_SCROLL_DOWN_DURATION => 150, + self::FOOTNOTES_SCROLL_DOWN_DELAY => 0, + self::FOOTNOTES_SCROLL_UP_DELAY => 0, + self::FOOTNOTES_HARD_LINKS_ENABLE => 'no', + self::REFERRER_FRAGMENT_ID_SLUG => 'r', + self::FOOTNOTE_FRAGMENT_ID_SLUG => 'f', + self::HARD_LINK_IDS_SEPARATOR => '+', + self::FOOTNOTES_BACKLINK_TOOLTIP_ENABLE => 'yes', + self::FOOTNOTES_BACKLINK_TOOLTIP_TEXT => 'Alt+ ←', // Reference container. - self::C_STR_REFERENCE_CONTAINER_NAME => 'References', - self::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', - self::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER => 'yes', - self::C_STR_REFERENCE_CONTAINER_COLLAPSE => 'no', - self::C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE => 'jquery', - self::C_STR_REFERENCE_CONTAINER_POSITION => 'post_end', - self::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', - self::C_STR_FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', - self::C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', - self::C_INT_REFERENCE_CONTAINER_TOP_MARGIN => 24, - self::C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, - self::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', - self::C_STR_FOOTNOTE_URL_WRAP_ENABLED => 'yes', - self::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes', - self::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH => 'no', - self::C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no', - self::C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', - self::C_STR_BACKLINKS_SEPARATOR_ENABLED => 'yes', - self::C_STR_BACKLINKS_SEPARATOR_OPTION => 'comma', - self::C_STR_BACKLINKS_SEPARATOR_CUSTOM => '', - self::C_STR_BACKLINKS_TERMINATOR_ENABLED => 'no', - self::C_STR_BACKLINKS_TERMINATOR_OPTION => 'full_stop', - self::C_STR_BACKLINKS_TERMINATOR_CUSTOM => '', - self::C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', - self::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR => '50', - self::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT => 'px', - self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', - self::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', - self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', - self::C_STR_BACKLINKS_LINE_BREAKS_ENABLED => 'no', - self::C_STR_LINK_ELEMENT_ENABLED => 'yes', + self::REFERENCE_CONTAINER_NAME => 'References', + self::REFERENCE_CONTAINER_LABEL_ELEMENT => 'p', + self::REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER => 'yes', + self::REFERENCE_CONTAINER_COLLAPSE => 'no', + self::FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE => 'jquery', + self::REFERENCE_CONTAINER_POSITION => 'post_end', + self::REFERENCE_CONTAINER_POSITION_SHORTCODE => '[[references]]', + self::FOOTNOTE_SECTION_SHORTCODE => '[[/footnotesection]]', + self::REFERENCE_CONTAINER_START_PAGE_ENABLE => 'yes', + self::REFERENCE_CONTAINER_TOP_MARGIN => 24, + self::REFERENCE_CONTAINER_BOTTOM_MARGIN => 0, + self::FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none', + self::FOOTNOTE_URL_WRAP_ENABLED => 'yes', + self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes', + self::REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH => 'no', + self::REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no', + self::REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no', + self::BACKLINKS_SEPARATOR_ENABLED => 'yes', + self::BACKLINKS_SEPARATOR_OPTION => 'comma', + self::BACKLINKS_SEPARATOR_CUSTOM => '', + self::BACKLINKS_TERMINATOR_ENABLED => 'no', + self::BACKLINKS_TERMINATOR_OPTION => 'full_stop', + self::BACKLINKS_TERMINATOR_CUSTOM => '', + self::BACKLINKS_COLUMN_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_WIDTH_SCALAR => '50', + self::BACKLINKS_COLUMN_WIDTH_UNIT => 'px', + self::BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no', + self::BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', + self::BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', + self::BACKLINKS_LINE_BREAKS_ENABLED => 'no', + self::LINK_ELEMENT_ENABLED => 'yes', // Footnotes in excerpts. - self::C_STR_FOOTNOTES_IN_EXCERPT => 'manual', + self::FOOTNOTES_IN_EXCERPT => 'manual', // Footnotes love. - self::C_STR_FOOTNOTES_LOVE => 'no', + self::FOOTNOTES_LOVE => 'no', // Deprecated. - self::C_STR_FOOTNOTES_EXPERT_MODE => 'yes', + self::FOOTNOTES_EXPERT_MODE => 'yes', ), // Referrers and tooltips. 'footnotes_storage_custom' => array( // Backlink symbol. - self::C_STR_HYPERLINK_ARROW => '&#8593;', - self::C_STR_HYPERLINK_ARROW_USER_DEFINED => '', + self::HYPERLINK_ARROW => 0, + self::HYPERLINK_ARROW_USER_DEFINED => '', // Referrers. - self::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', - self::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', - self::C_STR_FOOTNOTES_STYLING_BEFORE => '[', - self::C_STR_FOOTNOTES_STYLING_AFTER => ']', + self::FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes', + self::FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no', + self::FOOTNOTES_STYLING_BEFORE => '[', + self::FOOTNOTES_STYLING_AFTER => ']', // Referrers in labels. - self::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', + self::FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none', // Tooltips. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', + self::FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', + self::FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', // Tooltip position. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', - self::C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION => 'top right', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X => -50, - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y => 24, + self::FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top center', + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION => 'top right', + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 0, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X => -50, + self::FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y => 24, // Tooltip dimensions. - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, - self::C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH => 400, + self::FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 450, + self::FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH => 400, // Tooltip timing. - self::C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY => 0, - self::C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION => 200, - self::C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, - self::C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_IN_DELAY => 0, + self::MOUSE_OVER_BOX_FADE_IN_DURATION => 200, + self::MOUSE_OVER_BOX_FADE_OUT_DELAY => 400, + self::MOUSE_OVER_BOX_FADE_OUT_DURATION => 200, // Tooltip truncation. - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'yes', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, - self::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', + self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'yes', + self::FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 200, + self::FOOTNOTES_TOOLTIP_READON_LABEL => 'Continue reading', // Tooltip text. - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', - self::C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR => ' — ', + self::FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER => '[[/tooltip]]', + self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE => 'no', + self::FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR => ' — ', // Tooltip appearance. - self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', - self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, - self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', - self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, - self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', + self::MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', + self::MOUSE_OVER_BOX_FONT_SIZE_SCALAR => 13, + self::MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', + self::FOOTNOTES_MOUSE_OVER_BOX_COLOR => '#000000', + self::FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#ffffff', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1, + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99', + self::FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 0, + self::FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666', // Your existing Custom CSS code. - self::C_STR_CUSTOM_CSS => '', + self::CUSTOM_CSS => '', ), // Scope and priority. 'footnotes_storage_expert' => array( // WordPress hooks with priority level. - self::C_STR_EXPERT_LOOKUP_THE_TITLE => '', - self::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_THE_CONTENT => 'checked', - self::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98, - self::C_STR_EXPERT_LOOKUP_THE_EXCERPT => '', - self::C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_WIDGET_TITLE => '', - self::C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, - self::C_STR_EXPERT_LOOKUP_WIDGET_TEXT => '', - self::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98, + self::EXPERT_LOOKUP_THE_TITLE => '', + self::EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_THE_CONTENT => 'checked', + self::EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98, + self::EXPERT_LOOKUP_THE_EXCERPT => '', + self::EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_WIDGET_TITLE => '', + self::EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, + self::EXPERT_LOOKUP_WIDGET_TEXT => '', + self::EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98, ), // Custom CSS. 'footnotes_storage_custom_css' => array( // Your existing Custom CSS code. - self::C_STR_CUSTOM_CSS_LEGACY_ENABLE => 'yes', + self::CUSTOM_CSS_LEGACY_ENABLE => 'yes', // Custom CSS. - self::C_STR_CUSTOM_CSS_NEW => '', + self::CUSTOM_CSS_NEW => '', ), ) @@ -5797,6 +5811,15 @@ Called mouse over box not tooltip for consistency.

                                                                                          At the very least, we should stop using ‘yes’ to mean true etc.

                                                                                          +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Create PreferencesSet class.

                                                                                          +
                                                                                          +
                                                                                          @@ -5806,11 +5829,11 @@ At the very least, we should stop using ‘yes’ to mean -

                                                                                          - $a_arr_settings - +

                                                                                          + $instance +

                                                                                          @@ -5820,13 +5843,13 @@ At the very least, we should stop using ‘yes’ to mean 1331 -

                                                                                          Contains all Settings from each Settings Container.

                                                                                          +

                                                                                          Stores a singleton reference of this class.

                                                                                          private - array<string|int, string|int> - $a_arr_settings - = array() + static Settings|null + $instance + = null
                                                                                          @@ -5853,27 +5876,27 @@ At the very least, we should stop using ‘yes’ to mean -

                                                                                          - $a_obj_instance - +

                                                                                          + $settings +

                                                                                          -

                                                                                          Stores a singleton reference of this class.

                                                                                          +

                                                                                          Contains all Settings from each Settings Container.

                                                                                          private - static Settings - $a_obj_instance - = null + array<string|int, mixed> + $settings + = array()
                                                                                          @@ -5891,6 +5914,15 @@ At the very least, we should stop using ‘yes’ to mean + +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Create PreferencesSet class.

                                                                                          +
                                                                                          +
                                                                                          @@ -5915,21 +5947,21 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1453 + 1391

                                                                                          Returns the value of specified Setting.

                                                                                          public - get(string $p_str_key) : string|int|null + get(string $key) : string|int|null
                                                                                          Parameters
                                                                                          - $p_str_key + $key : string
                                                                                          @@ -5953,6 +5985,15 @@ At the very least, we should stop using ‘yes’ to mean +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Add return type.

                                                                                          +
                                                                                          +
                                                                                          @@ -5977,21 +6018,21 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1367 + 1350

                                                                                          Returns the name of a specified Settings Container.

                                                                                          public - get_container(int $p_int_index) : str + get_container(int $index) : string
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int
                                                                                          @@ -6019,7 +6060,7 @@ At the very least, we should stop using ‘yes’ to mean Return values - str + string

                                                                                          Settings Container name.

                                                                                          @@ -6039,21 +6080,21 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1379 + 1362

                                                                                          Returns the default value(s) of a specific Settings Container.

                                                                                          public - get_defaults(int $p_int_index) : array<string|int, string|int> + get_defaults(int $index) : array<string|int, string|int>
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int
                                                                                          @@ -6101,14 +6142,14 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1350 + 1415

                                                                                          Returns a singleton of this class.

                                                                                          public - static instance() : Settings + static instance() : self
                                                                                          @@ -6140,7 +6181,7 @@ At the very least, we should stop using ‘yes’ to mean Return values - Settings + self
                                                                                          @@ -6159,14 +6200,14 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1464 + 1402

                                                                                          Register all Settings Containers for the plugin Settings Page in the Dashboard.

                                                                                          public - register_settings() : mixed + register_settings() : void

                                                                                          The Settings Container label will be the same as the Settings Container name.

                                                                                          @@ -6190,7 +6231,7 @@ At the very least, we should stop using ‘yes’ to mean Return values - mixed + void
                                                                                          @@ -6209,21 +6250,21 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1437 + 1374

                                                                                          Updates a whole Setting Container on save.

                                                                                          public - save_options(int $p_int_index, array<string|int, mixed> $p_arr_new_values) : bool + save_options(int $index, array<string|int, mixed> $new_values) : bool
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int
                                                                                          @@ -6232,7 +6273,7 @@ At the very least, we should stop using ‘yes’ to mean - $p_arr_new_values + $new_values : array<string|int, mixed>
                                                                                          @@ -6328,21 +6369,21 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1406 + 1445

                                                                                          Loads all settings from specified Settings Containers.

                                                                                          private - load(int $p_int_index) : array<string|int, string|int> + load(int $index) : array<string|int, string|int>
                                                                                          Parameters
                                                                                          - $p_int_index + $index : int
                                                                                          @@ -6390,14 +6431,14 @@ At the very least, we should stop using ‘yes’ to mean class-settings.php : - 1388 + 1428

                                                                                          Loads all Settings from each Settings container.

                                                                                          private - load_all() : mixed + load_all() : void
                                                                                          @@ -6420,7 +6461,7 @@ At the very least, we should stop using ‘yes’ to mean Return values - mixed + void
                                                                                          diff --git a/docs/classes/footnotes-includes-Template.html b/docs/classes/footnotes-includes-Template.html index 611e374..ba6ad2f 100644 --- a/docs/classes/footnotes-includes-Template.html +++ b/docs/classes/footnotes-includes-Template.html @@ -59,6 +59,14 @@ +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,13 @@ Template +
                                                                                          + in package + +
                                                                                          @@ -91,7 +106,7 @@

                                                                                          Class defining template rendering.

                                                                                          @@ -147,14 +162,14 @@ file content.

                                                                                          - C_STR_DASHBOARD + DASHBOARD  = 'admin/partials'
                                                                                          Directory name for dashboard partials.
                                                                                          - C_STR_PUBLIC + PUBLIC  = 'public/partials'
                                                                                          @@ -168,14 +183,14 @@ file content.

                                                                                          Plugin Directory
                                                                                          - $a_str_original_content + $original_content -  : string +  : string|null
                                                                                          Contains the content of the template after initialize.
                                                                                          - $a_str_replaced_content + $replaced_content  : string
                                                                                          @@ -184,7 +199,7 @@ file content.

                                                                                          __construct() -  : mixed +  : void
                                                                                          Class Constructor. Reads and loads the template file without replace any placeholder.
                                                                                          @@ -198,7 +213,7 @@ file content.

                                                                                          get_template() -  : mixed +  : string|bool
                                                                                          Get the template.
                                                                                          @@ -212,7 +227,7 @@ file content.

                                                                                          reload() -  : mixed +  : void
                                                                                          Reloads the original content of the template file.
                                                                                          @@ -234,15 +249,15 @@ file content.

                                                                                          -

                                                                                          - C_STR_DASHBOARD - +

                                                                                          + DASHBOARD +

                                                                                          Directory name for dashboard partials.

                                                                                          @@ -250,7 +265,7 @@ file content.

                                                                                          public string - C_STR_DASHBOARD + DASHBOARD = 'admin/partials' @@ -276,15 +291,15 @@ file content.

                                                                                          -

                                                                                          - C_STR_PUBLIC - +

                                                                                          + PUBLIC +

                                                                                          Directory name for public partials.

                                                                                          @@ -292,7 +307,7 @@ file content.

                                                                                          public string - C_STR_PUBLIC + PUBLIC = 'public/partials' @@ -341,7 +356,7 @@ file content.

                                                                                          Plugin Directory

                                                                                          @@ -379,24 +394,24 @@ file content.

                                                                                          -private " > -

                                                                                          - $a_str_original_content - +

                                                                                          + $original_content +

                                                                                          Contains the content of the template after initialize.

                                                                                          private - string - $a_str_original_content + string|null + $original_content = ''
                                                                                          @@ -426,16 +441,16 @@ file content.

                                                                                          -private " > -

                                                                                          - $a_str_replaced_content - +

                                                                                          + $replaced_content +

                                                                                          Contains the content of the template after initialize with replaced place holders.

                                                                                          @@ -443,7 +458,7 @@ file content.

                                                                                          private string - $a_str_replaced_content + $replaced_content = ''
                                                                                          @@ -486,21 +501,21 @@ file content.

                                                                                          Class Constructor. Reads and loads the template file without replace any placeholder.

                                                                                          public - __construct(string $p_str_file_type, string $p_str_file_name[, string $p_str_extension = 'html' ]) : mixed + __construct(string $file_type, string $file_name[, string $extension = 'html' ]) : void
                                                                                          Parameters
                                                                                          - $p_str_file_type + $file_type : string
                                                                                          @@ -509,7 +524,7 @@ file content.

                                                                                          - $p_str_file_name + $file_name : string
                                                                                          @@ -518,7 +533,7 @@ file content.

                                                                                          - $p_str_extension + $extension : string = 'html'
                                                                                          @@ -555,7 +570,7 @@ file content.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -633,21 +648,21 @@ file content.

                                                                                          Get the template.

                                                                                          public - get_template(string $p_str_file_type, string $p_str_file_name[, string $p_str_extension = 'html' ]) : mixed + get_template(string $file_type, string $file_name[, string $extension = 'html' ]) : string|bool
                                                                                          Parameters
                                                                                          - $p_str_file_type + $file_type : string
                                                                                          @@ -656,7 +671,7 @@ file content.

                                                                                          - $p_str_file_name + $file_name : string
                                                                                          @@ -665,7 +680,7 @@ file content.

                                                                                          - $p_str_extension + $extension : string = 'html'
                                                                                          @@ -698,11 +713,20 @@ file content.

                                                                                          Refactor templating.

                                                                                          +
                                                                                          +
                                                                                          + todo +
                                                                                          +
                                                                                          + +

                                                                                          Single return type.

                                                                                          +
                                                                                          +
                                                                                          Return values
                                                                                          - mixed + string|bool

                                                                                          false or the template path

                                                                                          @@ -799,7 +823,7 @@ file content.

                                                                                          public - reload() : mixed + reload() : void
                                                                                          @@ -831,7 +855,7 @@ file content.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          @@ -850,22 +874,22 @@ file content.

                                                                                          Replace all placeholders specified in array.

                                                                                          public - replace(array<string|int, mixed> $p_arr_placeholders) : bool + replace(array<string|int, string> $placeholders) : bool
                                                                                          Parameters
                                                                                          - $p_arr_placeholders - : array<string|int, mixed> + $placeholders + : array<string|int, string>

                                                                                          Placeholders (key = placeholder, value = value).

                                                                                          diff --git a/docs/classes/footnotes-includes-i18n.html b/docs/classes/footnotes-includes-i18n.html index 3a3c65a..3416c7b 100644 --- a/docs/classes/footnotes-includes-i18n.html +++ b/docs/classes/footnotes-includes-i18n.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -84,6 +92,12 @@ i18n +
                                                                                          + in package + +
                                                                                          @@ -91,7 +105,7 @@

                                                                                          Class providing internationalization functionality.

                                                                                          @@ -149,7 +163,7 @@ is ready for translation.

                                                                                          load_plugin_textdomain() -  : mixed +  : void
                                                                                          Load the plugin text domain for translation.
                                                                                          @@ -179,14 +193,14 @@ is ready for translation.

                                                                                          Load the plugin text domain for translation.

                                                                                          public - load_plugin_textdomain() : mixed + load_plugin_textdomain() : void
                                                                                          @@ -212,14 +226,14 @@ is ready for translation.

                                                                                          2.8.0 -

                                                                                          Rename from load() to load_plugin_textdomain(). Remove unused $p_str_language_code parameter.

                                                                                          +

                                                                                          Rename from load() to load_plugin_textdomain(). Remove unused $language_code parameter.

                                                                                          Return values
                                                                                          - mixed + void
                                                                                          diff --git a/docs/files/src-admin-class-admin.html b/docs/files/src-admin-class-admin.html index 366b807..180f1ed 100644 --- a/docs/files/src-admin-class-admin.html +++ b/docs/files/src-admin-class-admin.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-admin-class-wysiwyg.html b/docs/files/src-admin-class-wysiwyg.html index 1dcc089..a2ce8bc 100644 --- a/docs/files/src-admin-class-wysiwyg.html +++ b/docs/files/src-admin-class-wysiwyg.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-admin-layout-class-engine.html b/docs/files/src-admin-layout-class-engine.html index 5178fb6..d7b1292 100644 --- a/docs/files/src-admin-layout-class-engine.html +++ b/docs/files/src-admin-layout-class-engine.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-admin-layout-class-init.html b/docs/files/src-admin-layout-class-init.html index 344c0e3..ca7dbbe 100644 --- a/docs/files/src-admin-layout-class-init.html +++ b/docs/files/src-admin-layout-class-init.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-admin-layout-class-settings.html b/docs/files/src-admin-layout-class-settings.html index 0d99108..b48e4cd 100644 --- a/docs/files/src-admin-layout-class-settings.html +++ b/docs/files/src-admin-layout-class-settings.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-footnotes.html b/docs/files/src-footnotes.html index 117eb77..3412189 100644 --- a/docs/files/src-footnotes.html +++ b/docs/files/src-footnotes.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -177,7 +185,7 @@

                                                                                          Handles the deactivation of the plugin.

                                                                                          @@ -225,7 +233,7 @@

                                                                                          Begins execution of the plugin.

                                                                                          diff --git a/docs/files/src-includes-class-activator.html b/docs/files/src-includes-class-activator.html index deea9ce..6e118c0 100644 --- a/docs/files/src-includes-class-activator.html +++ b/docs/files/src-includes-class-activator.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-config.html b/docs/files/src-includes-class-config.html index 4cfbea2..090021a 100644 --- a/docs/files/src-includes-class-config.html +++ b/docs/files/src-includes-class-config.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-convert.html b/docs/files/src-includes-class-convert.html index 9f6dcea..23beda2 100644 --- a/docs/files/src-includes-class-convert.html +++ b/docs/files/src-includes-class-convert.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-core.html b/docs/files/src-includes-class-core.html index ff6be59..627b5ff 100644 --- a/docs/files/src-includes-class-core.html +++ b/docs/files/src-includes-class-core.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-deactivator.html b/docs/files/src-includes-class-deactivator.html index 242bdbe..6226463 100644 --- a/docs/files/src-includes-class-deactivator.html +++ b/docs/files/src-includes-class-deactivator.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-i18n.html b/docs/files/src-includes-class-i18n.html index 29e7f96..cbb1b27 100644 --- a/docs/files/src-includes-class-i18n.html +++ b/docs/files/src-includes-class-i18n.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-loader.html b/docs/files/src-includes-class-loader.html index ac4fd5d..26e7b10 100644 --- a/docs/files/src-includes-class-loader.html +++ b/docs/files/src-includes-class-loader.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-settings.html b/docs/files/src-includes-class-settings.html index 27c90b0..d6c8b6e 100644 --- a/docs/files/src-includes-class-settings.html +++ b/docs/files/src-includes-class-settings.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-includes-class-template.html b/docs/files/src-includes-class-template.html index 71c8ecc..0045895 100644 --- a/docs/files/src-includes-class-template.html +++ b/docs/files/src-includes-class-template.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-public-class-general.html b/docs/files/src-public-class-general.html index 3c64f89..8ee3c7a 100644 --- a/docs/files/src-public-class-general.html +++ b/docs/files/src-public-class-general.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-public-class-parser.html b/docs/files/src-public-class-parser.html index 02432b8..4f83375 100644 --- a/docs/files/src-public-class-parser.html +++ b/docs/files/src-public-class-parser.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-public-widget-class-base.html b/docs/files/src-public-widget-class-base.html index a2a0699..da1676d 100644 --- a/docs/files/src-public-widget-class-base.html +++ b/docs/files/src-public-widget-class-base.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-public-widget-class-reference-container.html b/docs/files/src-public-widget-class-reference-container.html index c2d14c9..edf4f81 100644 --- a/docs/files/src-public-widget-class-reference-container.html +++ b/docs/files/src-public-widget-class-reference-container.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/files/src-uninstall.html b/docs/files/src-uninstall.html index 3441964..5314f9a 100644 --- a/docs/files/src-uninstall.html +++ b/docs/files/src-uninstall.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/graphs/classes.html b/docs/graphs/classes.html index e5b0c99..46d29da 100644 --- a/docs/graphs/classes.html +++ b/docs/graphs/classes.html @@ -52,6 +52,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/index.html b/docs/index.html index 8ca895c..da68dc5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -77,7 +85,16 @@

                                                                                          Documentation

                                                                                          - +

                                                                                          + Packages + +

                                                                                          + +
                                                                                          +
                                                                                          Default
                                                                                          +
                                                                                          footnotes
                                                                                          +
                                                                                          +

                                                                                          Namespaces diff --git a/docs/indices/files.html b/docs/indices/files.html index 461f859..dece910 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -59,6 +59,14 @@

                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index 883310d..e8e6e7b 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -10,11 +10,6 @@ Search.appendIndex( "name": "__construct", "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", "url": "classes/footnotes-admin-Admin.html#method___construct" - }, { - "fqsen": "\\footnotes\\admin\\Admin\u003A\u003Aload_dependencies\u0028\u0029", - "name": "load_dependencies", - "summary": "Load\u0020the\u0020required\u0020admin\u002Dspecific\u0020dependencies.", - "url": "classes/footnotes-admin-Admin.html#method_load_dependencies" }, { "fqsen": "\\footnotes\\admin\\Admin\u003A\u003Aenqueue_styles\u0028\u0029", "name": "enqueue_styles", @@ -31,15 +26,10 @@ Search.appendIndex( "summary": "Appends\u0020the\u0020Plugin\u0020links\u0020for\u0020display\u0020in\u0020the\u0020dashboard\u0020Plugins\u0020page.", "url": "classes/footnotes-admin-Admin.html#method_action_links" }, { - "fqsen": "\\footnotes\\admin\\Admin\u003A\u003A\u0024plugin_name", - "name": "plugin_name", - "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", - "url": "classes/footnotes-admin-Admin.html#property_plugin_name" - }, { - "fqsen": "\\footnotes\\admin\\Admin\u003A\u003A\u0024version", - "name": "version", - "summary": "The\u0020version\u0020of\u0020this\u0020plugin.", - "url": "classes/footnotes-admin-Admin.html#property_version" + "fqsen": "\\footnotes\\admin\\Admin\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020admin\u002Dspecific\u0020dependencies.", + "url": "classes/footnotes-admin-Admin.html#method_load_dependencies" }, { "fqsen": "\\footnotes\\admin\\Admin\u003A\u003A\u0024wysiwyg", "name": "wysiwyg", @@ -50,11 +40,6 @@ Search.appendIndex( "name": "WYSIWYG", "summary": "Class\u0020providing\u0020WYSIWYG\u0020editor\u0020intergration\u0020for\u0020the\u0020plugin.", "url": "classes/footnotes-admin-WYSIWYG.html" - }, { - "fqsen": "\\footnotes\\admin\\WYSIWYG\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "Initialize\u0020the\u0020class\u0020and\u0020set\u0020its\u0020properties.", - "url": "classes/footnotes-admin-WYSIWYG.html#method___construct" }, { "fqsen": "\\footnotes\\admin\\WYSIWYG\u003A\u003Anew_visual_editor_button\u0028\u0029", "name": "new_visual_editor_button", @@ -75,11 +60,6 @@ Search.appendIndex( "name": "ajax_callback", "summary": "AJAX\u0020Callback\u0020function\u0020when\u0020the\u0020Footnotes\u0020Button\u0020is\u0020clicked.\u0020Either\u0020in\u0020the\u0020Plain\u0020text\u0020or\u0020Visual\u0020editor.", "url": "classes/footnotes-admin-WYSIWYG.html#method_ajax_callback" - }, { - "fqsen": "\\footnotes\\admin\\WYSIWYG\u003A\u003A\u0024plugin_name", - "name": "plugin_name", - "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", - "url": "classes/footnotes-admin-WYSIWYG.html#property_plugin_name" }, { "fqsen": "\\footnotes\\admin\\layout\\Engine", "name": "Engine", @@ -90,6 +70,26 @@ Search.appendIndex( "name": "get_priority", "summary": "Returns\u0020a\u0020Priority\u0020index.\u0020Lower\u0020numbers\u0020have\u0020a\u0020higher\u0020priority.", "url": "classes/footnotes-admin-layout-Engine.html#method_get_priority" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aregister_sub_page\u0028\u0029", + "name": "register_sub_page", + "summary": "Registers\u0020a\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Engine.html#method_register_sub_page" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aregister_sections\u0028\u0029", + "name": "register_sections", + "summary": "Registers\u0020all\u0020sections\u0020for\u0020a\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Engine.html#method_register_sections" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Adisplay_content\u0028\u0029", + "name": "display_content", + "summary": "Displays\u0020the\u0020content\u0020of\u0020specific\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Engine.html#method_display_content" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Adescription\u0028\u0029", + "name": "description", + "summary": "Output\u0020the\u0020description\u0020of\u0020a\u0020section.\u0020May\u0020be\u0020overwritten\u0020in\u0020any\u0020section.", + "url": "classes/footnotes-admin-layout-Engine.html#method_description" }, { "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aget_sub_page_slug\u0028\u0029", "name": "get_sub_page_slug", @@ -121,15 +121,50 @@ Search.appendIndex( "summary": "Returns\u0020an\u0020array\u0020describing\u0020a\u0020meta\u0020box.", "url": "classes/footnotes-admin-layout-Engine.html#method_add_meta_box" }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aregister_sub_page\u0028\u0029", - "name": "register_sub_page", - "summary": "Registers\u0020a\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Engine.html#method_register_sub_page" + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aload_setting\u0028\u0029", + "name": "load_setting", + "summary": "Loads\u0020a\u0020specified\u0020setting.", + "url": "classes/footnotes-admin-layout-Engine.html#method_load_setting" }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aregister_sections\u0028\u0029", - "name": "register_sections", - "summary": "Registers\u0020all\u0020sections\u0020for\u0020a\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Engine.html#method_register_sections" + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_text\u0028\u0029", + "name": "add_text", + "summary": "Returns\u0020a\u0020simple\u0020text\u0020inside\u0020a\u0020\u0027span\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_text" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_label\u0028\u0029", + "name": "add_label", + "summary": "Returns\u0020the\u0020HTML\u0020tag\u0020for\u0020a\u0020\u0027label\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_label" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_text_box\u0028\u0029", + "name": "add_text_box", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020text\u0020\u0027input\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_text_box" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_checkbox\u0028\u0029", + "name": "add_checkbox", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020checkbox\u0020\u0027input\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_checkbox" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_select_box\u0028\u0029", + "name": "add_select_box", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020\u0027select\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_select_box" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_textarea\u0028\u0029", + "name": "add_textarea", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020\u0027textarea\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_textarea" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_color_selection\u0028\u0029", + "name": "add_color_selection", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020text\u0020\u0027input\u0027\u0020element\u0020with\u0020the\u0020colour\u0020selection\nclass.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_color_selection" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_num_box\u0028\u0029", + "name": "add_num_box", + "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020numeric\u0020\u0027input\u0027\u0020element.", + "url": "classes/footnotes-admin-layout-Engine.html#method_add_num_box" }, { "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aregister_meta_boxes\u0028\u0029", "name": "register_meta_boxes", @@ -140,81 +175,26 @@ Search.appendIndex( "name": "append_scripts", "summary": "Append\u0020JavaScript\u0020and\u0020CSS\u0020files\u0020for\u0020specific\u0020sub\u002Dpage.", "url": "classes/footnotes-admin-layout-Engine.html#method_append_scripts" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Adisplay_content\u0028\u0029", - "name": "display_content", - "summary": "Displays\u0020the\u0020content\u0020of\u0020specific\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Engine.html#method_display_content" }, { "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Asave_settings\u0028\u0029", "name": "save_settings", "summary": "Save\u0020all\u0020plugin\u0020settings.", "url": "classes/footnotes-admin-layout-Engine.html#method_save_settings" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Adescription\u0028\u0029", - "name": "description", - "summary": "Output\u0020the\u0020description\u0020of\u0020a\u0020section.\u0020May\u0020be\u0020overwritten\u0020in\u0020any\u0020section.", - "url": "classes/footnotes-admin-layout-Engine.html#method_description" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aload_setting\u0028\u0029", - "name": "load_setting", - "summary": "Loads\u0020a\u0020specified\u0020setting.", - "url": "classes/footnotes-admin-layout-Engine.html#method_load_setting" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_text\u0028\u0029", - "name": "add_text", - "summary": "Returns\u0020a\u0020simple\u0020text\u0020inside\u0020HTML\u0020\u0060\u003Cspan\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_text" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_label\u0028\u0029", - "name": "add_label", - "summary": "Returns\u0020the\u0020HTML\u0020tag\u0020for\u0020an\u0020\u0060\u003Cinput\u003E\u0060\/\u0060\u003Cselect\u003E\u0060\u0020label.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_label" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_text_box\u0028\u0029", - "name": "add_text_box", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020text\u0020\u0060\u003Cinput\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_text_box" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_checkbox\u0028\u0029", - "name": "add_checkbox", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020checkbox\u0020\u0060\u003Cinput\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_checkbox" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_select_box\u0028\u0029", - "name": "add_select_box", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020\u0060\u003Cselect\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_select_box" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_textarea\u0028\u0029", - "name": "add_textarea", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020\u0060\u003Ctextarea\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_textarea" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_color_selection\u0028\u0029", - "name": "add_color_selection", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020a\u0020text\u0020\u0060\u003Cinput\u003E\u0060\u0020element\u0020with\u0020the\u0020colour\u0020selection\nclass.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_color_selection" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003Aadd_num_box\u0028\u0029", - "name": "add_num_box", - "summary": "Constructs\u0020the\u0020HTML\u0020for\u0020numeric\u0020\u0060\u003Cinput\u003E\u0060\u0020element.", - "url": "classes/footnotes-admin-layout-Engine.html#method_add_num_box" }, { "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003A\u0024plugin_name", "name": "plugin_name", "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", "url": "classes/footnotes-admin-layout-Engine.html#property_plugin_name" }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003A\u0024a_str_sub_page_hook", - "name": "a_str_sub_page_hook", + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003A\u0024sub_page_hook", + "name": "sub_page_hook", "summary": "Stores\u0020the\u0020Hook\u0020connection\u0020string\u0020for\u0020the\u0020child\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Engine.html#property_a_str_sub_page_hook" + "url": "classes/footnotes-admin-layout-Engine.html#property_sub_page_hook" }, { - "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003A\u0024a_arr_sections", - "name": "a_arr_sections", + "fqsen": "\\footnotes\\admin\\layout\\Engine\u003A\u003A\u0024sections", + "name": "sections", "summary": "Stores\u0020all\u0020Sections\u0020for\u0020the\u0020child\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Engine.html#property_a_arr_sections" + "url": "classes/footnotes-admin-layout-Engine.html#property_sections" }, { "fqsen": "\\footnotes\\admin\\layout\\Init", "name": "Init", @@ -225,11 +205,6 @@ Search.appendIndex( "name": "__construct", "summary": "Initializes\u0020all\u0020WordPress\u0020hooks\u0020for\u0020the\u0020Plugin\u0020Settings.", "url": "classes/footnotes-admin-layout-Init.html#method___construct" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003Aload_dependencies\u0028\u0029", - "name": "load_dependencies", - "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020the\u0020layouts\u0020pages.", - "url": "classes/footnotes-admin-layout-Init.html#method_load_dependencies" }, { "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003Ainitialize_settings\u0028\u0029", "name": "initialize_settings", @@ -246,20 +221,20 @@ Search.appendIndex( "summary": "AJAX\u0020call.\u0020returns\u0020a\u0020JSON\u0020string\u0020containing\u0020meta\u0020information\u0020about\u0020a\u0020specific\u0020WordPress\u0020Plugin.", "url": "classes/footnotes-admin-layout-Init.html#method_get_plugin_meta_information" }, { - "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003AC_STR_MAIN_MENU_SLUG", - "name": "C_STR_MAIN_MENU_SLUG", + "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020the\u0020layouts\u0020pages.", + "url": "classes/footnotes-admin-layout-Init.html#method_load_dependencies" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003AMAIN_MENU_SLUG", + "name": "MAIN_MENU_SLUG", "summary": "Slug\u0020for\u0020the\u0020Plugin\u0020main\u0020menu.", - "url": "classes/footnotes-admin-layout-Init.html#constant_C_STR_MAIN_MENU_SLUG" + "url": "classes/footnotes-admin-layout-Init.html#constant_MAIN_MENU_SLUG" }, { - "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003A\u0024plugin_name", - "name": "plugin_name", - "summary": "The\u0020ID\u0020of\u0020this\u0020plugin.", - "url": "classes/footnotes-admin-layout-Init.html#property_plugin_name" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003A\u0024settings_page", - "name": "settings_page", + "fqsen": "\\footnotes\\admin\\layout\\Init\u003A\u003A\u0024settings", + "name": "settings", "summary": "Contains\u0020the\u0020settings\u0020page.", - "url": "classes/footnotes-admin-layout-Init.html#property_settings_page" + "url": "classes/footnotes-admin-layout-Init.html#property_settings" }, { "fqsen": "\\footnotes\\admin\\layout\\Settings", "name": "Settings", @@ -275,26 +250,6 @@ Search.appendIndex( "name": "get_priority", "summary": "Returns\u0020a\u0020priority\u0020index.", "url": "classes/footnotes-admin-layout-Settings.html#method_get_priority" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sub_page_slug\u0028\u0029", - "name": "get_sub_page_slug", - "summary": "Returns\u0020the\u0020unique\u0020slug\u0020of\u0020the\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Settings.html#method_get_sub_page_slug" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sub_page_title\u0028\u0029", - "name": "get_sub_page_title", - "summary": "Returns\u0020the\u0020title\u0020of\u0020the\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Settings.html#method_get_sub_page_title" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sections\u0028\u0029", - "name": "get_sections", - "summary": "Returns\u0020an\u0020array\u0020of\u0020all\u0020registered\u0020sections\u0020for\u0020the\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Settings.html#method_get_sections" - }, { - "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_meta_boxes\u0028\u0029", - "name": "get_meta_boxes", - "summary": "Returns\u0020an\u0020array\u0020of\u0020all\u0020registered\u0020meta\u0020boxes\u0020for\u0020each\u0020section\u0020of\u0020the\u0020sub\u002Dpage.", - "url": "classes/footnotes-admin-layout-Settings.html#method_get_meta_boxes" }, { "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aamp_compat\u0028\u0029", "name": "amp_compat", @@ -406,15 +361,35 @@ Search.appendIndex( "summary": "Displays\u0020available\u0020Hooks\u0020to\u0020look\u0020for\u0020Footnote\u0020short\u0020codes.", "url": "classes/footnotes-admin-layout-Settings.html#method_lookup_hooks" }, { - "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003AHelp\u0028\u0029", - "name": "Help", + "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Ahelp\u0028\u0029", + "name": "help", "summary": "Displays\u0020a\u0020short\u0020introduction\u0020to\u0020the\u0020plugin.", - "url": "classes/footnotes-admin-layout-Settings.html#method_Help" + "url": "classes/footnotes-admin-layout-Settings.html#method_help" }, { "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Adonate\u0028\u0029", "name": "donate", "summary": "Displays\u0020all\u0020Donate\u0020button\u0020to\u0020support\u0020the\u0020developers.", "url": "classes/footnotes-admin-layout-Settings.html#method_donate" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sub_page_slug\u0028\u0029", + "name": "get_sub_page_slug", + "summary": "Returns\u0020the\u0020unique\u0020slug\u0020of\u0020the\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Settings.html#method_get_sub_page_slug" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sub_page_title\u0028\u0029", + "name": "get_sub_page_title", + "summary": "Returns\u0020the\u0020title\u0020of\u0020the\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Settings.html#method_get_sub_page_title" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_sections\u0028\u0029", + "name": "get_sections", + "summary": "Returns\u0020an\u0020array\u0020of\u0020all\u0020registered\u0020sections\u0020for\u0020the\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Settings.html#method_get_sections" + }, { + "fqsen": "\\footnotes\\admin\\layout\\Settings\u003A\u003Aget_meta_boxes\u0028\u0029", + "name": "get_meta_boxes", + "summary": "Returns\u0020an\u0020array\u0020of\u0020all\u0020registered\u0020meta\u0020boxes\u0020for\u0020each\u0020section\u0020of\u0020the\u0020sub\u002Dpage.", + "url": "classes/footnotes-admin-layout-Settings.html#method_get_meta_boxes" }, { "fqsen": "\\footnotes\\activate_footnotes\u0028\u0029", "name": "activate_footnotes", @@ -446,30 +421,30 @@ Search.appendIndex( "summary": "Class\u0020defining\u0020plugin\u0020constants.", "url": "classes/footnotes-includes-Config.html" }, { - "fqsen": "\\footnotes\\includes\\Config\u003A\u003AC_STR_PLUGIN_PUBLIC_NAME", - "name": "C_STR_PLUGIN_PUBLIC_NAME", + "fqsen": "\\footnotes\\includes\\Config\u003A\u003APLUGIN_PUBLIC_NAME", + "name": "PLUGIN_PUBLIC_NAME", "summary": "Public\u0020plugin\u0020name.", - "url": "classes/footnotes-includes-Config.html#constant_C_STR_PLUGIN_PUBLIC_NAME" + "url": "classes/footnotes-includes-Config.html#constant_PLUGIN_PUBLIC_NAME" }, { - "fqsen": "\\footnotes\\includes\\Config\u003A\u003AC_STR_PLUGIN_HEADING_NAME", - "name": "C_STR_PLUGIN_HEADING_NAME", + "fqsen": "\\footnotes\\includes\\Config\u003A\u003APLUGIN_HEADING_NAME", + "name": "PLUGIN_HEADING_NAME", "summary": "Public\u0020plugin\u0020name\u0020for\u0020use\u0020as\u0020a\u0020dashboard\u0020heading.", - "url": "classes/footnotes-includes-Config.html#constant_C_STR_PLUGIN_HEADING_NAME" + "url": "classes/footnotes-includes-Config.html#constant_PLUGIN_HEADING_NAME" }, { - "fqsen": "\\footnotes\\includes\\Config\u003A\u003AC_STR_LOVE_SYMBOL", - "name": "C_STR_LOVE_SYMBOL", + "fqsen": "\\footnotes\\includes\\Config\u003A\u003ALOVE_SYMBOL", + "name": "LOVE_SYMBOL", "summary": "HTML\u0020element\u0020for\u0020the\u0020\u2018love\u2019\u0020symbol.", - "url": "classes/footnotes-includes-Config.html#constant_C_STR_LOVE_SYMBOL" + "url": "classes/footnotes-includes-Config.html#constant_LOVE_SYMBOL" }, { - "fqsen": "\\footnotes\\includes\\Config\u003A\u003AC_STR_LOVE_SYMBOL_HEADING", - "name": "C_STR_LOVE_SYMBOL_HEADING", + "fqsen": "\\footnotes\\includes\\Config\u003A\u003ALOVE_SYMBOL_HEADING", + "name": "LOVE_SYMBOL_HEADING", "summary": "HTML\u0020element\u0020for\u0020the\u0020\u2018love\u2019\u0020symbol\u0020used\u0020in\u0020dashboard\u0020heading", - "url": "classes/footnotes-includes-Config.html#constant_C_STR_LOVE_SYMBOL_HEADING" + "url": "classes/footnotes-includes-Config.html#constant_LOVE_SYMBOL_HEADING" }, { - "fqsen": "\\footnotes\\includes\\Config\u003A\u003AC_STR_NO_LOVE_SLUG", - "name": "C_STR_NO_LOVE_SLUG", + "fqsen": "\\footnotes\\includes\\Config\u003A\u003ANO_LOVE_SLUG", + "name": "NO_LOVE_SLUG", "summary": "Shortcode\u0020to\u0020NOT\u0020display\u0020the\u0020\u2018LOVE\u0020ME\u2019\u0020slug\u0020on\u0020certain\u0020pages.", - "url": "classes/footnotes-includes-Config.html#constant_C_STR_NO_LOVE_SLUG" + "url": "classes/footnotes-includes-Config.html#constant_NO_LOVE_SLUG" }, { "fqsen": "\\footnotes\\includes\\Convert", "name": "Convert", @@ -480,21 +455,6 @@ Search.appendIndex( "name": "index", "summary": "Converts\u0020an\u0020integer\u0020into\u0020the\u0020user\u002Ddefined\u0020counter\u0020style\u0020for\u0020the\u0020footnotes.", "url": "classes/footnotes-includes-Convert.html#method_index" - }, { - "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_latin\u0028\u0029", - "name": "to_latin", - "summary": "Converts\u0020an\u0020integer\u0020into\u0020Latin\u0020ASCII\u0020characters,\u0020either\u0020lower\u0020or\u0020upper\u002Dcase.", - "url": "classes/footnotes-includes-Convert.html#method_to_latin" - }, { - "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_arabic_leading\u0028\u0029", - "name": "to_arabic_leading", - "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020leading\u002D0\u0020integer.", - "url": "classes/footnotes-includes-Convert.html#method_to_arabic_leading" - }, { - "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_romanic\u0028\u0029", - "name": "to_romanic", - "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020Roman\u0020numeral.", - "url": "classes/footnotes-includes-Convert.html#method_to_romanic" }, { "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_bool\u0028\u0029", "name": "to_bool", @@ -510,6 +470,21 @@ Search.appendIndex( "name": "debug", "summary": "Displays\u0020a\u0020variable.", "url": "classes/footnotes-includes-Convert.html#method_debug" + }, { + "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_latin\u0028\u0029", + "name": "to_latin", + "summary": "Converts\u0020an\u0020integer\u0020into\u0020Latin\u0020ASCII\u0020characters,\u0020either\u0020lower\u0020or\u0020upper\u002Dcase.", + "url": "classes/footnotes-includes-Convert.html#method_to_latin" + }, { + "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_arabic_leading\u0028\u0029", + "name": "to_arabic_leading", + "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020leading\u002D0\u0020integer.", + "url": "classes/footnotes-includes-Convert.html#method_to_arabic_leading" + }, { + "fqsen": "\\footnotes\\includes\\Convert\u003A\u003Ato_roman\u0028\u0029", + "name": "to_roman", + "summary": "Converts\u0020an\u0020integer\u0020to\u0020a\u0020Roman\u0020numeral.", + "url": "classes/footnotes-includes-Convert.html#method_to_roman" }, { "fqsen": "\\footnotes\\includes\\Core", "name": "Core", @@ -520,26 +495,6 @@ Search.appendIndex( "name": "__construct", "summary": "Builds\u0020the\u0020core\u0020of\u0020the\u0020plugin.", "url": "classes/footnotes-includes-Core.html#method___construct" - }, { - "fqsen": "\\footnotes\\includes\\Core\u003A\u003Aload_dependencies\u0028\u0029", - "name": "load_dependencies", - "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020this\u0020plugin.", - "url": "classes/footnotes-includes-Core.html#method_load_dependencies" - }, { - "fqsen": "\\footnotes\\includes\\Core\u003A\u003Aset_locale\u0028\u0029", - "name": "set_locale", - "summary": "Define\u0020the\u0020locale\u0020for\u0020this\u0020plugin\u0020for\u0020internationalization.", - "url": "classes/footnotes-includes-Core.html#method_set_locale" - }, { - "fqsen": "\\footnotes\\includes\\Core\u003A\u003Adefine_admin_hooks\u0028\u0029", - "name": "define_admin_hooks", - "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020admin\u0020area\u0020functionality\u0020of\u0020the\nplugin.", - "url": "classes/footnotes-includes-Core.html#method_define_admin_hooks" - }, { - "fqsen": "\\footnotes\\includes\\Core\u003A\u003Adefine_public_hooks\u0028\u0029", - "name": "define_public_hooks", - "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020public\u002Dfacing\u0020functionality\u0020of\nthe\u0020plugin.", - "url": "classes/footnotes-includes-Core.html#method_define_public_hooks" }, { "fqsen": "\\footnotes\\includes\\Core\u003A\u003Arun\u0028\u0029", "name": "run", @@ -560,6 +515,26 @@ Search.appendIndex( "name": "get_version", "summary": "Gets\u0020the\u0020version\u0020number\u0020of\u0020the\u0020plugin.", "url": "classes/footnotes-includes-Core.html#method_get_version" + }, { + "fqsen": "\\footnotes\\includes\\Core\u003A\u003Aload_dependencies\u0028\u0029", + "name": "load_dependencies", + "summary": "Load\u0020the\u0020required\u0020dependencies\u0020for\u0020this\u0020plugin.", + "url": "classes/footnotes-includes-Core.html#method_load_dependencies" + }, { + "fqsen": "\\footnotes\\includes\\Core\u003A\u003Aset_locale\u0028\u0029", + "name": "set_locale", + "summary": "Define\u0020the\u0020locale\u0020for\u0020this\u0020plugin\u0020for\u0020internationalization.", + "url": "classes/footnotes-includes-Core.html#method_set_locale" + }, { + "fqsen": "\\footnotes\\includes\\Core\u003A\u003Adefine_admin_hooks\u0028\u0029", + "name": "define_admin_hooks", + "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020admin\u0020area\u0020functionality\u0020of\u0020the\nplugin.", + "url": "classes/footnotes-includes-Core.html#method_define_admin_hooks" + }, { + "fqsen": "\\footnotes\\includes\\Core\u003A\u003Adefine_public_hooks\u0028\u0029", + "name": "define_public_hooks", + "summary": "Register\u0020all\u0020of\u0020the\u0020hooks\u0020related\u0020to\u0020the\u0020public\u002Dfacing\u0020functionality\u0020of\nthe\u0020plugin.", + "url": "classes/footnotes-includes-Core.html#method_define_public_hooks" }, { "fqsen": "\\footnotes\\includes\\Core\u003A\u003A\u0024loader", "name": "loader", @@ -615,16 +590,16 @@ Search.appendIndex( "name": "add_filter", "summary": "Add\u0020a\u0020new\u0020filter\u0020to\u0020the\u0020collection\u0020to\u0020be\u0020registered\u0020with\u0020WordPress.", "url": "classes/footnotes-includes-Loader.html#method_add_filter" - }, { - "fqsen": "\\footnotes\\includes\\Loader\u003A\u003Aadd\u0028\u0029", - "name": "add", - "summary": "A\u0020utility\u0020function\u0020that\u0020is\u0020used\u0020to\u0020register\u0020the\u0020actions\u0020and\u0020hooks\u0020into\u0020a\u0020single\ncollection.", - "url": "classes/footnotes-includes-Loader.html#method_add" }, { "fqsen": "\\footnotes\\includes\\Loader\u003A\u003Arun\u0028\u0029", "name": "run", "summary": "Registers\u0020the\u0020filters\u0020and\u0020actions\u0020with\u0020WordPress.", "url": "classes/footnotes-includes-Loader.html#method_run" + }, { + "fqsen": "\\footnotes\\includes\\Loader\u003A\u003Aadd\u0028\u0029", + "name": "add", + "summary": "A\u0020utility\u0020function\u0020that\u0020is\u0020used\u0020to\u0020register\u0020the\u0020actions\u0020and\u0020hooks\u0020into\u0020a\u0020single\ncollection.", + "url": "classes/footnotes-includes-Loader.html#method_add" }, { "fqsen": "\\footnotes\\includes\\Loader\u003A\u003A\u0024actions", "name": "actions", @@ -645,11 +620,6 @@ Search.appendIndex( "name": "__construct", "summary": "Loads\u0020all\u0020Settings\u0020from\u0020each\u0020WordPress\u0020Settings\u0020Container.", "url": "classes/footnotes-includes-Settings.html#method___construct" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Ainstance\u0028\u0029", - "name": "instance", - "summary": "Returns\u0020a\u0020singleton\u0020of\u0020this\u0020class.", - "url": "classes/footnotes-includes-Settings.html#method_instance" }, { "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Aget_container\u0028\u0029", "name": "get_container", @@ -660,16 +630,6 @@ Search.appendIndex( "name": "get_defaults", "summary": "Returns\u0020the\u0020default\u0020value\u0028s\u0029\u0020of\u0020a\u0020specific\u0020Settings\u0020Container.", "url": "classes/footnotes-includes-Settings.html#method_get_defaults" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Aload_all\u0028\u0029", - "name": "load_all", - "summary": "Loads\u0020all\u0020Settings\u0020from\u0020each\u0020Settings\u0020container.", - "url": "classes/footnotes-includes-Settings.html#method_load_all" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Aload\u0028\u0029", - "name": "load", - "summary": "Loads\u0020all\u0020settings\u0020from\u0020specified\u0020Settings\u0020Containers.", - "url": "classes/footnotes-includes-Settings.html#method_load" }, { "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Asave_options\u0028\u0029", "name": "save_options", @@ -686,545 +646,555 @@ Search.appendIndex( "summary": "Register\u0020all\u0020Settings\u0020Containers\u0020for\u0020the\u0020plugin\u0020Settings\u0020Page\u0020in\u0020the\u0020Dashboard.", "url": "classes/footnotes-includes-Settings.html#method_register_settings" }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_NAME", - "name": "C_STR_REFERENCE_CONTAINER_NAME", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020label\u0020of\u0020the\u0020reference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_NAME" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_COLLAPSE", - "name": "C_STR_REFERENCE_CONTAINER_COLLAPSE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020collapse\u0020the\u0020reference\u0020container\u0020by\u0020default.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_COLLAPSE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_POSITION", - "name": "C_STR_REFERENCE_CONTAINER_POSITION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020position\u0020of\u0020the\u0020reference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_POSITION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_COMBINE_IDENTICAL_FOOTNOTES", - "name": "C_STR_COMBINE_IDENTICAL_FOOTNOTES", - "summary": "Settings\u0020container\u0020key\u0020for\u0020combining\u0020identical\u0020footnotes.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_COMBINE_IDENTICAL_FOOTNOTES" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_SHORT_CODE_START", - "name": "C_STR_FOOTNOTES_SHORT_CODE_START", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020short\u0020code\u0020of\u0020the\u0020footnote\u0027s\u0020start.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_SHORT_CODE_START" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_SHORT_CODE_END", - "name": "C_STR_FOOTNOTES_SHORT_CODE_END", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020short\u0020code\u0020of\u0020the\u0020footnote\u0027s\u0020end.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_SHORT_CODE_END" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED", - "name": "C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020short\u0020code\u0020of\u0020the\u0020footnotes\u0020start.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED", - "name": "C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020short\u0020code\u0020of\u0020the\u0020footnotes\u0020end.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_COUNTER_STYLE", - "name": "C_STR_FOOTNOTES_COUNTER_STYLE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020counter\u0020style\u0020of\u0020the\u0020footnotes.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_COUNTER_STYLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_HYPERLINK_ARROW", - "name": "C_STR_HYPERLINK_ARROW", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020symbol\u0020selection.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_HYPERLINK_ARROW" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_HYPERLINK_ARROW_USER_DEFINED", - "name": "C_STR_HYPERLINK_ARROW_USER_DEFINED", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020backlink\u0020symbol.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_HYPERLINK_ARROW_USER_DEFINED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_IN_EXCERPT", - "name": "C_STR_FOOTNOTES_IN_EXCERPT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020look\u0020for\u0020footnotes\u0020in\u0020post\u0020excerpts.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_IN_EXCERPT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_STYLING_BEFORE", - "name": "C_STR_FOOTNOTES_STYLING_BEFORE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020string\u0020before\u0020the\u0020footnote\u0020referrer.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_STYLING_BEFORE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_STYLING_AFTER", - "name": "C_STR_FOOTNOTES_STYLING_AFTER", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020string\u0020after\u0020the\u0020footnote\u0020referrer.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_STYLING_AFTER" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_CUSTOM_CSS", - "name": "C_STR_CUSTOM_CSS", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Custom\u0020CSS.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_CUSTOM_CSS" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_LOVE", - "name": "C_STR_FOOTNOTES_LOVE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020\u2018I\u0020love\u0020footnotes\u2019\u0020text.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_LOVE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020mouse\u002Dover\u0020box.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020tooltip\u0020truncation.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020max.\u0020length\u0020of\nthe\u0020enabled\u0020excerpt.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_EXPERT_LOOKUP_THE_TITLE", - "name": "C_STR_EXPERT_LOOKUP_THE_TITLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_title\u0060\u0020hook.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_EXPERT_LOOKUP_THE_TITLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_EXPERT_LOOKUP_THE_CONTENT", - "name": "C_STR_EXPERT_LOOKUP_THE_CONTENT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_content\u0060\u0020hook.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_EXPERT_LOOKUP_THE_CONTENT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_EXPERT_LOOKUP_THE_EXCERPT", - "name": "C_STR_EXPERT_LOOKUP_THE_EXCERPT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_excerpt\u0060\u0020hook.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_EXPERT_LOOKUP_THE_EXCERPT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_EXPERT_LOOKUP_WIDGET_TITLE", - "name": "C_STR_EXPERT_LOOKUP_WIDGET_TITLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060widget_title\u0060\u0020hook.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_EXPERT_LOOKUP_WIDGET_TITLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_EXPERT_LOOKUP_WIDGET_TEXT", - "name": "C_STR_EXPERT_LOOKUP_WIDGET_TEXT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060widget_text\u0060\u0020hook.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_EXPERT_LOOKUP_WIDGET_TEXT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_EXPERT_MODE", - "name": "C_STR_FOOTNOTES_EXPERT_MODE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Expert\u0020mode.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_EXPERT_MODE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020color.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020background\u0020color.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020width.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020color.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020radius.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020max.\u0020width.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020position.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020_x_\u002Doffset.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y", - "name": "C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020_y_\u002Doffset.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020box\u002Dshadow\u0020color.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_TOOLTIP_READON_LABEL", - "name": "C_STR_FOOTNOTES_TOOLTIP_READON_LABEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020label\u0020of\u0020the\u0020Read\u002Don\u0020button\u0020in\u0020truncated\u0020tooltips.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_TOOLTIP_READON_LABEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE", - "name": "C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020alternative\u0020tooltips.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS", - "name": "C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020referrer\u0020element.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE", - "name": "C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020display\u0020of\u0020a\u0020backlink\u0020symbol.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE", - "name": "C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020not\u0020display\u0020the\u0020reference\u0020container\u0020on\u0020the\u0020homepage.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_START_PAGE_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE", - "name": "C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020legacy\u0020layout\u0020of\u0020the\u0020reference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH", - "name": "C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH", - "summary": "Settings\u0020container\u0020key\u0020to\u0020get\u0020the\u0020backlink\u0020symbol\u0020switch\u0020side.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL", - "name": "C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_content\u0060\u0020hook\u0020priority\u0020level.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL", - "name": "C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_title\u0060\u0020hook\u0020priority\u0020level.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL", - "name": "C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060widget_title\u0060\u0020hook\u0020priority\u0020level.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL", - "name": "C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060widget_text\u0060\u0020hook\u0020priority\u0020level.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL", - "name": "C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL", - "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_excerpt\u0060\u0020hook\u0020priority\u0020level.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_LINK_ELEMENT_ENABLED", - "name": "C_STR_LINK_ELEMENT_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020link\u0020element\u0020option.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_LINK_ELEMENT_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_SEPARATOR_ENABLED", - "name": "C_STR_BACKLINKS_SEPARATOR_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020presence\u0020of\u0020a\u0020backlink\u0020separator.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_SEPARATOR_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_SEPARATOR_OPTION", - "name": "C_STR_BACKLINKS_SEPARATOR_OPTION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020separator\u0020options.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_SEPARATOR_OPTION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_SEPARATOR_CUSTOM", - "name": "C_STR_BACKLINKS_SEPARATOR_CUSTOM", - "summary": "Settings\u0020container\u0020key\u0020for\u0020a\u0020custom\u0020backlink\u0020separator.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_SEPARATOR_CUSTOM" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_TERMINATOR_ENABLED", - "name": "C_STR_BACKLINKS_TERMINATOR_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020presence\u0020of\u0020a\u0020backlink\u0020terminator.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_TERMINATOR_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_TERMINATOR_OPTION", - "name": "C_STR_BACKLINKS_TERMINATOR_OPTION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020terminator\u0020options.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_TERMINATOR_OPTION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_TERMINATOR_CUSTOM", - "name": "C_STR_BACKLINKS_TERMINATOR_CUSTOM", - "summary": "Settings\u0020container\u0020key\u0020for\u0020a\u0020custom\u0020backlink\u0020terminator.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_TERMINATOR_CUSTOM" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_COLUMN_WIDTH_ENABLED", - "name": "C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020backlinks\u0020column\u0020width.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_COLUMN_WIDTH_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_BACKLINKS_COLUMN_WIDTH_SCALAR", - "name": "C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020width\u0020scalar.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_COLUMN_WIDTH_UNIT", - "name": "C_STR_BACKLINKS_COLUMN_WIDTH_UNIT", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020width\u0020unit.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_COLUMN_WIDTH_UNIT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED", - "name": "C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020a\u0020max\u0020width\u0020for\u0020the\u0020backlinks\u0020column.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR", - "name": "C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020max\u0020width\u0020scalar.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT", - "name": "C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020max\u0020width\u0020unit.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_BACKLINKS_LINE_BREAKS_ENABLED", - "name": "C_STR_BACKLINKS_LINE_BREAKS_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020line\u0020breaks\u0020between\u0020backlinks.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_BACKLINKS_LINE_BREAKS_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED", - "name": "C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020setting\u0020the\u0020tooltip\u0020font\u0020size.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR", - "name": "C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020scalar\u0020value\u0020of\u0020the\u0020tooltip\u0020font\u0020size.", - "url": "classes/footnotes-includes-Settings.html#constant_C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT", - "name": "C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020unit\u0020of\u0020the\u0020tooltip\u0020font\u0020size.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT", - "name": "C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT", - "summary": "Settings\u0020container\u0020key\u0020for\u0020basic\u0020responsive\u0020page\u0020layout\u0020support\u0020options.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_SCROLL_OFFSET", - "name": "C_INT_FOOTNOTES_SCROLL_OFFSET", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020offset.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_SCROLL_OFFSET" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_SCROLL_DURATION", - "name": "C_INT_FOOTNOTES_SCROLL_DURATION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020duration.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_SCROLL_DURATION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_MOUSE_OVER_BOX_FADE_IN_DELAY", - "name": "C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY", - "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Din\u0020delay.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_MOUSE_OVER_BOX_FADE_IN_DURATION", - "name": "C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Din\u0020duration.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY", - "name": "C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY", - "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Dout\u0020delay.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION", - "name": "C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Dout\u0020duration.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTE_URL_WRAP_ENABLED", - "name": "C_STR_FOOTNOTE_URL_WRAP_ENABLED", - "summary": "Settings\u0020container\u0020key\u0020for\u0020URL\u0020wrap\u0020option.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTE_URL_WRAP_ENABLED" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE", - "name": "C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020position\u0020shortcode.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_CUSTOM_CSS_NEW", - "name": "C_STR_CUSTOM_CSS_NEW", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Custom\u0020CSS\u0020migrated\u0020to\u0020a\u0020dedicated\u0020tab.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_CUSTOM_CSS_NEW" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_CUSTOM_CSS_LEGACY_ENABLE", - "name": "C_STR_CUSTOM_CSS_LEGACY_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020display\u0020of\u0020legacy\u0020Custom\u0020CSS\u0020metaboxes.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_CUSTOM_CSS_LEGACY_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION", - "name": "C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020position.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X", - "name": "C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X", - "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020_x_\u002Doffset.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y", - "name": "C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y", - "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020_y_\u002Doffset.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH", - "name": "C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH", - "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020width.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_LABEL_ELEMENT", - "name": "C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020reference\u0020container\u0020label\u0020element.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER", - "name": "C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020reference\u0020container\u0020label\u0020bottom\u0020border.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE", - "name": "C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020reference\u0020container\u0020table\u0020row\u0020borders.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_REFERENCE_CONTAINER_TOP_MARGIN", - "name": "C_INT_REFERENCE_CONTAINER_TOP_MARGIN", - "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020top\u0020margin.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_REFERENCE_CONTAINER_TOP_MARGIN" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN", - "name": "C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN", - "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020bottom\u0020margin.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_HARD_LINKS_ENABLE", - "name": "C_STR_FOOTNOTES_HARD_LINKS_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020hard\u0020links.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_HARD_LINKS_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_REFERRER_FRAGMENT_ID_SLUG", - "name": "C_STR_REFERRER_FRAGMENT_ID_SLUG", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020fragment\u0020ID\u0020slug\u0020in\u0020referrers.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_REFERRER_FRAGMENT_ID_SLUG" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTE_FRAGMENT_ID_SLUG", - "name": "C_STR_FOOTNOTE_FRAGMENT_ID_SLUG", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020fragment\u0020ID\u0020slug\u0020in\u0020footnotes.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTE_FRAGMENT_ID_SLUG" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_HARD_LINK_IDS_SEPARATOR", - "name": "C_STR_HARD_LINK_IDS_SEPARATOR", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020ID\u0020separator\u0020in\u0020fragment\u0020IDs.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_HARD_LINK_IDS_SEPARATOR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE", - "name": "C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020shortcode\u0020syntax\u0020validation.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE", - "name": "C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020backlink\u0020tooltips.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT", - "name": "C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020backlink\u0020tooltip.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_BACKLINK_TOOLTIP_TEXT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER", - "name": "C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER", - "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020tooltip\u0020excerpt\u0020delimiter.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE", - "name": "C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020mirroring\u0020the\u0020tooltip\u0020excerpt\u0020in\u0020the\nreference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR", - "name": "C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR", - "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020tooltip\u0020excerpt\u0020separator\u0020in\u0020the\nreference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT", - "name": "C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020superscript\u0020style\u0020normalization.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE", - "name": "C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020select\u0020the\u0020script\u0020mode\u0020for\u0020the\u0020reference\u0020container.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE", - "name": "C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020AMP\u0020compatibility\u0020mode.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY", - "name": "C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020duration\u0020asymmetricity.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_SCROLL_DOWN_DURATION", - "name": "C_INT_FOOTNOTES_SCROLL_DOWN_DURATION", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Ddown\u0020duration.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_SCROLL_DOWN_DURATION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_SCROLL_DOWN_DELAY", - "name": "C_INT_FOOTNOTES_SCROLL_DOWN_DELAY", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Ddown\u0020delay.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_SCROLL_DOWN_DELAY" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_INT_FOOTNOTES_SCROLL_UP_DELAY", - "name": "C_INT_FOOTNOTES_SCROLL_UP_DELAY", - "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Dup\u0020delay.", - "url": "classes/footnotes-includes-Settings.html#constant_C_INT_FOOTNOTES_SCROLL_UP_DELAY" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION", - "name": "C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION", - "summary": "Settings\u0020container\u0020key\u0020to\u0020set\u0020the\u0020solution\u0020of\u0020the\u0020input\u0020element\u0020label\u0020issue.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING", - "name": "C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING", - "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020CSS\u0020smooth\u0020scrolling.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AC_STR_FOOTNOTE_SECTION_SHORTCODE", - "name": "C_STR_FOOTNOTE_SECTION_SHORTCODE", - "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020footnote\u0020section\u0020shortcode.", - "url": "classes/footnotes-includes-Settings.html#constant_C_STR_FOOTNOTE_SECTION_SHORTCODE" - }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024a_obj_instance", - "name": "a_obj_instance", + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024instance", + "name": "instance", "summary": "Stores\u0020a\u0020singleton\u0020reference\u0020of\u0020this\u0020class.", - "url": "classes/footnotes-includes-Settings.html#property_a_obj_instance" + "url": "classes/footnotes-includes-Settings.html#property_instance" }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024a_arr_container", - "name": "a_arr_container", + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Aload_all\u0028\u0029", + "name": "load_all", + "summary": "Loads\u0020all\u0020Settings\u0020from\u0020each\u0020Settings\u0020container.", + "url": "classes/footnotes-includes-Settings.html#method_load_all" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003Aload\u0028\u0029", + "name": "load", + "summary": "Loads\u0020all\u0020settings\u0020from\u0020specified\u0020Settings\u0020Containers.", + "url": "classes/footnotes-includes-Settings.html#method_load" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_NAME", + "name": "REFERENCE_CONTAINER_NAME", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020label\u0020of\u0020the\u0020reference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_NAME" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_COLLAPSE", + "name": "REFERENCE_CONTAINER_COLLAPSE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020collapse\u0020the\u0020reference\u0020container\u0020by\u0020default.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_COLLAPSE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_POSITION", + "name": "REFERENCE_CONTAINER_POSITION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020position\u0020of\u0020the\u0020reference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_POSITION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ACOMBINE_IDENTICAL_FOOTNOTES", + "name": "COMBINE_IDENTICAL_FOOTNOTES", + "summary": "Settings\u0020container\u0020key\u0020for\u0020combining\u0020identical\u0020footnotes.", + "url": "classes/footnotes-includes-Settings.html#constant_COMBINE_IDENTICAL_FOOTNOTES" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SHORT_CODE_START", + "name": "FOOTNOTES_SHORT_CODE_START", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020short\u0020code\u0020of\u0020the\u0020footnote\u0027s\u0020start.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SHORT_CODE_START" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SHORT_CODE_END", + "name": "FOOTNOTES_SHORT_CODE_END", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020short\u0020code\u0020of\u0020the\u0020footnote\u0027s\u0020end.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SHORT_CODE_END" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SHORT_CODE_START_USER_DEFINED", + "name": "FOOTNOTES_SHORT_CODE_START_USER_DEFINED", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020short\u0020code\u0020of\u0020the\u0020footnotes\u0020start.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SHORT_CODE_START_USER_DEFINED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SHORT_CODE_END_USER_DEFINED", + "name": "FOOTNOTES_SHORT_CODE_END_USER_DEFINED", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020short\u0020code\u0020of\u0020the\u0020footnotes\u0020end.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SHORT_CODE_END_USER_DEFINED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_COUNTER_STYLE", + "name": "FOOTNOTES_COUNTER_STYLE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020counter\u0020style\u0020of\u0020the\u0020footnotes.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_COUNTER_STYLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AHYPERLINK_ARROW", + "name": "HYPERLINK_ARROW", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020symbol\u0020selection.", + "url": "classes/footnotes-includes-Settings.html#constant_HYPERLINK_ARROW" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AHYPERLINK_ARROW_USER_DEFINED", + "name": "HYPERLINK_ARROW_USER_DEFINED", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020user\u002Ddefined\u0020backlink\u0020symbol.", + "url": "classes/footnotes-includes-Settings.html#constant_HYPERLINK_ARROW_USER_DEFINED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_IN_EXCERPT", + "name": "FOOTNOTES_IN_EXCERPT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020look\u0020for\u0020footnotes\u0020in\u0020post\u0020excerpts.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_IN_EXCERPT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_STYLING_BEFORE", + "name": "FOOTNOTES_STYLING_BEFORE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020string\u0020before\u0020the\u0020footnote\u0020referrer.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_STYLING_BEFORE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_STYLING_AFTER", + "name": "FOOTNOTES_STYLING_AFTER", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020string\u0020after\u0020the\u0020footnote\u0020referrer.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_STYLING_AFTER" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ACUSTOM_CSS", + "name": "CUSTOM_CSS", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Custom\u0020CSS.", + "url": "classes/footnotes-includes-Settings.html#constant_CUSTOM_CSS" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_LOVE", + "name": "FOOTNOTES_LOVE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020\u2018I\u0020love\u0020footnotes\u2019\u0020text.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_LOVE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_ENABLED", + "name": "FOOTNOTES_MOUSE_OVER_BOX_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020mouse\u002Dover\u0020box.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED", + "name": "FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020tooltip\u0020truncation.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH", + "name": "FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020max.\u0020length\u0020of\nthe\u0020enabled\u0020excerpt.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_TITLE", + "name": "EXPERT_LOOKUP_THE_TITLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_title\u0060\u0020hook.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_TITLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_CONTENT", + "name": "EXPERT_LOOKUP_THE_CONTENT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_content\u0060\u0020hook.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_CONTENT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_EXCERPT", + "name": "EXPERT_LOOKUP_THE_EXCERPT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060the_excerpt\u0060\u0020hook.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_EXCERPT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_WIDGET_TITLE", + "name": "EXPERT_LOOKUP_WIDGET_TITLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060widget_title\u0060\u0020hook.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_WIDGET_TITLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_WIDGET_TEXT", + "name": "EXPERT_LOOKUP_WIDGET_TEXT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020\u0060widget_text\u0060\u0020hook.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_WIDGET_TEXT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_EXPERT_MODE", + "name": "FOOTNOTES_EXPERT_MODE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Expert\u0020mode.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_EXPERT_MODE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_COLOR", + "name": "FOOTNOTES_MOUSE_OVER_BOX_COLOR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020color.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_COLOR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_BACKGROUND", + "name": "FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020background\u0020color.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH", + "name": "FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020width.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR", + "name": "FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020color.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS", + "name": "FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020border\u0020radius.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH", + "name": "FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020max.\u0020width.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_POSITION", + "name": "FOOTNOTES_MOUSE_OVER_BOX_POSITION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020position.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_POSITION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_OFFSET_X", + "name": "FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020_x_\u002Doffset.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y", + "name": "FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020_y_\u002Doffset.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR", + "name": "FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020mouse\u002Dover\u0020box\u0020to\u0020define\u0020the\u0020box\u002Dshadow\u0020color.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_TOOLTIP_READON_LABEL", + "name": "FOOTNOTES_TOOLTIP_READON_LABEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020label\u0020of\u0020the\u0020Read\u002Don\u0020button\u0020in\u0020truncated\u0020tooltips.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_TOOLTIP_READON_LABEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE", + "name": "FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020alternative\u0020tooltips.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_REFERRER_SUPERSCRIPT_TAGS", + "name": "FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020referrer\u0020element.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE", + "name": "REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020display\u0020of\u0020a\u0020backlink\u0020symbol.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_START_PAGE_ENABLE", + "name": "REFERENCE_CONTAINER_START_PAGE_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020not\u0020display\u0020the\u0020reference\u0020container\u0020on\u0020the\u0020homepage.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_START_PAGE_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE", + "name": "REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020legacy\u0020layout\u0020of\u0020the\u0020reference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH", + "name": "REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH", + "summary": "Settings\u0020container\u0020key\u0020to\u0020get\u0020the\u0020backlink\u0020symbol\u0020switch\u0020side.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL", + "name": "EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_content\u0060\u0020hook\u0020priority\u0020level.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL", + "name": "EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_title\u0060\u0020hook\u0020priority\u0020level.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL", + "name": "EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060widget_title\u0060\u0020hook\u0020priority\u0020level.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL", + "name": "EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060widget_text\u0060\u0020hook\u0020priority\u0020level.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AEXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL", + "name": "EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL", + "summary": "Settings\u0020container\u0020key\u0020for\u0020\u0060the_excerpt\u0060\u0020hook\u0020priority\u0020level.", + "url": "classes/footnotes-includes-Settings.html#constant_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ALINK_ELEMENT_ENABLED", + "name": "LINK_ELEMENT_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020link\u0020element\u0020option.", + "url": "classes/footnotes-includes-Settings.html#constant_LINK_ELEMENT_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_SEPARATOR_ENABLED", + "name": "BACKLINKS_SEPARATOR_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020presence\u0020of\u0020a\u0020backlink\u0020separator.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_SEPARATOR_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_SEPARATOR_OPTION", + "name": "BACKLINKS_SEPARATOR_OPTION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020separator\u0020options.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_SEPARATOR_OPTION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_SEPARATOR_CUSTOM", + "name": "BACKLINKS_SEPARATOR_CUSTOM", + "summary": "Settings\u0020container\u0020key\u0020for\u0020a\u0020custom\u0020backlink\u0020separator.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_SEPARATOR_CUSTOM" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_TERMINATOR_ENABLED", + "name": "BACKLINKS_TERMINATOR_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020presence\u0020of\u0020a\u0020backlink\u0020terminator.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_TERMINATOR_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_TERMINATOR_OPTION", + "name": "BACKLINKS_TERMINATOR_OPTION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlink\u0020terminator\u0020options.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_TERMINATOR_OPTION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_TERMINATOR_CUSTOM", + "name": "BACKLINKS_TERMINATOR_CUSTOM", + "summary": "Settings\u0020container\u0020key\u0020for\u0020a\u0020custom\u0020backlink\u0020terminator.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_TERMINATOR_CUSTOM" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_WIDTH_ENABLED", + "name": "BACKLINKS_COLUMN_WIDTH_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020backlinks\u0020column\u0020width.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_WIDTH_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_WIDTH_SCALAR", + "name": "BACKLINKS_COLUMN_WIDTH_SCALAR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020width\u0020scalar.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_WIDTH_SCALAR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_WIDTH_UNIT", + "name": "BACKLINKS_COLUMN_WIDTH_UNIT", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020width\u0020unit.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_WIDTH_UNIT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_MAX_WIDTH_ENABLED", + "name": "BACKLINKS_COLUMN_MAX_WIDTH_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020a\u0020max\u0020width\u0020for\u0020the\u0020backlinks\u0020column.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_MAX_WIDTH_SCALAR", + "name": "BACKLINKS_COLUMN_MAX_WIDTH_SCALAR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020max\u0020width\u0020scalar.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_COLUMN_MAX_WIDTH_UNIT", + "name": "BACKLINKS_COLUMN_MAX_WIDTH_UNIT", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020backlinks\u0020column\u0020max\u0020width\u0020unit.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_COLUMN_MAX_WIDTH_UNIT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ABACKLINKS_LINE_BREAKS_ENABLED", + "name": "BACKLINKS_LINE_BREAKS_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020line\u0020breaks\u0020between\u0020backlinks.", + "url": "classes/footnotes-includes-Settings.html#constant_BACKLINKS_LINE_BREAKS_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FONT_SIZE_ENABLED", + "name": "MOUSE_OVER_BOX_FONT_SIZE_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020setting\u0020the\u0020tooltip\u0020font\u0020size.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FONT_SIZE_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FONT_SIZE_SCALAR", + "name": "MOUSE_OVER_BOX_FONT_SIZE_SCALAR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020scalar\u0020value\u0020of\u0020the\u0020tooltip\u0020font\u0020size.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FONT_SIZE_SCALAR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FONT_SIZE_UNIT", + "name": "MOUSE_OVER_BOX_FONT_SIZE_UNIT", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020unit\u0020of\u0020the\u0020tooltip\u0020font\u0020size.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FONT_SIZE_UNIT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_PAGE_LAYOUT_SUPPORT", + "name": "FOOTNOTES_PAGE_LAYOUT_SUPPORT", + "summary": "Settings\u0020container\u0020key\u0020for\u0020basic\u0020responsive\u0020page\u0020layout\u0020support\u0020options.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_PAGE_LAYOUT_SUPPORT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_OFFSET", + "name": "FOOTNOTES_SCROLL_OFFSET", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020offset.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_OFFSET" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_DURATION", + "name": "FOOTNOTES_SCROLL_DURATION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020duration.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_DURATION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FADE_IN_DELAY", + "name": "MOUSE_OVER_BOX_FADE_IN_DELAY", + "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Din\u0020delay.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FADE_IN_DELAY" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FADE_IN_DURATION", + "name": "MOUSE_OVER_BOX_FADE_IN_DURATION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Din\u0020duration.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FADE_IN_DURATION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FADE_OUT_DELAY", + "name": "MOUSE_OVER_BOX_FADE_OUT_DELAY", + "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Dout\u0020delay.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FADE_OUT_DELAY" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AMOUSE_OVER_BOX_FADE_OUT_DURATION", + "name": "MOUSE_OVER_BOX_FADE_OUT_DURATION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020tooltip\u0020display\u0020fade\u002Dout\u0020duration.", + "url": "classes/footnotes-includes-Settings.html#constant_MOUSE_OVER_BOX_FADE_OUT_DURATION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTE_URL_WRAP_ENABLED", + "name": "FOOTNOTE_URL_WRAP_ENABLED", + "summary": "Settings\u0020container\u0020key\u0020for\u0020URL\u0020wrap\u0020option.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTE_URL_WRAP_ENABLED" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_POSITION_SHORTCODE", + "name": "REFERENCE_CONTAINER_POSITION_SHORTCODE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020position\u0020shortcode.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_POSITION_SHORTCODE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ACUSTOM_CSS_NEW", + "name": "CUSTOM_CSS_NEW", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020Custom\u0020CSS\u0020migrated\u0020to\u0020a\u0020dedicated\u0020tab.", + "url": "classes/footnotes-includes-Settings.html#constant_CUSTOM_CSS_NEW" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003ACUSTOM_CSS_LEGACY_ENABLE", + "name": "CUSTOM_CSS_LEGACY_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020display\u0020of\u0020legacy\u0020Custom\u0020CSS\u0020metaboxes.", + "url": "classes/footnotes-includes-Settings.html#constant_CUSTOM_CSS_LEGACY_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION", + "name": "FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020position.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_POSITION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X", + "name": "FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X", + "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020_x_\u002Doffset.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y", + "name": "FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y", + "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020_y_\u002Doffset.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH", + "name": "FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH", + "summary": "Settings\u0020container\u0020key\u0020for\u0020alternative\u0020tooltip\u0020width.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_LABEL_ELEMENT", + "name": "REFERENCE_CONTAINER_LABEL_ELEMENT", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020reference\u0020container\u0020label\u0020element.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_LABEL_ELEMENT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_LABEL_BOTTOM_BORDER", + "name": "REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020the\u0020reference\u0020container\u0020label\u0020bottom\u0020border.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_ROW_BORDERS_ENABLE", + "name": "REFERENCE_CONTAINER_ROW_BORDERS_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020reference\u0020container\u0020table\u0020row\u0020borders.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_TOP_MARGIN", + "name": "REFERENCE_CONTAINER_TOP_MARGIN", + "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020top\u0020margin.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_TOP_MARGIN" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERENCE_CONTAINER_BOTTOM_MARGIN", + "name": "REFERENCE_CONTAINER_BOTTOM_MARGIN", + "summary": "Settings\u0020container\u0020key\u0020for\u0020reference\u0020container\u0020bottom\u0020margin.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERENCE_CONTAINER_BOTTOM_MARGIN" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_HARD_LINKS_ENABLE", + "name": "FOOTNOTES_HARD_LINKS_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020hard\u0020links.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_HARD_LINKS_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AREFERRER_FRAGMENT_ID_SLUG", + "name": "REFERRER_FRAGMENT_ID_SLUG", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020fragment\u0020ID\u0020slug\u0020in\u0020referrers.", + "url": "classes/footnotes-includes-Settings.html#constant_REFERRER_FRAGMENT_ID_SLUG" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTE_FRAGMENT_ID_SLUG", + "name": "FOOTNOTE_FRAGMENT_ID_SLUG", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020fragment\u0020ID\u0020slug\u0020in\u0020footnotes.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTE_FRAGMENT_ID_SLUG" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AHARD_LINK_IDS_SEPARATOR", + "name": "HARD_LINK_IDS_SEPARATOR", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020ID\u0020separator\u0020in\u0020fragment\u0020IDs.", + "url": "classes/footnotes-includes-Settings.html#constant_HARD_LINK_IDS_SEPARATOR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE", + "name": "FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020shortcode\u0020syntax\u0020validation.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_BACKLINK_TOOLTIP_ENABLE", + "name": "FOOTNOTES_BACKLINK_TOOLTIP_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020backlink\u0020tooltips.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_BACKLINK_TOOLTIP_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_BACKLINK_TOOLTIP_TEXT", + "name": "FOOTNOTES_BACKLINK_TOOLTIP_TEXT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020backlink\u0020tooltip.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_BACKLINK_TOOLTIP_TEXT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_TOOLTIP_EXCERPT_DELIMITER", + "name": "FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER", + "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020tooltip\u0020excerpt\u0020delimiter.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_TOOLTIP_EXCERPT_DELIMITER" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE", + "name": "FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020mirroring\u0020the\u0020tooltip\u0020excerpt\u0020in\u0020the\nreference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR", + "name": "FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR", + "summary": "Settings\u0020container\u0020key\u0020to\u0020configure\u0020the\u0020tooltip\u0020excerpt\u0020separator\u0020in\u0020the\nreference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_TOOLTIP_EXCERPT_MIRROR_SEPARATOR" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT", + "name": "FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020superscript\u0020style\u0020normalization.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE", + "name": "FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020select\u0020the\u0020script\u0020mode\u0020for\u0020the\u0020reference\u0020container.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_REFERENCE_CONTAINER_SCRIPT_MODE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_AMP_COMPATIBILITY_ENABLE", + "name": "FOOTNOTES_AMP_COMPATIBILITY_ENABLE", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020AMP\u0020compatibility\u0020mode.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_AMP_COMPATIBILITY_ENABLE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_DURATION_ASYMMETRICITY", + "name": "FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u0020duration\u0020asymmetricity.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_DOWN_DURATION", + "name": "FOOTNOTES_SCROLL_DOWN_DURATION", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Ddown\u0020duration.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_DOWN_DURATION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_DOWN_DELAY", + "name": "FOOTNOTES_SCROLL_DOWN_DELAY", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Ddown\u0020delay.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_DOWN_DELAY" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_SCROLL_UP_DELAY", + "name": "FOOTNOTES_SCROLL_UP_DELAY", + "summary": "Settings\u0020container\u0020key\u0020for\u0020scroll\u002Dup\u0020delay.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_SCROLL_UP_DELAY" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_LABEL_ISSUE_SOLUTION", + "name": "FOOTNOTES_LABEL_ISSUE_SOLUTION", + "summary": "Settings\u0020container\u0020key\u0020to\u0020set\u0020the\u0020solution\u0020of\u0020the\u0020input\u0020element\u0020label\u0020issue.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_LABEL_ISSUE_SOLUTION" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTES_CSS_SMOOTH_SCROLLING", + "name": "FOOTNOTES_CSS_SMOOTH_SCROLLING", + "summary": "Settings\u0020container\u0020key\u0020to\u0020enable\u0020CSS\u0020smooth\u0020scrolling.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTES_CSS_SMOOTH_SCROLLING" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003AFOOTNOTE_SECTION_SHORTCODE", + "name": "FOOTNOTE_SECTION_SHORTCODE", + "summary": "Settings\u0020container\u0020key\u0020for\u0020the\u0020footnote\u0020section\u0020shortcode.", + "url": "classes/footnotes-includes-Settings.html#constant_FOOTNOTE_SECTION_SHORTCODE" + }, { + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024container", + "name": "container", "summary": "Contains\u0020all\u0020Settings\u0020Container\u0020names.", - "url": "classes/footnotes-includes-Settings.html#property_a_arr_container" + "url": "classes/footnotes-includes-Settings.html#property_container" }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024a_arr_default", - "name": "a_arr_default", + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024default", + "name": "default", "summary": "Contains\u0020all\u0020default\u0020values\u0020for\u0020each\u0020Settings\u0020Container.", - "url": "classes/footnotes-includes-Settings.html#property_a_arr_default" + "url": "classes/footnotes-includes-Settings.html#property_default" }, { - "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024a_arr_settings", - "name": "a_arr_settings", + "fqsen": "\\footnotes\\includes\\Settings\u003A\u003A\u0024settings", + "name": "settings", "summary": "Contains\u0020all\u0020Settings\u0020from\u0020each\u0020Settings\u0020Container.", - "url": "classes/footnotes-includes-Settings.html#property_a_arr_settings" + "url": "classes/footnotes-includes-Settings.html#property_settings" }, { "fqsen": "\\footnotes\\includes\\Template", "name": "Template", @@ -1261,30 +1231,30 @@ Search.appendIndex( "summary": "Get\u0020the\u0020template.", "url": "classes/footnotes-includes-Template.html#method_get_template" }, { - "fqsen": "\\footnotes\\includes\\Template\u003A\u003AC_STR_DASHBOARD", - "name": "C_STR_DASHBOARD", + "fqsen": "\\footnotes\\includes\\Template\u003A\u003ADASHBOARD", + "name": "DASHBOARD", "summary": "Directory\u0020name\u0020for\u0020dashboard\u0020partials.", - "url": "classes/footnotes-includes-Template.html#constant_C_STR_DASHBOARD" + "url": "classes/footnotes-includes-Template.html#constant_DASHBOARD" }, { - "fqsen": "\\footnotes\\includes\\Template\u003A\u003AC_STR_PUBLIC", - "name": "C_STR_PUBLIC", + "fqsen": "\\footnotes\\includes\\Template\u003A\u003APUBLIC", + "name": "PUBLIC", "summary": "Directory\u0020name\u0020for\u0020public\u0020partials.", - "url": "classes/footnotes-includes-Template.html#constant_C_STR_PUBLIC" - }, { - "fqsen": "\\footnotes\\includes\\Template\u003A\u003A\u0024a_str_original_content", - "name": "a_str_original_content", - "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize.", - "url": "classes/footnotes-includes-Template.html#property_a_str_original_content" - }, { - "fqsen": "\\footnotes\\includes\\Template\u003A\u003A\u0024a_str_replaced_content", - "name": "a_str_replaced_content", - "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize\u0020with\u0020replaced\u0020place\u0020holders.", - "url": "classes/footnotes-includes-Template.html#property_a_str_replaced_content" + "url": "classes/footnotes-includes-Template.html#constant_PUBLIC" }, { "fqsen": "\\footnotes\\includes\\Template\u003A\u003A\u0024plugin_directory", "name": "plugin_directory", "summary": "Plugin\u0020Directory", "url": "classes/footnotes-includes-Template.html#property_plugin_directory" + }, { + "fqsen": "\\footnotes\\includes\\Template\u003A\u003A\u0024original_content", + "name": "original_content", + "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize.", + "url": "classes/footnotes-includes-Template.html#property_original_content" + }, { + "fqsen": "\\footnotes\\includes\\Template\u003A\u003A\u0024replaced_content", + "name": "replaced_content", + "summary": "Contains\u0020the\u0020content\u0020of\u0020the\u0020template\u0020after\u0020initialize\u0020with\u0020replaced\u0020place\u0020holders.", + "url": "classes/footnotes-includes-Template.html#property_replaced_content" }, { "fqsen": "\\footnotes\\general\\General", "name": "General", @@ -1331,30 +1301,30 @@ Search.appendIndex( "summary": "The\u0020reference\u0020container\u0020widget.", "url": "classes/footnotes-general-General.html#property_reference_container_widget" }, { - "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024a_obj_task", - "name": "a_obj_task", + "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024task", + "name": "task", "summary": "The\u0020footnote\u0020parser.", - "url": "classes/footnotes-general-General.html#property_a_obj_task" + "url": "classes/footnotes-general-General.html#property_task" }, { - "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024a_bool_tooltips_enabled", - "name": "a_bool_tooltips_enabled", + "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024tooltips_enabled", + "name": "tooltips_enabled", "summary": "Flag\u0020for\u0020using\u0020tooltips.", - "url": "classes/footnotes-general-General.html#property_a_bool_tooltips_enabled" + "url": "classes/footnotes-general-General.html#property_tooltips_enabled" }, { - "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024a_bool_alternative_tooltips_enabled", - "name": "a_bool_alternative_tooltips_enabled", + "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024alternative_tooltips_enabled", + "name": "alternative_tooltips_enabled", "summary": "Allows\u0020to\u0020determine\u0020whether\u0020alternative\u0020tooltips\u0020are\u0020enabled.", - "url": "classes/footnotes-general-General.html#property_a_bool_alternative_tooltips_enabled" + "url": "classes/footnotes-general-General.html#property_alternative_tooltips_enabled" }, { - "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024a_bool_amp_enabled", - "name": "a_bool_amp_enabled", + "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024amp_enabled", + "name": "amp_enabled", "summary": "Allows\u0020to\u0020determine\u0020whether\u0020AMP\u0020compatibility\u0020mode\u0020is\u0020enabled.", - "url": "classes/footnotes-general-General.html#property_a_bool_amp_enabled" + "url": "classes/footnotes-general-General.html#property_amp_enabled" }, { - "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024a_str_script_mode", - "name": "a_str_script_mode", + "fqsen": "\\footnotes\\general\\General\u003A\u003A\u0024script_mode", + "name": "script_mode", "summary": "Allows\u0020to\u0020determine\u0020the\u0020script\u0020mode\u0020among\u0020jQuery\u0020or\u0020plain\u0020JS.", - "url": "classes/footnotes-general-General.html#property_a_str_script_mode" + "url": "classes/footnotes-general-General.html#property_script_mode" }, { "fqsen": "\\footnotes\\general\\Parser", "name": "Parser", @@ -1436,115 +1406,115 @@ Search.appendIndex( "summary": "Generates\u0020the\u0020reference\u0020container.", "url": "classes/footnotes-general-Parser.html#method_reference_container" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_arr_footnotes", - "name": "a_arr_footnotes", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024footnotes", + "name": "footnotes", "summary": "Contains\u0020all\u0020footnotes\u0020found\u0020in\u0020the\u0020searched\u0020content.", - "url": "classes/footnotes-general-Parser.html#property_a_arr_footnotes" + "url": "classes/footnotes-general-Parser.html#property_footnotes" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_bool_allow_love_me", - "name": "a_bool_allow_love_me", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024allow_love_me", + "name": "allow_love_me", "summary": "Flag\u0020if\u0020the\u0020display\u0020of\u0020\u0027LOVE\u0020FOOTNOTES\u0027\u0020is\u0020allowed\u0020on\u0020the\u0020current\u0020public\u0020page.", - "url": "classes/footnotes-general-Parser.html#property_a_bool_allow_love_me" + "url": "classes/footnotes-general-Parser.html#property_allow_love_me" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_prefix", - "name": "a_str_prefix", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024prefix", + "name": "prefix", "summary": "Prefix\u0020for\u0020the\u0020Footnote\u0020html\u0020element\u0020ID.", - "url": "classes/footnotes-general-Parser.html#property_a_str_prefix" + "url": "classes/footnotes-general-Parser.html#property_prefix" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_int_post_id", - "name": "a_int_post_id", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024post_id", + "name": "post_id", "summary": "Autoload\u0020a.k.a.\u0020infinite\u0020scroll,\u0020or\u0020archive\u0020view.", - "url": "classes/footnotes-general-Parser.html#property_a_int_post_id" + "url": "classes/footnotes-general-Parser.html#property_post_id" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_int_reference_container_id", - "name": "a_int_reference_container_id", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024reference_container_id", + "name": "reference_container_id", "summary": "Multiple\u0020reference\u0020containers\u0020in\u0020content\u0020and\u0020widgets.", - "url": "classes/footnotes-general-Parser.html#property_a_int_reference_container_id" + "url": "classes/footnotes-general-Parser.html#property_reference_container_id" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_bool_hard_links_enabled", - "name": "a_bool_hard_links_enabled", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024hard_links_enabled", + "name": "hard_links_enabled", "summary": "Hard\u0020links\u0020for\u0020AMP\u0020compatibility.", - "url": "classes/footnotes-general-Parser.html#property_a_bool_hard_links_enabled" + "url": "classes/footnotes-general-Parser.html#property_hard_links_enabled" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_referrer_link_slug", - "name": "a_str_referrer_link_slug", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024referrer_link_slug", + "name": "referrer_link_slug", "summary": "The\u0020referrer\u0020slug.", - "url": "classes/footnotes-general-Parser.html#property_a_str_referrer_link_slug" + "url": "classes/footnotes-general-Parser.html#property_referrer_link_slug" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_footnote_link_slug", - "name": "a_str_footnote_link_slug", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024footnote_link_slug", + "name": "footnote_link_slug", "summary": "The\u0020footnote\u0020slug.", - "url": "classes/footnotes-general-Parser.html#property_a_str_footnote_link_slug" + "url": "classes/footnotes-general-Parser.html#property_footnote_link_slug" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_link_ids_separator", - "name": "a_str_link_ids_separator", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024link_ids_separator", + "name": "link_ids_separator", "summary": "The\u0020slug\u0020and\u0020identifier\u0020separator.", - "url": "classes/footnotes-general-Parser.html#property_a_str_link_ids_separator" + "url": "classes/footnotes-general-Parser.html#property_link_ids_separator" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_post_container_id_compound", - "name": "a_str_post_container_id_compound", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024post_container_id_compound", + "name": "post_container_id_compound", "summary": "Contains\u0020the\u0020concatenated\u0020fragment\u0020ID\u0020base.", - "url": "classes/footnotes-general-Parser.html#property_a_str_post_container_id_compound" + "url": "classes/footnotes-general-Parser.html#property_post_container_id_compound" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_int_scroll_offset", - "name": "a_int_scroll_offset", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024scroll_offset", + "name": "scroll_offset", "summary": "Scroll\u0020offset.", - "url": "classes/footnotes-general-Parser.html#property_a_int_scroll_offset" + "url": "classes/footnotes-general-Parser.html#property_scroll_offset" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_link_span", - "name": "a_str_link_span", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024link_span", + "name": "link_span", "summary": "The\u0020span\u0020element\u0020name.", - "url": "classes/footnotes-general-Parser.html#property_a_str_link_span" + "url": "classes/footnotes-general-Parser.html#property_link_span" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_link_open_tag", - "name": "a_str_link_open_tag", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024link_open_tag", + "name": "link_open_tag", "summary": "The\u0020opening\u0020tag.", - "url": "classes/footnotes-general-Parser.html#property_a_str_link_open_tag" + "url": "classes/footnotes-general-Parser.html#property_link_open_tag" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_link_close_tag", - "name": "a_str_link_close_tag", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024link_close_tag", + "name": "link_close_tag", "summary": "The\u0020closing\u0020tag.", - "url": "classes/footnotes-general-Parser.html#property_a_str_link_close_tag" + "url": "classes/footnotes-general-Parser.html#property_link_close_tag" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_tooltip_shortcode", - "name": "a_str_tooltip_shortcode", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024tooltip_shortcode", + "name": "tooltip_shortcode", "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode.", - "url": "classes/footnotes-general-Parser.html#property_a_str_tooltip_shortcode" + "url": "classes/footnotes-general-Parser.html#property_tooltip_shortcode" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_int_tooltip_shortcode_length", - "name": "a_int_tooltip_shortcode_length", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024tooltip_shortcode_length", + "name": "tooltip_shortcode_length", "summary": "The\u0020tooltip\u0020delimiter\u0020shortcode\u0020length.", - "url": "classes/footnotes-general-Parser.html#property_a_int_tooltip_shortcode_length" + "url": "classes/footnotes-general-Parser.html#property_tooltip_shortcode_length" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_bool_mirror_tooltip_text", - "name": "a_bool_mirror_tooltip_text", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024mirror_tooltip_text", + "name": "mirror_tooltip_text", "summary": "Whether\u0020to\u0020mirror\u0020the\u0020tooltip\u0020text\u0020in\u0020the\u0020reference\u0020container.", - "url": "classes/footnotes-general-Parser.html#property_a_bool_mirror_tooltip_text" + "url": "classes/footnotes-general-Parser.html#property_mirror_tooltip_text" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_start_tag", - "name": "a_str_start_tag", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024start_tag", + "name": "start_tag", "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code.", - "url": "classes/footnotes-general-Parser.html#property_a_str_start_tag" + "url": "classes/footnotes-general-Parser.html#property_start_tag" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_end_tag", - "name": "a_str_end_tag", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024end_tag", + "name": "end_tag", "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code.", - "url": "classes/footnotes-general-Parser.html#property_a_str_end_tag" + "url": "classes/footnotes-general-Parser.html#property_end_tag" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_start_tag_regex", - "name": "a_str_start_tag_regex", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024start_tag_regex", + "name": "start_tag_regex", "summary": "Footnote\u0020delimiter\u0020start\u0020short\u0020code\u0020in\u0020RegEx\u0020format.", - "url": "classes/footnotes-general-Parser.html#property_a_str_start_tag_regex" + "url": "classes/footnotes-general-Parser.html#property_start_tag_regex" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_str_end_tag_regex", - "name": "a_str_end_tag_regex", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024end_tag_regex", + "name": "end_tag_regex", "summary": "Footnote\u0020delimiter\u0020end\u0020short\u0020code\u0020in\u0020RegEx\u0020format.", - "url": "classes/footnotes-general-Parser.html#property_a_str_end_tag_regex" + "url": "classes/footnotes-general-Parser.html#property_end_tag_regex" }, { - "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024a_bool_syntax_error_flag", - "name": "a_bool_syntax_error_flag", + "fqsen": "\\footnotes\\general\\Parser\u003A\u003A\u0024syntax_error_flag", + "name": "syntax_error_flag", "summary": "Footnote\u0020delimiter\u0020syntax\u0020validation\u0020enabled.", - "url": "classes/footnotes-general-Parser.html#property_a_bool_syntax_error_flag" + "url": "classes/footnotes-general-Parser.html#property_syntax_error_flag" }, { "fqsen": "\\footnotes\\general\\Widget\\Base", "name": "Base", diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 4d628f6..e6f87d2 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes-admin-layout.html b/docs/namespaces/footnotes-admin-layout.html index d3c5544..e351165 100644 --- a/docs/namespaces/footnotes-admin-layout.html +++ b/docs/namespaces/footnotes-admin-layout.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes-admin.html b/docs/namespaces/footnotes-admin.html index 8a3e199..bee8232 100644 --- a/docs/namespaces/footnotes-admin.html +++ b/docs/namespaces/footnotes-admin.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes-general-widget.html b/docs/namespaces/footnotes-general-widget.html index 0352390..f6b53c9 100644 --- a/docs/namespaces/footnotes-general-widget.html +++ b/docs/namespaces/footnotes-general-widget.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes-general.html b/docs/namespaces/footnotes-general.html index 9544588..7f30f97 100644 --- a/docs/namespaces/footnotes-general.html +++ b/docs/namespaces/footnotes-general.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes-includes.html b/docs/namespaces/footnotes-includes.html index 51c2484..b6b9be1 100644 --- a/docs/namespaces/footnotes-includes.html +++ b/docs/namespaces/footnotes-includes.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/namespaces/footnotes.html b/docs/namespaces/footnotes.html index 3b21a80..f73a05b 100644 --- a/docs/namespaces/footnotes.html +++ b/docs/namespaces/footnotes.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -186,7 +194,7 @@

                                                                                          Handles the deactivation of the plugin.

                                                                                          @@ -234,7 +242,7 @@

                                                                                          Begins execution of the plugin.

                                                                                          diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 379cb7a..4d7b4cf 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -61,12 +61,11 @@

                                                                                          Packages

                                                                                          -

                                                                                          footnotes

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          -

                                                                                          Default

                                                                                          @@ -91,12 +90,194 @@ +

                                                                                          + Interfaces, Classes and Traits + +

                                                                                          + +
                                                                                          + +
                                                                                          Convert
                                                                                          +
                                                                                          Class providing variable type and value conversion functions.
                                                                                          + +
                                                                                          +

                                                                                          + Table of Contents + +

                                                                                          + +
                                                                                          +
                                                                                          + activate_footnotes() + +  : void +
                                                                                          +
                                                                                          Handles the activation of the plugin.
                                                                                          + +
                                                                                          + deactivate_footnotes() + +  : void +
                                                                                          +
                                                                                          Handles the deactivation of the plugin.
                                                                                          + +
                                                                                          + run_footnotes() + +  : void +
                                                                                          +
                                                                                          Begins execution of the plugin.
                                                                                          + +
                                                                                          - +
                                                                                          +

                                                                                          + Functions + +

                                                                                          +
                                                                                          +

                                                                                          + activate_footnotes() + +

                                                                                          + + +

                                                                                          Handles the activation of the plugin.

                                                                                          + + + + activate_footnotes() : void + +
                                                                                          + + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.8.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + see +
                                                                                          +
                                                                                          + Activator::activate() + +
                                                                                          + +
                                                                                          +
                                                                                          + + +
                                                                                          +
                                                                                          +

                                                                                          + deactivate_footnotes() + +

                                                                                          + + +

                                                                                          Handles the deactivation of the plugin.

                                                                                          + + + + deactivate_footnotes() : void + +
                                                                                          + + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.8.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + see +
                                                                                          +
                                                                                          + Deactivator::deactivate() + +
                                                                                          + +
                                                                                          +
                                                                                          + + +
                                                                                          +
                                                                                          +

                                                                                          + run_footnotes() + +

                                                                                          + + +

                                                                                          Begins execution of the plugin.

                                                                                          + + + + run_footnotes() : void + +

                                                                                          Since everything within the plugin is registered via hooks, then kicking off +the plugin from this point in the file does not affect the page life cycle.

                                                                                          +
                                                                                          + + + +
                                                                                          + Tags + +
                                                                                          +
                                                                                          +
                                                                                          + since +
                                                                                          +
                                                                                          + 2.8.0 + +
                                                                                          + +
                                                                                          +
                                                                                          + + +
                                                                                          +
                                                                                          +
                                                                                          diff --git a/docs/packages/default.html b/docs/packages/default.html index 05686af..d82eb96 100644 --- a/docs/packages/default.html +++ b/docs/packages/default.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -86,6 +94,7 @@
                                                                                          +
                                                                                          Default
                                                                                          footnotes
                                                                                          diff --git a/docs/packages/footnotes-includes.html b/docs/packages/footnotes-includes.html index 6c8a6f0..cff5ac3 100644 --- a/docs/packages/footnotes-includes.html +++ b/docs/packages/footnotes-includes.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/packages/footnotes.html b/docs/packages/footnotes.html index 79aa430..53fdf2f 100644 --- a/docs/packages/footnotes.html +++ b/docs/packages/footnotes.html @@ -59,6 +59,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -86,7 +94,6 @@
                                                                                          -
                                                                                          admin
                                                                                          includes
                                                                                          @@ -112,8 +119,6 @@
                                                                                          Class providing action(s) on plugin activation.
                                                                                          Config
                                                                                          Class defining plugin constants.
                                                                                          -
                                                                                          Convert
                                                                                          -
                                                                                          Class providing variable type and value conversion functions.
                                                                                          Core
                                                                                          Class providing core plugin functionality.
                                                                                          Deactivator
                                                                                          @@ -136,181 +141,10 @@ -

                                                                                          - Table of Contents - -

                                                                                          - -
                                                                                          -
                                                                                          - activate_footnotes() - -  : void -
                                                                                          -
                                                                                          Handles the activation of the plugin.
                                                                                          - -
                                                                                          - deactivate_footnotes() - -  : void -
                                                                                          -
                                                                                          Handles the deactivation of the plugin.
                                                                                          - -
                                                                                          - run_footnotes() - -  : void -
                                                                                          -
                                                                                          Begins execution of the plugin.
                                                                                          - -
                                                                                          -
                                                                                          -

                                                                                          - Functions - -

                                                                                          -
                                                                                          -

                                                                                          - activate_footnotes() - -

                                                                                          - - -

                                                                                          Handles the activation of the plugin.

                                                                                          - - - - activate_footnotes() : void - -
                                                                                          - - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - see -
                                                                                          -
                                                                                          - Activator::activate() - -
                                                                                          - -
                                                                                          -
                                                                                          - - -
                                                                                          -
                                                                                          -

                                                                                          - deactivate_footnotes() - -

                                                                                          - - -

                                                                                          Handles the deactivation of the plugin.

                                                                                          - - - - deactivate_footnotes() : void - -
                                                                                          - - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - see -
                                                                                          -
                                                                                          - Deactivator::deactivate() - -
                                                                                          - -
                                                                                          -
                                                                                          - - -
                                                                                          -
                                                                                          -

                                                                                          - run_footnotes() - -

                                                                                          - - -

                                                                                          Begins execution of the plugin.

                                                                                          - - - - run_footnotes() : void - -

                                                                                          Since everything within the plugin is registered via hooks, then kicking off -the plugin from this point in the file does not affect the page life cycle.

                                                                                          -
                                                                                          - - - -
                                                                                          - Tags - -
                                                                                          -
                                                                                          -
                                                                                          - since -
                                                                                          -
                                                                                          - 2.8.0 - -
                                                                                          - -
                                                                                          -
                                                                                          - - -
                                                                                          -
                                                                                          - +
                                                                                          diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index 88dff50..ae751e5 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -60,6 +60,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -104,7 +112,7 @@ Reason - 1108 + 1016 Settings::custom_css_migration() @@ -118,33 +126,33 @@ Reason - 46 + 48 Config - 56 - Config::C_STR_PLUGIN_PUBLIC_NAME + 58 + Config::PLUGIN_PUBLIC_NAME - 73 - Config::C_STR_PLUGIN_HEADING_NAME + 75 + Config::PLUGIN_HEADING_NAME - 84 - Config::C_STR_LOVE_SYMBOL + 86 + Config::LOVE_SYMBOL - 95 - Config::C_STR_LOVE_SYMBOL_HEADING + 97 + Config::LOVE_SYMBOL_HEADING - 106 - Config::C_STR_NO_LOVE_SLUG + 108 + Config::NO_LOVE_SLUG @@ -157,8 +165,8 @@ Reason - 293 - Settings::C_STR_FOOTNOTES_EXPERT_MODE + 295 + Settings::FOOTNOTES_EXPERT_MODE diff --git a/docs/reports/errors.html b/docs/reports/errors.html index b9d55af..e3d0032 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -60,6 +60,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          diff --git a/docs/reports/markers.html b/docs/reports/markers.html index 48b5450..ace9655 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -60,6 +60,14 @@
                                                                                          +
                                                                                          +

                                                                                          Packages

                                                                                          +

                                                                                          Default

                                                                                          +

                                                                                          footnotes

                                                                                          + +

                                                                                          Reports

                                                                                          @@ -91,6 +99,10 @@ src/admin/layout/class-engine.php 16 + + + src/admin/layout/class-settings.php + 1 src/includes/class-config.php @@ -98,19 +110,23 @@ src/includes/class-convert.php - 5 + 6 src/includes/class-settings.php - 7 + 9 src/includes/class-template.php - 7 + 8 + + + src/public/class-general.php + 1 src/public/class-parser.php - 8 + 9 src/public/widget/class-base.php @@ -135,12 +151,12 @@ TODO - 60 + 39 Should this be `static`? TODO - 86 + 65 Should this be `static`? @@ -158,83 +174,101 @@ TODO - 137 - Refactor sections into their own class? - - - TODO - 167 - Refactor meta boxes into their own class? - - - TODO - 167 - Pass actual functions rather than strings? - - - TODO - 253 - Move to {@see}. - - - TODO - 266 + 122 Review nonce verification. TODO - 339 - Review nonce verification. - - - TODO - 368 + 184 Required? Should be `abstract`? TODO - 409 + 249 + Refactor sections into their own class? + + + TODO + 279 + Refactor meta boxes into their own class? + + + TODO + 279 + Pass actual functions rather than strings? + + + TODO + 324 Refactor HTML generation. TODO - 424 + 338 Refactor HTML generation. TODO - 456 + 369 Refactor HTML generation. TODO - 484 + 396 Refactor HTML generation. TODO - 506 + 417 Refactor HTML generation. TODO - 541 + 451 Refactor HTML generation. TODO - 564 + 473 Refactor HTML generation. TODO - 564 + 473 Use proper colorpicker element. TODO - 588 + 496 Refactor HTML generation. + + + TODO + 551 + Move to {@see}. + + + TODO + 567 + Review nonce verification. + + + + +

                                                                                          class-settings.php

                                                                                          + + + + + + + + + + + + +
                                                                                          TypeLineDescription
                                                                                          TODO1139Review in light of admin/public split.
                                                                                          @@ -251,32 +285,32 @@ TODO - 46 + 48 Remove. TODO - 56 + 58 Remove. TODO - 73 + 75 Remove. TODO - 84 + 86 Remove. TODO - 95 + 97 Remove. TODO - 106 + 108 Remove. @@ -294,28 +328,33 @@ TODO - 60 - Replace with built-in char casting. - - - TODO - 92 - Replace with built-in string formatting. - - - TODO - 154 + 58 Replace with built-in type casting. TODO - 179 + 84 Review. TODO - 203 + 84 + Single return type. + + + TODO + 112 Replace with proper logging/debug functions. + + + TODO + 149 + Replace with built-in char casting. + + + TODO + 180 + Replace with built-in string formatting. @@ -332,43 +371,53 @@ TODO - 1350 - Remove? + 1391 + Add return type. TODO - 48 + 50 Refactor to use sane typing. TODO - 202 + 204 The mouse-over content truncation should be enabled by default to raise awareness of the functionality, prevent the screen from being filled on mouse-over, and allow the use of ‘Continue Reading’ functionality. TODO - 234 + 236 In titles, footnotes are still buggy, because WordPress uses the title string in menus and in the title element, but Footnotes doesn't delete footnotes in them. TODO - 293 + 295 Un-deprecate. TODO - 1082 + 1084 Review, remove? TODO - 1142 + 1132 Review. Why are the constants just initialised with these values? At the very least, we should stop using ‘yes’ to mean `true` etc. + + + TODO + 1132 + Create `PreferencesSet` class. + + + TODO + 1322 + Create `PreferencesSet` class. @@ -385,17 +434,17 @@ At the very least, we should stop using ‘yes’ to mean `true` etc. TODO - 28 + 30 Refactor templating. TODO - 85 + 81 Refactor templating. TODO - 111 + 109 Refactor templating. @@ -415,8 +464,31 @@ At the very least, we should stop using ‘yes’ to mean `true` etc. TODO - 183 + 184 Refactor templating. + + + TODO + 184 + Single return type. + + + + +

                                                                                          class-general.php

                                                                                          + + + + + + + + + + + + +
                                                                                          TypeLineDescription
                                                                                          TODO64Review null init.
                                                                                          @@ -433,42 +505,47 @@ At the very least, we should stop using ‘yes’ to mean `true` etc. TODO - 267 + 253 Reorganise dependencies. TODO - 267 + 253 Move call to `register_hooks()` to {@see}. TODO - 287 + 273 Move to {@see}. TODO - 380 + 402 Refactor to enqueue stylesheets properly in {@see}. TODO - 1144 + 1159 Refactor to parse DOM rather than using RegEx. TODO - 155 + 1159 + Decompose. + + + TODO + 150 Remove. TODO - 164 + 158 Remove. TODO - 173 + 166 Remove. @@ -486,7 +563,7 @@ At the very least, we should stop using ‘yes’ to mean `true` etc. TODO - 29 + 31 Review implemenation of Widgets API. @@ -504,7 +581,7 @@ At the very least, we should stop using ‘yes’ to mean `true` etc. TODO - 27 + 30 Review implemenation of Widgets API. From 4186eea79784da53940462a45fab01a4b7332f53 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 2 May 2021 21:30:13 +0100 Subject: [PATCH 89/99] build: replace phpDoc dependency --- CONTRIBUTING.md | 6 ++++-- composer.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 51c4e49..a7b70aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -92,8 +92,8 @@ _NB: `npm` can also be used in place of `composer`._ #### PHP -PHP code must follow the [WordPress PHP Coding Standards][wpcs-php] and be -compatible with PHP 7.0+. +PHP code must follow the [WordPress PHP Coding Standards][wpcs-php]. PHP code +is written for compatability with PHP 8.0. 1. Run `composer run lint:php` to lint all PHP files with [PHP CodeSniffer][phpcs]; and @@ -159,6 +159,8 @@ the `git push` command. ### Tooling HTML documentation of the codebase is generated using [phpDocumentor][phpdocumentor]. +Due to conflicts, this cannot be included as a project dependency. Please install +the package globally by following the steps on the site. phpDocumentor configuration settings are found in `phpdoc.dist.xml`. diff --git a/composer.json b/composer.json index db020a0..c841804 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "lint:md": "npm run lint:md", "lint:md:fix": "npm run lint:md:fix", "lint:html": "npm run lint:html", - "docs": "./vendor/bin/phpdoc", + "docs": "phpDocumentor", "post-install-cmd": "npm install", "minify": "npm run minify", "minify:css": "npm run minify:css", From 94c480900a625bc5bf166a228a358c7141b0a660 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Wed, 12 May 2021 08:18:15 +0100 Subject: [PATCH 90/99] fix: fix Rector downgrading See https://github.com/rectorphp/rector/issues/6315 --- _tools/build.sh | 4 ++ rector.php | 17 +++---- src/includes/class-convert.php | 2 +- src/public/class-parser.php | 82 +++++++++++++++++++++------------- 4 files changed, 63 insertions(+), 42 deletions(-) diff --git a/_tools/build.sh b/_tools/build.sh index 6ef7346..eca7823 100755 --- a/_tools/build.sh +++ b/_tools/build.sh @@ -34,6 +34,10 @@ echo "Deleting unminified files from `dist/`..." rm -r dist/*/{js,css}/*[^\.min].{js,css} echo "Minification complete." +echo "Downgrading to PHP 7.4..." +./vendor/bin/rector process +echo "Downgrading complete." + if [[ $1 == "-v" ]]; then rm -rf ../VVV/www/wordpress-two/public_html/wp-content/plugins/footnotes mv dist footnotes && mv footnotes ../VVV/www/wordpress-two/public_html/wp-content/plugins diff --git a/rector.php b/rector.php index fd5241c..d068f29 100644 --- a/rector.php +++ b/rector.php @@ -4,8 +4,8 @@ declare(strict_types=1); use Rector\Core\Configuration\Option; use Rector\Core\ValueObject\PhpVersion; -use Rector\Set\ValueObject\SetList; -//use Rector\Set\ValueObject\DowngradeSetList; +//use Rector\Set\ValueObject\SetList; +use Rector\Set\ValueObject\DowngradeSetList; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { @@ -13,19 +13,14 @@ return static function (ContainerConfigurator $containerConfigurator): void { $parameters = $containerConfigurator->parameters(); $parameters->set(Option::PATHS, [ - __DIR__ . '/src', + __DIR__ . '/dist', ]); - $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_80); + $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_74); // Define what rule sets will be applied $parameters->set(Option::SETS, [ - // TODO: - //SetList::PRIVATIZATION - // TODO: in Build - // DowngradeSetList::PHP_80, - // DowngradeSetList::PHP_74, - // DowngradeSetList::PHP_73, - //DowngradeSetList::PHP_72, + //TODO: SetList::PRIVATIZATION + DowngradeSetList::PHP_80 ]); }; diff --git a/src/includes/class-convert.php b/src/includes/class-convert.php index d9c7f1e..3393500 100644 --- a/src/includes/class-convert.php +++ b/src/includes/class-convert.php @@ -75,7 +75,7 @@ class Convert { * Get an HTML array short code depending on Arrow-Array key index. * * @param int $index Index representing the arrow. If empty, all arrows are specified. - * @return string|string[] Array of all arrows if index is empty, otherwise HTML tag of a specific arrow. + * @return string|string[] Array of all arrows if index is empty, otherwise HTML tag of a specific arrow. * * @since 1.3.2 * @todo Review. diff --git a/src/public/class-parser.php b/src/public/class-parser.php index 42ca4f9..41c5c5b 100644 --- a/src/public/class-parser.php +++ b/src/public/class-parser.php @@ -690,22 +690,18 @@ class Parser { * for transparency. It isn’t indented though (the PHP open tag neither). */ if ( General::$alternative_tooltips_enabled ) { - - // Start internal script. - ?> - - + function footnote_tooltip_show(footnote_tooltip_id) { + document.getElementById(footnote_tooltip_id).classList.remove("hidden"); + document.getElementById(footnote_tooltip_id).classList.add("shown"); + } + function footnote_tooltip_hide(footnote_tooltip_id) { + document.getElementById(footnote_tooltip_id).classList.remove("shown"); + document.getElementById(footnote_tooltip_id).classList.add("hidden"); + } + + '); }; } @@ -792,7 +788,9 @@ class Parser { $footnote_section_shortcode = Includes\Settings::instance()->get( \footnotes\includes\Settings::FOOTNOTE_SECTION_SHORTCODE ); $footnote_section_shortcode_length = strlen( $footnote_section_shortcode ); - if ( ! str_contains( $content, (string) $footnote_section_shortcode ) ) { + // TODO: Replace with `str_contains()`, but currently breaks Rector downgrade. + // https://github.com/rectorphp/rector/issues/6315 + if ( ! strpos( $content, (string) $footnote_section_shortcode ) ) { // phpcs:disable WordPress.PHP.YodaConditions.NotYoda // Appends the reference container if set to "post_end". @@ -809,7 +807,9 @@ class Parser { $section_end = strpos( $rest_content, (string) $footnote_section_shortcode ); $sections_raw[] = substr( $rest_content, 0, $section_end ); $rest_content = substr( $rest_content, $section_end + $footnote_section_shortcode_length ); - } while ( str_contains( $rest_content, (string) $footnote_section_shortcode ) ); + // TODO: Replace with `str_contains()`, but currently breaks Rector downgrade. + // https://github.com/rectorphp/rector/issues/6315 + } while ( strpos( $rest_content, (string) $footnote_section_shortcode ) ); $sections_raw[] = $rest_content; foreach ( $sections_raw as $section ) { @@ -1717,12 +1717,23 @@ class Parser { // If it is not, check which option is on. $separator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_OPTION ); - $separator = match ($separator_option) { - 'comma' => ',', - 'semicolon' => ';', - 'en_dash' => ' –', - default => Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_CUSTOM ), - }; + // TODO: replace with `match` (but currently it breaks the Rector + // downgrade to PHP 7.4. + // https://github.com/rectorphp/rector/issues/6315 + switch ($separator_option) { + case 'comma': + $separator = ','; + break; + case 'semicolon': + $separator = ';'; + break; + case 'en_dash': + $separator = ' –'; + break; + default: + $separator = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_SEPARATOR_CUSTOM ); + break; + } } } else { @@ -1740,12 +1751,23 @@ class Parser { // If it is not, check which option is on. $terminator_option = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_OPTION ); - $terminator = match ($terminator_option) { - 'period' => '.', - 'parenthesis' => ')', - 'colon' => ':', - default => Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_CUSTOM ), - }; + // TODO: replace with `match` (but currently it breaks the Rector + // downgrade to PHP 7.4. + // https://github.com/rectorphp/rector/issues/6315 + switch ($terminator_option) { + case 'period': + $terminator = '.'; + break; + case 'parenthesis': + $terminator = ')'; + break; + case 'colon': + $terminator = ':'; + break; + default: + $terminator = Includes\Settings::instance()->get( \footnotes\includes\Settings::BACKLINKS_TERMINATOR_CUSTOM ); + break; + } } } else { From 54bedd651ca7e9a753975ad1cbf853ed97b478d4 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 19 Jun 2021 09:55:59 +0100 Subject: [PATCH 91/99] fix: fix JS version grep --- _tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tools/release.sh b/_tools/release.sh index 4a9f0ec..e6048c5 100755 --- a/_tools/release.sh +++ b/_tools/release.sh @@ -65,7 +65,7 @@ echo "- Checking versions..." STABLE_TAG="$(grep "Stable Tag:" src/readme.txt)" ROOT_HEADER_VERSION="$(grep " Version:" src/footnotes.php | grep -Po " Version: \d+\.\d+(\.\d+)?[a-z]?$")" -JS_VERSION="$(grep "version :" src/js/wysiwyg-editor.js)" +JS_VERSION="$(grep "version:" src/js/wysiwyg-editor.js)" # Step 3(b): Check that all version declarations exists From 17b54556fb7b3009bfa11e57723e663431e03fcb Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 19 Jun 2021 09:56:16 +0100 Subject: [PATCH 92/99] ci: add SVN release step --- .../{pre-release.yml => release-handler.yml} | 38 ++++++++++++++----- 1 file changed, 28 insertions(+), 10 deletions(-) rename .github/workflows/{pre-release.yml => release-handler.yml} (55%) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/release-handler.yml similarity index 55% rename from .github/workflows/pre-release.yml rename to .github/workflows/release-handler.yml index 1eb8882..ba7594b 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/release-handler.yml @@ -1,13 +1,17 @@ -name: Pre-release Handler +# This workflow handles GitHub releases and pre-releases. +# It builds the Plugin, adds an archive artifact to the +# release entry on GitHub and (in the case of a full release) +# pushes the release to the WP Plugin Directory SVN repo. + +name: Release Handler on: release: types: [published] jobs: - build: + build_plugin: name: Build the Plugin for pre-release - if: "github.event.release.prerelease" runs-on: ubuntu-latest steps: @@ -26,6 +30,12 @@ jobs: run: | mv dist/ footnotes/ + create_archive: + name: Create an archive for the release and add it to GitHub + runs-on: ubuntu-latest + needs: build_plugin + + steps: - name: Create release archive uses: montudor/action-zip@v0.1.0 with: @@ -44,10 +54,18 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - #- name: Deploy release to Wordpress.org - # uses: 10up/action-wordpress-plugin-deploy@stable - # with: - # generate-zip: true - # env: - # SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - # SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + release_to_svn: + name: Push the release to the WordPress Plugin Directory repo. + if: "!github.event.release.prerelease" + runs-on: ubuntu-latest + needs: create_archive + + steps: + - name: Deploy release to Wordpress.org + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: footnotes/branches/svn-test + ASSETS_DIR: assets From 9705ea08ce36c0e318bbd09ee754728adbf8f2e9 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 19 Jun 2021 10:20:11 +0100 Subject: [PATCH 93/99] ci: add artifact passing --- .github/workflows/release-handler.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-handler.yml b/.github/workflows/release-handler.yml index ba7594b..55bb1f3 100644 --- a/.github/workflows/release-handler.yml +++ b/.github/workflows/release-handler.yml @@ -25,10 +25,16 @@ jobs: - name: Build Plugin run: | composer run build - - - name: Rename dist/ folder + + - name: Rename Plugin folder run: | mv dist/ footnotes/ + + - name: Upload Plugin artifact + uses: actions/upload-artifact@v2 + with: + name: footnotes-${{ github.event.release.tag_name }} + path: footnotes create_archive: name: Create an archive for the release and add it to GitHub @@ -36,17 +42,22 @@ jobs: needs: build_plugin steps: + - name: Download Plugin artifact + uses: actions/download-artifact@v2 + with: + name: footnotes-${{ github.event.release.tag_name }} + - name: Create release archive uses: montudor/action-zip@v0.1.0 with: args: zip -X -r footnotes-${{ github.event.release.tag_name }}.zip footnotes - +""" - name: Upload archive as artifact uses: actions/upload-artifact@v2 with: name: footnotes-${{ github.event.release.tag_name }} path: footnotes-${{ github.event.release.tag_name }}.zip - +""" - name: Upload archive to release uses: JasonEtco/upload-to-release@master with: @@ -61,6 +72,11 @@ jobs: needs: create_archive steps: + - name: Download Plugin artifact + uses: actions/download-artifact@v2 + with: + name: footnotes-${{ github.event.release.tag_name }} + - name: Deploy release to Wordpress.org id: deploy uses: 10up/action-wordpress-plugin-deploy@stable From f403376a8a8d15aba8f9f9230f8392e5e29f3705 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 19 Jun 2021 10:20:58 +0100 Subject: [PATCH 94/99] docs: update filedoc --- .github/workflows/release-handler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-handler.yml b/.github/workflows/release-handler.yml index 55bb1f3..cbd10a0 100644 --- a/.github/workflows/release-handler.yml +++ b/.github/workflows/release-handler.yml @@ -1,5 +1,5 @@ # This workflow handles GitHub releases and pre-releases. -# It builds the Plugin, adds an archive artifact to the +# It builds the Plugin, zips up an archive to add to the # release entry on GitHub and (in the case of a full release) # pushes the release to the WP Plugin Directory SVN repo. From af5de06affd4ce7fbb1c9558fc536d4b1fc533c3 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 19 Jun 2021 10:24:45 +0100 Subject: [PATCH 95/99] fix: fix commented-out step --- .github/workflows/release-handler.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-handler.yml b/.github/workflows/release-handler.yml index cbd10a0..eeb93f5 100644 --- a/.github/workflows/release-handler.yml +++ b/.github/workflows/release-handler.yml @@ -51,13 +51,13 @@ jobs: uses: montudor/action-zip@v0.1.0 with: args: zip -X -r footnotes-${{ github.event.release.tag_name }}.zip footnotes -""" - - name: Upload archive as artifact - uses: actions/upload-artifact@v2 - with: - name: footnotes-${{ github.event.release.tag_name }} - path: footnotes-${{ github.event.release.tag_name }}.zip -""" + + #- name: Upload archive as artifact + # uses: actions/upload-artifact@v2 + # with: + # name: footnotes-${{ github.event.release.tag_name }} + # path: footnotes-${{ github.event.release.tag_name }}.zip + - name: Upload archive to release uses: JasonEtco/upload-to-release@master with: From e22ae3c15b4793ac1134ce5e777cdc4aaa862f7d Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 2 Aug 2021 22:49:37 +0100 Subject: [PATCH 96/99] =?UTF-8?q?fix:=20add=20=E2=80=98read-on=E2=80=99=20?= =?UTF-8?q?label=20to=20WPML=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #190 --- src/wpml-config.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wpml-config.xml b/src/wpml-config.xml index b57699d..32fe8df 100644 --- a/src/wpml-config.xml +++ b/src/wpml-config.xml @@ -2,6 +2,7 @@ + From 6db540c08f3e481143e22623ca9973e7eda31927 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 2 Aug 2021 23:18:24 +0100 Subject: [PATCH 97/99] fix: initialise plugin after 'plugins_loaded' hook Fix #189 --- src/footnotes.php | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/footnotes.php b/src/footnotes.php index f83c70f..cd975c7 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -113,7 +113,17 @@ require_once dirname( __FILE__ ) . '/includes.php'; $l_str_plugin_file = 'footnotes/footnotes.php'; add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 ); -// Initialize the Plugin. -$g_obj_mci_footnotes = new Footnotes(); -// Run the Plugin. -$g_obj_mci_footnotes->run(); +/** + * Initialises and runs the Plugin. + * + * This takes place after the `plugins_loaded` hook, so that + * other Plugins may filter options. + * + * @since 2.7.4 + */ +add_action( 'plugins_loaded', function() { + // Initialize the Plugin. + $g_obj_mci_footnotes = new Footnotes(); + // Run the Plugin. + $g_obj_mci_footnotes->run(); +}); From 83bd7d90ddc15cb201f8a342373eec257d847185 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 2 Aug 2021 23:23:15 +0100 Subject: [PATCH 98/99] chore: lint code --- src/footnotes.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/footnotes.php b/src/footnotes.php index cd975c7..da7b5df 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -121,9 +121,12 @@ add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'Footnotes_Hooks' * * @since 2.7.4 */ -add_action( 'plugins_loaded', function() { - // Initialize the Plugin. - $g_obj_mci_footnotes = new Footnotes(); - // Run the Plugin. - $g_obj_mci_footnotes->run(); -}); +add_action( + 'plugins_loaded', + function() { + // Initialize the Plugin. + $g_obj_mci_footnotes = new Footnotes(); + // Run the Plugin. + $g_obj_mci_footnotes->run(); + } +); From 421a7c472dcc966a49037654a856a2dcc88d6353 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Tue, 3 Aug 2021 09:43:40 +0100 Subject: [PATCH 99/99] docs: update author URL See #150 --- src/footnotes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/footnotes.php b/src/footnotes.php index 3cc7915..76962b7 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -18,7 +18,7 @@ * Requires at least: 3.9 * Requires PHP: 7.0 * Author: Mark Cheret - * Author URI: https://cheret.org/footnotes + * Author URI: https://cheret.tech/footnotes * Text Domain: footnotes * Domain Path: /languages * License: GPL v3