diff --git a/README.md b/README.md
new file mode 100644
index 0000000..dcaf169
--- /dev/null
+++ b/README.md
@@ -0,0 +1,72 @@
+[![Coverage Status](https://coveralls.io/repos/github/Yoast/wpseo-news/badge.svg?branch=trunk)](https://coveralls.io/github/Yoast/wpseo-news?branch=trunk)
+
+Yoast News SEO for Yoast SEO
+==========================
+Requires at least: 6.3
+Tested up to: 6.4
+Stable tag: 13.2
+Requires PHP: 7.2.5
+Depends: Yoast SEO
+
+Yoast News SEO module for the Yoast SEO plugin.
+
+This repository uses [the Yoast grunt tasks plugin](https://github.com/Yoast/plugin-grunt-tasks).
+
+Installation
+============
+
+1. Go to Plugins -> Add New.
+2. Click "Upload" right underneath "Install Plugins".
+3. Upload the zip file that this readme was contained in.
+4. Activate the plugin.
+5. Go to SEO -> Extensions -> Licenses, enter your license key and Save.
+6. Your license key will be validated.
+7. You can now use Yoast News SEO. See also https://kb.yoast.com/kb/configuration-guide-for-news-seo/
+
+Frequently Asked Questions
+--------------------------
+
+You can find the [Yoast News SEO FAQ](https://kb.yoast.com/kb/category/news-seo/) in our knowledge base.
+
+Changelog
+=========
+
+## 13.2
+
+Release date: 2024-03-05
+
+#### Enhancements
+
+* Adds a `wpseo_news_sitemap_content` filter to append custom content to the XML sitemap. Props to @wccoder.
+* This PR introduces a new way of retrieving translations for Yoast News SEO, by utilizing the TranslationPress service. Instead of having to ship all translations with every release, we can now load the translations on a per-install basis, tailored to the user's setup. This means smaller plugin releases and less bloat on the user's server.
+
+#### Bugfixes
+
+* Fixes a bug where a warning would be thrown on activation.
+* Fixes a bug where using the `&` character in the publication name would break the XML sitemap.
+
+#### Other
+
+* Drops compatibility with PHP 5.6, 7.0 and 7.1.
+* Improves discoverability of security policy.
+* Sets the minimum required Yoast SEO version to 22.2.
+* Sets the minimum supported WordPress version to 6.3.
+* Sets the WordPress tested up to version to 6.4.
+* The plugin has no known incompatibilities with PHP 8.3.
+* Users requiring this package via [WP]Packagist can now use the `composer/installers` v2.
+
+## 13.1
+
+Release date: 2021-11-16
+
+#### Enhancements
+
+* Huge performance improvement: moves the XML News sitemap to be based on our Indexables architecture.
+* Removes images from the XML News sitemap as they serve no purpose here and this further improves performance.
+
+#### Other
+
+* Excludes attachments and non-indexed post types from the possible post types to include in the News Sitemap.
+
+### Earlier versions
+For the changelog of earlier versions, please refer to [the changelog on yoast.com](https://yoa.st/news-seo-changelog).
diff --git a/assets/index.php b/assets/index.php
new file mode 100644
index 0000000..d80612c
--- /dev/null
+++ b/assets/index.php
@@ -0,0 +1,2 @@
+
+
+
+
+
+
+ XML News Sitemap
+
+
+
+
+
', esc_html__( 'You will generally only need a News Sitemap when your website is included in Google News.', 'wordpress-seo-news' ), '
';
+ echo '
';
+ printf(
+ /* translators: %1$s opening tag of the link to the News Sitemap, %2$s closing tag for the link. */
+ esc_html__( '%1$sView your News Sitemap%2$s.', 'wordpress-seo-news' ),
+ '',
+ ''
+ );
+ echo '
';
+
+ /* translators: Hidden accessibility text. */
+ echo '';
+
+ // Post Types to include in News Sitemap.
+ $this->include_post_types();
+
+ // Post categories to exclude.
+ $this->excluded_post_type_taxonomies();
+
+ // Admin footer.
+ Yoast_Form::get_instance()->admin_footer( true, false );
+ }
+
+ /**
+ * Generates the HTML for the post types which should be included in the sitemap.
+ *
+ * @return void
+ */
+ private function include_post_types() {
+ $post_type_helper = YoastSEO()->helpers->post_type;
+
+ // Post Types to include in News Sitemap.
+ echo '
' . esc_html__( 'Post Types to include in News Sitemap', 'wordpress-seo-news' ) . '
';
+ /* translators: Hidden accessibility text. */
+ echo ' ';
+ }
+
+ /**
+ * Generates the HTML for excluding post categories.
+ *
+ * @return void
+ */
+ private function excluded_post_type_taxonomies() {
+ $post_types = get_post_types( [ 'public' => true ], 'objects' );
+ $post_types = array_filter( $post_types, [ $this, 'filter_included_post_type' ] );
+
+ array_walk( $post_types, [ $this, 'excluded_post_type_taxonomies_output' ] );
+ }
+
+ /**
+ * Filter function used to determine what post times should be included in the new sitemap.
+ *
+ * @param WP_Post_Type $post_type The post type.
+ *
+ * @return bool Whether or not the post type should be included in the sitemap.
+ */
+ protected function filter_included_post_type( $post_type ) {
+ static $included_post_types;
+ if ( ! $included_post_types ) {
+ $included_post_types = (array) WPSEO_Options::get( 'news_sitemap_include_post_types', [] );
+ }
+
+ return array_key_exists( $post_type->name, $included_post_types );
+ }
+
+ /**
+ * Creates an array of objects containing taxonomies and the list of terms that are eligible for exclusion in the
+ * sitemap.
+ *
+ * @param WP_Post_Type $post_type Post type for which to exclude taxonomies.
+ *
+ * @return array Returns an array containing terms and taxonomies. Can be empty.
+ */
+ private function get_excluded_post_type_taxonomies( $post_type ) {
+ $excludable_taxonomies = new WPSEO_News_Excludable_Taxonomies( $post_type->name );
+
+ return $excludable_taxonomies->get_terms();
+ }
+
+ /**
+ * Echoes the sub heading + checkboxes to exclude terms within each of the post type's taxonomies.
+ *
+ * @param WP_Post_Type $post_type The post type.
+ *
+ * @return void
+ */
+ private function excluded_post_type_taxonomies_output( $post_type ) {
+ $terms_per_taxonomy = $this->get_excluded_post_type_taxonomies( $post_type );
+
+ if ( $terms_per_taxonomy === [] ) {
+ return;
+ }
+
+ /* translators: %1%s expands to the post type name. */
+ echo '
' . esc_html( sprintf( __( 'Terms to exclude for %1$s', 'wordpress-seo-news' ), $post_type->labels->name ) ) . '
';
+
+ foreach ( $terms_per_taxonomy as $data ) {
+ $taxonomy = $data['taxonomy'];
+ $terms = $data['terms'];
+
+ /* translators: %1%s expands to the taxonomy name name. */
+ echo '
';
+
+ $taxonomies_list = [];
+ foreach ( $terms as $term ) {
+ $taxonomies_list[ $term->term_id . '_for_' . $post_type->name ] = $term->name;
+ }
+
+ Yoast_Form::get_instance()->checkbox_list( 'news_sitemap_exclude_terms', $taxonomies_list );
+ }
+ }
+
+ /**
+ * Checks if the current page is a news seo plugin page.
+ *
+ * @param string $page The page to check.
+ *
+ * @return bool True when currently on a new page.
+ */
+ protected function is_news_page( $page ) {
+ $news_pages = [ 'wpseo_news' ];
+
+ return in_array( $page, $news_pages, true );
+ }
+}
diff --git a/classes/excludable-taxonomies.php b/classes/excludable-taxonomies.php
new file mode 100644
index 0000000..f1c155d
--- /dev/null
+++ b/classes/excludable-taxonomies.php
@@ -0,0 +1,89 @@
+post_type = $post_type;
+ }
+
+ /**
+ * Gets a list of taxonomies of which posts with terms of this taxonomy can be excluded from the sitemap.
+ *
+ * @return array Taxonomies of which posts with terms of this taxonomy can be excluded from the sitemap.
+ */
+ public function get() {
+ $taxonomies = get_object_taxonomies( $this->post_type, 'objects' );
+
+ return array_filter( $taxonomies, [ $this, 'filter_taxonomies' ] );
+ }
+
+ /**
+ * Retrieves the terms that belong to the taxonomy.
+ *
+ * @return array
+ */
+ public function get_terms() {
+ $taxonomies = $this->get();
+ $taxonomy_terms = array_map( [ $this, 'get_terms_for_taxonomy' ], $taxonomies );
+
+ return array_filter( $taxonomy_terms );
+ }
+
+ /**
+ * Filter to check whether a taxonomy is shown in the WordPress ui.
+ *
+ * @param WP_Taxonomy $taxonomy The taxonomy to filter.
+ *
+ * @return bool Whether or not the taxonomy is hidden in the WordPress ui.
+ */
+ protected function filter_taxonomies( WP_Taxonomy $taxonomy ) {
+ return $taxonomy->show_ui === true;
+ }
+
+ /**
+ * Gets a list of terms for the given taxonomy, and returns them along with the taxonomy in an array.
+ *
+ * @param WP_Taxonomy $taxonomy The taxonomy to get the terms for.
+ *
+ * @return array|null An array containing both the taxonomy and its terms or null
+ * if no terms are associated with the taxonomy.
+ */
+ protected function get_terms_for_taxonomy( $taxonomy ) {
+ $terms = get_terms(
+ [
+ 'taxonomy' => $taxonomy->name,
+ 'hide_empty' => false,
+ 'show_ui' => true,
+ ]
+ );
+
+ if ( count( $terms ) === 0 ) {
+ return null;
+ }
+
+ return [
+ 'taxonomy' => $taxonomy,
+ 'terms' => $terms,
+ ];
+ }
+}
diff --git a/classes/googlebot-news-presenter.php b/classes/googlebot-news-presenter.php
new file mode 100644
index 0000000..7aeb872
--- /dev/null
+++ b/classes/googlebot-news-presenter.php
@@ -0,0 +1,90 @@
+presentation->model->object_type !== 'post' ) {
+ return '';
+ }
+
+ /**
+ * Allow for running additional code before adding the News header tags.
+ *
+ * @since 12.5.0
+ */
+ do_action( 'Yoast\WP\News\head' );
+
+ if ( $this->display_noindex( $this->presentation->source ) ) {
+ return 'noindex';
+ }
+
+ return '';
+ }
+
+ /**
+ * Shows the meta-tag with noindex when it has been decided to exclude the post from Google News.
+ *
+ * @see https://support.google.com/news/publisher/answer/93977?hl=en
+ *
+ * @param WP_Post $post The post object.
+ *
+ * @return bool True when noindex tag should be rendered.
+ */
+ protected function display_noindex( $post ) {
+ $display_noindex = true;
+
+ /**
+ * Filter: 'Yoast\WP\News\head_display_noindex' - Allow preventing of outputting noindex tag.
+ *
+ * @since 12.5.0
+ *
+ * @param bool $display_noindex The noindex tag.
+ * @param object $post The post.
+ */
+ $display_noindex = apply_filters( 'Yoast\WP\News\head_display_noindex', $display_noindex, $post );
+
+ if ( empty( $display_noindex ) ) {
+ return false;
+ }
+
+ $robots_index = WPSEO_Meta::get_value( 'newssitemap-robots-index', $post->ID );
+
+ return ! empty( $robots_index );
+ }
+}
diff --git a/classes/index.php b/classes/index.php
new file mode 100644
index 0000000..d80612c
--- /dev/null
+++ b/classes/index.php
@@ -0,0 +1,2 @@
+transient_key = 'yoast_translations_' . $this->slug;
+ $this->api_url = 'https://packages.translationspress.com/yoast/' . $this->slug . '/packages.json';
+ $this->date_helper = $date_helper;
+ }
+
+ /**
+ * Initializes the integration.
+ *
+ * This is the place to register hooks and filters.
+ *
+ * @return void
+ */
+ public function register_hooks() {
+ add_action( 'init', [ $this, 'register_clean_translations_cache' ], PHP_INT_MAX );
+ add_filter( 'translations_api', [ $this, 'translations_api' ], 10, 3 );
+ add_filter( 'site_transient_update_plugins', [ $this, 'site_transient_update_plugins' ] );
+ }
+
+ /**
+ * Short-circuits translations API requests for private projects.
+ *
+ * @param bool|array $result The result array. Default false.
+ * @param string $requested_type The type of translations being requested.
+ * @param object $args Translation API arguments.
+ *
+ * @return bool|array The translations array. False by default.
+ */
+ public function translations_api( $result, $requested_type, $args ) {
+ if ( $requested_type === 'plugins' && $args['slug'] === $this->slug ) {
+ return $this->get_translations();
+ }
+
+ return $result;
+ }
+
+ /**
+ * Filters the translations transients to include the private plugin or theme.
+ * Caches our own return value to prevent heavy overhead.
+ *
+ * @param bool|object $value The transient value.
+ *
+ * @return object The filtered transient value.
+ */
+ public function site_transient_update_plugins( $value ) {
+ if ( ! $value ) {
+ $value = new stdClass();
+ }
+
+ if ( ! isset( $value->translations ) ) {
+ $value->translations = [];
+ }
+
+ if ( is_array( $this->cached_translations ) ) {
+ $value->translations = array_merge( $value->translations, $this->cached_translations );
+ return $value;
+ }
+
+ $this->cached_translations = [];
+
+ $translations = $this->get_translations();
+ if ( empty( $translations[ $this->slug ]['translations'] ) ) {
+ return $value;
+ }
+
+ // The following call is the reason we need to cache the results of this method.
+ $installed_translations = wp_get_installed_translations( 'plugins' );
+ $available_languages = get_available_languages();
+ foreach ( $translations[ $this->slug ]['translations'] as $translation ) {
+ if ( ! in_array( $translation['language'], $available_languages, true ) ) {
+ continue;
+ }
+
+ if ( isset( $installed_translations[ $this->slug ][ $translation['language'] ] ) && $translation['updated'] ) {
+ $local = new DateTime( $installed_translations[ $this->slug ][ $translation['language'] ]['PO-Revision-Date'] );
+ $remote = new DateTime( $translation['updated'] );
+
+ if ( $local >= $remote ) {
+ continue;
+ }
+ }
+
+ $translation['type'] = 'plugin';
+ $translation['slug'] = $this->slug;
+ $translation['autoupdate'] = true;
+ $value->translations[] = $translation;
+ $this->cached_translations[] = $translation;
+ }
+
+ return $value;
+ }
+
+ /**
+ * Registers actions for clearing translation caches.
+ *
+ * @return void
+ */
+ public function register_clean_translations_cache() {
+ add_action( 'set_site_transient_update_plugins', [ $this, 'clean_translations_cache' ] );
+ add_action( 'delete_site_transient_update_plugins', [ $this, 'clean_translations_cache' ] );
+ }
+
+ /**
+ * Clears existing translation cache.
+ *
+ * @return void
+ */
+ public function clean_translations_cache() {
+ $translations = get_site_transient( $this->transient_key );
+ if ( ! is_array( $translations ) ) {
+ return;
+ }
+
+ $cache_lifespan = DAY_IN_SECONDS;
+ $time_not_changed = isset( $translations['_last_checked'] ) && ( $this->date_helper->current_time() - $translations['_last_checked'] ) > $cache_lifespan;
+
+ if ( ! $time_not_changed ) {
+ return;
+ }
+
+ delete_site_transient( $this->transient_key );
+ }
+
+ /**
+ * Gets the translations for a given project.
+ *
+ * @return array The translation data.
+ */
+ public function get_translations() {
+ $translations = get_site_transient( $this->transient_key );
+ if ( $translations !== false && is_array( $translations ) ) {
+ return $translations;
+ }
+
+ $translations = [];
+
+ $result = json_decode( wp_remote_retrieve_body( wp_remote_get( $this->api_url ) ), true );
+
+ // Nothing found.
+ if ( ! is_array( $result ) ) {
+ $result = [];
+ }
+
+ $translations[ $this->slug ] = $result;
+ $translations['_last_checked'] = $this->date_helper->current_time();
+
+ set_site_transient( $this->transient_key, $translations );
+
+ return $translations;
+ }
+}
diff --git a/classes/javascript-strings.php b/classes/javascript-strings.php
new file mode 100644
index 0000000..34d8b2b
--- /dev/null
+++ b/classes/javascript-strings.php
@@ -0,0 +1,49 @@
+ $this->get_translations( 'wordpress-seo-newsjs' ),
+ ];
+
+ wp_localize_script( $script_handle, 'wpseoNewsJSL10n', $translations );
+ }
+
+ /**
+ * Returns translations necessary for JS files.
+ *
+ * @param string $component The component to retrieve the translations for.
+ *
+ * @return object|null The translations in a Jed format for JS files.
+ */
+ protected function get_translations( $component ) {
+ $locale = get_user_locale();
+
+ $file = plugin_dir_path( WPSEO_NEWS_FILE ) . 'languages/' . $component . '-' . $locale . '.json';
+ if ( file_exists( $file ) ) {
+ // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents -- Retrieving a local file.
+ $file = file_get_contents( $file );
+ if ( is_string( $file ) && $file !== '' ) {
+ return json_decode( $file, true );
+ }
+ }
+
+ return null;
+ }
+}
diff --git a/classes/meta-box.php b/classes/meta-box.php
new file mode 100644
index 0000000..8d95422
--- /dev/null
+++ b/classes/meta-box.php
@@ -0,0 +1,230 @@
+script_version = $script_version;
+ }
+
+ /**
+ * Registers the hooks.
+ *
+ * @return void
+ */
+ public function register_hooks() {
+ global $pagenow;
+
+ // Register the fields as meta.
+ add_filter( 'add_extra_wpseo_meta_fields', [ $this, 'add_meta_fields_to_wpseo_meta' ] );
+
+ // Register the fields for saving.
+ add_filter( 'wpseo_save_metaboxes', [ $this, 'save' ], 10, 1 );
+
+ // Render the fields alongside other hidden inputs.
+ add_filter( 'wpseo_content_meta_section_content', [ $this, 'add_news_fields_to_the_content' ] );
+ add_filter( 'wpseo_elementor_hidden_fields', [ $this, 'add_news_fields_to_the_content' ] );
+
+ // Register the meta box tab.
+ add_filter( 'yoast_free_additional_metabox_sections', [ $this, 'add_metabox_section' ] );
+
+ // Load the editor script when on an edit post or new post page.
+ $is_post_edit_page = $pagenow === 'post.php' || $pagenow === 'post-new.php';
+ if ( $is_post_edit_page ) {
+ add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
+ }
+
+ // Load the editor script when on an elementor edit page.
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Not form data.
+ $get_action = isset( $_GET['action'] ) && is_string( $_GET['action'] ) ? sanitize_text_field( wp_unslash( $_GET['action'] ) ) : null;
+ $is_elementor_edit_page = $pagenow === 'post.php' && $get_action === 'elementor';
+ if ( $is_elementor_edit_page ) {
+ add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
+ }
+
+ // Register the dismissible alert.
+ $editor_changes_alert = new WPSEO_News_Editor_Changes_Alert();
+ $editor_changes_alert->register_hooks();
+ }
+
+ /**
+ * The metaboxes to display and save for the tab.
+ *
+ * @param string $post_type The post type to get metaboxes for. Unused in this implementation.
+ *
+ * @return array[] Multi-level array with information on each metabox to display.
+ */
+ public function get_meta_boxes( $post_type = 'post' ) {
+ return [
+ 'newssitemap-stocktickers' => [
+ 'name' => 'newssitemap-stocktickers',
+ 'std' => '',
+ 'type' => 'hidden',
+ 'title' => __( 'Stock Tickers', 'wordpress-seo-news' ),
+ 'description' => __( 'A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, "NASDAQ:AMAT" (but not "NASD:AMAT"), or "BOM:500325" (but not "BOM:RIL").', 'wordpress-seo-news' ),
+ ],
+ 'newssitemap-robots-index' => [
+ 'type' => 'hidden',
+ 'default_value' => '0', // The default value will be 'index'; See the list of options.
+ 'std' => '',
+ 'options' => [
+ '0' => 'index',
+ '1' => 'noindex',
+ ],
+ 'title' => __( 'Googlebot-News index', 'wordpress-seo-news' ),
+ 'description' => __( 'Using noindex allows you to prevent articles from appearing in Google News.', 'wordpress-seo-news' ),
+ ],
+ ];
+ }
+
+ /**
+ * Add the meta boxes to meta box array so they get saved.
+ *
+ * @param array $meta_boxes The metaboxes to save.
+ *
+ * @return array
+ */
+ public function save( $meta_boxes ) {
+ return array_merge( $meta_boxes, $this->get_meta_boxes() );
+ }
+
+ /**
+ * Add WordPress SEO meta fields to WPSEO meta class.
+ *
+ * @param array $meta_fields The meta fields to extend.
+ *
+ * @return array
+ */
+ public function add_meta_fields_to_wpseo_meta( $meta_fields ) {
+ $meta_fields['news'] = $this->get_meta_boxes();
+
+ return $meta_fields;
+ }
+
+ /**
+ * Adds a news section to the metabox sections array.
+ *
+ * @param array $sections The sections to add to.
+ *
+ * @return array
+ */
+ public function add_metabox_section( $sections ) {
+ if ( ! $this->is_post_type_supported() ) {
+ return $sections;
+ }
+
+ $sections[] = [
+ 'name' => 'news',
+ 'link_content' => '' . esc_html__( 'News', 'wordpress-seo-news' ),
+ 'content' => '',
+ ];
+
+ return $sections;
+ }
+
+ /**
+ * Adds the News meta fields to the content.
+ *
+ * @param string $content The content.
+ *
+ * @return string The content with the rendered News meta fields.
+ */
+ public function add_news_fields_to_the_content( $content ) {
+ return $content . new Meta_Fields_Presenter( $this->get_metabox_post(), 'news' );
+ }
+
+ /**
+ * Enqueues the editor scripts when the post type is supported.
+ *
+ * @return void
+ */
+ public function enqueue_scripts() {
+ if ( ! $this->is_post_type_supported() ) {
+ return;
+ }
+
+ $script_handle = 'wpseo-news-editor';
+ $dependencies = [
+ 'wp-components',
+ 'wp-compose',
+ 'wp-data',
+ 'wp-dom-ready',
+ 'wp-element',
+ 'wp-hooks',
+ 'wp-i18n',
+ 'wp-plugins',
+ 'yoast-seo-editor-modules',
+ ];
+
+ wp_enqueue_script(
+ $script_handle,
+ plugins_url( 'js/dist/yoast-seo-news-editor-' . $this->script_version . '.js', WPSEO_NEWS_FILE ),
+ $dependencies,
+ WPSEO_News::VERSION,
+ true
+ );
+
+ $javascript_strings = new WPSEO_News_Javascript_Strings();
+ $javascript_strings->localize_script( $script_handle );
+
+ wp_localize_script(
+ $script_handle,
+ 'wpseoNewsScriptData',
+ [
+ 'isBlockEditor' => WP_Screen::get()->is_block_editor(),
+ 'newsChangesAlertLink' => WPSEO_Shortlinker::get( 'https://yoa.st/news-changes' ),
+ ]
+ );
+ }
+
+ /**
+ * Check if current post_type is supported.
+ *
+ * @return bool
+ */
+ protected function is_post_type_supported() {
+ static $is_supported;
+
+ if ( $is_supported === null ) {
+ // Default is false.
+ $is_supported = false;
+
+ $post = $this->get_metabox_post();
+
+ if ( is_a( $post, 'WP_Post' ) ) {
+ // Get supported post types.
+ $post_types = WPSEO_News::get_included_post_types();
+
+ // Display content if post type is supported.
+ if ( ! empty( $post_types ) && in_array( $post->post_type, $post_types, true ) ) {
+ $is_supported = true;
+ }
+ }
+ }
+
+ return $is_supported;
+ }
+}
diff --git a/classes/option.php b/classes/option.php
new file mode 100644
index 0000000..b03b657
--- /dev/null
+++ b/classes/option.php
@@ -0,0 +1,94 @@
+ '',
+ 'news_version' => '0',
+ 'news_sitemap_include_post_types' => [],
+ 'news_sitemap_exclude_terms' => [],
+ ];
+
+ /**
+ * Registers the option to the WPSEO Options framework.
+ *
+ * @return void
+ */
+ public static function register_option() {
+ WPSEO_Options::register_option( self::get_instance() );
+ }
+
+ /**
+ * Get the singleton instance of this class.
+ *
+ * @return WPSEO_Option
+ */
+ public static function get_instance() {
+ if ( ! ( self::$instance instanceof self ) ) {
+ self::$instance = new self();
+ }
+
+ return self::$instance;
+ }
+
+ /**
+ * All concrete classes must contain a validate_option() method which validates all
+ * values within the option.
+ *
+ * @param array $dirty New value for the option.
+ * @param array $clean Clean value for the option, normally the defaults.
+ * @param array $old Old value of the option.
+ *
+ * @return array The cleaned and validated option.
+ */
+ protected function validate_option( $dirty, $clean, $old ) {
+
+ foreach ( $clean as $key => $value ) {
+ switch ( $key ) {
+ case 'news_version':
+ $clean[ $key ] = WPSEO_NEWS_VERSION;
+ break;
+ case 'news_sitemap_name':
+ if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) {
+ $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $dirty[ $key ] );
+ }
+ break;
+
+ case 'news_sitemap_include_post_types':
+ case 'news_sitemap_exclude_terms':
+ $clean[ $key ] = [];
+
+ if ( isset( $dirty[ $key ] ) && ( is_array( $dirty[ $key ] ) && $dirty[ $key ] !== [] ) ) {
+ foreach ( $dirty[ $key ] as $name => $posted_value ) {
+ if ( is_string( $name ) ) {
+ $clean[ $key ][ $name ] = 'on';
+ }
+ }
+ }
+ break;
+ }
+ }
+
+ return $clean;
+ }
+}
diff --git a/classes/product.php b/classes/product.php
new file mode 100644
index 0000000..59b3610
--- /dev/null
+++ b/classes/product.php
@@ -0,0 +1,35 @@
+date = new WPSEO_Date_Helper();
+
+ add_filter( 'wpseo_schema_article_types', [ $this, 'schema_add_news_types' ] );
+ add_filter( 'wpseo_schema_article_types_labels', [ $this, 'schema_add_news_types_labels' ] );
+
+ add_filter( 'wpseo_schema_article', [ $this, 'add_copyright_information' ] );
+ }
+
+ /**
+ * Adds copyright information.
+ *
+ * @param array $data Schema Article data.
+ *
+ * @return array Schema Article data.
+ */
+ public function add_copyright_information( $data ) {
+ $post = $this->get_post();
+ if ( $this->is_post_type_included( $post ) ) {
+ $data['copyrightYear'] = $this->date->format( $post->post_date_gmt, 'Y' );
+ $data['copyrightHolder'] = [ '@id' => trailingslashit( WPSEO_Utils::get_home_url() ) . Schema_IDs::ORGANIZATION_HASH ];
+ }
+
+ return $data;
+ }
+
+ /**
+ * Checks if the given post should be included or not, based on the type.
+ *
+ * @param WP_Post|null $post The post to check for.
+ *
+ * @return bool True if the post should be included based on post type.
+ */
+ protected function is_post_type_included( $post ) {
+ return $post !== null && in_array( $post->post_type, WPSEO_News::get_included_post_types(), true );
+ }
+
+ /**
+ * Checks if the given post should be excluded or not.
+ *
+ * @codeCoverageIgnore It just wraps logic.
+ *
+ * @param WP_Post $post The post to check for.
+ *
+ * @return bool True if the post should be excluded.
+ */
+ protected function is_post_excluded( $post ) {
+ return (
+ WPSEO_News::is_excluded_through_sitemap( $post->ID )
+ || WPSEO_News::is_excluded_through_terms( $post->ID, $post->post_type )
+ );
+ }
+
+ /**
+ * Retrieves post data given a post ID or post object.
+ *
+ * This function exists to be able to mock the get_post call and should
+ * no longer be needed when moving the tests suite over to BrainMonkey.
+ *
+ * @codeCoverageIgnore
+ *
+ * @param int|WP_Post|null $post Optional. Post ID or post object.
+ *
+ * @return WP_Post|null The post object or null if it cannot be found.
+ */
+ protected function get_post( $post = null ) {
+ return get_post( $post );
+ }
+
+ /**
+ * Add schema article types.
+ *
+ * @param array $schema_article_types Schema article types.
+ *
+ * @return array Schema article types.
+ */
+ public function schema_add_news_types( $schema_article_types ) {
+ return array_merge(
+ $schema_article_types,
+ [
+ 'AnalysisNewsArticle' => '',
+ 'AskPublicNewsArticle' => '',
+ 'BackgroundNewsArticle' => '',
+ 'OpinionNewsArticle' => '',
+ 'ReportageNewsArticle' => '',
+ 'ReviewNewsArticle' => '',
+ ]
+ );
+ }
+
+ /**
+ * Add schema article types with labels.
+ *
+ * @param array $schema_article_types_labels Schema article types with labels.
+ *
+ * @return array Schema article types with labels.
+ */
+ public function schema_add_news_types_labels( $schema_article_types_labels ) {
+ return array_merge(
+ $schema_article_types_labels,
+ [
+ [
+ 'name' => __( 'News: Analysis article', 'wordpress-seo-news' ),
+ 'value' => 'AnalysisNewsArticle',
+ ],
+ [
+ 'name' => __( 'News: Ask The Public article', 'wordpress-seo-news' ),
+ 'value' => 'AskPublicNewsArticle',
+ ],
+ [
+ 'name' => __( 'News: Background article', 'wordpress-seo-news' ),
+ 'value' => 'BackgroundNewsArticle',
+ ],
+ [
+ 'name' => __( 'News: Opinion article', 'wordpress-seo-news' ),
+ 'value' => 'OpinionNewsArticle',
+ ],
+ [
+ 'name' => __( 'News: Reportage article', 'wordpress-seo-news' ),
+ 'value' => 'ReportageNewsArticle',
+ ],
+ [
+ 'name' => __( 'News: Review article', 'wordpress-seo-news' ),
+ 'value' => 'ReviewNewsArticle',
+ ],
+ ]
+ );
+ }
+}
diff --git a/classes/sitemap-item.php b/classes/sitemap-item.php
new file mode 100644
index 0000000..50805c5
--- /dev/null
+++ b/classes/sitemap-item.php
@@ -0,0 +1,123 @@
+item = $item;
+ $this->publication_tag = $publication_tag;
+
+ $this->date = new WPSEO_Date_Helper();
+
+ // Check if item should be skipped.
+ if ( ! $this->skip_build_item() ) {
+ $this->build_item();
+ }
+ }
+
+ /**
+ * Return the output, because the object is converted to a string.
+ *
+ * @return string
+ */
+ public function __toString() {
+ return $this->output;
+ }
+
+ /**
+ * Determines if the item has to be skipped or not.
+ *
+ * @return bool True if the item has to be skipped.
+ */
+ private function skip_build_item() {
+ $skip_build_item = false;
+
+ /**
+ * Filter: 'Yoast\WP\News\skip_build_item' - Allow override of decision to skip adding this item to the news sitemap.
+ *
+ * @param bool $skip_build_item Whether this item should be built for the sitemap.
+ * @param int $item_id ID of the current item to be skipped or not.
+ *
+ * @since 12.8.0
+ */
+ $skip_build_item = apply_filters( 'Yoast\WP\News\skip_build_item', $skip_build_item, $this->item->object_id );
+
+ return is_bool( $skip_build_item ) && $skip_build_item;
+ }
+
+ /**
+ * Building each sitemap item.
+ *
+ * @return void
+ */
+ private function build_item() {
+ $this->output .= '' . "\n";
+ $this->output .= "\t" . $this->item->permalink . '' . "\n";
+
+ // Building the news_tag.
+ $this->build_news_tag();
+
+ $this->output .= '' . "\n";
+ }
+
+ /**
+ * Building the news tag.
+ *
+ * @return void
+ */
+ private function build_news_tag() {
+ $this->output .= "\t\n";
+ $this->output .= $this->publication_tag;
+ $this->output .= "\t\t" . $this->date->format( $this->item->object_published_at ) . '' . "\n";
+ $this->output .= "\t\titem->title . ']]>' . "\n";
+
+ if ( ! empty( $this->item->stock_tickers ) ) {
+ $this->output .= "\t\titem->stock_tickers . ']]>' . "\n";
+ }
+
+ $this->output .= "\t\n";
+ }
+}
diff --git a/classes/sitemap.php b/classes/sitemap.php
new file mode 100644
index 0000000..5d66228
--- /dev/null
+++ b/classes/sitemap.php
@@ -0,0 +1,459 @@
+date = new WPSEO_Date_Helper();
+
+ add_action( 'init', [ $this, 'init' ], 10 );
+
+ add_action( 'save_post', [ $this, 'invalidate_sitemap' ] );
+
+ add_action( 'wpseo_news_schedule_sitemap_clear', 'yoast_wpseo_news_clear_sitemap_cache' );
+ }
+
+ /**
+ * Add the XML News Sitemap to the Sitemap Index.
+ *
+ * @param string $str String with Index sitemap content.
+ *
+ * @return string
+ */
+ public function add_to_index( $str ) {
+
+ // Only add when we have items.
+ $items = $this->get_items( 1 );
+ if ( empty( $items ) ) {
+ return $str;
+ }
+
+ $str .= '' . "\n";
+ $str .= '' . self::get_sitemap_name() . '' . "\n";
+ $str .= '' . htmlspecialchars( $this->date->format( get_lastpostdate( 'gmt' ) ), ENT_COMPAT, get_bloginfo( 'charset' ), false ) . '' . "\n";
+ $str .= '' . "\n";
+
+ return $str;
+ }
+
+ /**
+ * Register the XML News sitemap with the main sitemap class.
+ *
+ * @return void
+ */
+ public function init() {
+
+ $this->basename = self::get_sitemap_name( false );
+
+ // Setting stylesheet for cached sitemap.
+ add_action( 'wpseo_sitemap_stylesheet_cache_' . $this->basename, [ $this, 'set_stylesheet_cache' ] );
+
+ if ( isset( $GLOBALS['wpseo_sitemaps'] ) ) {
+ add_filter( 'wpseo_sitemap_index', [ $this, 'add_to_index' ] );
+
+ $this->yoast_wpseo_news_schedule_clear();
+
+ // We might consider deprecating/removing this, because we are using a static xsl file.
+ $GLOBALS['wpseo_sitemaps']->register_sitemap( $this->basename, [ $this, 'build' ] );
+ if ( method_exists( $GLOBALS['wpseo_sitemaps'], 'register_xsl' ) ) {
+ $xsl_rewrite_rule = sprintf( '^%s-sitemap.xsl$', $this->basename );
+
+ $GLOBALS['wpseo_sitemaps']->register_xsl(
+ $this->basename,
+ [
+ $this,
+ 'build_news_sitemap_xsl',
+ ],
+ $xsl_rewrite_rule
+ );
+ }
+ }
+ }
+
+ /**
+ * Method to invalidate the sitemap.
+ *
+ * @param int $post_id Post ID to invalidate for.
+ *
+ * @return void
+ */
+ public function invalidate_sitemap( $post_id ) {
+ // If this is just a revision, don't invalidate the sitemap cache yet.
+ if ( wp_is_post_revision( $post_id ) ) {
+ return;
+ }
+
+ // Bail if this is a multisite installation and the site has been switched.
+ if ( is_multisite() && ms_is_switched() ) {
+ return;
+ }
+
+ // Only invalidate when we are in a News Post Type object.
+ if ( ! in_array( get_post_type( $post_id ), WPSEO_News::get_included_post_types(), true ) ) {
+ return;
+ }
+
+ WPSEO_Sitemaps_Cache::invalidate( $this->basename );
+ }
+
+ /**
+ * When sitemap is coming out of the cache there is no stylesheet. Normally it will take the default stylesheet.
+ *
+ * This method is called by a filter that will set the video stylesheet.
+ *
+ * @param object $target_object Target Object to set cache from.
+ *
+ * @return object
+ */
+ public function set_stylesheet_cache( $target_object ) {
+ $target_object->renderer->set_stylesheet( $this->get_stylesheet_line() );
+
+ return $target_object;
+ }
+
+ /**
+ * Build the sitemap and push it to the XML Sitemaps Class instance for display.
+ *
+ * @return void
+ */
+ public function build() {
+ $GLOBALS['wpseo_sitemaps']->set_sitemap( $this->build_sitemap() );
+ $GLOBALS['wpseo_sitemaps']->renderer->set_stylesheet( $this->get_stylesheet_line() );
+ }
+
+ /**
+ * Building the XML for the sitemap.
+ *
+ * @return string
+ */
+ public function build_sitemap() {
+ $start_time = microtime( true );
+
+ $output = '' . "\n";
+
+ $items = $this->get_items();
+
+ // Loop through items.
+ if ( ! empty( $items ) ) {
+ $output .= $this->build_items( $items );
+ }
+
+ /**
+ * Filter to add extra entries to the news sitemap.
+ *
+ * @param string $content String content to add, defaults to empty.
+ */
+ $output .= apply_filters( 'wpseo_news_sitemap_content', '' );
+
+ $output .= '';
+
+ $total_time = ( microtime( true ) - $start_time );
+ if ( WP_DEBUG ) {
+ $output .= '';
+ }
+ return $output;
+ }
+
+ /**
+ * Outputs the XSL file.
+ *
+ * @return void
+ */
+ public function build_news_sitemap_xsl() {
+ $protocol = 'HTTP/1.1';
+
+ if ( isset( $_SERVER['SERVER_PROTOCOL'] ) && is_string( $_SERVER['SERVER_PROTOCOL'] ) && $_SERVER['SERVER_PROTOCOL'] !== '' ) {
+ $protocol = sanitize_text_field( wp_unslash( $_SERVER['SERVER_PROTOCOL'] ) );
+ }
+ // Force a 200 header and replace other status codes.
+ header( $protocol . ' 200 OK', true, 200 );
+ // Set the right content / mime type.
+ header( 'Content-Type: text/xml' );
+ // Prevent the search engines from indexing the XML Sitemap.
+ header( 'X-Robots-Tag: noindex, follow', true );
+ // Make the browser cache this file properly.
+ header( 'Pragma: public' );
+ header( 'Cache-Control: maxage=' . YEAR_IN_SECONDS );
+ header( 'Expires: ' . $this->date->format_timestamp( ( time() + YEAR_IN_SECONDS ), 'D, d M Y H:i:s' ) . ' GMT' );
+
+ /*
+ * Using `readfile()` rather than `include` to prevent issues with XSL being interpreted as PHP
+ * on systems where the PHP ini directived `short_open_tags` is turned on.
+ * phpcs:disable WordPress.WP.AlternativeFunctions.file_system_operations_readfile
+ */
+ readfile( dirname( WPSEO_NEWS_FILE ) . '/assets/xml-news-sitemap.xsl' );
+ // phpcs:enable
+
+ die();
+ }
+
+ /**
+ * Clear the sitemap and sitemap index every hour to make sure the sitemap is hidden or shown when it needs to be.
+ *
+ * @return void
+ */
+ private function yoast_wpseo_news_schedule_clear() {
+ $schedule = wp_get_schedule( 'wpseo_news_schedule_sitemap_clear' );
+
+ if ( empty( $schedule ) ) {
+ wp_schedule_event( time(), 'hourly', 'wpseo_news_schedule_sitemap_clear' );
+ }
+ }
+
+ /**
+ * Getter for stylesheet URL.
+ *
+ * @return string Stylesheet URL.
+ */
+ private function get_stylesheet_line() {
+ return "\n" . 'get_xsl_url() ) . '"?>';
+ }
+
+ /**
+ * Getting all the items for the sitemap.
+ *
+ * @param int $limit The limit for the query, default is 1000 items.
+ *
+ * @return array
+ */
+ private function get_items( $limit = 1000 ) {
+ global $wpdb;
+
+ // Get supported post types.
+ $post_types = WPSEO_News::get_included_post_types();
+
+ if ( empty( $post_types ) ) {
+ return [];
+ }
+
+ /**
+ * The indexable repository.
+ *
+ * @var Indexable_Repository $repository
+ */
+ $repository = YoastSEO()->classes->get( Indexable_Repository::class );
+
+ $query = $repository
+ ->query()
+ ->distinct()
+ ->select_many( 'i.id', 'i.object_id', 'i.object_sub_type', 'i.permalink', 'i.object_published_at' )
+ ->select( 'breadcrumb_title', 'title' )
+ ->select( 'pm2.meta_value', 'stock_tickers' )
+ ->table_alias( 'i' )
+ ->left_outer_join( $wpdb->postmeta, 'pm.post_id = i.object_id AND pm.meta_key = \'_yoast_wpseo_newssitemap-robots-index\'', 'pm' )
+ ->left_outer_join( $wpdb->postmeta, 'pm2.post_id = i.object_id AND pm2.meta_key = \'_yoast_wpseo_newssitemap-stocktickers\'', 'pm2' )
+ ->where( 'i.post_status', 'publish' )
+ ->where( 'i.object_type', 'post' )
+ ->where_in( 'object_sub_type', $post_types )
+ ->where_raw( '( i.is_robots_noindex = 0 OR i.is_robots_noindex IS NULL )' )
+ ->where_raw( 'i.object_published_at >= UTC_TIMESTAMP() - INTERVAL 48 HOUR' )
+ ->where_raw( '( pm.meta_value = \'0\' OR pm.meta_value IS NULL )' )
+ ->order_by_desc( 'i.object_published_at' )
+ ->limit( $limit );
+
+ $query = $this->maybe_add_terms_query( $query, $post_types );
+
+ return $query->find_many();
+ }
+
+ /**
+ * Adds the term query to the sitemap query if required.
+ *
+ * @param ORM $query The sitemap query.
+ * @param string[] $post_types The post types.
+ *
+ * @return ORM The modified query.
+ */
+ private function maybe_add_terms_query( ORM $query, $post_types ) {
+ global $wpdb;
+
+ $excluded_terms = (array) WPSEO_Options::get( 'news_sitemap_exclude_terms', [] );
+
+ if ( empty( $excluded_terms ) ) {
+ return $query;
+ }
+
+ $excluded_terms_by_post_type = [];
+ foreach ( $excluded_terms as $excluded_term => $value ) {
+ if ( $value !== 'on' ) {
+ continue;
+ }
+ list( $term_id, $post_type ) = explode( '_for_', $excluded_term, 2 );
+ if ( ! array_key_exists( $post_type, $excluded_terms_by_post_type ) ) {
+ $excluded_terms_by_post_type[ $post_type ] = [];
+ }
+ $excluded_terms_by_post_type[ $post_type ][] = (int) $term_id;
+ }
+
+ $replacements = [];
+ $term_query = [];
+ foreach ( $post_types as $post_type ) {
+ if ( ! array_key_exists( $post_type, $excluded_terms_by_post_type ) ) {
+ continue;
+ }
+ $term_ids = $excluded_terms_by_post_type[ $post_type ];
+ $replacements = array_merge( $replacements, [ $post_type ], $term_ids );
+ $placeholders = implode( ', ', array_fill( 0, count( $term_ids ), '%d' ) );
+ $term_query[] = "( object_sub_type = %s AND t.term_id IN ( $placeholders ) )";
+ }
+ $term_query = implode( ' OR ', $term_query );
+
+ return $query
+ ->raw_join(
+ "LEFT OUTER JOIN (
+ SELECT tr.object_id, tt.term_id
+ FROM $wpdb->term_relationships AS tr
+ LEFT OUTER JOIN $wpdb->term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
+ )",
+ "( $term_query ) AND t.object_id = i.object_id",
+ 't',
+ $replacements
+ )
+ ->where_null( 't.object_id' );
+ }
+
+ /**
+ * Loop through all $items and build each one of it.
+ *
+ * @param Indexable[] $items Items to convert to sitemap output.
+ *
+ * @return string
+ */
+ private function build_items( $items ) {
+ $publication_tag = $this->build_publication_tag();
+ $output = '';
+ foreach ( $items as $item ) {
+ $output .= new WPSEO_News_Sitemap_Item( $item, $publication_tag );
+ }
+
+ return $output;
+ }
+
+ /**
+ * Builds the publication tag.
+ *
+ * @return string
+ */
+ private function build_publication_tag() {
+ $publication_name = WPSEO_Options::get( 'news_sitemap_name', get_bloginfo( 'name' ) );
+ $publication_lang = $this->get_publication_lang();
+ $charset = get_bloginfo( 'charset' );
+
+ $publication_tag = "\t\t\n";
+ $publication_tag .= "\t\t\t" . htmlspecialchars( $publication_name, ENT_COMPAT, $charset, false ) . '' . "\n";
+ $publication_tag .= "\t\t\t" . htmlspecialchars( $publication_lang, ENT_COMPAT, $charset, false ) . '' . "\n";
+ $publication_tag .= "\t\t\n";
+
+ return $publication_tag;
+ }
+
+ /**
+ * Getting the name for the sitemap, if $full_path is true, it will return the full path.
+ *
+ * @param bool $full_path Generate a full path.
+ *
+ * @return string
+ */
+ public static function get_sitemap_name( $full_path = true ) {
+ /**
+ * Allows for filtering the News sitemap name.
+ *
+ * @param string $sitemap_name First portion of the news sitemap "file" name.
+ *
+ * @since 12.5.0
+ */
+ $sitemap_name = apply_filters( 'Yoast\WP\News\sitemap_name', self::news_sitemap_basename() );
+
+ // When $full_path is true, it will generate a full path.
+ if ( $full_path ) {
+ return WPSEO_Sitemaps_Router::get_base_url( $sitemap_name . '-sitemap.xml' );
+ }
+
+ return $sitemap_name;
+ }
+
+ /**
+ * Returns the basename of the news-sitemap, the first portion of the name of the sitemap "file".
+ *
+ * Defaults to news, but it's possible to override it by using the YOAST_NEWS_SITEMAP_BASENAME constant.
+ *
+ * @since 3.1
+ *
+ * @return string Basename for the news sitemap.
+ */
+ public static function news_sitemap_basename() {
+ $basename = 'news';
+
+ if ( post_type_exists( 'news' ) ) {
+ $basename = 'yoast-news';
+ }
+
+ if ( defined( 'YOAST_NEWS_SITEMAP_BASENAME' ) ) {
+ $basename = YOAST_NEWS_SITEMAP_BASENAME;
+ }
+
+ return $basename;
+ }
+
+ /**
+ * Retrieves the XSL URL that should be used in the current environment.
+ *
+ * When home_url and site_url are not the same, the home_url should be used.
+ * This is because the XSL needs to be served from the same domain, protocol and port
+ * as the XML file that is loading it.
+ *
+ * @return string The XSL URL that needs to be used.
+ */
+ protected function get_xsl_url() {
+ if ( home_url() !== site_url() ) {
+ return home_url( $this->basename . '-sitemap.xsl' );
+ }
+
+ return plugin_dir_url( WPSEO_NEWS_FILE ) . 'assets/xml-news-sitemap.xsl';
+ }
+
+ /**
+ * Getting the publication language.
+ *
+ * @return string Publication language.
+ */
+ private function get_publication_lang() {
+ // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- WPSEO hook.
+ $locale = apply_filters( 'wpseo_locale', get_locale() );
+
+ // Fallback to 'en', if the length of the locale is less than 2 characters.
+ if ( strlen( $locale ) < 2 ) {
+ $locale = 'en';
+ }
+
+ return substr( $locale, 0, 2 );
+ }
+}
diff --git a/classes/upgrade-manager.php b/classes/upgrade-manager.php
new file mode 100644
index 0000000..4eb213a
--- /dev/null
+++ b/classes/upgrade-manager.php
@@ -0,0 +1,408 @@
+' ) ) {
+
+ // Do update.
+ $this->do_update( $options['news_version'] );
+
+ // Update version code.
+ $this->update_current_version_code();
+ }
+ }
+
+ /**
+ * An update is required, do it.
+ *
+ * @param string $current_version The current version.
+ *
+ * @return void
+ */
+ private function do_update( $current_version ) {
+ // Update to version 2.0.
+ if ( version_compare( $current_version, '2.0', '<' ) ) {
+ $this->upgrade_20();
+ }
+
+ // Upgrade to version 2.0.4.
+ if ( version_compare( $current_version, '2.0.4', '<' ) ) {
+ $this->upgrade_204();
+ }
+
+ // Upgrade to version 7.8.
+ if ( version_compare( $current_version, '7.8', '<' ) ) {
+ $this->upgrade_78();
+ }
+
+ // Upgrade to version 8.3.
+ if ( version_compare( $current_version, '8.3', '<' ) ) {
+ $this->upgrade_83();
+ }
+
+ // Upgrade to version 12.4.
+ if ( version_compare( $current_version, '12.4-RC0', '<=' ) ) {
+ $this->upgrade_124();
+ }
+
+ // Upgrade to version 12.4.1.
+ if ( version_compare( $current_version, '12.4.1-RC0', '<=' ) ) {
+ $this->upgrade_1241();
+ }
+
+ // Upgrade to version 12.7.
+ if ( version_compare( $current_version, '12.7', '<=' ) ) {
+ $this->upgrade_127();
+ }
+
+ // Upgrade to version 13.1.
+ if ( version_compare( $current_version, '13.1-RC0', '<=' ) ) {
+ $this->upgrade_131();
+ }
+
+ // Upgrade to version 13.1.
+ if ( version_compare( $current_version, '13.2-RC0', '<=' ) ) {
+ $this->upgrade_132();
+ }
+ }
+
+ /**
+ * Update the current version code.
+ *
+ * @return void
+ */
+ private function update_current_version_code() {
+ $options = get_option( 'wpseo_news' );
+ $options['news_version'] = WPSEO_News::VERSION;
+
+ update_option( 'wpseo_news', $options );
+ }
+
+ /**
+ * Perform the upgrade to 2.0.
+ *
+ * @return void
+ */
+ private function upgrade_20() {
+ // Get current options.
+ $current_options = get_option( 'wpseo_news' );
+
+ // Set new options.
+ $new_options = [
+ 'news_sitemap_name' => ( ( isset( $current_options['newssitemapname'] ) ) ? $current_options['newssitemapname'] : '' ),
+ 'news_sitemap_default_genre' => ( ( isset( $current_options['newssitemap_default_genre'] ) ) ? $current_options['newssitemap_default_genre'] : '' ),
+ ];
+
+ // Save new options.
+ update_option( 'wpseo_news', $new_options );
+ }
+
+ /**
+ * Perform the upgrade to 2.0.4.
+ *
+ * @return void
+ */
+ private function upgrade_204() {
+ // Remove unused option.
+ $news_options = get_option( 'wpseo_news' );
+ unset( $news_options['ep_image_title'] );
+
+ // Update options.
+ update_option( 'wpseo_news', $news_options );
+ }
+
+ /**
+ * Perform the upgrade to 7.8.
+ *
+ * @return void
+ */
+ private function upgrade_78() {
+ // Delete all standout tags. Functionality was deleted in 7.7, data only deleted in 7.8.
+ $this->delete_meta_by_key( '_yoast_wpseo_newssitemap-standout' );
+
+ // Delete all editors picks settings.
+ $this->delete_meta_by_key( '_yoast_wpseo_newssitemap-editors-pick' );
+
+ // Delete all original source references.
+ $this->delete_meta_by_key( '_yoast_wpseo_newssitemap-original' );
+ }
+
+ /**
+ * Performs the upgrade to 8.3.
+ *
+ * @return void
+ */
+ private function upgrade_83() {
+ // Get current options.
+ $options = get_option( 'wpseo_news' );
+
+ foreach ( $options as $key => $value ) {
+
+ if ( strpos( $key, 'catexclude_' ) !== 0 ) {
+ continue;
+ }
+
+ $slug = str_replace( 'catexclude_', '', $key );
+ $options[ 'news_sitemap_exclude_term_category_' . $slug ] = $value;
+ unset( $options[ $key ] );
+ }
+
+ // Update options.
+ update_option( 'wpseo_news', $options );
+ }
+
+ /**
+ * Removes the timezone notice when set.
+ *
+ * @return void
+ */
+ private function upgrade_124() {
+ Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-news_timezone_format_empty' );
+
+ $options = get_option( 'wpseo_news' );
+
+ if ( isset( $options['name'] ) && ! isset( $options['news_sitemap_name'] ) ) {
+ $options['news_sitemap_name'] = $options['name'];
+
+ unset( $options['name'] );
+ }
+
+ if ( isset( $options['default_genre'] ) && ! isset( $options['news_sitemap_default_genre'] ) ) {
+ $options['news_sitemap_default_genre'] = $options['default_genre'];
+
+ unset( $options['default_genre'] );
+ }
+
+ foreach ( $options as $option_name => $option_value ) {
+ if ( strpos( $option_name, 'newssitemap_include_' ) === 0 ) {
+ $options[ str_replace( 'newssitemap_include_', 'news_sitemap_include_post_type_', $option_name ) ] = $option_value;
+
+ unset( $options[ $option_name ] );
+
+ continue;
+ }
+
+ if ( strpos( $option_name, 'term_exclude_' ) === 0 ) {
+ $options[ str_replace( 'term_exclude_', 'news_sitemap_exclude_term_', $option_name ) ] = $option_value;
+
+ unset( $options[ $option_name ] );
+
+ continue;
+ }
+ }
+
+ update_option( 'wpseo_news', $options );
+ }
+
+ /**
+ * Makes the options converted in 12.4 an array.
+ *
+ * @return void
+ */
+ private function upgrade_1241() {
+ $options = get_option( 'wpseo_news' );
+
+ $included_post_types = [];
+ $excluded_terms = [];
+
+ if ( isset( $options['news_sitemap_include_post_types'] ) && is_array( $options['news_sitemap_include_post_types'] ) ) {
+ $included_post_types = $options['news_sitemap_include_post_types'];
+ }
+
+ if ( isset( $options['news_sitemap_exclude_terms'] ) && is_array( $options['news_sitemap_exclude_terms'] ) ) {
+ $excluded_terms = $options['news_sitemap_exclude_terms'];
+ }
+
+ foreach ( $options as $option_name => $option_value ) {
+ if ( strpos( $option_name, 'news_sitemap_include_post_type_' ) === 0 ) {
+ $post_type_to_include = str_replace( 'news_sitemap_include_post_type_', '', $option_name );
+ $included_post_types[ $post_type_to_include ] = 'on';
+
+ unset( $options[ $option_name ] );
+
+ continue;
+ }
+
+ if ( strpos( $option_name, 'news_sitemap_exclude_term_' ) === 0 ) {
+ $term_to_exclude = str_replace( 'news_sitemap_exclude_term_', '', $option_name );
+ $excluded_terms[ $term_to_exclude ] = 'on';
+
+ unset( $options[ $option_name ] );
+
+ continue;
+ }
+ }
+
+ $options['news_sitemap_include_post_types'] = $included_post_types;
+ $options['news_sitemap_exclude_terms'] = $excluded_terms;
+
+ update_option( 'wpseo_news', $options );
+ }
+
+ /**
+ * Performs the upgrade routine for Yoast SEO News 12.7.
+ *
+ * @return void
+ */
+ private function upgrade_127() {
+ // Remove the default genre setting from the database.
+ $options = get_option( 'wpseo_news' );
+ unset( $options['news_sitemap_default_genre'] );
+ update_option( 'wpseo_news', $options );
+
+ // Remove the genre settings from the database.
+ $this->delete_meta_by_key( '_yoast_wpseo_newssitemap-genre' );
+
+ // Remove the News sitemap exclude settings from the database.
+ $this->delete_meta_by_key( '_yoast_wpseo_newssitemap-exclude' );
+ }
+
+ /**
+ * Performs the upgrade routine for Yoast SEO News 13.1.
+ *
+ * @return void
+ */
+ private function upgrade_131() {
+ /*
+ * The updating of the excluded terms options needs to run later
+ * so we can assume that all custom post types have been registered.
+ */
+ add_action( 'init', [ $this, 'update_excluded_terms_options' ], 100 );
+
+ global $wpdb;
+
+ $indexable_table = Model::get_table_name( 'Indexable' );
+
+ // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery
+ // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching
+ $wpdb->query(
+ $wpdb->prepare(
+ "
+ UPDATE %i AS i
+ JOIN %i AS p ON i.%i = p.ID AND i.%i = 'post'
+ SET i.%i = p.%i, i.%i = p.%i
+ WHERE p.%i >= NOW() - INTERVAL 48 HOUR
+ ",
+ $indexable_table,
+ $wpdb->posts,
+ 'object_id',
+ 'object_type',
+ 'object_published_at',
+ 'post_date_gmt',
+ 'object_last_modified',
+ 'post_modified_gmt',
+ 'post_date_gmt'
+ )
+ );
+ // phpcs:enable
+ }
+
+ /**
+ * Performs the upgrade routine for Yoast SEO News 13.2.
+ *
+ * @return void
+ */
+ private function upgrade_132() {
+ require_once ABSPATH . 'wp-admin/includes/admin.php';
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+ $upgrader = new WP_Upgrader();
+ $upgrader->skin = new Automatic_Upgrader_Skin();
+ Language_Pack_Upgrader::async_upgrade( $upgrader );
+ }
+
+ /**
+ * Deletes post meta fields by key.
+ *
+ * @link https://codex.wordpress.org/Class_Reference/wpdb#DELETE_Rows
+ *
+ * @param string $key The key to delete post meta fields for.
+ *
+ * @return void
+ */
+ private function delete_meta_by_key( $key ) {
+ global $wpdb;
+
+ // phpcs:disable WordPress.DB.DirectDatabaseQuery,WordPress.DB.SlowDBQuery -- Upgrade routines are only used intermittently.
+ $wpdb->delete(
+ $wpdb->postmeta,
+ [
+ 'meta_key' => $key,
+ ],
+ [ '%s' ]
+ );
+ // phpcs:enable
+ }
+
+ /**
+ * Updates the options about excluded terms to the new 13.1 format.
+ *
+ * @return void
+ */
+ public function update_excluded_terms_options() {
+ $options = get_option( 'wpseo_news' );
+ $post_types = [];
+ foreach ( get_post_types( [ 'public' => true ], 'names' ) as $post_type ) {
+ if ( array_key_exists( $post_type, $options['news_sitemap_include_post_types'] ) && $options['news_sitemap_include_post_types'][ $post_type ] === 'on' ) {
+ $post_types[] = $post_type;
+ }
+ }
+
+ // Support post if no post types are supported.
+ if ( empty( $post_types ) ) {
+ $post_types[] = 'post';
+ }
+
+ $updated_option = [];
+
+ foreach ( $post_types as $post_type ) {
+ $excludable_taxonomies = new WPSEO_News_Excludable_Taxonomies( $post_type );
+
+ foreach ( $excludable_taxonomies->get_terms() as $data ) {
+ $terms = $data['terms'];
+
+ foreach ( $terms as $term ) {
+ $option_key = $term->taxonomy . '_' . $term->slug . '_for_' . $post_type;
+ if ( array_key_exists( $option_key, $options['news_sitemap_exclude_terms'] ) && $options['news_sitemap_exclude_terms'][ $option_key ] === 'on' ) {
+ $updated_option[ $term->term_id . '_for_' . $post_type ] = 'on';
+ }
+ }
+ }
+ }
+
+ $options['news_sitemap_exclude_terms'] = $updated_option;
+ update_option( 'wpseo_news', $options );
+ }
+}
diff --git a/classes/wpseo-news.php b/classes/wpseo-news.php
new file mode 100644
index 0000000..849af9d
--- /dev/null
+++ b/classes/wpseo-news.php
@@ -0,0 +1,429 @@
+check_dependencies( $wp_version ) === false ) {
+ return;
+ }
+
+ $this->set_hooks();
+
+ // Meta box.
+ $meta_box = new WPSEO_News_Meta_Box( $this->get_version() );
+ $meta_box->register_hooks();
+
+ // Sitemap.
+ new WPSEO_News_Sitemap();
+
+ // Schema.
+ new WPSEO_News_Schema();
+ }
+
+ /**
+ * Loading the hooks, which will be lead to methods withing this class.
+ *
+ * @return void
+ */
+ private function set_hooks() {
+ add_filter( 'plugin_action_links', [ $this, 'plugin_links' ], 10, 2 );
+ add_filter( 'wpseo_submenu_pages', [ $this, 'add_submenu_pages' ] );
+ add_action( 'init', [ 'WPSEO_News_Option', 'register_option' ] );
+ add_action( 'init', [ 'WPSEO_News', 'read_options' ] );
+ add_action( 'admin_init', [ $this, 'init_admin' ] );
+
+ // Enable Yoast usage tracking.
+ add_filter( 'wpseo_enable_tracking', '__return_true' );
+ add_filter( 'wpseo_helpscout_beacon_settings', [ $this, 'filter_helpscout_beacon' ] );
+
+ add_filter( 'wpseo_frontend_presenters', [ $this, 'add_frontend_presenter' ] );
+
+ $editor_reactification_alert = new WPSEO_News_Settings_Genre_Removal_Alert();
+ $editor_reactification_alert->register_hooks();
+
+ $translationspress = new WPSEO_News_TranslationsPress( YoastSEO()->helpers->date );
+ $translationspress->register_hooks();
+ }
+
+ /**
+ * Populates static properties from options so they don't have to be queried each time we need them.
+ *
+ * @return void
+ */
+ public static function read_options() {
+ self::$included_post_types = (array) WPSEO_Options::get( 'news_sitemap_include_post_types', [] );
+ self::$excluded_terms = (array) WPSEO_Options::get( 'news_sitemap_exclude_terms', [] );
+ }
+
+ /**
+ * Adds the Google Bot News presenter.
+ *
+ * @param Abstract_Indexable_Presenter[] $presenters The presenter instances.
+ *
+ * @return Abstract_Indexable_Presenter[] The extended presenters.
+ */
+ public function add_frontend_presenter( $presenters ) {
+ if ( ! is_array( $presenters ) ) {
+ return $presenters;
+ }
+
+ $presenters[] = new WPSEO_News_Googlebot_News_Presenter();
+
+ return $presenters;
+ }
+
+ /**
+ * Initialize the admin page.
+ *
+ * @return void
+ */
+ public function init_admin() {
+ // Upgrade Manager.
+ $upgrade_manager = new WPSEO_News_Upgrade_Manager();
+ $upgrade_manager->check_update();
+
+ // Setting action for removing the transient on update options.
+ if ( class_exists( 'WPSEO_Sitemaps_Cache' )
+ && method_exists( 'WPSEO_Sitemaps_Cache', 'register_clear_on_option_update' )
+ ) {
+ WPSEO_Sitemaps_Cache::register_clear_on_option_update(
+ 'wpseo_news',
+ WPSEO_News_Sitemap::get_sitemap_name( false )
+ );
+ }
+ }
+
+ /**
+ * Check the dependencies.
+ *
+ * @param string $wp_version The current version of WordPress.
+ *
+ * @return bool True whether the dependencies are okay.
+ */
+ protected function check_dependencies( $wp_version ) {
+ // When WordPress function is too low.
+ if ( version_compare( $wp_version, '6.3', '<' ) ) {
+ add_action( 'all_admin_notices', [ $this, 'error_upgrade_wp' ] );
+
+ return false;
+ }
+
+ $wordpress_seo_version = $this->get_wordpress_seo_version();
+
+ // When WPSEO_VERSION isn't defined.
+ if ( $wordpress_seo_version === false ) {
+ add_action( 'all_admin_notices', [ $this, 'error_missing_wpseo' ] );
+
+ return false;
+ }
+
+ if ( version_compare( $wordpress_seo_version, '22.2-RC1', '<' ) ) {
+ add_action( 'all_admin_notices', [ $this, 'error_upgrade_wpseo' ] );
+
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns the WordPress SEO version when set.
+ *
+ * @return bool|string The version whether it is set.
+ */
+ protected function get_wordpress_seo_version() {
+ if ( ! defined( 'WPSEO_VERSION' ) ) {
+ return false;
+ }
+
+ return WPSEO_VERSION;
+ }
+
+ /**
+ * Add plugin links.
+ *
+ * @param string[] $links The plugin links.
+ * @param string $file The file name.
+ *
+ * @return string[]
+ */
+ public function plugin_links( $links, $file ) {
+ static $this_plugin;
+ if ( empty( $this_plugin ) ) {
+ $this_plugin = plugin_basename( WPSEO_NEWS_FILE );
+ }
+ if ( $file === $this_plugin ) {
+ $settings_link = sprintf(
+ '%2$s',
+ admin_url( 'admin.php?page=wpseo_news' ),
+ __( 'Settings', 'wordpress-seo-news' )
+ );
+ array_unshift( $links, $settings_link );
+ }
+
+ return $links;
+ }
+
+ /**
+ * Add submenu item.
+ *
+ * @param array $submenu_pages Array with the sub menu pages.
+ *
+ * @return array
+ */
+ public function add_submenu_pages( $submenu_pages ) {
+
+ $admin_page = new WPSEO_News_Admin_Page();
+
+ $submenu_pages[] = [
+ 'wpseo_dashboard',
+ 'Yoast SEO: News SEO',
+ 'News SEO',
+ 'wpseo_manage_options',
+ 'wpseo_news',
+ [ $admin_page, 'display' ],
+ [ [ $this, 'enqueue_admin_page' ] ],
+ ];
+
+ return $submenu_pages;
+ }
+
+ /**
+ * Retrieves a flatten version.
+ *
+ * @return string The flatten version.
+ */
+ protected function get_version() {
+ $asset_manager = new WPSEO_Admin_Asset_Manager();
+ return $asset_manager->flatten_version( self::VERSION );
+ }
+
+ /**
+ * Enqueue admin page JS.
+ *
+ * @return void
+ */
+ public function enqueue_admin_page() {
+ $version = $this->get_version();
+
+ $dependencies = [
+ 'wp-data',
+ 'wp-dom-ready',
+ 'wp-element',
+ 'wp-i18n',
+ 'yoast-seo-editor-modules',
+ ];
+
+ wp_enqueue_media(); // Enqueue files needed for upload functionality.
+
+ wp_enqueue_script(
+ 'wpseo-news-admin-page',
+ plugins_url( 'js/dist/yoast-seo-news-settings-' . $version . '.js', WPSEO_NEWS_FILE ),
+ $dependencies,
+ self::VERSION,
+ true
+ );
+
+ $javascript_strings = new WPSEO_News_Javascript_Strings();
+ $javascript_strings->localize_script( 'wpseo-news-admin-page' );
+ }
+
+ /**
+ * Throw an error if Yoast SEO is not installed.
+ *
+ * @since 2.0.0
+ *
+ * @return void
+ */
+ public function error_missing_wpseo() {
+ echo '
';
+ printf(
+ /* translators: %1$s resolves to the link to search for Yoast SEO, %2$s resolves to the closing tag for this link, %3$s resolves to Yoast SEO, %4$s resolves to News SEO */
+ esc_html__(
+ 'Please %1$sinstall & activate %3$s%2$s and then enable its XML sitemap functionality to allow the %4$s module to work.',
+ 'wordpress-seo-news'
+ ),
+ '',
+ '',
+ 'Yoast SEO',
+ 'News SEO'
+ );
+ echo '
';
+ }
+
+ /**
+ * Throw an error if WordPress is out of date.
+ *
+ * @since 2.0.0
+ *
+ * @return void
+ */
+ public function error_upgrade_wp() {
+ echo '
';
+ printf(
+ /* translators: %1$s resolves to News SEO */
+ esc_html__(
+ 'Please upgrade WordPress to the latest version to allow WordPress and the %1$s module to work properly.',
+ 'wordpress-seo-news'
+ ),
+ 'News SEO'
+ );
+ echo '
';
+ }
+
+ /**
+ * Throw an error if Yoast SEO is out of date.
+ *
+ * @since 2.0.0
+ *
+ * @return void
+ */
+ public function error_upgrade_wpseo() {
+ echo '
';
+ printf(
+ /* translators: %1$s resolves to Yoast SEO, %2$s resolves to News SEO */
+ esc_html__(
+ 'Please upgrade the %1$s plugin to the latest version to allow the %2$s module to work.',
+ 'wordpress-seo-news'
+ ),
+ 'Yoast SEO',
+ 'News SEO'
+ );
+ echo '
';
+ }
+
+ /**
+ * Makes sure the News settings page has a HelpScout beacon.
+ *
+ * @param array $helpscout_settings The HelpScout settings.
+ *
+ * @return array The HelpScout settings with the News SEO beacon added.
+ */
+ public function filter_helpscout_beacon( $helpscout_settings ) {
+ $helpscout_settings['pages_ids']['wpseo_news'] = '161a6b32-9360-4613-bd04-d8098b283a0f';
+ $helpscout_settings['products'][] = WPSEO_Addon_Manager::NEWS_SLUG;
+
+ return $helpscout_settings;
+ }
+
+ /**
+ * Getting the post_types based on the included post_types option.
+ *
+ * The variable $post_types is static, because it won't change during pageload, but the method may be called
+ * multiple times. First time it will set the value, second time it will return this value.
+ *
+ * @return array
+ */
+ public static function get_included_post_types() {
+ static $post_types;
+
+ if ( $post_types === null ) {
+ $post_types = [];
+ foreach ( get_post_types( [ 'public' => true ], 'names' ) as $post_type ) {
+ if ( array_key_exists( $post_type, self::$included_post_types ) && self::$included_post_types[ $post_type ] === 'on' ) {
+ $post_types[] = $post_type;
+ }
+ }
+
+ // Support post if no post types are supported.
+ if ( empty( $post_types ) ) {
+ $post_types[] = 'post';
+ }
+ }
+
+ return $post_types;
+ }
+
+ /**
+ * Determines whether the post is excluded in the news sitemap (and therefore schema) output.
+ *
+ * @param int $post_id The ID of the post to check for.
+ *
+ * @return bool Whether or not the post is excluded.
+ */
+ public static function is_excluded_through_sitemap( $post_id ) {
+ // Check the specific WordPress SEO News no-index value.
+ return WPSEO_Meta::get_value( 'newssitemap-robots-index', $post_id ) === '1';
+ }
+
+ /**
+ * Determines if the post is excluded in through a term that is excluded.
+ *
+ * @param int $post_id The ID of the post.
+ * @param string $post_type The type of the post.
+ *
+ * @return bool True if the post is excluded.
+ */
+ public static function is_excluded_through_terms( $post_id, $post_type ) {
+ $terms = self::get_terms_for_post( $post_id, $post_type );
+ foreach ( $terms as $term ) {
+ $option_key = $term->term_id . '_for_' . $post_type;
+ if ( array_key_exists( $option_key, self::$excluded_terms ) && self::$excluded_terms[ $option_key ] === 'on' ) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Retrieves all the term IDs for the post.
+ *
+ * @param int $post_id The ID of the post.
+ * @param string $post_type The type of the post.
+ *
+ * @return array The terms for the item.
+ */
+ public static function get_terms_for_post( $post_id, $post_type ) {
+ $terms = [];
+ $excludable_taxonomies = new WPSEO_News_Excludable_Taxonomies( $post_type );
+
+ foreach ( $excludable_taxonomies->get() as $taxonomy ) {
+ $extra_terms = get_the_terms( $post_id, $taxonomy->name );
+
+ if ( ! is_array( $extra_terms ) || count( $extra_terms ) === 0 ) {
+ continue;
+ }
+
+ $terms = array_merge( $terms, $extra_terms );
+ }
+
+ return $terms;
+ }
+}
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..d80612c
--- /dev/null
+++ b/index.php
@@ -0,0 +1,2 @@
+{e.onLoad()},[]);const t=Object(T.createInterpolateElement)(Object(S.sprintf)(Object(S.__)("We've made some changes to Yoast SEO News. %sLearn more about what has changed%s","wordpress-seo-news"),"",""),{a:wp.element.createElement("a",{href:e.changesAlertLink,target:"_blank",rel:"noopener noreferrer"})}),n=Object(S.sprintf)(Object(S.__)("Exclude this %s from Google News","wordpress-seo-news"),e.postTypeName);return wp.element.createElement(v,null,o=>wp.element.createElement("div",{className:"yoast"},wp.element.createElement(I,{alertKey:"news-editor-changes-alert",type:"info"},t),wp.element.createElement(j.Checkbox,{id:"yoast-news-exclude-"+o,label:n,checked:e.isExcluded,onChange:e.toggleIsExcluded}),wp.element.createElement(j.TextInput,{id:"yoast-news-stock-tickers-"+o,label:Object(S.__)("Stock tickers","wordpress-seo-news"),description:Object(S.__)('A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, "NASDAQ:AMAT" (but not "NASD:AMAT"), or "BOM:500325" (but not "BOM:RIL").',"wordpress-seo-news"),value:e.stockTickers,onChange:e.setStockTickers})))}D.propTypes={changesAlertLink:L.string.isRequired,isExcluded:L.bool.isRequired,postTypeName:L.string.isRequired,stockTickers:L.string.isRequired,onLoad:L.func.isRequired,toggleIsExcluded:L.func.isRequired,setStockTickers:L.func.isRequired};var R=Object(_.compose)([Object(i.withSelect)(e=>{const{getChangesAlertLink:t,getIsExcluded:n,getStockTickers:o}=e("yoast-seo-news/editor"),{getPostOrPageString:r}=e("yoast-seo/editor");return{changesAlertLink:t(),isExcluded:n(),postTypeName:r(),stockTickers:o()}}),Object(i.withDispatch)(e=>{const{loadEditorData:t,toggleIsExcluded:n,setStockTickers:o}=e("yoast-seo-news/editor");return{onLoad:t,toggleIsExcluded:n,setStockTickers:o}})])(D);const{location:{LocationProvider:C}}=window.yoast.editorModules.components.contexts;function N(){return wp.element.createElement(C,{value:"metabox"},wp.element.createElement(R,null))}var P=n(11);const{SidebarItem:M,SidebarCollapsible:q}=window.yoast.editorModules.components;function B({fillName:e="YoastSidebar"}){return wp.element.createElement(P.Fill,{name:e},wp.element.createElement(M,{key:"news",renderPriority:33},wp.element.createElement(q,{title:"News"},wp.element.createElement(R,null))))}function G(){!function(){const e=document.getElementById("wpseo-news-metabox-root");e&&Object(T.render)(wp.element.createElement(N,null),e)}(),wpseoNewsScriptData.isBlockEditor&&Object(O.registerPlugin)("yoast-seo-news",{render:B}),function(){const e=()=>wp.element.createElement(B,{fillName:"YoastElementor"});Object(h.addAction)("yoast.elementor.loaded","yoast/yoast-news-seo/load-news-in-elementor",()=>{window.YoastSEO._registerReactComponent("yoast-seo-news",e)})}()}B.propTypes={fillName:A.a.string},c()(()=>{Object(b.a)(),Object(i.registerStore)("yoast-seo-news/editor",{reducer:Object(i.combineReducers)(E),actions:o,selectors:r}),G()})}]);
\ No newline at end of file
diff --git a/js/dist/yoast-seo-news-settings-1320.js b/js/dist/yoast-seo-news-settings-1320.js
new file mode 100644
index 0000000..ba4a60b
--- /dev/null
+++ b/js/dist/yoast-seo-news-settings-1320.js
@@ -0,0 +1 @@
+!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}({0:function(e,t){e.exports=window.wp.i18n},15:function(e,t,n){"use strict";n.r(t);var r=n(5),o=n.n(r),s=n(6),i=n(2),u=n(0);const l=window.yoast.editorModules.containers.PersistentDismissableAlert,c=document.getElementById("wpseo-news-genre-removal-alert");o()(()=>{Object(s.a)(),Object(i.render)(wp.element.createElement(l,{store:"yoast-seo/settings",type:"info",alertKey:"news-settings-genre-removal-alert"},Object(u.__)("Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.","wordpress-seo-news")),c)})},2:function(e,t){e.exports=window.wp.element},5:function(e,t){e.exports=window.wp.domReady},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const{setTextdomainL10n:r}=yoast.editorModules.helpers.i18n;function o(){r("wordpress-seo-news","wpseoNewsJSL10n")}}});
\ No newline at end of file
diff --git a/languages/index.php b/languages/index.php
new file mode 100644
index 0000000..d80612c
--- /dev/null
+++ b/languages/index.php
@@ -0,0 +1,2 @@
+=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;","lang":"ar"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["لقد أجرينا بعض التغييرات على أخبار Yoast SEO. %s تعرف على المزيد حول التغييرات%s"],"Exclude this %s from Google News":["استبعد %s هذا من أخبار Google"],"Stock tickers":["مؤشرات الأسهم"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["قائمة مفصولة بفواصل لما يصل إلى 5 أسعار أسهم في البورصة للشركات أو الصناديق المشتركة أو الكيانات المالية الأخرى التي تشكل الموضوع الرئيسي للمقال. يجب أن يكون كل مؤشّر مسبوقًا باسم بورصة الأوراق المالية الخاصة به، ويجب أن يتطابق مع إدخاله في Google Finance. على سبيل المثال ، \"NASDAQ: AMAT\" (وليس \"NASD: AMAT\") أو \"BOM: 500325\" (وليس \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-bg_BG.json b/languages/wordpress-seo-newsjs-bg_BG.json
new file mode 100644
index 0000000..2658e90
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-bg_BG.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"bg"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[],"Exclude this %s from Google News":[],"Stock tickers":[],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":[],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Списък от максимум 5 борсови наименования на компании, взаимни фондове или други финансови институции, които са част от главната тема на статията. Кодовете трябва да са разделени със запетая. Към всеки от тях трябва да бъде добавено като префикс името на съответната фондова борса, а самият код трябва да съответства на използвания в Google Finance. Примери: \"NASDAQ:AMAT\" (но не и NASD:AMAT\") или \"BOM:500325\" (но не и \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-ca.json b/languages/wordpress-seo-newsjs-ca.json
new file mode 100644
index 0000000..b6dd79f
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-ca.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"ca"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Hem fet alguns canvis al Yoast SEO News. %sApreneu-ne més de què ha canviat%s"],"Exclude this %s from Google News":["Excloeu aquesta %s de Google News"],"Stock tickers":["Tickers predeterminats"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ja no té compatibilitat amb \"Gèneres\" per als articles a Google News, per tant hem decidit eliminar la preferència \"Gènere per defecte\" baix."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Una llista separada per comes de fins a 5 símbols de borsa d'empreses, fons o altres entitats financeres que són la part més important del contingut. Cada símbol ha de dur prefixt el nom de la borsa on cotitza, i ha de coincidir amb la seua entrada a Google Finance. Per exemple, \"NASDAQ:AMAT\" (però no \"NASD:AMAT\") o \"BOM:500325\" (però no \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-cs_CZ.json b/languages/wordpress-seo-newsjs-cs_CZ.json
new file mode 100644
index 0000000..41547d4
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-cs_CZ.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;","lang":"cs_CZ"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["V Yoast SEO News jsme provedli několik změn. %sDalší informace o tom, co se změnilo%s"],"Exclude this %s from Google News":["Toto vyloučit %s z Google zpráv"],"Stock tickers":["Skladové lístky"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google již nepodporuje žánry pro články ve Zprávách Google, proto jsme se rozhodli odstranit níže uvedené nastavení „Výchozí žánr“."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Čárkami oddělený seznam až 5 akcií cenných papírů společností, podílových fondů nebo jiných finančních subjektů, které jsou hlavním předmětem článku. Před každým tiketem musí být uveden název jeho burzy a musí odpovídat jeho záznamu ve službě Google finance. Například „NASDAQ: AMAT“ (ale nikoli „NASD: AMAT“) nebo „BOM: 500325“ (nikoli však „BOM: RIL“)."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-da_DK.json b/languages/wordpress-seo-newsjs-da_DK.json
new file mode 100644
index 0000000..3be3d20
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-da_DK.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"da_DK"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Vi har lavet nogle ændinger til Yoast SEO Nyheder. %sBliv klogere på hvad der er ændret%s"],"Exclude this %s from Google News":["Fjern dette %s fra Google Nyheder"],"Stock tickers":["Børskurser"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google understøtter ikke længere \"Genres\" for artikler i Google Nyheder, derfor har vi besluttet at fjerne \"Standardgenre\" indstillingen herunder."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["En kommasepareret liste med op til 5 aktietickers med de selskaber, investeringsselskaber eller andre finansielle virksomheder, som er hovedemnet i artiklen. Hver ticker skal som præfiks have navnet på dens fondsbørs, og den skal matche formen i Google Finances liste. For eksempel: \"NASDAQ:AMAT\" (men ikke \"NASD:AMAT\") eller \"BOM:500325\" (men ikke \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-de_DE.json b/languages/wordpress-seo-newsjs-de_DE.json
new file mode 100644
index 0000000..3f1df79
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-de_DE.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"de"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Wir haben einige Änderungen zu Yoast SEO News gemacht. %sMehr über die Änderungen erfahren%s"],"Exclude this %s from Google News":["Diese(n) %s von Google News ausschließen"],"Stock tickers":["Börsenticker"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google unterstützt nicht länger 'Genres' für Artikel in Google News, deshalb haben wir uns entschieden, die 'Standardgenre'-Einstellung unten zu entfernen."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Eine Komma getrennte Liste mit bis zu fünf Börsentickern von Firmen, Investmentfonds oder anderen finanziellen Entitäten, welche Hauptthema des Artikels sind. Jeder Ticker muss mit dem Namen der jeweiligen Aktienbörse voran eingestellt werden und mit dem jeweiligen Eintrag auf Google Finance übereinstimmen. Zum Beispiel: \"NASDAQ:AMAT\" (aber nicht \"NASD:AMAT\") oder \"BOM:500325\" (aber nicht \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-el.json b/languages/wordpress-seo-newsjs-el.json
new file mode 100644
index 0000000..1ef0171
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-el.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"el_GR"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Έχουμε κάνει κάποιες αλλαγές στο Ειδήσεις Yoast SEO. %sΜάθετε περισσότερα για το τί έχει αλλάξει%s"],"Exclude this %s from Google News":["Εξαίρεσε το %s από το Google News"],"Stock tickers":["Χρηματηστήρια"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["To Google δεν υποστηρίζει πλέον το 'Είδος' για άρθρα στο Google News, για αυτό αποφασίσαμε να αφαιρέσουμε την ρύμιση 'Προεπιλεγμένο Είδος' "],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Μια λίστα χωρισμένη με κόμματα περιέχει 5 μετοχές των εταιρειών, αμοιβαίων κεφαλαίων ή άλλων χρηματοπιστωτικών οντοτήτων, που αποτελούν το κύριο αντικείμενο του άρθρου. Κάθε ticker πρέπει να είναι πρόθεμα με το όνομα του χρηματιστηρίου του και πρέπει να ταιριάζει με την καταχώρησή του στο Google Finance. Για παράδειγμα, \"NASDAQ: AMAT\" (αλλά όχι \"NASD: AMAT\"), ή \"BOM: 500325\" (αλλά όχι \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-en_AU.json b/languages/wordpress-seo-newsjs-en_AU.json
new file mode 100644
index 0000000..a19c7f0
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-en_AU.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_AU"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["We've made some changes to Yoast SEO News. %sLearn more about what has changed%s"],"Exclude this %s from Google News":["Exclude this %s from Google News"],"Stock tickers":["Stock tickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-en_CA.json b/languages/wordpress-seo-newsjs-en_CA.json
new file mode 100644
index 0000000..ceee609
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-en_CA.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_CA"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[],"Exclude this %s from Google News":[],"Stock tickers":[],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":[],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-en_GB.json b/languages/wordpress-seo-newsjs-en_GB.json
new file mode 100644
index 0000000..8213b1f
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-en_GB.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_GB"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["We've made some changes to Yoast SEO News. %sLearn more about what has changed%s"],"Exclude this %s from Google News":["Exclude this %s from Google News"],"Stock tickers":["Stock tickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-en_NZ.json b/languages/wordpress-seo-newsjs-en_NZ.json
new file mode 100644
index 0000000..5b7b5e9
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-en_NZ.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_NZ"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["We've made some changes to Yoast SEO News. %sLearn more about what has changed%s"],"Exclude this %s from Google News":["Exclude this %s from Google News"],"Stock tickers":["Stock tickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-es_ES.json b/languages/wordpress-seo-newsjs-es_ES.json
new file mode 100644
index 0000000..db0aafb
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-es_ES.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"es"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Hemos hecho algunos cambios en Yoast SEO News. %sAprende más sobre lo que ha cambiado%s"],"Exclude this %s from Google News":["Excluir esta publicación %s de Google News"],"Stock tickers":["Tablero de cotizaciones"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ya no es compatible con los «Géneros» de artículos en Google News, por lo que hemos decidido quitar el ajuste «Género por defecto» de abajo."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Una lista separada por comas de hasta 5 cotizaciones de bolsa de las empresas, fondos de inversión u otras entidades financieras que son el tema principal del artículo. Cada cotización debe tener el prefijo con el nombre de su bolsa de valores, y debe coincidir con su entrada en Google Finance. Por ejemplo, \"NASDAQ:AMAT\" (pero no \"NASD:AMAT\"), o \"BOM:500325\" (pero no \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-es_MX.json b/languages/wordpress-seo-newsjs-es_MX.json
new file mode 100644
index 0000000..cf87e41
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-es_MX.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"es_MX"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Hemos hecho algunos cambios en Yoast SEO News. %sAprende más sobre lo que ha cambiado%s"],"Exclude this %s from Google News":["Excluir este post type %s de Google News"],"Stock tickers":["Símbolo bursátil"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ya no es compatible con los \"Géneros\" de artículos en Google News, por lo que hemos decidido quitar el ajuste \"Género por defecto\"."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Una lista separada por comas de hasta 5 tableros de cotizaciones de las empresas, fondos de inversión u otras entidades financieras que son el tema principal del artículo. Cada ticker debe comenzar con el nombre de su bolsa, y debe coincidir con su entrada en Google Finance. Por ejemplo, \"NASDAQ:AMAT\" (pero no \"NASD:AMAT\"), o \"BOM:500325\" (pero no \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-fa_IR.json b/languages/wordpress-seo-newsjs-fa_IR.json
new file mode 100644
index 0000000..ccc45ed
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-fa_IR.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=1; plural=0;","lang":"fa"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[],"Exclude this %s from Google News":["حذف این %s از اخبار گوگل"],"Stock tickers":["تیکرهای سهام"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google دیگر از 'ژانرها' برای مقالات در Google News پشتیبانی نمی کند ، بنابراین تصمیم گرفتیم تنظیم 'ژانر پیش فرض' را در زیر حذف کنیم."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-fi.json b/languages/wordpress-seo-newsjs-fi.json
new file mode 100644
index 0000000..725a03f
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-fi.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"fi"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Olemme tehneet joitakin muutoksia Yoast SEO Newsiin. %sLue lisää siitä mikä on muuttunut%s"],"Exclude this %s from Google News":["Älä sisällytä kohdetta %s Google Newsiin"],"Stock tickers":["Osakekurssit"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ei enää tue lajityyppejä Google News -artikkeleille, siksi päätimme poistaa oletuslajityyppi-asetuksen alta."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Pilkuilla eroteltu lista korkeintaan viidestä tunnisteesta osakkeelle, sijoitusrahastolle tai muulle taloudelliselle yksikölle, jotka ovat tämän artikkelin pääaihe. Jokaisen tunnisteen pitää sisältää etuliite sille pörssille, jossa se on myynissä, sekä vastata Google Financen käyttämää tunnistetta. Esimerkiksi \"NASDAQ:AMAT\" (mutta ei \"NASD:AMAT\") tai \"BOM:500325\" (mutta ei \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-fr_FR.json b/languages/wordpress-seo-newsjs-fr_FR.json
new file mode 100644
index 0000000..daa96ae
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-fr_FR.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n > 1;","lang":"fr"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Nous avons apporté quelques modifications à Yoast SEO News. %sEn savoir plus sur ce qui a changé%s"],"Exclude this %s from Google News":["Exclure %s de Google News"],"Stock tickers":["Cours de la Bourse"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ne prend plus en charge les « Genres » pour les articles dans Google News, nous avons donc décidé de supprimer le réglage « Genre par défaut » ci-dessous."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Une liste séparée par des virgules d’un maximum de 5 cours de la Bourse d’entreprises, de fonds communs de placement, ou d’autres entités financières qui sont le sujet principal de l’article. Chaque symbole doit être préfixé par le nom de sa bourse, et doit correspondre à son entrée dans Google Finance. Par exemple, \"NASDAQ: AMAT\" (mais pas \"NASD: AMAT\"), ou \"BOM: 500325\" (mais pas \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-he_IL.json b/languages/wordpress-seo-newsjs-he_IL.json
new file mode 100644
index 0000000..5bef7db
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-he_IL.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"he_IL"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["ביצענו מספר שינויים בחדשות SEO של Yoast. %s למידע נוסף על מה שהשתנה %s"],"Exclude this %s from Google News":["אל תכלול %s בגוגל חדשות"],"Stock tickers":["סמלי מניות"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["גוגל כבר לא תומכת ב'ז'אנרים 'עבור מאמרים בגוגל חדשות, לכן החלטנו להסיר את ההגדרה \"ז'אנר ברירת מחדל\"."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["רשימת מופרדת בפסיקים של עד חמש סמלי מניות, קרנות, ונגזרים פיננסים אחרים המתארים את הנושא העיקרי במאמר זה. כל סמל חייב להכיל תחילית של הבורסה בה נסחרת המניה וחייב להתאים ליישות שלה בגוגל פיננסים. לדוגמא \"NASDAQ:AMAT\" (אבל לא \"NASD:AMAT\"), או \"BOM:500325\" (אבל לא \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-hi_IN.json b/languages/wordpress-seo-newsjs-hi_IN.json
new file mode 100644
index 0000000..c05698a
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-hi_IN.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"hi_IN"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["हमने योस्ट एसईओ समाचार में कुछ बदलाव किए हैं। %sजो बदल गया है, उसके बारे में और जानें%s"],"Exclude this %s from Google News":["गूगल समाचार से इस %s को बाहर करें"],"Stock tickers":["स्टॉक टिकर"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["गूगल अब गूगल समाचार में लेखों के लिए 'शैली' का समर्थन नहीं करता है, इसलिए हमने नीचे 'डिफ़ॉल्ट शैली' सेटिंग को हटाने का निर्णय लिया।"],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["कंपनियों के 5 स्टॉक टिकर, म्यूचुअल फंड, या अन्य वित्तीय संस्थाओं की एक अल्पविराम से अलग सूची जो लेख का मुख्य विषय है। प्रत्येक टिकर को उसके स्टॉक एक्सचेंज के नाम से उपसर्ग करना चाहिए और गूगल वित्त में उसकी प्रविष्टि से मेल खाना चाहिए। उदाहरण के लिए, \"NASDAQ:AMAT\" (लेकिन \"NASD:AMAT\" नहीं), या \"BOM:500325\" (लेकिन \"BOM:RIL\" नहीं)।"]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-hu_HU.json b/languages/wordpress-seo-newsjs-hu_HU.json
new file mode 100644
index 0000000..1f388fb
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-hu_HU.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[],"Exclude this %s from Google News":[],"Stock tickers":[],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":[],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Egy vesszővel elválasztott lista max 5 tőzsdei cég, befektetési alap vagy más financiális cégek megjelenítésére, amelyek szerepelnek a cikkben. Minden egyes szereplőnek legyen nevének tőzsdei előtagja és passzolnia kell a Google Finance-nek megfelelően. Például, \"NASDAQ:AMAT\" (de nem a \"NASD:AMAT\"), vagy a \"BOM:500325\" (de nem a \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-id_ID.json b/languages/wordpress-seo-newsjs-id_ID.json
new file mode 100644
index 0000000..6e3e9af
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-id_ID.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n > 1;","lang":"id"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Kami telah membuat perubahan pada Yoast SEO News. %sPelajari lebih lanjut perubahan tersebut%s"],"Exclude this %s from Google News":["Jangan sertakan %s dari Google News"],"Stock tickers":["Stok stiker"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google tidak lagi mendukung 'Genre' pada artikel di Google News, oleh karena itu kami menghapus pengaturan 'Genre default' berikut."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-it_IT.json b/languages/wordpress-seo-newsjs-it_IT.json
new file mode 100644
index 0000000..d47b02b
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-it_IT.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"it"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Abbiamo apportato qualche modifica a Yoast SEO News. %sScopri cosa è cambiato%s"],"Exclude this %s from Google News":["Escludi questo %s da Google News"],"Stock tickers":["Codici dei titoli azionari"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google non supporta più i 'Generi' per gli articoli in Google News, quindi abbiamo deciso di rimuovere l'impostazione 'Genere predefinito' qui sotto."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Un elenco separato da virgole di un massimo di 5 codici di titoli delle società, fondi comuni di investimento o altri enti finanziari che sono l'oggetto principale di questo articolo. Ogni titolo deve essere preceduto dal nome della borsa, e deve corrispondere al suo corrispettivo in Google Finance. Ad esempio, \"NASDAQ: AMAT\" (ma non \"NASD: AMAT\"), o \"BOM: 500.325\" (ma non \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-ja.json b/languages/wordpress-seo-newsjs-ja.json
new file mode 100644
index 0000000..2b348b4
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-ja.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=1; plural=0;","lang":"ja_JP"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Yoast SEO News に変更を加えました。%sこれについてもっと読む。%s"],"Exclude this %s from Google News":["この%sを Google ニュースから除外"],"Stock tickers":["株価"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google は Google ニュースの記事の「ジャンル」をサポートしなくなったため、以下の「デフォルトのジャンル」設定を削除することにしました。"],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["記事の主な主題である会社、投資信託、またはその他の金融機関の最大5つの銘柄コードのコンマ区切りのリスト。各ティッカーには、証券取引所の名前をプレフィックスとして付け、Google. Finance のエントリーと一致させる必要があります。 たとえば、「NASDAQ:AMAT」(「NASD:AMAT」ではない)、または「BOM:500325」(「BOM:RIL」ではない)などです。 "]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-ms_MY.json b/languages/wordpress-seo-newsjs-ms_MY.json
new file mode 100644
index 0000000..bbca17f
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-ms_MY.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=1; plural=0;","lang":"ms"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[],"Exclude this %s from Google News":[],"Stock tickers":[],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":[],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Senarai comma-separated yang mengandungi 5 saham ticker syarikat, dana bersama, atau sebarang entiti kewangan merupakan subjek utama artikel tersebut. Setiap ticker perlu dimulakan dengan nama pertukaran stok, dan mesti sepadan dengan kemasukannya dalam Google Finance. Sebagai contoh, \"NASDAQ:AMAT\" (tapi bukan \"NASD:AMAT\"), atau \"BOM:500325\" (tapi bukan \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-nb_NO.json b/languages/wordpress-seo-newsjs-nb_NO.json
new file mode 100644
index 0000000..4e4e1b1
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-nb_NO.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"nb_NO"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Vi har gjort noen endringer i Yoast SEO Nyheter. %sLes mer om hva som er endret%s "],"Exclude this %s from Google News":["Utelukk dette %s fra Google Nyheter"],"Stock tickers":["Aksjemarkører"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google støtter ikke lenger \"sjangere\" for artikler i Google Nyheter, derfor bestemte vi oss for å fjerne innstillingen \"Standard sjanger\" nedenfor."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["En kommaseparert liste med opptil 5 aksje ticker over selskaper, aksjefond eller andre finansielle enheter som er hovedtema for artikkelen. Hver ticker må være foran navnet på børsen og må samsvare med oppføringen i Google Finance. For eksempel, \"NASDAQ:AMAT\" (ikke \"NASD:AMAT\"), eller \"BOM:500325\" (ikke \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-nl_BE.json b/languages/wordpress-seo-newsjs-nl_BE.json
new file mode 100644
index 0000000..8bd0e99
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-nl_BE.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl_BE"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["We hebben enkele wijzigingen aangebracht in Yoast SEO News. %sOntdek meer over wat er is gewijzigd%s"],"Exclude this %s from Google News":["Sluit dit %s uit van Google News"],"Stock tickers":["Aandeeltickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ondersteunt niet langer 'Genres' voor artikelen in Google News, daarom hebben we besloten de 'Standaardgenre'-instelling hieronder te verwijderen."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Een door komma's gescheiden lijst met maximaal 5 tickers van de bedrijven, beleggingsfondsen of andere financiële instellingen die zijn het belangrijkste onderwerp van het artikel. Elke ticker moet worden voorafgegaan door de naam van de beurs, en moet de vermelding in Google Finance overeenkomen. Bijvoorbeeld, \"NASDAQ: AMAT\" (maar niet \"NASD: AMAT\") of \"BOM: 500325\" (maar niet \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-nl_NL.json b/languages/wordpress-seo-newsjs-nl_NL.json
new file mode 100644
index 0000000..347f5ba
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-nl_NL.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["We hebben enkele wijzigingen aangebracht in Yoast SEO News. %sOntdek meer over wat er is gewijzigd%s"],"Exclude this %s from Google News":["Sluit dit %s uit van Google News"],"Stock tickers":["Aandeeltickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google ondersteunt niet langer 'Genres' voor artikelen in Google News, daarom hebben we besloten de 'Standaardgenre'-instelling hieronder te verwijderen."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Een door komma's gescheiden lijst met maximaal 5 tickers van de bedrijven, beleggingsfondsen of andere financiële instellingen die zijn het belangrijkste onderwerp van het artikel. Elke ticker moet worden voorafgegaan door de naam van de beurs, en moet de vermelding in Google Finance overeenkomen. Bijvoorbeeld, \"NASDAQ: AMAT\" (maar niet \"NASD: AMAT\") of \"BOM: 500325\" (maar niet \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-pl_PL.json b/languages/wordpress-seo-newsjs-pl_PL.json
new file mode 100644
index 0000000..f858ab3
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-pl_PL.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"pl"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Wprowadziliśmy kilka zmian w Yoast SEO News. %sDowiedz się, co się zmieniło%s"],"Exclude this %s from Google News":["Wyklucz z Google News: %s"],"Stock tickers":["Oznaczenia giełdowe"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google nie obsługuje już \"Gatunków\" dla artykułów w Google News, dlatego zdecydowaliśmy się usunąć poniższe ustawienie \"Domyślny gatunek\"."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Oddzielana przecinkami lista maksymalnie 5 skróconych oznaczeń firm, funduszy inwestycyjnych lub innych podmiotów finansowych, których dotyczy ten artykuł. Każde oznaczenie musi być poprzedzone nazwą giełdową i musi być zgodne z wpisem w Google Finance. Przykładowo, \"NASDAQ:AMAT\" (ale nie \"NASD:AMAT\") oraz \"BOM:500325\" (ale nie \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-pt_BR.json b/languages/wordpress-seo-newsjs-pt_BR.json
new file mode 100644
index 0000000..de4e388
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-pt_BR.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=(n > 1);","lang":"pt_BR"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Fizemos algumas alterações no Yoast SEO News. %sSaiba mais sobre o que mudou%s"],"Exclude this %s from Google News":["Exclua este %s do Google Notícias"],"Stock tickers":["Stock tickers"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["O Google não oferece mais suporte a 'Gêneros' para artigos no Google Notícias, portanto, decidimos remover a configuração 'Gênero padrão' abaixo."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Uma lista separada por vírgulas de até 5 cotações de ações das empresas, fundos mútuos ou outras entidades financeiras que são o principal assunto do artigo. Cada código deve começar com o nome de sua bolsa de valores, e deve corresponder a sua entrada no Google Finance. Por exemplo, \"NASDAQ:AMAT\" (e não \"NASD:AMAT\"), ou \"BOM:500325\" (e não \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-pt_PT.json b/languages/wordpress-seo-newsjs-pt_PT.json
new file mode 100644
index 0000000..ff16985
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-pt_PT.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"pt"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Fizemos algumas alterações ao Yoast SEO News. %sSaiba mais sobre o que foi alterado%s"],"Exclude this %s from Google News":["Excluir %s das Google News"],"Stock tickers":["Símbolo de acção"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["O Google deixou de suportar 'Géneros' em artigos do Google News, pelo que decidimos remover a definição 'Género por omissão' abaixo."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Uma lista, separada por vírgulas, de até 5 barras de ações da bolsa de empresas, fundos mútuos, ou outras instituições financeiras que são o tema principal do artigo. Cada barra tem de ter o prefixo da sua própria bolsa de valores e tem de ser igual à do Google Finance.\nPor exemplo: \"NASDAQ: AMAT\" (mas não \"NASD: AMAT\"), ou \"BOM: 500325\" (mas não BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-ro_RO.json b/languages/wordpress-seo-newsjs-ro_RO.json
new file mode 100644
index 0000000..d1a203d
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-ro_RO.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);","lang":"ro"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Am făcut câteva modificări la Știrile Yoast SEO. %sAflă mai multe despre ce s-a schimbat%s"],"Exclude this %s from Google News":["Exclude acest %s din Știri Google"],"Stock tickers":["Ticăitoare stoc"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google nu mai acceptă „Genuri” pentru articolele din Știri Google, prin urmare am decis să înlăturăm setarea „Gen implicit” de mai jos."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["O listă separată de virgulă de până la 5 cotații ale companiilor, fonduri comune sau alte entități financiare ce sunt subiectul principal al acestui articol. Fiecare cotație trebuie să conțină prefixul bursei de valori și trebuie să corespundă cu înregistrarea în Finanțe Google. Spre exemplu, „NASDAQ:AMAT” (dar nu „NASD:AMAT”), sau „BOM:500325” (dar nu „BOM:RIL”)."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-ru_RU.json b/languages/wordpress-seo-newsjs-ru_RU.json
new file mode 100644
index 0000000..4866b5b
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-ru_RU.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"ru"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Мы внесли некоторые изменения в новости Yoast SEO. %sУзнать больше об изменениях%s"],"Exclude this %s from Google News":["Исключить %s из новостей Google"],"Stock tickers":["Биржевые котировки"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google больше не поддерживает «Жанры» для статей в новостях Google, потому мы решили убрать поле «Жанр по умолчанию» ниже."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Разделенный запятыми список, не более 5 биржевых котировок компаний, паевых инвестиционных фондов или других финансовых учреждений, которые являются главными предметами статьи. Каждая котировка должна иметь собственный префикс на фондовой бирже и должна соответствовать её записи в Google Finance. \nНапример, \"NASDAQ:AMAT\" (но, не \"NASD:AMAT\"), или \"BOM:500325\" (а не \"BOM:RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-sr_RS.json b/languages/wordpress-seo-newsjs-sr_RS.json
new file mode 100644
index 0000000..db2b0b6
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-sr_RS.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"sr_RS"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Унели смо неке промене у Yoast SEO News. %sСазнајте више о томе шта се променило%s"],"Exclude this %s from Google News":["Изузмите %s из Гугл вести"],"Stock tickers":["Берзански тикери"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Гугл више не подржава „Жанрови“ за чланке у Гугл вестима, па смо одлучили да уклонимо поставку „Подразумевани жанр“ у наставку."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Списак одвојених зарезом до 5 берзанских ознака компанија, узајамних фондова или других финансијских субјеката који су главни предмет чланка. Свака ознака мора имати префикс имена своје берзе и мора одговарати уносу у Гугл Финансије. На пример, „NASDAQ:AMAT“ (али не и „NASD:AMAT“) или „BOM:500325“ (али не и „BOM:RIL“)."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-sv_SE.json b/languages/wordpress-seo-newsjs-sv_SE.json
new file mode 100644
index 0000000..96b983d
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-sv_SE.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Vi har gjort några ändringar i Yoast SEO News. %sLäs mer om förändringarna%s"],"Exclude this %s from Google News":["Uteslut inläggstypen ”%s” från Google News"],"Stock tickers":["Börskurser"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google stöder inte längre begreppet ”genrer” för artiklar i Google News. Därför har vi tagit bort inställningen ”standardgenre” nedan."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["En kommaseparerad lista med upp till 5 aktiekurser av företag, fonder eller andra finansiella enheter som är huvudämnet för artikeln. Varje kurs måste vara prefixad med namnet på sin börs och måste matcha sin post i Google Finance. Till exempel, ”NASDAQ:AMAT” (men inte ”NASD:AMAT”) eller ”BOM:500325” (men inte ”BOM:RIL”)."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-tr_TR.json b/languages/wordpress-seo-newsjs-tr_TR.json
new file mode 100644
index 0000000..2790265
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-tr_TR.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=2; plural=(n > 1);","lang":"tr"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Yoast SEO News için bazı değişiklikler yaptık. %sNelerin değiştiği hakkında daha fazla bilgi edinin%s"],"Exclude this %s from Google News":["Google Haberlerden %s yazı tipini hariç tut"],"Stock tickers":["Borsa habercileri"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google, artık Google Haberlerdeki makaleler için \"Türler\"i desteklemediğinden, aşağıdaki \"Varsayılan tür\" ayarını kaldırmaya karar verdik."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Makaleye konu olan 5 taneye kadar hisse senedi, yatırım fonu ya da diğer finansal değerlerin, virgül ile ayrılmış listesi. Her bir kağıt için mutlaka Google Finans ile eşleşen ilgili hisse senedi borsasının ön eki eklenmelidir. Örneğin \"NASDAQ:AMAT\" (\"NASD:AMAT\" değil) ya da \"BOM:500325\" (\"BOM:RIL\" değil)"]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-uk.json b/languages/wordpress-seo-newsjs-uk.json
new file mode 100644
index 0000000..99b4f30
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-uk.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"uk_UA"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Ми внесли зміни до новин Yoast SEO. %sДізнайтеся більше про зміни%s"],"Exclude this %s from Google News":["Виключити %s з новин Google"],"Stock tickers":["Ринкові тікери"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google більше не підтримує 'Жанри' для статей у новинах Google, тому ми вирішили прибрати налаштування 'Жанр за замовчуванням' нижче."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Список, розділений комами, до 5 біржових тиків компаній, взаємних фондів або інших фінансових установ, які є основним предметом статті. Кожен тикер повинен бути префікс з назвою своєї фондової біржі і повинен відповідати його запису в Google Finance. Наприклад, \"NASDAQ: AMAT\" (але не \"NASD: AMAT\"), або \"BOM: 500325\" (але не \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs-vi.json b/languages/wordpress-seo-newsjs-vi.json
new file mode 100644
index 0000000..7d7e1ae
--- /dev/null
+++ b/languages/wordpress-seo-newsjs-vi.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news","plural-forms":"nplurals=1; plural=0;","lang":"vi_VN"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":["Chúng tôi đã thực hiện một số thay đổi đối với Yoast SEO News. %sTìm hiểu thêm về những gì đã thay đổi%s"],"Exclude this %s from Google News":["Loại trừ %s này khỏi Google Tin tức"],"Stock tickers":["Mã kho"],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":["Google không còn hỗ trợ 'Thể loại' cho các bài viết trong Google Tin tức, do đó, chúng tôi quyết định xóa cài đặt 'Thể loại mặc định' bên dưới."],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":["Danh sách được phân tách bằng dấu phẩy gồm tối đa 5 mã cổ phiếu của các công ty, quỹ tương hỗ hoặc các tổ chức tài chính khác là chủ đề chính của bài viết. Mỗi mã cổ phiếu phải có tiền tố là tên của sở giao dịch chứng khoán của nó và phải khớp với mục nhập của nó trong Google Finance. Ví dụ: \"NASDAQ: AMAT\" (nhưng không phải \"NASD: AMAT\") hoặc \"BOM: 500325\" (nhưng không phải \"BOM: RIL\")."]}}}
\ No newline at end of file
diff --git a/languages/wordpress-seo-newsjs.json b/languages/wordpress-seo-newsjs.json
new file mode 100644
index 0000000..c5d97bd
--- /dev/null
+++ b/languages/wordpress-seo-newsjs.json
@@ -0,0 +1 @@
+{"domain":"wordpress-seo-news","locale_data":{"wordpress-seo-news":{"":{"domain":"wordpress-seo-news"},"We've made some changes to Yoast SEO News. %sLearn more about what has changed%s":[""],"Exclude this %s from Google News":[""],"Stock tickers":[""],"A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Each ticker must be prefixed by the name of its stock exchange, and must match its entry in Google Finance. For example, \"NASDAQ:AMAT\" (but not \"NASD:AMAT\"), or \"BOM:500325\" (but not \"BOM:RIL\").":[""],"Google no longer supports 'Genres' for articles in Google News, therefore we decided to remove the 'Default genre' setting below.":[""]}}}
\ No newline at end of file
diff --git a/license.txt b/license.txt
new file mode 100644
index 0000000..0ae0def
--- /dev/null
+++ b/license.txt
@@ -0,0 +1,642 @@
+ 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.
+
+ 18. Additional terms
+
+ In the light of Article 7 of the GPL license, the following additional
+terms apply:
+
+ a) You are prohibited to make misrepresentations of the origin of that
+material, or to require that modified versions of such material be marked
+in reasonable ways as different from the original version;
+
+ b) You are limited in the use for publicity purposes of names of
+licensors or authors of the material;
+
+ c) You are declined any grant of rights under trademark law for use of
+the trade names, trademarks, or service marks of YOAST B.V.;
+
+ d) You are required to indemnify 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.
+
+END OF TERMS AND CONDITIONS
diff --git a/vendor/autoload.php b/vendor/autoload.php
new file mode 100644
index 0000000..67da37e
--- /dev/null
+++ b/vendor/autoload.php
@@ -0,0 +1,7 @@
+
+ * Jordi Boggiano
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Composer\Autoload;
+
+/**
+ * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
+ *
+ * $loader = new \Composer\Autoload\ClassLoader();
+ *
+ * // register classes with namespaces
+ * $loader->add('Symfony\Component', __DIR__.'/component');
+ * $loader->add('Symfony', __DIR__.'/framework');
+ *
+ * // activate the autoloader
+ * $loader->register();
+ *
+ * // to enable searching the include path (eg. for PEAR packages)
+ * $loader->setUseIncludePath(true);
+ *
+ * In this example, if you try to use a class in the Symfony\Component
+ * namespace or one of its children (Symfony\Component\Console for instance),
+ * the autoloader will first look for the class under the component/
+ * directory, and it will then fallback to the framework/ directory if not
+ * found before giving up.
+ *
+ * This class is loosely based on the Symfony UniversalClassLoader.
+ *
+ * @author Fabien Potencier
+ * @author Jordi Boggiano
+ * @see https://www.php-fig.org/psr/psr-0/
+ * @see https://www.php-fig.org/psr/psr-4/
+ */
+class ClassLoader
+{
+ /** @var ?string */
+ private $vendorDir;
+
+ // PSR-4
+ /**
+ * @var array[]
+ * @psalm-var array>
+ */
+ private $prefixLengthsPsr4 = array();
+ /**
+ * @var array[]
+ * @psalm-var array>
+ */
+ private $prefixDirsPsr4 = array();
+ /**
+ * @var array[]
+ * @psalm-var array
+ */
+ private $fallbackDirsPsr4 = array();
+
+ // PSR-0
+ /**
+ * @var array[]
+ * @psalm-var array>
+ */
+ private $prefixesPsr0 = array();
+ /**
+ * @var array[]
+ * @psalm-var array
+ */
+ private $fallbackDirsPsr0 = array();
+
+ /** @var bool */
+ private $useIncludePath = false;
+
+ /**
+ * @var string[]
+ * @psalm-var array
+ */
+ private $classMap = array();
+
+ /** @var bool */
+ private $classMapAuthoritative = false;
+
+ /**
+ * @var bool[]
+ * @psalm-var array
+ */
+ private $missingClasses = array();
+
+ /** @var ?string */
+ private $apcuPrefix;
+
+ /**
+ * @var self[]
+ */
+ private static $registeredLoaders = array();
+
+ /**
+ * @param ?string $vendorDir
+ */
+ public function __construct($vendorDir = null)
+ {
+ $this->vendorDir = $vendorDir;
+ }
+
+ /**
+ * @return string[]
+ */
+ public function getPrefixes()
+ {
+ if (!empty($this->prefixesPsr0)) {
+ return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
+ }
+
+ return array();
+ }
+
+ /**
+ * @return array[]
+ * @psalm-return array>
+ */
+ public function getPrefixesPsr4()
+ {
+ return $this->prefixDirsPsr4;
+ }
+
+ /**
+ * @return array[]
+ * @psalm-return array
+ */
+ public function getFallbackDirs()
+ {
+ return $this->fallbackDirsPsr0;
+ }
+
+ /**
+ * @return array[]
+ * @psalm-return array
+ */
+ public function getFallbackDirsPsr4()
+ {
+ return $this->fallbackDirsPsr4;
+ }
+
+ /**
+ * @return string[] Array of classname => path
+ * @psalm-return array
+ */
+ public function getClassMap()
+ {
+ return $this->classMap;
+ }
+
+ /**
+ * @param string[] $classMap Class to filename map
+ * @psalm-param array $classMap
+ *
+ * @return void
+ */
+ public function addClassMap(array $classMap)
+ {
+ if ($this->classMap) {
+ $this->classMap = array_merge($this->classMap, $classMap);
+ } else {
+ $this->classMap = $classMap;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix, either
+ * appending or prepending to the ones previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param string[]|string $paths The PSR-0 root directories
+ * @param bool $prepend Whether to prepend the directories
+ *
+ * @return void
+ */
+ public function add($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ if ($prepend) {
+ $this->fallbackDirsPsr0 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr0
+ );
+ } else {
+ $this->fallbackDirsPsr0 = array_merge(
+ $this->fallbackDirsPsr0,
+ (array) $paths
+ );
+ }
+
+ return;
+ }
+
+ $first = $prefix[0];
+ if (!isset($this->prefixesPsr0[$first][$prefix])) {
+ $this->prefixesPsr0[$first][$prefix] = (array) $paths;
+
+ return;
+ }
+ if ($prepend) {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixesPsr0[$first][$prefix]
+ );
+ } else {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ $this->prefixesPsr0[$first][$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace, either
+ * appending or prepending to the ones previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param string[]|string $paths The PSR-4 base directories
+ * @param bool $prepend Whether to prepend the directories
+ *
+ * @throws \InvalidArgumentException
+ *
+ * @return void
+ */
+ public function addPsr4($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ // Register directories for the root namespace.
+ if ($prepend) {
+ $this->fallbackDirsPsr4 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr4
+ );
+ } else {
+ $this->fallbackDirsPsr4 = array_merge(
+ $this->fallbackDirsPsr4,
+ (array) $paths
+ );
+ }
+ } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
+ // Register directories for a new namespace.
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ } elseif ($prepend) {
+ // Prepend directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixDirsPsr4[$prefix]
+ );
+ } else {
+ // Append directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ $this->prefixDirsPsr4[$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix,
+ * replacing any others previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param string[]|string $paths The PSR-0 base directories
+ *
+ * @return void
+ */
+ public function set($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr0 = (array) $paths;
+ } else {
+ $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace,
+ * replacing any others previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param string[]|string $paths The PSR-4 base directories
+ *
+ * @throws \InvalidArgumentException
+ *
+ * @return void
+ */
+ public function setPsr4($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr4 = (array) $paths;
+ } else {
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Turns on searching the include path for class files.
+ *
+ * @param bool $useIncludePath
+ *
+ * @return void
+ */
+ public function setUseIncludePath($useIncludePath)
+ {
+ $this->useIncludePath = $useIncludePath;
+ }
+
+ /**
+ * Can be used to check if the autoloader uses the include path to check
+ * for classes.
+ *
+ * @return bool
+ */
+ public function getUseIncludePath()
+ {
+ return $this->useIncludePath;
+ }
+
+ /**
+ * Turns off searching the prefix and fallback directories for classes
+ * that have not been registered with the class map.
+ *
+ * @param bool $classMapAuthoritative
+ *
+ * @return void
+ */
+ public function setClassMapAuthoritative($classMapAuthoritative)
+ {
+ $this->classMapAuthoritative = $classMapAuthoritative;
+ }
+
+ /**
+ * Should class lookup fail if not found in the current class map?
+ *
+ * @return bool
+ */
+ public function isClassMapAuthoritative()
+ {
+ return $this->classMapAuthoritative;
+ }
+
+ /**
+ * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
+ *
+ * @param string|null $apcuPrefix
+ *
+ * @return void
+ */
+ public function setApcuPrefix($apcuPrefix)
+ {
+ $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
+ }
+
+ /**
+ * The APCu prefix in use, or null if APCu caching is not enabled.
+ *
+ * @return string|null
+ */
+ public function getApcuPrefix()
+ {
+ return $this->apcuPrefix;
+ }
+
+ /**
+ * Registers this instance as an autoloader.
+ *
+ * @param bool $prepend Whether to prepend the autoloader or not
+ *
+ * @return void
+ */
+ public function register($prepend = false)
+ {
+ spl_autoload_register(array($this, 'loadClass'), true, $prepend);
+
+ if (null === $this->vendorDir) {
+ return;
+ }
+
+ if ($prepend) {
+ self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
+ } else {
+ unset(self::$registeredLoaders[$this->vendorDir]);
+ self::$registeredLoaders[$this->vendorDir] = $this;
+ }
+ }
+
+ /**
+ * Unregisters this instance as an autoloader.
+ *
+ * @return void
+ */
+ public function unregister()
+ {
+ spl_autoload_unregister(array($this, 'loadClass'));
+
+ if (null !== $this->vendorDir) {
+ unset(self::$registeredLoaders[$this->vendorDir]);
+ }
+ }
+
+ /**
+ * Loads the given class or interface.
+ *
+ * @param string $class The name of the class
+ * @return true|null True if loaded, null otherwise
+ */
+ public function loadClass($class)
+ {
+ if ($file = $this->findFile($class)) {
+ includeFile($file);
+
+ return true;
+ }
+
+ return null;
+ }
+
+ /**
+ * Finds the path to the file where the class is defined.
+ *
+ * @param string $class The name of the class
+ *
+ * @return string|false The path if found, false otherwise
+ */
+ public function findFile($class)
+ {
+ // class map lookup
+ if (isset($this->classMap[$class])) {
+ return $this->classMap[$class];
+ }
+ if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
+ return false;
+ }
+ if (null !== $this->apcuPrefix) {
+ $file = apcu_fetch($this->apcuPrefix.$class, $hit);
+ if ($hit) {
+ return $file;
+ }
+ }
+
+ $file = $this->findFileWithExtension($class, '.php');
+
+ // Search for Hack files if we are running on HHVM
+ if (false === $file && defined('HHVM_VERSION')) {
+ $file = $this->findFileWithExtension($class, '.hh');
+ }
+
+ if (null !== $this->apcuPrefix) {
+ apcu_add($this->apcuPrefix.$class, $file);
+ }
+
+ if (false === $file) {
+ // Remember that this class does not exist.
+ $this->missingClasses[$class] = true;
+ }
+
+ return $file;
+ }
+
+ /**
+ * Returns the currently registered loaders indexed by their corresponding vendor directories.
+ *
+ * @return self[]
+ */
+ public static function getRegisteredLoaders()
+ {
+ return self::$registeredLoaders;
+ }
+
+ /**
+ * @param string $class
+ * @param string $ext
+ * @return string|false
+ */
+ private function findFileWithExtension($class, $ext)
+ {
+ // PSR-4 lookup
+ $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
+
+ $first = $class[0];
+ if (isset($this->prefixLengthsPsr4[$first])) {
+ $subPath = $class;
+ while (false !== $lastPos = strrpos($subPath, '\\')) {
+ $subPath = substr($subPath, 0, $lastPos);
+ $search = $subPath . '\\';
+ if (isset($this->prefixDirsPsr4[$search])) {
+ $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
+ foreach ($this->prefixDirsPsr4[$search] as $dir) {
+ if (file_exists($file = $dir . $pathEnd)) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-4 fallback dirs
+ foreach ($this->fallbackDirsPsr4 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 lookup
+ if (false !== $pos = strrpos($class, '\\')) {
+ // namespaced class name
+ $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
+ . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
+ } else {
+ // PEAR-like class name
+ $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
+ }
+
+ if (isset($this->prefixesPsr0[$first])) {
+ foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
+ if (0 === strpos($class, $prefix)) {
+ foreach ($dirs as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-0 fallback dirs
+ foreach ($this->fallbackDirsPsr0 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 include paths.
+ if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
+ return $file;
+ }
+
+ return false;
+ }
+}
+
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
+}
diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php
new file mode 100644
index 0000000..0158194
--- /dev/null
+++ b/vendor/composer/InstalledVersions.php
@@ -0,0 +1,357 @@
+
+ * Jordi Boggiano
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Composer;
+
+use Composer\Autoload\ClassLoader;
+use Composer\Semver\VersionParser;
+
+/**
+ * This class is copied in every Composer installed project and available to all
+ *
+ * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
+ *
+ * To require its presence, you can require `composer-runtime-api ^2.0`
+ */
+class InstalledVersions
+{
+ /**
+ * @var mixed[]|null
+ * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array}|array{}|null
+ */
+ private static $installed;
+
+ /**
+ * @var bool|null
+ */
+ private static $canGetVendors;
+
+ /**
+ * @var array[]
+ * @psalm-var array}>
+ */
+ private static $installedByVendor = array();
+
+ /**
+ * Returns a list of all package names which are present, either by being installed, replaced or provided
+ *
+ * @return string[]
+ * @psalm-return list
+ */
+ public static function getInstalledPackages()
+ {
+ $packages = array();
+ foreach (self::getInstalled() as $installed) {
+ $packages[] = array_keys($installed['versions']);
+ }
+
+ if (1 === \count($packages)) {
+ return $packages[0];
+ }
+
+ return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
+ }
+
+ /**
+ * Returns a list of all package names with a specific type e.g. 'library'
+ *
+ * @param string $type
+ * @return string[]
+ * @psalm-return list
+ */
+ public static function getInstalledPackagesByType($type)
+ {
+ $packagesByType = array();
+
+ foreach (self::getInstalled() as $installed) {
+ foreach ($installed['versions'] as $name => $package) {
+ if (isset($package['type']) && $package['type'] === $type) {
+ $packagesByType[] = $name;
+ }
+ }
+ }
+
+ return $packagesByType;
+ }
+
+ /**
+ * Checks whether the given package is installed
+ *
+ * This also returns true if the package name is provided or replaced by another package
+ *
+ * @param string $packageName
+ * @param bool $includeDevRequirements
+ * @return bool
+ */
+ public static function isInstalled($packageName, $includeDevRequirements = true)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (isset($installed['versions'][$packageName])) {
+ return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Checks whether the given package satisfies a version constraint
+ *
+ * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
+ *
+ * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
+ *
+ * @param VersionParser $parser Install composer/semver to have access to this class and functionality
+ * @param string $packageName
+ * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
+ * @return bool
+ */
+ public static function satisfies(VersionParser $parser, $packageName, $constraint)
+ {
+ $constraint = $parser->parseConstraints($constraint);
+ $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
+
+ return $provided->matches($constraint);
+ }
+
+ /**
+ * Returns a version constraint representing all the range(s) which are installed for a given package
+ *
+ * It is easier to use this via isInstalled() with the $constraint argument if you need to check
+ * whether a given version of a package is installed, and not just whether it exists
+ *
+ * @param string $packageName
+ * @return string Version constraint usable with composer/semver
+ */
+ public static function getVersionRanges($packageName)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (!isset($installed['versions'][$packageName])) {
+ continue;
+ }
+
+ $ranges = array();
+ if (isset($installed['versions'][$packageName]['pretty_version'])) {
+ $ranges[] = $installed['versions'][$packageName]['pretty_version'];
+ }
+ if (array_key_exists('aliases', $installed['versions'][$packageName])) {
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
+ }
+ if (array_key_exists('replaced', $installed['versions'][$packageName])) {
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
+ }
+ if (array_key_exists('provided', $installed['versions'][$packageName])) {
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
+ }
+
+ return implode(' || ', $ranges);
+ }
+
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
+ }
+
+ /**
+ * @param string $packageName
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
+ */
+ public static function getVersion($packageName)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (!isset($installed['versions'][$packageName])) {
+ continue;
+ }
+
+ if (!isset($installed['versions'][$packageName]['version'])) {
+ return null;
+ }
+
+ return $installed['versions'][$packageName]['version'];
+ }
+
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
+ }
+
+ /**
+ * @param string $packageName
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
+ */
+ public static function getPrettyVersion($packageName)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (!isset($installed['versions'][$packageName])) {
+ continue;
+ }
+
+ if (!isset($installed['versions'][$packageName]['pretty_version'])) {
+ return null;
+ }
+
+ return $installed['versions'][$packageName]['pretty_version'];
+ }
+
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
+ }
+
+ /**
+ * @param string $packageName
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
+ */
+ public static function getReference($packageName)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (!isset($installed['versions'][$packageName])) {
+ continue;
+ }
+
+ if (!isset($installed['versions'][$packageName]['reference'])) {
+ return null;
+ }
+
+ return $installed['versions'][$packageName]['reference'];
+ }
+
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
+ }
+
+ /**
+ * @param string $packageName
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
+ */
+ public static function getInstallPath($packageName)
+ {
+ foreach (self::getInstalled() as $installed) {
+ if (!isset($installed['versions'][$packageName])) {
+ continue;
+ }
+
+ return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
+ }
+
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
+ }
+
+ /**
+ * @return array
+ * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
+ */
+ public static function getRootPackage()
+ {
+ $installed = self::getInstalled();
+
+ return $installed[0]['root'];
+ }
+
+ /**
+ * Returns the raw installed.php data for custom implementations
+ *
+ * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
+ * @return array[]
+ * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array}
+ */
+ public static function getRawData()
+ {
+ @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
+
+ if (null === self::$installed) {
+ // only require the installed.php file if this file is loaded from its dumped location,
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
+ if (substr(__DIR__, -8, 1) !== 'C') {
+ self::$installed = include __DIR__ . '/installed.php';
+ } else {
+ self::$installed = array();
+ }
+ }
+
+ return self::$installed;
+ }
+
+ /**
+ * Returns the raw data of all installed.php which are currently loaded for custom implementations
+ *
+ * @return array[]
+ * @psalm-return list}>
+ */
+ public static function getAllRawData()
+ {
+ return self::getInstalled();
+ }
+
+ /**
+ * Lets you reload the static array from another file
+ *
+ * This is only useful for complex integrations in which a project needs to use
+ * this class but then also needs to execute another project's autoloader in process,
+ * and wants to ensure both projects have access to their version of installed.php.
+ *
+ * A typical case would be PHPUnit, where it would need to make sure it reads all
+ * the data it needs from this class, then call reload() with
+ * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
+ * the project in which it runs can then also use this class safely, without
+ * interference between PHPUnit's dependencies and the project's dependencies.
+ *
+ * @param array[] $data A vendor/composer/installed.php data set
+ * @return void
+ *
+ * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array} $data
+ */
+ public static function reload($data)
+ {
+ self::$installed = $data;
+ self::$installedByVendor = array();
+ }
+
+ /**
+ * @return array[]
+ * @psalm-return list}>
+ */
+ private static function getInstalled()
+ {
+ if (null === self::$canGetVendors) {
+ self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
+ }
+
+ $installed = array();
+
+ if (self::$canGetVendors) {
+ foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
+ if (isset(self::$installedByVendor[$vendorDir])) {
+ $installed[] = self::$installedByVendor[$vendorDir];
+ } elseif (is_file($vendorDir.'/composer/installed.php')) {
+ /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */
+ $required = require $vendorDir.'/composer/installed.php';
+ $installed[] = self::$installedByVendor[$vendorDir] = $required;
+ if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
+ self::$installed = $installed[count($installed) - 1];
+ }
+ }
+ }
+ }
+
+ if (null === self::$installed) {
+ // only require the installed.php file if this file is loaded from its dumped location,
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
+ if (substr(__DIR__, -8, 1) !== 'C') {
+ /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */
+ $required = require __DIR__ . '/installed.php';
+ self::$installed = $required;
+ } else {
+ self::$installed = array();
+ }
+ }
+
+ if (self::$installed !== array()) {
+ $installed[] = self::$installed;
+ }
+
+ return $installed;
+ }
+}
diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE
new file mode 100644
index 0000000..f27399a
--- /dev/null
+++ b/vendor/composer/LICENSE
@@ -0,0 +1,21 @@
+
+Copyright (c) Nils Adermann, Jordi Boggiano
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
new file mode 100644
index 0000000..904a930
--- /dev/null
+++ b/vendor/composer/autoload_classmap.php
@@ -0,0 +1,121 @@
+ $vendorDir . '/composer/InstalledVersions.php',
+ 'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
+ 'Composer\\Installers\\AkauntingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AkauntingInstaller.php',
+ 'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
+ 'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
+ 'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
+ 'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
+ 'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
+ 'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
+ 'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
+ 'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
+ 'Composer\\Installers\\CiviCrmInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
+ 'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
+ 'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
+ 'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
+ 'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
+ 'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
+ 'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
+ 'Composer\\Installers\\DframeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
+ 'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
+ 'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
+ 'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
+ 'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
+ 'Composer\\Installers\\EliasisInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
+ 'Composer\\Installers\\ExpressionEngineInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
+ 'Composer\\Installers\\EzPlatformInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
+ 'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
+ 'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
+ 'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
+ 'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
+ 'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
+ 'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
+ 'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
+ 'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
+ 'Composer\\Installers\\KnownInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
+ 'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
+ 'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
+ 'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
+ 'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
+ 'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
+ 'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
+ 'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
+ 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
+ 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
+ 'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
+ 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
+ 'Composer\\Installers\\MantisBTInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
+ 'Composer\\Installers\\MatomoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MatomoInstaller.php',
+ 'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
+ 'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
+ 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
+ 'Composer\\Installers\\MiaoxingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MiaoxingInstaller.php',
+ 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
+ 'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
+ 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
+ 'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
+ 'Composer\\Installers\\OntoWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
+ 'Composer\\Installers\\OsclassInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
+ 'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
+ 'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
+ 'Composer\\Installers\\PantheonInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
+ 'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
+ 'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
+ 'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
+ 'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
+ 'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
+ 'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
+ 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
+ 'Composer\\Installers\\ProcessWireInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
+ 'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
+ 'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
+ 'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
+ 'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
+ 'Composer\\Installers\\Redaxo5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
+ 'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
+ 'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
+ 'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
+ 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
+ 'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
+ 'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
+ 'Composer\\Installers\\StarbugInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
+ 'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
+ 'Composer\\Installers\\SyliusInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
+ 'Composer\\Installers\\TaoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
+ 'Composer\\Installers\\TastyIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
+ 'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
+ 'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
+ 'Composer\\Installers\\UserFrostingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
+ 'Composer\\Installers\\VanillaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
+ 'Composer\\Installers\\VgmcpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
+ 'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
+ 'Composer\\Installers\\WinterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
+ 'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
+ 'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
+ 'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
+ 'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
+ 'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
+ 'WPSEO_News' => $baseDir . '/classes/wpseo-news.php',
+ 'WPSEO_News_Admin_Page' => $baseDir . '/classes/admin-page.php',
+ 'WPSEO_News_Editor_Changes_Alert' => $baseDir . '/classes/integrations/editor-changes-alert.php',
+ 'WPSEO_News_Excludable_Taxonomies' => $baseDir . '/classes/excludable-taxonomies.php',
+ 'WPSEO_News_Googlebot_News_Presenter' => $baseDir . '/classes/googlebot-news-presenter.php',
+ 'WPSEO_News_Javascript_Strings' => $baseDir . '/classes/javascript-strings.php',
+ 'WPSEO_News_Meta_Box' => $baseDir . '/classes/meta-box.php',
+ 'WPSEO_News_Option' => $baseDir . '/classes/option.php',
+ 'WPSEO_News_Product' => $baseDir . '/classes/product.php',
+ 'WPSEO_News_Schema' => $baseDir . '/classes/schema.php',
+ 'WPSEO_News_Settings_Genre_Removal_Alert' => $baseDir . '/classes/integrations/settings-genre-removal-alert.php',
+ 'WPSEO_News_Sitemap' => $baseDir . '/classes/sitemap.php',
+ 'WPSEO_News_Sitemap_Item' => $baseDir . '/classes/sitemap-item.php',
+ 'WPSEO_News_TranslationsPress' => $baseDir . '/classes/integrations/translationspress.php',
+ 'WPSEO_News_Upgrade_Manager' => $baseDir . '/classes/upgrade-manager.php',
+);
diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php
new file mode 100644
index 0000000..b7fc012
--- /dev/null
+++ b/vendor/composer/autoload_namespaces.php
@@ -0,0 +1,9 @@
+ array($vendorDir . '/composer/installers/src/Composer/Installers'),
+);
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
new file mode 100644
index 0000000..634455e
--- /dev/null
+++ b/vendor/composer/autoload_real.php
@@ -0,0 +1,57 @@
+= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
+ if ($useStaticLoader) {
+ require __DIR__ . '/autoload_static.php';
+
+ call_user_func(\Composer\Autoload\ComposerStaticInit00f87f16da001227ab33527b731ff297::getInitializer($loader));
+ } else {
+ $map = require __DIR__ . '/autoload_namespaces.php';
+ foreach ($map as $namespace => $path) {
+ $loader->set($namespace, $path);
+ }
+
+ $map = require __DIR__ . '/autoload_psr4.php';
+ foreach ($map as $namespace => $path) {
+ $loader->setPsr4($namespace, $path);
+ }
+
+ $classMap = require __DIR__ . '/autoload_classmap.php';
+ if ($classMap) {
+ $loader->addClassMap($classMap);
+ }
+ }
+
+ $loader->register(true);
+
+ return $loader;
+ }
+}
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
new file mode 100644
index 0000000..021c9d9
--- /dev/null
+++ b/vendor/composer/autoload_static.php
@@ -0,0 +1,147 @@
+
+ array (
+ 'Composer\\Installers\\' => 20,
+ ),
+ );
+
+ public static $prefixDirsPsr4 = array (
+ 'Composer\\Installers\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
+ ),
+ );
+
+ public static $classMap = array (
+ 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
+ 'Composer\\Installers\\AglInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AglInstaller.php',
+ 'Composer\\Installers\\AkauntingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AkauntingInstaller.php',
+ 'Composer\\Installers\\AnnotateCmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
+ 'Composer\\Installers\\AsgardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
+ 'Composer\\Installers\\AttogramInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
+ 'Composer\\Installers\\BaseInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
+ 'Composer\\Installers\\BitrixInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
+ 'Composer\\Installers\\BonefishInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
+ 'Composer\\Installers\\CakePHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
+ 'Composer\\Installers\\ChefInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
+ 'Composer\\Installers\\CiviCrmInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
+ 'Composer\\Installers\\ClanCatsFrameworkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
+ 'Composer\\Installers\\CockpitInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
+ 'Composer\\Installers\\CodeIgniterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
+ 'Composer\\Installers\\Concrete5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
+ 'Composer\\Installers\\CroogoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
+ 'Composer\\Installers\\DecibelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
+ 'Composer\\Installers\\DframeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
+ 'Composer\\Installers\\DokuWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
+ 'Composer\\Installers\\DolibarrInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
+ 'Composer\\Installers\\DrupalInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
+ 'Composer\\Installers\\ElggInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
+ 'Composer\\Installers\\EliasisInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
+ 'Composer\\Installers\\ExpressionEngineInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
+ 'Composer\\Installers\\EzPlatformInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
+ 'Composer\\Installers\\FuelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
+ 'Composer\\Installers\\FuelphpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
+ 'Composer\\Installers\\GravInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/GravInstaller.php',
+ 'Composer\\Installers\\HuradInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
+ 'Composer\\Installers\\ImageCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
+ 'Composer\\Installers\\Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Installer.php',
+ 'Composer\\Installers\\ItopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
+ 'Composer\\Installers\\KanboardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
+ 'Composer\\Installers\\KnownInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
+ 'Composer\\Installers\\KodiCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
+ 'Composer\\Installers\\KohanaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
+ 'Composer\\Installers\\LanManagementSystemInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
+ 'Composer\\Installers\\LaravelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
+ 'Composer\\Installers\\LavaLiteInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
+ 'Composer\\Installers\\LithiumInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
+ 'Composer\\Installers\\MODULEWorkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
+ 'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
+ 'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
+ 'Composer\\Installers\\MajimaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
+ 'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
+ 'Composer\\Installers\\MantisBTInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
+ 'Composer\\Installers\\MatomoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MatomoInstaller.php',
+ 'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
+ 'Composer\\Installers\\MayaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
+ 'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
+ 'Composer\\Installers\\MiaoxingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MiaoxingInstaller.php',
+ 'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
+ 'Composer\\Installers\\ModxInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
+ 'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
+ 'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
+ 'Composer\\Installers\\OntoWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
+ 'Composer\\Installers\\OsclassInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
+ 'Composer\\Installers\\OxidInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
+ 'Composer\\Installers\\PPIInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
+ 'Composer\\Installers\\PantheonInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
+ 'Composer\\Installers\\PhiftyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
+ 'Composer\\Installers\\PhpBBInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
+ 'Composer\\Installers\\PiwikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
+ 'Composer\\Installers\\PlentymarketsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
+ 'Composer\\Installers\\Plugin' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Plugin.php',
+ 'Composer\\Installers\\PortoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
+ 'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
+ 'Composer\\Installers\\ProcessWireInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
+ 'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
+ 'Composer\\Installers\\PxcmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
+ 'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
+ 'Composer\\Installers\\ReIndexInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
+ 'Composer\\Installers\\Redaxo5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
+ 'Composer\\Installers\\RedaxoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
+ 'Composer\\Installers\\RoundcubeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
+ 'Composer\\Installers\\SMFInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
+ 'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
+ 'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
+ 'Composer\\Installers\\SiteDirectInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
+ 'Composer\\Installers\\StarbugInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
+ 'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
+ 'Composer\\Installers\\SyliusInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
+ 'Composer\\Installers\\TaoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
+ 'Composer\\Installers\\TastyIgniterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
+ 'Composer\\Installers\\TheliaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
+ 'Composer\\Installers\\TuskInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
+ 'Composer\\Installers\\UserFrostingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
+ 'Composer\\Installers\\VanillaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
+ 'Composer\\Installers\\VgmcpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
+ 'Composer\\Installers\\WHMCSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
+ 'Composer\\Installers\\WinterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
+ 'Composer\\Installers\\WolfCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
+ 'Composer\\Installers\\WordPressInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
+ 'Composer\\Installers\\YawikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
+ 'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
+ 'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
+ 'WPSEO_News' => __DIR__ . '/../..' . '/classes/wpseo-news.php',
+ 'WPSEO_News_Admin_Page' => __DIR__ . '/../..' . '/classes/admin-page.php',
+ 'WPSEO_News_Editor_Changes_Alert' => __DIR__ . '/../..' . '/classes/integrations/editor-changes-alert.php',
+ 'WPSEO_News_Excludable_Taxonomies' => __DIR__ . '/../..' . '/classes/excludable-taxonomies.php',
+ 'WPSEO_News_Googlebot_News_Presenter' => __DIR__ . '/../..' . '/classes/googlebot-news-presenter.php',
+ 'WPSEO_News_Javascript_Strings' => __DIR__ . '/../..' . '/classes/javascript-strings.php',
+ 'WPSEO_News_Meta_Box' => __DIR__ . '/../..' . '/classes/meta-box.php',
+ 'WPSEO_News_Option' => __DIR__ . '/../..' . '/classes/option.php',
+ 'WPSEO_News_Product' => __DIR__ . '/../..' . '/classes/product.php',
+ 'WPSEO_News_Schema' => __DIR__ . '/../..' . '/classes/schema.php',
+ 'WPSEO_News_Settings_Genre_Removal_Alert' => __DIR__ . '/../..' . '/classes/integrations/settings-genre-removal-alert.php',
+ 'WPSEO_News_Sitemap' => __DIR__ . '/../..' . '/classes/sitemap.php',
+ 'WPSEO_News_Sitemap_Item' => __DIR__ . '/../..' . '/classes/sitemap-item.php',
+ 'WPSEO_News_TranslationsPress' => __DIR__ . '/../..' . '/classes/integrations/translationspress.php',
+ 'WPSEO_News_Upgrade_Manager' => __DIR__ . '/../..' . '/classes/upgrade-manager.php',
+ );
+
+ public static function getInitializer(ClassLoader $loader)
+ {
+ return \Closure::bind(function () use ($loader) {
+ $loader->prefixLengthsPsr4 = ComposerStaticInit00f87f16da001227ab33527b731ff297::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit00f87f16da001227ab33527b731ff297::$prefixDirsPsr4;
+ $loader->classMap = ComposerStaticInit00f87f16da001227ab33527b731ff297::$classMap;
+
+ }, null, ClassLoader::class);
+ }
+}
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
new file mode 100644
index 0000000..9b4ff63
--- /dev/null
+++ b/vendor/composer/installed.php
@@ -0,0 +1,32 @@
+ array(
+ 'pretty_version' => 'dev-main',
+ 'version' => 'dev-main',
+ 'type' => 'wordpress-plugin',
+ 'install_path' => __DIR__ . '/../../',
+ 'aliases' => array(),
+ 'reference' => 'ad1b8d52446586069e0de3738782e1df1dd1b415',
+ 'name' => 'yoast/yoast-news-seo',
+ 'dev' => false,
+ ),
+ 'versions' => array(
+ 'composer/installers' => array(
+ 'pretty_version' => 'v2.2.0',
+ 'version' => '2.2.0.0',
+ 'type' => 'composer-plugin',
+ 'install_path' => __DIR__ . '/./installers',
+ 'aliases' => array(),
+ 'reference' => 'c29dc4b93137acb82734f672c37e029dfbd95b35',
+ 'dev_requirement' => false,
+ ),
+ 'yoast/yoast-news-seo' => array(
+ 'pretty_version' => 'dev-main',
+ 'version' => 'dev-main',
+ 'type' => 'wordpress-plugin',
+ 'install_path' => __DIR__ . '/../../',
+ 'aliases' => array(),
+ 'reference' => 'ad1b8d52446586069e0de3738782e1df1dd1b415',
+ 'dev_requirement' => false,
+ ),
+ ),
+);
diff --git a/vendor/composer/installers/LICENSE b/vendor/composer/installers/LICENSE
new file mode 100644
index 0000000..85f97fc
--- /dev/null
+++ b/vendor/composer/installers/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Kyle Robinson Young
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/vendor/composer/installers/composer.json b/vendor/composer/installers/composer.json
new file mode 100644
index 0000000..5745d3b
--- /dev/null
+++ b/vendor/composer/installers/composer.json
@@ -0,0 +1,116 @@
+{
+ "name": "composer/installers",
+ "type": "composer-plugin",
+ "license": "MIT",
+ "description": "A multi-framework Composer library installer",
+ "keywords": [
+ "installer",
+ "AGL",
+ "AnnotateCms",
+ "Attogram",
+ "Bitrix",
+ "CakePHP",
+ "Chef",
+ "Cockpit",
+ "CodeIgniter",
+ "concrete5",
+ "Croogo",
+ "DokuWiki",
+ "Dolibarr",
+ "Drupal",
+ "Elgg",
+ "Eliasis",
+ "ExpressionEngine",
+ "eZ Platform",
+ "FuelPHP",
+ "Grav",
+ "Hurad",
+ "ImageCMS",
+ "iTop",
+ "Kanboard",
+ "Known",
+ "Kohana",
+ "Lan Management System",
+ "Laravel",
+ "Lavalite",
+ "Lithium",
+ "Magento",
+ "majima",
+ "Mako",
+ "MantisBT",
+ "Matomo",
+ "Mautic",
+ "Maya",
+ "MODX",
+ "MODX Evo",
+ "MediaWiki",
+ "Miaoxing",
+ "OXID",
+ "osclass",
+ "MODULEWork",
+ "Moodle",
+ "Pantheon",
+ "Piwik",
+ "pxcms",
+ "phpBB",
+ "Plentymarkets",
+ "PPI",
+ "Puppet",
+ "Porto",
+ "ProcessWire",
+ "RadPHP",
+ "ReIndex",
+ "Roundcube",
+ "shopware",
+ "SilverStripe",
+ "SMF",
+ "Starbug",
+ "SyDES",
+ "Sylius",
+ "TastyIgniter",
+ "Thelia",
+ "WHMCS",
+ "WolfCMS",
+ "WordPress",
+ "YAWIK",
+ "Zend",
+ "Zikula"
+ ],
+ "homepage": "https://composer.github.io/installers/",
+ "authors": [
+ {
+ "name": "Kyle Robinson Young",
+ "email": "kyle@dontkry.com",
+ "homepage": "https://github.com/shama"
+ }
+ ],
+ "autoload": {
+ "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
+ },
+ "autoload-dev": {
+ "psr-4": { "Composer\\Installers\\Test\\": "tests/Composer/Installers/Test" }
+ },
+ "extra": {
+ "class": "Composer\\Installers\\Plugin",
+ "branch-alias": {
+ "dev-main": "2.x-dev"
+ },
+ "plugin-modifies-install-path": true
+ },
+ "require": {
+ "php": "^7.2 || ^8.0",
+ "composer-plugin-api": "^1.0 || ^2.0"
+ },
+ "require-dev": {
+ "composer/composer": "1.6.* || ^2.0",
+ "composer/semver": "^1 || ^3",
+ "symfony/phpunit-bridge": "^5.3",
+ "phpstan/phpstan": "^0.12.55",
+ "symfony/process": "^5",
+ "phpstan/phpstan-phpunit": "^0.12.16"
+ },
+ "scripts": {
+ "test": "vendor/bin/simple-phpunit",
+ "phpstan": "vendor/bin/phpstan analyse"
+ }
+}
diff --git a/vendor/composer/installers/phpstan.neon.dist b/vendor/composer/installers/phpstan.neon.dist
new file mode 100644
index 0000000..b15782a
--- /dev/null
+++ b/vendor/composer/installers/phpstan.neon.dist
@@ -0,0 +1,12 @@
+parameters:
+ level: 8
+ paths:
+ - src
+ - tests
+ excludes_analyse:
+ - tests/Composer/Installers/Test/PolyfillTestCase.php
+ ignoreErrors:
+ - '~Test::[a-zA-Z0-9]+Provider\(\) return type~'
+
+includes:
+ - vendor/phpstan/phpstan-phpunit/extension.neon
diff --git a/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
new file mode 100644
index 0000000..b0996a6
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
@@ -0,0 +1,29 @@
+ */
+ protected $locations = array(
+ 'module' => 'More/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $name = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
+ return strtoupper($matches[1]);
+ }, $vars['name']);
+
+ if (null === $name) {
+ throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error());
+ }
+
+ $vars['name'] = $name;
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php b/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php
new file mode 100644
index 0000000..c504c70
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php
@@ -0,0 +1,23 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
new file mode 100644
index 0000000..58a0f66
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'module' => 'addons/modules/{$name}/',
+ 'component' => 'addons/components/{$name}/',
+ 'service' => 'addons/services/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
new file mode 100644
index 0000000..f01b399
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
@@ -0,0 +1,58 @@
+ */
+ protected $locations = array(
+ 'module' => 'Modules/{$name}/',
+ 'theme' => 'Themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type asgard-module, cut off a trailing '-plugin' if present.
+ *
+ * For package type asgard-theme, cut off a trailing '-theme' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'asgard-module') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'asgard-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectPluginVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
new file mode 100644
index 0000000..bd7dd8d
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
new file mode 100644
index 0000000..663ec2a
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
@@ -0,0 +1,137 @@
+ */
+ protected $locations = array();
+ /** @var Composer */
+ protected $composer;
+ /** @var PackageInterface */
+ protected $package;
+ /** @var IOInterface */
+ protected $io;
+
+ /**
+ * Initializes base installer.
+ */
+ public function __construct(PackageInterface $package, Composer $composer, IOInterface $io)
+ {
+ $this->composer = $composer;
+ $this->package = $package;
+ $this->io = $io;
+ }
+
+ /**
+ * Return the install path based on package type.
+ */
+ public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string
+ {
+ $type = $this->package->getType();
+
+ $prettyName = $this->package->getPrettyName();
+ if (strpos($prettyName, '/') !== false) {
+ list($vendor, $name) = explode('/', $prettyName);
+ } else {
+ $vendor = '';
+ $name = $prettyName;
+ }
+
+ $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
+
+ $extra = $package->getExtra();
+ if (!empty($extra['installer-name'])) {
+ $availableVars['name'] = $extra['installer-name'];
+ }
+
+ $extra = $this->composer->getPackage()->getExtra();
+ if (!empty($extra['installer-paths'])) {
+ $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
+ if ($customPath !== false) {
+ return $this->templatePath($customPath, $availableVars);
+ }
+ }
+
+ $packageType = substr($type, strlen($frameworkType) + 1);
+ $locations = $this->getLocations($frameworkType);
+ if (!isset($locations[$packageType])) {
+ throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
+ }
+
+ return $this->templatePath($locations[$packageType], $availableVars);
+ }
+
+ /**
+ * For an installer to override to modify the vars per installer.
+ *
+ * @param array $vars This will normally receive array{name: string, vendor: string, type: string}
+ * @return array
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ return $vars;
+ }
+
+ /**
+ * Gets the installer's locations
+ *
+ * @return array map of package types => install path
+ */
+ public function getLocations(string $frameworkType)
+ {
+ return $this->locations;
+ }
+
+ /**
+ * Replace vars in a path
+ *
+ * @param array $vars
+ */
+ protected function templatePath(string $path, array $vars = array()): string
+ {
+ if (strpos($path, '{') !== false) {
+ extract($vars);
+ preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
+ if (!empty($matches[1])) {
+ foreach ($matches[1] as $var) {
+ $path = str_replace('{$' . $var . '}', $$var, $path);
+ }
+ }
+ }
+
+ return $path;
+ }
+
+ /**
+ * Search through a passed paths array for a custom install path.
+ *
+ * @param array $paths
+ * @return string|false
+ */
+ protected function mapCustomInstallPaths(array $paths, string $name, string $type, ?string $vendor = null)
+ {
+ foreach ($paths as $path => $names) {
+ $names = (array) $names;
+ if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
+ return $path;
+ }
+ }
+
+ return false;
+ }
+
+ protected function pregReplace(string $pattern, string $replacement, string $subject): string
+ {
+ $result = preg_replace($pattern, $replacement, $subject);
+ if (null === $result) {
+ throw new \RuntimeException('Failed to run preg_replace with '.$pattern.': '.preg_last_error());
+ }
+
+ return $result;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
new file mode 100644
index 0000000..705ecb4
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
@@ -0,0 +1,123 @@
+.`.
+ * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`.
+ * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`.
+ *
+ * You can set custom path to directory with Bitrix kernel in `composer.json`:
+ *
+ * ```json
+ * {
+ * "extra": {
+ * "bitrix-dir": "s1/bitrix"
+ * }
+ * }
+ * ```
+ *
+ * @author Nik Samokhvalov
+ * @author Denis Kulichkin
+ */
+class BitrixInstaller extends BaseInstaller
+{
+ /** @var array */
+ protected $locations = array(
+ 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
+ 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
+ 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
+ );
+
+ /**
+ * @var string[] Storage for informations about duplicates at all the time of installation packages.
+ */
+ private static $checkedDuplicates = array();
+
+ public function inflectPackageVars(array $vars): array
+ {
+ /** @phpstan-ignore-next-line */
+ if ($this->composer->getPackage()) {
+ $extra = $this->composer->getPackage()->getExtra();
+
+ if (isset($extra['bitrix-dir'])) {
+ $vars['bitrix_dir'] = $extra['bitrix-dir'];
+ }
+ }
+
+ if (!isset($vars['bitrix_dir'])) {
+ $vars['bitrix_dir'] = 'bitrix';
+ }
+
+ return parent::inflectPackageVars($vars);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function templatePath(string $path, array $vars = array()): string
+ {
+ $templatePath = parent::templatePath($path, $vars);
+ $this->checkDuplicates($templatePath, $vars);
+
+ return $templatePath;
+ }
+
+ /**
+ * Duplicates search packages.
+ *
+ * @param array $vars
+ */
+ protected function checkDuplicates(string $path, array $vars = array()): void
+ {
+ $packageType = substr($vars['type'], strlen('bitrix') + 1);
+ $localDir = explode('/', $vars['bitrix_dir']);
+ array_pop($localDir);
+ $localDir[] = 'local';
+ $localDir = implode('/', $localDir);
+
+ $oldPath = str_replace(
+ array('{$bitrix_dir}', '{$name}'),
+ array($localDir, $vars['name']),
+ $this->locations[$packageType]
+ );
+
+ if (in_array($oldPath, static::$checkedDuplicates)) {
+ return;
+ }
+
+ if ($oldPath !== $path && file_exists($oldPath) && $this->io->isInteractive()) {
+ $this->io->writeError(' Duplication of packages:');
+ $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . '');
+
+ while (true) {
+ switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) {
+ case 'y':
+ $fs = new Filesystem();
+ $fs->removeDirectory($oldPath);
+ break 2;
+
+ case 'n':
+ break 2;
+
+ case '?':
+ default:
+ $this->io->writeError(array(
+ ' y - delete package ' . $oldPath . ' and to continue with the installation',
+ ' n - don\'t delete and to continue with the installation',
+ ));
+ $this->io->writeError(' ? - print help');
+ break;
+ }
+ }
+ }
+
+ static::$checkedDuplicates[] = $oldPath;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
new file mode 100644
index 0000000..ab022d9
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'package' => 'Packages/{$vendor}/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
new file mode 100644
index 0000000..df45895
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
@@ -0,0 +1,67 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'Plugin/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($this->matchesCakeVersion('>=', '3.0.0')) {
+ return $vars;
+ }
+
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+
+ return $vars;
+ }
+
+ /**
+ * Change the default plugin location when cakephp >= 3.0
+ */
+ public function getLocations(string $frameworkType): array
+ {
+ if ($this->matchesCakeVersion('>=', '3.0.0')) {
+ $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
+ }
+ return $this->locations;
+ }
+
+ /**
+ * Check if CakePHP version matches against a version
+ *
+ * @phpstan-param Constraint::STR_OP_* $matcher
+ */
+ protected function matchesCakeVersion(string $matcher, string $version): bool
+ {
+ $repositoryManager = $this->composer->getRepositoryManager();
+ /** @phpstan-ignore-next-line */
+ if (!$repositoryManager) {
+ return false;
+ }
+
+ $repos = $repositoryManager->getLocalRepository();
+ /** @phpstan-ignore-next-line */
+ if (!$repos) {
+ return false;
+ }
+
+ return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
new file mode 100644
index 0000000..b0d3c5f
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'cookbook' => 'Chef/{$vendor}/{$name}/',
+ 'role' => 'Chef/roles/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
new file mode 100644
index 0000000..1c52e0c
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'ext' => 'ext/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
new file mode 100644
index 0000000..2c943b2
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'ship' => 'CCF/orbit/{$name}/',
+ 'theme' => 'CCF/app/themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
new file mode 100644
index 0000000..d3fcdf7
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
@@ -0,0 +1,36 @@
+ */
+ protected $locations = array(
+ 'module' => 'cockpit/modules/addons/{$name}/',
+ );
+
+ /**
+ * Format module name.
+ *
+ * Strip `module-` prefix from package name.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] == 'cockpit-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ public function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = ucfirst($this->pregReplace('/cockpit-/i', '', $vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
new file mode 100644
index 0000000..a183e07
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'library' => 'application/libraries/{$name}/',
+ 'third-party' => 'application/third_party/{$name}/',
+ 'module' => 'application/modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
new file mode 100644
index 0000000..2f5fecb
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
@@ -0,0 +1,15 @@
+ */
+ protected $locations = array(
+ 'core' => 'concrete/',
+ 'block' => 'application/blocks/{$name}/',
+ 'package' => 'packages/{$name}/',
+ 'theme' => 'application/themes/{$name}/',
+ 'update' => 'updates/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
new file mode 100644
index 0000000..31d4939
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
@@ -0,0 +1,23 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'Plugin/{$name}/',
+ 'theme' => 'View/Themed/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
new file mode 100644
index 0000000..88f53f7
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'app' => 'app/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php b/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php
new file mode 100644
index 0000000..196f60e
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$vendor}/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
new file mode 100644
index 0000000..aa3a2e6
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
@@ -0,0 +1,57 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'lib/plugins/{$name}/',
+ 'template' => 'lib/tpl/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type dokuwiki-plugin, cut off a trailing '-plugin',
+ * or leading dokuwiki_ if present.
+ *
+ * For package type dokuwiki-template, cut off a trailing '-template' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'dokuwiki-plugin') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'dokuwiki-template') {
+ return $this->inflectTemplateVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectPluginVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-plugin$/', '', $vars['name']);
+ $vars['name'] = $this->pregReplace('/^dokuwiki_?-?/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectTemplateVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-template$/', '', $vars['name']);
+ $vars['name'] = $this->pregReplace('/^dokuwiki_?-?/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
new file mode 100644
index 0000000..c583619
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
@@ -0,0 +1,18 @@
+
+ */
+class DolibarrInstaller extends BaseInstaller
+{
+ //TODO: Add support for scripts and themes
+ /** @var array */
+ protected $locations = array(
+ 'module' => 'htdocs/custom/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
new file mode 100644
index 0000000..7690f30
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
@@ -0,0 +1,24 @@
+ */
+ protected $locations = array(
+ 'core' => 'core/',
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ 'library' => 'libraries/{$name}/',
+ 'profile' => 'profiles/{$name}/',
+ 'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/',
+ 'drush' => 'drush/{$name}/',
+ 'custom-theme' => 'themes/custom/{$name}/',
+ 'custom-module' => 'modules/custom/{$name}/',
+ 'custom-profile' => 'profiles/custom/{$name}/',
+ 'drupal-multisite' => 'sites/{$name}/',
+ 'console' => 'console/{$name}/',
+ 'console-language' => 'console/language/{$name}/',
+ 'config' => 'config/sync/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
new file mode 100644
index 0000000..48ef2ec
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'mod/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
new file mode 100644
index 0000000..d7dd9a9
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'component' => 'components/{$name}/',
+ 'module' => 'modules/{$name}/',
+ 'plugin' => 'plugins/{$name}/',
+ 'template' => 'templates/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
new file mode 100644
index 0000000..fe1d468
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
@@ -0,0 +1,31 @@
+ */
+ private $ee2Locations = array(
+ 'addon' => 'system/expressionengine/third_party/{$name}/',
+ 'theme' => 'themes/third_party/{$name}/',
+ );
+
+ /** @var array */
+ private $ee3Locations = array(
+ 'addon' => 'system/user/addons/{$name}/',
+ 'theme' => 'themes/user/{$name}/',
+ );
+
+ public function getLocations(string $frameworkType): array
+ {
+ if ($frameworkType === 'ee2') {
+ $this->locations = $this->ee2Locations;
+ } else {
+ $this->locations = $this->ee3Locations;
+ }
+
+ return $this->locations;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
new file mode 100644
index 0000000..1f5b84e
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'meta-assets' => 'web/assets/ezplatform/',
+ 'assets' => 'web/assets/ezplatform/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
new file mode 100644
index 0000000..5948572
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'module' => 'fuel/app/modules/{$name}/',
+ 'package' => 'fuel/packages/{$name}/',
+ 'theme' => 'fuel/app/themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
new file mode 100644
index 0000000..b4d80ed
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'component' => 'components/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
new file mode 100644
index 0000000..f5792e3
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
@@ -0,0 +1,29 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'user/plugins/{$name}/',
+ 'theme' => 'user/themes/{$name}/',
+ );
+
+ /**
+ * Format package name
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $restrictedWords = implode('|', array_keys($this->locations));
+
+ $vars['name'] = strtolower($vars['name']);
+ $vars['name'] = $this->pregReplace(
+ '/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
+ '$1',
+ $vars['name']
+ );
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
new file mode 100644
index 0000000..dd76c5b
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
@@ -0,0 +1,27 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ 'theme' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
new file mode 100644
index 0000000..4157cec
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'template' => 'templates/{$name}/',
+ 'module' => 'application/modules/{$name}/',
+ 'library' => 'application/libraries/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/Installer.php b/vendor/composer/installers/src/Composer/Installers/Installer.php
new file mode 100644
index 0000000..67a73e9
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/Installer.php
@@ -0,0 +1,280 @@
+
+ */
+ private $supportedTypes = array(
+ 'akaunting' => 'AkauntingInstaller',
+ 'asgard' => 'AsgardInstaller',
+ 'attogram' => 'AttogramInstaller',
+ 'agl' => 'AglInstaller',
+ 'annotatecms' => 'AnnotateCmsInstaller',
+ 'bitrix' => 'BitrixInstaller',
+ 'bonefish' => 'BonefishInstaller',
+ 'cakephp' => 'CakePHPInstaller',
+ 'chef' => 'ChefInstaller',
+ 'civicrm' => 'CiviCrmInstaller',
+ 'ccframework' => 'ClanCatsFrameworkInstaller',
+ 'cockpit' => 'CockpitInstaller',
+ 'codeigniter' => 'CodeIgniterInstaller',
+ 'concrete5' => 'Concrete5Installer',
+ 'croogo' => 'CroogoInstaller',
+ 'dframe' => 'DframeInstaller',
+ 'dokuwiki' => 'DokuWikiInstaller',
+ 'dolibarr' => 'DolibarrInstaller',
+ 'decibel' => 'DecibelInstaller',
+ 'drupal' => 'DrupalInstaller',
+ 'elgg' => 'ElggInstaller',
+ 'eliasis' => 'EliasisInstaller',
+ 'ee3' => 'ExpressionEngineInstaller',
+ 'ee2' => 'ExpressionEngineInstaller',
+ 'ezplatform' => 'EzPlatformInstaller',
+ 'fuel' => 'FuelInstaller',
+ 'fuelphp' => 'FuelphpInstaller',
+ 'grav' => 'GravInstaller',
+ 'hurad' => 'HuradInstaller',
+ 'tastyigniter' => 'TastyIgniterInstaller',
+ 'imagecms' => 'ImageCMSInstaller',
+ 'itop' => 'ItopInstaller',
+ 'kanboard' => 'KanboardInstaller',
+ 'known' => 'KnownInstaller',
+ 'kodicms' => 'KodiCMSInstaller',
+ 'kohana' => 'KohanaInstaller',
+ 'lms' => 'LanManagementSystemInstaller',
+ 'laravel' => 'LaravelInstaller',
+ 'lavalite' => 'LavaLiteInstaller',
+ 'lithium' => 'LithiumInstaller',
+ 'magento' => 'MagentoInstaller',
+ 'majima' => 'MajimaInstaller',
+ 'mantisbt' => 'MantisBTInstaller',
+ 'mako' => 'MakoInstaller',
+ 'matomo' => 'MatomoInstaller',
+ 'maya' => 'MayaInstaller',
+ 'mautic' => 'MauticInstaller',
+ 'mediawiki' => 'MediaWikiInstaller',
+ 'miaoxing' => 'MiaoxingInstaller',
+ 'microweber' => 'MicroweberInstaller',
+ 'modulework' => 'MODULEWorkInstaller',
+ 'modx' => 'ModxInstaller',
+ 'modxevo' => 'MODXEvoInstaller',
+ 'moodle' => 'MoodleInstaller',
+ 'october' => 'OctoberInstaller',
+ 'ontowiki' => 'OntoWikiInstaller',
+ 'oxid' => 'OxidInstaller',
+ 'osclass' => 'OsclassInstaller',
+ 'pxcms' => 'PxcmsInstaller',
+ 'phpbb' => 'PhpBBInstaller',
+ 'piwik' => 'PiwikInstaller',
+ 'plentymarkets'=> 'PlentymarketsInstaller',
+ 'ppi' => 'PPIInstaller',
+ 'puppet' => 'PuppetInstaller',
+ 'radphp' => 'RadPHPInstaller',
+ 'phifty' => 'PhiftyInstaller',
+ 'porto' => 'PortoInstaller',
+ 'processwire' => 'ProcessWireInstaller',
+ 'quicksilver' => 'PantheonInstaller',
+ 'redaxo' => 'RedaxoInstaller',
+ 'redaxo5' => 'Redaxo5Installer',
+ 'reindex' => 'ReIndexInstaller',
+ 'roundcube' => 'RoundcubeInstaller',
+ 'shopware' => 'ShopwareInstaller',
+ 'sitedirect' => 'SiteDirectInstaller',
+ 'silverstripe' => 'SilverStripeInstaller',
+ 'smf' => 'SMFInstaller',
+ 'starbug' => 'StarbugInstaller',
+ 'sydes' => 'SyDESInstaller',
+ 'sylius' => 'SyliusInstaller',
+ 'tao' => 'TaoInstaller',
+ 'thelia' => 'TheliaInstaller',
+ 'tusk' => 'TuskInstaller',
+ 'userfrosting' => 'UserFrostingInstaller',
+ 'vanilla' => 'VanillaInstaller',
+ 'whmcs' => 'WHMCSInstaller',
+ 'winter' => 'WinterInstaller',
+ 'wolfcms' => 'WolfCMSInstaller',
+ 'wordpress' => 'WordPressInstaller',
+ 'yawik' => 'YawikInstaller',
+ 'zend' => 'ZendInstaller',
+ 'zikula' => 'ZikulaInstaller',
+ 'prestashop' => 'PrestashopInstaller'
+ );
+
+ /**
+ * Disables installers specified in main composer extra installer-disable
+ * list
+ */
+ public function __construct(
+ IOInterface $io,
+ Composer $composer,
+ string $type = 'library',
+ ?Filesystem $filesystem = null,
+ ?BinaryInstaller $binaryInstaller = null
+ ) {
+ parent::__construct($io, $composer, $type, $filesystem, $binaryInstaller);
+ $this->removeDisabledInstallers();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function getInstallPath(PackageInterface $package)
+ {
+ $type = $package->getType();
+ $frameworkType = $this->findFrameworkType($type);
+
+ if ($frameworkType === false) {
+ throw new \InvalidArgumentException(
+ 'Sorry the package type of this package is not yet supported.'
+ );
+ }
+
+ $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
+ $installer = new $class($package, $this->composer, $this->getIO());
+
+ $path = $installer->getInstallPath($package, $frameworkType);
+ if (!$this->filesystem->isAbsolutePath($path)) {
+ $path = getcwd() . '/' . $path;
+ }
+
+ return $path;
+ }
+
+ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
+ {
+ $installPath = $this->getPackageBasePath($package);
+ $io = $this->io;
+ $outputStatus = function () use ($io, $installPath) {
+ $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted' : 'not deleted'));
+ };
+
+ $promise = parent::uninstall($repo, $package);
+
+ // Composer v2 might return a promise here
+ if ($promise instanceof PromiseInterface) {
+ return $promise->then($outputStatus);
+ }
+
+ // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async)
+ $outputStatus();
+
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function supports($packageType)
+ {
+ $frameworkType = $this->findFrameworkType($packageType);
+
+ if ($frameworkType === false) {
+ return false;
+ }
+
+ $locationPattern = $this->getLocationPattern($frameworkType);
+
+ return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
+ }
+
+ /**
+ * Finds a supported framework type if it exists and returns it
+ *
+ * @return string|false
+ */
+ protected function findFrameworkType(string $type)
+ {
+ krsort($this->supportedTypes);
+
+ foreach ($this->supportedTypes as $key => $val) {
+ if ($key === substr($type, 0, strlen($key))) {
+ return substr($type, 0, strlen($key));
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the second part of the regular expression to check for support of a
+ * package type
+ */
+ protected function getLocationPattern(string $frameworkType): string
+ {
+ $pattern = null;
+ if (!empty($this->supportedTypes[$frameworkType])) {
+ $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
+ /** @var BaseInstaller $framework */
+ $framework = new $frameworkClass(new Package('dummy/pkg', '1.0.0.0', '1.0.0'), $this->composer, $this->getIO());
+ $locations = array_keys($framework->getLocations($frameworkType));
+ if ($locations) {
+ $pattern = '(' . implode('|', $locations) . ')';
+ }
+ }
+
+ return $pattern ?: '(\w+)';
+ }
+
+ private function getIO(): IOInterface
+ {
+ return $this->io;
+ }
+
+ /**
+ * Look for installers set to be disabled in composer's extra config and
+ * remove them from the list of supported installers.
+ *
+ * Globals:
+ * - true, "all", and "*" - disable all installers.
+ * - false - enable all installers (useful with
+ * wikimedia/composer-merge-plugin or similar)
+ */
+ protected function removeDisabledInstallers(): void
+ {
+ $extra = $this->composer->getPackage()->getExtra();
+
+ if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
+ // No installers are disabled
+ return;
+ }
+
+ // Get installers to disable
+ $disable = $extra['installer-disable'];
+
+ // Ensure $disabled is an array
+ if (!is_array($disable)) {
+ $disable = array($disable);
+ }
+
+ // Check which installers should be disabled
+ $all = array(true, "all", "*");
+ $intersect = array_intersect($all, $disable);
+ if (!empty($intersect)) {
+ // Disable all installers
+ $this->supportedTypes = array();
+ return;
+ }
+
+ // Disable specified installers
+ foreach ($disable as $key => $installer) {
+ if (is_string($installer) && key_exists($installer, $this->supportedTypes)) {
+ unset($this->supportedTypes[$installer]);
+ }
+ }
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
new file mode 100644
index 0000000..06af068
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'extension' => 'extensions/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
new file mode 100644
index 0000000..bca954b
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
@@ -0,0 +1,20 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php b/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php
new file mode 100644
index 0000000..61910a8
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'IdnoPlugins/{$name}/',
+ 'theme' => 'Themes/{$name}/',
+ 'console' => 'ConsolePlugins/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
new file mode 100644
index 0000000..2505ac6
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'cms/plugins/{$name}/',
+ 'media' => 'cms/media/vendor/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
new file mode 100644
index 0000000..b6aa809
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
new file mode 100644
index 0000000..7fe9d9b
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
@@ -0,0 +1,27 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ 'template' => 'templates/{$name}/',
+ 'document-template' => 'documents/templates/{$name}/',
+ 'userpanel-module' => 'userpanel/modules/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
new file mode 100644
index 0000000..a69dc88
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'library' => 'libraries/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
new file mode 100644
index 0000000..e4a7c7d
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'package' => 'packages/{$vendor}/{$name}/',
+ 'theme' => 'public/themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
new file mode 100644
index 0000000..b24bea2
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'library' => 'libraries/{$name}/',
+ 'source' => 'libraries/_source/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
new file mode 100644
index 0000000..369e8b4
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
new file mode 100644
index 0000000..062a839
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
@@ -0,0 +1,18 @@
+ */
+ protected $locations = array(
+ 'snippet' => 'assets/snippets/{$name}/',
+ 'plugin' => 'assets/plugins/{$name}/',
+ 'module' => 'assets/modules/{$name}/',
+ 'template' => 'assets/templates/{$name}/',
+ 'lib' => 'assets/lib/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
new file mode 100644
index 0000000..ec07cd6
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'theme' => 'app/design/frontend/{$name}/',
+ 'skin' => 'skin/frontend/default/{$name}/',
+ 'library' => 'lib/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
new file mode 100644
index 0000000..6fc3089
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
@@ -0,0 +1,46 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Transforms the names
+ *
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ return $this->correctPluginName($vars);
+ }
+
+ /**
+ * Change hyphenated names to camelcase
+ *
+ * @param array $vars
+ * @return array
+ */
+ private function correctPluginName(array $vars): array
+ {
+ $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, $vars['name']);
+
+ if (null === $camelCasedName) {
+ throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error());
+ }
+
+ $vars['name'] = ucfirst($camelCasedName);
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
new file mode 100644
index 0000000..cbe3760
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'package' => 'app/packages/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php b/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php
new file mode 100644
index 0000000..98e230f
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php
@@ -0,0 +1,25 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php b/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php
new file mode 100644
index 0000000..57fdb03
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php
@@ -0,0 +1,28 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
new file mode 100644
index 0000000..e48c133
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
@@ -0,0 +1,43 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ 'core' => 'app/',
+ );
+
+ private function getDirectoryName(): string
+ {
+ $extra = $this->package->getExtra();
+ if (!empty($extra['install-directory-name'])) {
+ return $extra['install-directory-name'];
+ }
+
+ return $this->toCamelCase($this->package->getPrettyName());
+ }
+
+ private function toCamelCase(string $packageName): string
+ {
+ return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName))));
+ }
+
+ /**
+ * Format package name of mautic-plugins to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') {
+ $directoryName = $this->getDirectoryName();
+ $vars['name'] = $directoryName;
+ }
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
new file mode 100644
index 0000000..df486da
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
@@ -0,0 +1,38 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type maya-module, cut off a trailing '-module' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'maya-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
new file mode 100644
index 0000000..8e9d771
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
@@ -0,0 +1,58 @@
+ */
+ protected $locations = array(
+ 'core' => 'core/',
+ 'extension' => 'extensions/{$name}/',
+ 'skin' => 'skins/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
+ * to CamelCase keeping existing uppercase chars.
+ *
+ * For package type mediawiki-skin, cut off a trailing '-skin' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'mediawiki-extension') {
+ return $this->inflectExtensionVars($vars);
+ }
+
+ if ($vars['type'] === 'mediawiki-skin') {
+ return $this->inflectSkinVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectExtensionVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-extension$/', '', $vars['name']);
+ $vars['name'] = str_replace('-', ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectSkinVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-skin$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php b/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php
new file mode 100644
index 0000000..0254177
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
new file mode 100644
index 0000000..a4d97ab
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
@@ -0,0 +1,145 @@
+ */
+ protected $locations = array(
+ 'module' => 'userfiles/modules/{$install_item_dir}/',
+ 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/',
+ 'template' => 'userfiles/templates/{$install_item_dir}/',
+ 'element' => 'userfiles/elements/{$install_item_dir}/',
+ 'vendor' => 'vendor/{$install_item_dir}/',
+ 'components' => 'components/{$install_item_dir}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type microweber-module, cut off a trailing '-module' if present
+ *
+ * For package type microweber-template, cut off a trailing '-template' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($this->package->getTargetDir() !== null && $this->package->getTargetDir() !== '') {
+ $vars['install_item_dir'] = $this->package->getTargetDir();
+ } else {
+ $vars['install_item_dir'] = $vars['name'];
+ if ($vars['type'] === 'microweber-template') {
+ return $this->inflectTemplateVars($vars);
+ }
+ if ($vars['type'] === 'microweber-templates') {
+ return $this->inflectTemplatesVars($vars);
+ }
+ if ($vars['type'] === 'microweber-core') {
+ return $this->inflectCoreVars($vars);
+ }
+ if ($vars['type'] === 'microweber-adapter') {
+ return $this->inflectCoreVars($vars);
+ }
+ if ($vars['type'] === 'microweber-module') {
+ return $this->inflectModuleVars($vars);
+ }
+ if ($vars['type'] === 'microweber-modules') {
+ return $this->inflectModulesVars($vars);
+ }
+ if ($vars['type'] === 'microweber-skin') {
+ return $this->inflectSkinVars($vars);
+ }
+ if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
+ return $this->inflectElementVars($vars);
+ }
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectTemplateVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-template$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/template-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectTemplatesVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-templates$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/templates-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectCoreVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-providers$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/-provider$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/-adapter$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModuleVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-module$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/module-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModulesVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-modules$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/modules-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectSkinVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-skin$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/skin-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectElementVars(array $vars): array
+ {
+ $vars['install_item_dir'] = $this->pregReplace('/-elements$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/elements-$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/-element$/', '', $vars['install_item_dir']);
+ $vars['install_item_dir'] = $this->pregReplace('/element-$/', '', $vars['install_item_dir']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
new file mode 100644
index 0000000..e2dddec
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'extra' => 'core/packages/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
new file mode 100644
index 0000000..d9babb3
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
@@ -0,0 +1,67 @@
+ */
+ protected $locations = array(
+ 'mod' => 'mod/{$name}/',
+ 'admin_report' => 'admin/report/{$name}/',
+ 'atto' => 'lib/editor/atto/plugins/{$name}/',
+ 'tool' => 'admin/tool/{$name}/',
+ 'assignment' => 'mod/assignment/type/{$name}/',
+ 'assignsubmission' => 'mod/assign/submission/{$name}/',
+ 'assignfeedback' => 'mod/assign/feedback/{$name}/',
+ 'antivirus' => 'lib/antivirus/{$name}/',
+ 'auth' => 'auth/{$name}/',
+ 'availability' => 'availability/condition/{$name}/',
+ 'block' => 'blocks/{$name}/',
+ 'booktool' => 'mod/book/tool/{$name}/',
+ 'cachestore' => 'cache/stores/{$name}/',
+ 'cachelock' => 'cache/locks/{$name}/',
+ 'calendartype' => 'calendar/type/{$name}/',
+ 'customfield' => 'customfield/field/{$name}/',
+ 'fileconverter' => 'files/converter/{$name}/',
+ 'format' => 'course/format/{$name}/',
+ 'coursereport' => 'course/report/{$name}/',
+ 'contenttype' => 'contentbank/contenttype/{$name}/',
+ 'customcertelement' => 'mod/customcert/element/{$name}/',
+ 'datafield' => 'mod/data/field/{$name}/',
+ 'dataformat' => 'dataformat/{$name}/',
+ 'datapreset' => 'mod/data/preset/{$name}/',
+ 'editor' => 'lib/editor/{$name}/',
+ 'enrol' => 'enrol/{$name}/',
+ 'filter' => 'filter/{$name}/',
+ 'gradeexport' => 'grade/export/{$name}/',
+ 'gradeimport' => 'grade/import/{$name}/',
+ 'gradereport' => 'grade/report/{$name}/',
+ 'gradingform' => 'grade/grading/form/{$name}/',
+ 'local' => 'local/{$name}/',
+ 'logstore' => 'admin/tool/log/store/{$name}/',
+ 'ltisource' => 'mod/lti/source/{$name}/',
+ 'ltiservice' => 'mod/lti/service/{$name}/',
+ 'media' => 'media/player/{$name}/',
+ 'message' => 'message/output/{$name}/',
+ 'mnetservice' => 'mnet/service/{$name}/',
+ 'paygw' => 'payment/gateway/{$name}/',
+ 'plagiarism' => 'plagiarism/{$name}/',
+ 'portfolio' => 'portfolio/{$name}/',
+ 'qbehaviour' => 'question/behaviour/{$name}/',
+ 'qformat' => 'question/format/{$name}/',
+ 'qtype' => 'question/type/{$name}/',
+ 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
+ 'quiz' => 'mod/quiz/report/{$name}/',
+ 'report' => 'report/{$name}/',
+ 'repository' => 'repository/{$name}/',
+ 'scormreport' => 'mod/scorm/report/{$name}/',
+ 'search' => 'search/engine/{$name}/',
+ 'theme' => 'theme/{$name}/',
+ 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
+ 'profilefield' => 'user/profile/field/{$name}/',
+ 'webservice' => 'webservice/{$name}/',
+ 'workshopallocation' => 'mod/workshop/allocation/{$name}/',
+ 'workshopeval' => 'mod/workshop/eval/{$name}/',
+ 'workshopform' => 'mod/workshop/form/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
new file mode 100644
index 0000000..524f17d
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
@@ -0,0 +1,57 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'plugin' => 'plugins/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$vendor}-{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type october-plugin, cut off a trailing '-plugin' if present.
+ *
+ * For package type october-theme, cut off a trailing '-theme' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'october-plugin') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'october-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectPluginVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^oc-|-plugin$/', '', $vars['name']);
+ $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^oc-|-theme$/', '', $vars['name']);
+ $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
new file mode 100644
index 0000000..fd20c1a
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
@@ -0,0 +1,26 @@
+ */
+ protected $locations = array(
+ 'extension' => 'extensions/{$name}/',
+ 'theme' => 'extensions/themes/{$name}/',
+ 'translation' => 'extensions/translations/{$name}/',
+ );
+
+ /**
+ * Format package name to lower case and remove ".ontowiki" suffix
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($vars['name']);
+ $vars['name'] = $this->pregReplace('/.ontowiki$/', '', $vars['name']);
+ $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']);
+ $vars['name'] = $this->pregReplace('/-translation$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
new file mode 100644
index 0000000..e61d61f
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'oc-content/plugins/{$name}/',
+ 'theme' => 'oc-content/themes/{$name}/',
+ 'language' => 'oc-content/languages/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
new file mode 100644
index 0000000..6e1e862
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
@@ -0,0 +1,49 @@
+.+)\/.+/';
+
+ /** @var array */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'application/views/{$name}/',
+ 'out' => 'out/{$name}/',
+ );
+
+ public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string
+ {
+ $installPath = parent::getInstallPath($package, $frameworkType);
+ $type = $this->package->getType();
+ if ($type === 'oxid-module') {
+ $this->prepareVendorDirectory($installPath);
+ }
+ return $installPath;
+ }
+
+ /**
+ * Makes sure there is a vendormetadata.php file inside
+ * the vendor folder if there is a vendor folder.
+ */
+ protected function prepareVendorDirectory(string $installPath): void
+ {
+ $matches = '';
+ $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
+ if (!$hasVendorDirectory) {
+ return;
+ }
+
+ $vendorDirectory = $matches['vendor'];
+ $vendorPath = getcwd() . '/modules/' . $vendorDirectory;
+ if (!file_exists($vendorPath)) {
+ mkdir($vendorPath, 0755, true);
+ }
+
+ $vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
+ touch($vendorMetaDataPath);
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
new file mode 100644
index 0000000..714c467
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php b/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php
new file mode 100644
index 0000000..439f61a
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'script' => 'web/private/scripts/quicksilver/{$name}',
+ 'module' => 'web/private/scripts/quicksilver/{$name}',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
new file mode 100644
index 0000000..3c970e2
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'bundle' => 'bundles/{$name}/',
+ 'library' => 'libraries/{$name}/',
+ 'framework' => 'frameworks/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
new file mode 100644
index 0000000..d53ee4f
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'extension' => 'ext/{$vendor}/{$name}/',
+ 'language' => 'language/{$name}/',
+ 'style' => 'styles/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
new file mode 100644
index 0000000..b2faf44
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
@@ -0,0 +1,28 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
new file mode 100644
index 0000000..0c06359
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
@@ -0,0 +1,28 @@
+ */
+ protected $locations = array(
+ 'plugin' => '{$name}/'
+ );
+
+ /**
+ * Remove hyphen, "plugin" and format to camelcase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $nameBits = explode("-", $vars['name']);
+ foreach ($nameBits as $key => $name) {
+ $nameBits[$key] = ucfirst($name);
+ if (strcasecmp($name, "Plugin") == 0) {
+ unset($nameBits[$key]);
+ }
+ }
+ $vars['name'] = implode('', $nameBits);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/Plugin.php b/vendor/composer/installers/src/Composer/Installers/Plugin.php
new file mode 100644
index 0000000..437a949
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/Plugin.php
@@ -0,0 +1,28 @@
+installer = new Installer($io, $composer);
+ $composer->getInstallationManager()->addInstaller($this->installer);
+ }
+
+ public function deactivate(Composer $composer, IOInterface $io): void
+ {
+ $composer->getInstallationManager()->removeInstaller($this->installer);
+ }
+
+ public function uninstall(Composer $composer, IOInterface $io): void
+ {
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
new file mode 100644
index 0000000..a01d7a0
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'container' => 'app/Containers/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
new file mode 100644
index 0000000..23f156f
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php b/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php
new file mode 100644
index 0000000..a7eb1ee
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php
@@ -0,0 +1,23 @@
+ */
+ protected $locations = array(
+ 'module' => 'site/modules/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
new file mode 100644
index 0000000..1a0a8a3
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
new file mode 100644
index 0000000..fc58b8a
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
@@ -0,0 +1,62 @@
+ */
+ protected $locations = array(
+ 'module' => 'app/Modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'pxcms-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'pxcms-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * For package type pxcms-module, cut off a trailing '-plugin' if present.
+ *
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
+ $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
+ $vars['name'] = $this->pregReplace('/-module$/', '', $vars['name']); // strip out -module
+ $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
+ $vars['name'] = ucwords($vars['name']); // make module name camelcased
+
+ return $vars;
+ }
+
+ /**
+ * For package type pxcms-module, cut off a trailing '-plugin' if present.
+ *
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
+ $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
+ $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']); // strip out -theme
+ $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
+ $vars['name'] = ucwords($vars['name']); // make module name camelcased
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
new file mode 100644
index 0000000..4caae51
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
@@ -0,0 +1,26 @@
+ */
+ protected $locations = array(
+ 'bundle' => 'src/{$name}/'
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
new file mode 100644
index 0000000..a19eaaf
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'theme' => 'themes/{$name}/',
+ 'plugin' => 'plugins/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php b/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php
new file mode 100644
index 0000000..b62c926
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'addon' => 'redaxo/src/addons/{$name}/',
+ 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
new file mode 100644
index 0000000..26b3aa8
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'addon' => 'redaxo/include/addons/{$name}/',
+ 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
new file mode 100644
index 0000000..7e71674
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
@@ -0,0 +1,21 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Lowercase name and changes the name to a underscores
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
new file mode 100644
index 0000000..7321046
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'module' => 'Sources/{$name}/',
+ 'theme' => 'Themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
new file mode 100644
index 0000000..82b8e28
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
@@ -0,0 +1,66 @@
+ */
+ protected $locations = array(
+ 'backend-plugin' => 'engine/Shopware/Plugins/Local/Backend/{$name}/',
+ 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
+ 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
+ 'theme' => 'templates/{$name}/',
+ 'plugin' => 'custom/plugins/{$name}/',
+ 'frontend-theme' => 'themes/Frontend/{$name}/',
+ );
+
+ /**
+ * Transforms the names
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'shopware-theme') {
+ return $this->correctThemeName($vars);
+ }
+
+ return $this->correctPluginName($vars);
+ }
+
+ /**
+ * Changes the name to a camelcased combination of vendor and name
+ *
+ * @param array $vars
+ * @return array
+ */
+ private function correctPluginName(array $vars): array
+ {
+ $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, $vars['name']);
+
+ if (null === $camelCasedName) {
+ throw new \RuntimeException('Failed to run preg_replace_callback: '.preg_last_error());
+ }
+
+ $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
+
+ return $vars;
+ }
+
+ /**
+ * Changes the name to a underscore separated name
+ *
+ * @param array $vars
+ * @return array
+ */
+ private function correctThemeName(array $vars): array
+ {
+ $vars['name'] = str_replace('-', '_', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
new file mode 100644
index 0000000..aa2de21
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
@@ -0,0 +1,33 @@
+ */
+ protected $locations = array(
+ 'module' => '{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Return the install path based on package type.
+ *
+ * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
+ * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
+ */
+ public function getInstallPath(PackageInterface $package, string $frameworkType = ''): string
+ {
+ if (
+ $package->getName() == 'silverstripe/framework'
+ && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
+ && version_compare($package->getVersion(), '2.999.999') < 0
+ ) {
+ return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
+ }
+
+ return parent::getInstallPath($package, $frameworkType);
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
new file mode 100644
index 0000000..0af3239
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
@@ -0,0 +1,34 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$vendor}/{$name}/',
+ 'plugin' => 'plugins/{$vendor}/{$name}/'
+ );
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ return $this->parseVars($vars);
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function parseVars(array $vars): array
+ {
+ $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php b/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php
new file mode 100644
index 0000000..72afa08
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ 'custom-module' => 'app/modules/{$name}/',
+ 'custom-theme' => 'app/themes/{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
new file mode 100644
index 0000000..24673d2
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
@@ -0,0 +1,55 @@
+ */
+ protected $locations = array(
+ 'module' => 'app/modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Format module name.
+ *
+ * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] == 'sydes-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'sydes-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ public function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/(^sydes-|-module$)/i', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/(^sydes-|-theme$)/', '', $vars['name']);
+ $vars['name'] = strtolower($vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php b/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php
new file mode 100644
index 0000000..c82bd85
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'theme' => 'themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php b/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php
new file mode 100644
index 0000000..8c1d814
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php
@@ -0,0 +1,32 @@
+ */
+ protected $locations = array(
+ 'extension' => '{$name}'
+ );
+
+ public function inflectPackageVars(array $vars): array
+ {
+ $extra = $this->package->getExtra();
+
+ if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) {
+ $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME];
+ return $vars;
+ }
+
+ $vars['name'] = str_replace('extension-', '', $vars['name']);
+ $vars['name'] = str_replace('-', ' ', $vars['name']);
+ $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name'])));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php b/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php
new file mode 100644
index 0000000..39ceae0
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php
@@ -0,0 +1,85 @@
+ */
+ protected $locations = [
+ 'module' => 'app/{$name}/',
+ 'extension' => 'extensions/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ ];
+
+ /**
+ * Format package name.
+ *
+ * Cut off leading 'ti-ext-' or 'ti-theme-' if present.
+ * Strip vendor name of characters that is not alphanumeric or an underscore
+ *
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $extra = $this->package->getExtra();
+
+ if ($vars['type'] === 'tastyigniter-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'tastyigniter-extension') {
+ return $this->inflectExtensionVars($vars, $extra);
+ }
+
+ if ($vars['type'] === 'tastyigniter-theme') {
+ return $this->inflectThemeVars($vars, $extra);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^ti-module-/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @param array $extra
+ * @return array
+ */
+ protected function inflectExtensionVars(array $vars, array $extra): array
+ {
+ if (!empty($extra['tastyigniter-extension']['code'])) {
+ $parts = explode('.', $extra['tastyigniter-extension']['code']);
+ $vars['vendor'] = (string)$parts[0];
+ $vars['name'] = (string)($parts[1] ?? '');
+ }
+
+ $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']);
+ $vars['name'] = $this->pregReplace('/^ti-ext-/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @param array $extra
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars, array $extra): array
+ {
+ if (!empty($extra['tastyigniter-theme']['code'])) {
+ $vars['name'] = $extra['tastyigniter-theme']['code'];
+ }
+
+ $vars['name'] = $this->pregReplace('/^ti-theme-/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
new file mode 100644
index 0000000..896bed5
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'module' => 'local/modules/{$name}/',
+ 'frontoffice-template' => 'templates/frontOffice/{$name}/',
+ 'backoffice-template' => 'templates/backOffice/{$name}/',
+ 'email-template' => 'templates/email/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
new file mode 100644
index 0000000..3b5f142
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
@@ -0,0 +1,17 @@
+
+ */
+class TuskInstaller extends BaseInstaller
+{
+ /** @var array */
+ protected $locations = array(
+ 'task' => '.tusk/tasks/{$name}/',
+ 'command' => '.tusk/commands/{$name}/',
+ 'asset' => 'assets/tusk/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
new file mode 100644
index 0000000..a646c5b
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'sprinkle' => 'app/sprinkles/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
new file mode 100644
index 0000000..06d5db3
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
new file mode 100644
index 0000000..cf094dd
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
@@ -0,0 +1,59 @@
+ */
+ protected $locations = array(
+ 'bundle' => 'src/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type vgmcp-bundle, cut off a trailing '-bundle' if present.
+ *
+ * For package type vgmcp-theme, cut off a trailing '-theme' if present.
+ *
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'vgmcp-bundle') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'vgmcp-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectPluginVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-bundle$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/-theme$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
new file mode 100644
index 0000000..91b19fd
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
@@ -0,0 +1,22 @@
+ */
+ protected $locations = array(
+ 'addons' => 'modules/addons/{$vendor}_{$name}/',
+ 'fraud' => 'modules/fraud/{$vendor}_{$name}/',
+ 'gateways' => 'modules/gateways/{$vendor}_{$name}/',
+ 'notifications' => 'modules/notifications/{$vendor}_{$name}/',
+ 'registrars' => 'modules/registrars/{$vendor}_{$name}/',
+ 'reports' => 'modules/reports/{$vendor}_{$name}/',
+ 'security' => 'modules/security/{$vendor}_{$name}/',
+ 'servers' => 'modules/servers/{$vendor}_{$name}/',
+ 'social' => 'modules/social/{$vendor}_{$name}/',
+ 'support' => 'modules/support/{$vendor}_{$name}/',
+ 'templates' => 'templates/{$vendor}_{$name}/',
+ 'includes' => 'includes/{$vendor}_{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php b/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php
new file mode 100644
index 0000000..f75a681
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php
@@ -0,0 +1,71 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'plugin' => 'plugins/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type winter-plugin, cut off a trailing '-plugin' if present.
+ *
+ * For package type winter-theme, cut off a trailing '-theme' if present.
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ if ($vars['type'] === 'winter-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'winter-plugin') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'winter-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectModuleVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^wn-|-module$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectPluginVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^wn-|-plugin$/', '', $vars['name']);
+ $vars['vendor'] = $this->pregReplace('/[^a-z0-9_]/i', '', $vars['vendor']);
+
+ return $vars;
+ }
+
+ /**
+ * @param array $vars
+ * @return array
+ */
+ protected function inflectThemeVars(array $vars): array
+ {
+ $vars['name'] = $this->pregReplace('/^wn-|-theme$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
new file mode 100644
index 0000000..58a9587
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
@@ -0,0 +1,11 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'wolf/plugins/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
new file mode 100644
index 0000000..d46d5ab
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
@@ -0,0 +1,14 @@
+ */
+ protected $locations = array(
+ 'plugin' => 'wp-content/plugins/{$name}/',
+ 'theme' => 'wp-content/themes/{$name}/',
+ 'muplugin' => 'wp-content/mu-plugins/{$name}/',
+ 'dropin' => 'wp-content/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
new file mode 100644
index 0000000..d609dea
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
@@ -0,0 +1,23 @@
+ */
+ protected $locations = array(
+ 'module' => 'module/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars(array $vars): array
+ {
+ $vars['name'] = strtolower($this->pregReplace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
new file mode 100644
index 0000000..ccfcd4a
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
@@ -0,0 +1,13 @@
+ */
+ protected $locations = array(
+ 'library' => 'library/{$name}/',
+ 'extra' => 'extras/library/{$name}/',
+ 'module' => 'module/{$name}/',
+ );
+}
diff --git a/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
new file mode 100644
index 0000000..d1fd1d7
--- /dev/null
+++ b/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
@@ -0,0 +1,12 @@
+ */
+ protected $locations = array(
+ 'module' => 'modules/{$vendor}-{$name}/',
+ 'theme' => 'themes/{$vendor}-{$name}/'
+ );
+}
diff --git a/vendor/composer/installers/src/bootstrap.php b/vendor/composer/installers/src/bootstrap.php
new file mode 100644
index 0000000..a5bb9ad
--- /dev/null
+++ b/vendor/composer/installers/src/bootstrap.php
@@ -0,0 +1,18 @@
+= 70205)) {
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.5". You are running ' . PHP_VERSION . '.';
+}
+
+if ($issues) {
+ if (!headers_sent()) {
+ header('HTTP/1.1 500 Internal Server Error');
+ }
+ if (!ini_get('display_errors')) {
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
+ fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
+ } elseif (!headers_sent()) {
+ echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
+ }
+ }
+ trigger_error(
+ 'Composer detected issues in your platform: ' . implode(' ', $issues),
+ E_USER_ERROR
+ );
+}
diff --git a/wpseo-news.php b/wpseo-news.php
new file mode 100644
index 0000000..db06c89
--- /dev/null
+++ b/wpseo-news.php
@@ -0,0 +1,104 @@
+.
+ */
+
+if ( ! defined( 'WPSEO_NEWS_FILE' ) ) {
+ define( 'WPSEO_NEWS_FILE', __FILE__ );
+}
+
+define( 'WPSEO_NEWS_VERSION', '13.2' );
+
+if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
+ require __DIR__ . '/vendor/autoload.php';
+}
+
+
+/**
+ * Load text domain.
+ *
+ * @return void
+ */
+function wpseo_news_load_textdomain() {
+ load_plugin_textdomain( 'wordpress-seo-news', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
+}
+add_action( 'init', 'wpseo_news_load_textdomain' );
+
+/**
+ * Load Yoast SEO: News.
+ *
+ * @phpcs:disable PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore,WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Function name change would be BC-break.
+ *
+ * @return void
+ */
+function __wpseo_news_main() {
+ new WPSEO_News();
+}
+// phpcs:enable
+add_action( 'plugins_loaded', '__wpseo_news_main' );
+
+/**
+ * Clear the news sitemap.
+ *
+ * @return void
+ */
+function yoast_wpseo_news_clear_sitemap_cache() {
+ if ( class_exists( 'WPSEO_Sitemaps_Cache' ) && method_exists( 'WPSEO_Sitemaps_Cache', 'clear' ) ) {
+ WPSEO_Sitemaps_Cache::clear( [ WPSEO_News_Sitemap::get_sitemap_name() ] );
+ }
+}
+
+/**
+ * Clear the news sitemap when we activate the plugin.
+ *
+ * @return void
+ */
+function yoast_wpseo_news_activate() {
+ // Enable tracking.
+ if ( class_exists( 'WPSEO_Options' ) && method_exists( 'WPSEO_Options', 'set' ) ) {
+ WPSEO_Options::set( 'tracking', true );
+ }
+
+ yoast_wpseo_news_clear_sitemap_cache();
+}
+
+/**
+ * Clear the news sitemap when we activate the plugin.
+ *
+ * @return void
+ */
+function yoast_wpseo_news_deactivate() {
+ yoast_wpseo_news_clear_sitemap_cache();
+}